@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 25, 0.7);
    --accent-color: #d4af37;
    /* Gold */
    --accent-gradient: linear-gradient(135deg, #d4af37 0%, #f9e29c 50%, #b8860b 100%);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section-title.left-align {
    text-align: left;
}

.section-title.left-align::after {
    margin: 1rem 0;
}

/* Card Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.grid-layout.invert {
    grid-template-columns: 1fr 1fr;
}

.grid-layout.invert .image-content {
    order: 1;
}

.grid-layout.invert .text-content {
    order: 2;
}

.content-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.content-img:hover {
    transform: scale(1.03);
}

@media (max-width: 900px) {

    .grid-layout,
    .grid-layout.invert {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .grid-layout.invert .image-content {
        order: 2;
    }

    .grid-layout.invert .text-content {
        order: 1;
    }

    .section-title.left-align {
        text-align: center;
    }

    .section-title.left-align::after {
        margin: 1rem auto;
    }
}

/* Rest of the styles... */

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

.reveal {
    animation: fadeInUp 1s ease-out forwards;
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    position: relative;
}

.hero-img-container {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: var(--shadow-glow);
    animation: glow 3s infinite ease-in-out;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-style: italic;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 1rem auto;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.card p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Grid for Techniques */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-top: 3px solid var(--accent-color);
}

.card-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .container {
        padding: 1rem;
    }

    .card {
        padding: 1.5rem;
    }
}