* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
    cursor: default;
}

/* Cursor Spotlight Glow */
.cursor-glow {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.02) 55%, transparent 75%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 6;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.25s ease;
    mix-blend-mode: screen;
    opacity: 0.85;
    will-change: transform;
}

body:active .cursor-glow {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 38%, transparent 72%);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff4500;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b1a;
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    /* Lowered from top */
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    /* Increased padding */
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0px);
    border-bottom: none;
}

.nav-left {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    min-width: 180px;
    position: relative;
    height: 1.5rem;
}

.nav-left span {
    position: absolute;
    top: 0;
    left: 0;
}

.nav-left span:first-child {
    color: #ffffff;
    font-weight: 700;
    transition: opacity 0.5s ease;
}

.nav-left span:last-child {
    color: #999;
    font-weight: 400;
    transition: opacity 0.5s ease;
}

.nav-center {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-center a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-center a:hover,
.nav-center a.active {
    color: #ff4500;
}

.nav-center a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff4500;
}

.nav-right {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    min-width: 380px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nav-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-right a:hover,
.nav-right a.active {
    color: #ff4500;
}

.nav-right a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff4500;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem;
    transition: all 0.8s ease;
    opacity: 0;
    transform: translateY(30px);
}

.about-content,
.featured-content,
.projects-content,
.testimonials-content,
.contact-content,
.social-work-content {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

section.visible,
section.full-page {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
#hero {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    perspective: 1200px;
}

/* Hero Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: translate3d(0, 0, 0) scale(1.06);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.35) 35%, rgba(10, 10, 10, 0.1) 55%, rgba(10, 10, 10, 0.55) 75%, rgba(10, 10, 10, 0.92) 100%),
        linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 25%, transparent 50%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, transparent 12%);
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    will-change: transform;
}

/* Immersive Typography Enhancements */
h1,
h2,
h3,
.hero-headline {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02em;
}

.hero-left h1 {
    font-size: 5.5rem;
    /* Increased for immersion */
    margin-bottom: 0.5rem;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: flex-start;
    padding-top: 15vh;
    /* Lowered all text/headings */
    z-index: 10;
    position: relative;
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-left h1 {
    font-size: clamp(3rem, 7vw, 5.4rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-left h1 span {
    color: #999;
}

.hero-left {
    max-width: 700px;
}

.hero-left p:first-of-type {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    /* Lowered Hi THERE! by increasing bottom margin */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-headline {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 0.98;
    margin: 2rem 0 1rem 0;
    letter-spacing: -0.04em;
    word-spacing: 9999rem;
}

.hero-headline .highlight {
    color: #ff4500;
}

.rotating-text {
    font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    font-weight: 800;
    /* More bold */
    height: 3.2rem;
    display: flex;
    align-items: center;
    margin-top: 1rem;
    /* Lowered a bit more */
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* Subtle minimalist surface treatment */
.sidebar-section,
.project-card,
.testimonial-card,
.contact-method,
.featured-project {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .cursor-glow {
        display: none;
    }

    .hero-bg-img,
    .hero-bg-overlay,
    .hero-content,
    section,
    .rotating-text span {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

.rotating-text span {
    position: absolute;
    animation: rotateDown 12s ease-in-out infinite;
    font-weight: 900;
    opacity: 0;
    visibility: hidden;
}

.rotating-text span:nth-child(1) {
    color: #ff4500;
    animation-delay: 0s;
}

.rotating-text span:nth-child(2) {
    color: #00d4ff;
    animation-delay: 3s;
}

.rotating-text span:nth-child(3) {
    color: #c41e3a;
    animation-delay: 6s;
}

.rotating-text span:nth-child(4) {
    color: #00ff88;
    animation-delay: 9s;
}

@keyframes rotateDown {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-30px) rotateX(90deg);
    }

    4% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) rotateX(0deg);
    }

    21% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) rotateX(0deg);
    }

    25% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px) rotateX(-90deg);
    }

    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px) rotateX(-90deg);
    }
}

.hero-scroll {
    color: #999;
    font-size: 0.9rem;
    margin-top: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
}

.sidebar-section {
    padding: 1.5rem;
    border-radius: 10px;
    background: transparent;
    border: none;
}

.sidebar-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.socials-list {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.social-short {
    color: #ff4500;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-short:hover {
    color: #ff6b1a;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-item {
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.4;
}

.education-link {
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
}

.education-link:hover {
    color: #ff4500;
}

.help-section a {
    color: #ff4500;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.help-section a:hover {
    color: #ff6b1a;
}

.sidebar-stats {
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(255, 69, 0, 0.05);
    border: none;
}

.hero-image {
    display: none;
}

/* Stats */
.hero-stats {
    display: none;
}

.stat {
    padding: 1.5rem;
    background: rgba(255, 69, 0, 0.05);
    border: none;
    border-radius: 10px;
    backdrop-filter: blur(0px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ff4500;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #999;
}

/* Hero Stats & Brands Footer */
.hero-bottom-bar {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-end;
    gap: 2rem;
    z-index: 20;
}

.hero-story-trigger {
    background: transparent;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    justify-self: center;
}

.hero-story-trigger:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: #ff4500;
}

.hero-stats-bottom {
    display: flex;
    gap: 3rem;
    justify-self: start;
}

.stat-small {
    background: transparent;
    padding: 0;
    border: none;
}

.stat-small .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff4500;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-small .stat-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-brands {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-self: end;
}

.brand-logo {
    display: block;
}

.brand-logo img {
    height: 35px;
    width: auto;
    filter: grayscale(1) brightness(0.8);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brand-logo:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* About Section */
#about {
    background: linear-gradient(135deg, #0a0a0a 0%, #001a33 100%);
}

.about-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-img-file {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover .about-img-file {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    /* Increased margin */
    font-weight: 800;
}

.about-text h3 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.5rem;
}

/* About Premium Section (about.html) */
.about-premium-section {
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    isolation: isolate;
    padding: 0;
    display: block;
    min-height: 100vh;
}

.about-mouse-light {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    background: radial-gradient(280px circle at var(--about-mx, 50%) var(--about-my, 50%),
            rgba(0, 230, 255, 0.25) 0%,
            rgba(255, 0, 255, 0.1) 45%,
            transparent 80%);
}

.about-premium {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 35% 65%;
    border-radius: 0;
    overflow: visible;
    position: relative;
    z-index: 3;
}

.about-noise::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.6px, transparent 0.6px);
    background-size: 2px 2px;
    opacity: 0.12;
}

.about-visual-column {
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    perspective: 1200px;
    background: linear-gradient(120deg, #090979, #4a00e0, #8e2de2, #00c6ff, #00e5ff, #00ff88);
    background-size: 400% 400%;
    animation: aboutFluidGradient 12s ease infinite;
}

@keyframes aboutFluidGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.about-name-cloud {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.about-name-cloud span {
    position: absolute;
    font-family: 'Space Grotesk', 'Poppins', 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: 0.03em;
    opacity: 0.45;
    color: rgba(255, 255, 255, 0.38);
    text-shadow:
        3px 3px 0 rgba(0, 0, 0, 0.2),
        8px 8px 0 rgba(0, 0, 0, 0.14),
        0 0 18px rgba(0, 198, 255, 0.5),
        0 0 26px rgba(255, 0, 255, 0.3);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.about-name-cloud span:nth-child(1) {
    font-size: clamp(7.5rem, 15vw, 11rem);
    left: 4%;
    top: 6%;
}

.about-name-cloud span:nth-child(2) {
    font-size: clamp(4rem, 8vw, 6rem);
    right: 8%;
    top: 20%;
}

.about-name-cloud span:nth-child(3) {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    left: 10%;
    top: 42%;
}

.about-name-cloud span:nth-child(4) {
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    right: 5%;
    top: 52%;
}

.about-name-cloud span:nth-child(5) {
    font-size: clamp(2rem, 4vw, 2.8rem);
    left: 22%;
    bottom: 19%;
}

.about-name-cloud span:nth-child(6) {
    font-size: clamp(5rem, 10vw, 7rem);
    left: 30%;
    top: 28%;
}

.about-name-cloud span:nth-child(7) {
    font-size: clamp(2.2rem, 4.4vw, 3rem);
    right: 24%;
    bottom: 8%;
}

.about-photo-shell {
    width: 100%;
    height: 100%;
    z-index: 4;
    transform-style: preserve-3d;
    transition: transform 0.35s ease;
    will-change: transform;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.about-photo-shell:hover {
    transform: scale(1.02);
}

@keyframes aboutPhotoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.about-photo-placeholder {
    width: 86%;
    aspect-ratio: 1 / 1.08;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(90, 96, 110, 0.95), rgba(36, 40, 48, 0.95));
    display: none;
    place-items: center;
}

.about-photo-placeholder i {
    font-size: 4.8rem;
    color: rgba(224, 232, 245, 0.7);
}

.about-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    border-radius: 0;
    display: block;
}

.about-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.about-particle {
    position: absolute;
    opacity: 0.72;
    animation: aboutParticleFloat var(--particle-duration) ease-in-out infinite;
    animation-delay: var(--particle-delay);
    will-change: transform;
}

.about-particle.circle {
    width: var(--particle-size);
    height: var(--particle-size);
    border-radius: 50%;
    background: var(--particle-color);
    box-shadow: 0 0 14px var(--particle-color);
}

.about-particle.plus {
    width: var(--particle-size);
    height: var(--particle-size);
}

.about-particle.plus::before,
.about-particle.plus::after {
    content: '';
    position: absolute;
    background: var(--particle-color);
    border-radius: 999px;
}

.about-particle.plus::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.about-particle.plus::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-particle.diamond {
    width: var(--particle-size);
    height: var(--particle-size);
    background: var(--particle-color);
    transform: rotate(45deg);
}

@keyframes aboutParticleFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(var(--particle-dx), var(--particle-dy), 0);
    }
}

.about-text-column {
    position: relative;
    padding: 3rem;
    padding-top: 100px; /* Reduced gap from top */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start; /* Align to top instead of center */
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        #0a0a0a;
    background-size: 22px 22px, 26px 26px, auto;
}

.typing-heading {
    font-size: clamp(2rem, 5vw, 3.8rem); /* Slightly smaller to fit better */
    font-weight: 900;
    color: #87CEEB; /* Default Sky blue */
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid #87CEEB;
    width: auto; /* Width will be handled by dynamic content */
    min-height: 1.2em;
    margin: 0;
    display: inline-block;
}

.typing-heading.blue {
    color: #1e90ff; /* Dodger Blue */
    border-color: #1e90ff;
}

@keyframes blink-caret-anim {
    from, to { border-color: transparent; }
    50% { border-color: inherit; }
}

.typing-heading {
    animation: blink-caret-anim 0.75s step-end infinite;
}

.about-text-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(4px);
    padding: 1.3rem 1.35rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-text-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, 0.34);
}

.about-text-card h2,
.about-text-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.08rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00e5ff;
    display: inline-block;
    position: relative;
}

.about-text-card h2::after,
.about-text-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 42%;
    height: 2px;
    background: linear-gradient(90deg, #00e5ff, #ff00ff, #ffd700);
    transition: width 0.25s ease;
}

.about-text-card:hover h2::after,
.about-text-card:hover h3::after {
    width: 100%;
}

.about-text-card p {
    font-size: 1.03rem;
    line-height: 1.7;
    color: #e0e0e0;
    transition: text-shadow 0.25s ease;
}

.about-text-card p:hover {
    text-shadow: 0 0 8px rgba(0, 230, 255, 0.3);
}

.about-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1),
        transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.about-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-scroll-accent {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: 86px;
    height: 3px;
    border-radius: 999px;
    z-index: 4;
    background: linear-gradient(90deg, transparent, #00e5ff, #ff00ff, transparent);
    animation: aboutAccentPulse 1.8s ease-in-out infinite;
}

@keyframes aboutAccentPulse {

    0%,
    100% {
        opacity: 0.35;
        transform: translateX(-50%) scaleX(0.82);
    }

    50% {
        opacity: 0.9;
        transform: translateX(-50%) scaleX(1);
    }
}

/* Featured Project */
#featured {
    background: linear-gradient(135deg, #001a33 0%, #330033 100%);
}

.featured-content {
    max-width: 1200px;
    width: 100%;
}

.featured-header {
    margin-bottom: 4rem;
    /* Lowered featured heading */
}

.featured-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 69, 0, 0.05);
    padding: 4rem;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
}

.featured-project:hover {
    border-color: rgba(255, 69, 0, 0.4);
    background: rgba(255, 69, 0, 0.08);
    transform: translateY(-5px);
}

.featured-project-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.2), rgba(255, 69, 0, 0.1));
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.featured-project-image i {
    color: rgba(255, 69, 0, 0.4);
}

.featured-project-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.featured-project-role {
    color: #ff4500;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.featured-project-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
}

.featured-project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: rgba(255, 69, 0, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: none;
}

/* Projects Grid */
#projects {
    background: linear-gradient(135deg, #330033 0%, #0a0a0a 100%);
}

.projects-content {
    max-width: 1200px;
    width: 100%;
}

.projects-header {
    margin-bottom: 4rem;
    /* Lowered projects heading */
}

.projects-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: #ff4500;
    transform: translateY(-10px);
    background: rgba(255, 69, 0, 0.05);
}

.project-card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15), rgba(255, 69, 0, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.project-card-image i {
    color: rgba(255, 69, 0, 0.3);
}

.project-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: #999;
    font-size: 0.95rem;
    flex: 1;
}

/* Testimonials */
#testimonials {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.testimonials-content {
    max-width: 1200px;
    width: 100%;
}

.testimonials-header {
    margin-bottom: 4rem;
    /* Lowered testimonials heading */
}

.testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 69, 0, 0.08);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #ff4500;
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #ddd;
}

.testimonial-author {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.testimonial-title {
    color: #ff4500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.contact-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 69, 0, 0.15);
    border: none;
    border-radius: 50%;
    color: #ff4500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #ff4500;
    color: #0a0a0a;
    transform: scale(1.1);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: none;
}

.contact-method a {
    color: #ff4500;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #ff6b1a;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ff4500;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    background: transparent;
    color: #ff4500;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
        flex-direction: row;
    }

    .nav-right {
        gap: 0.5rem;
        font-size: 0.85rem;
        min-width: auto;
    }

    .nav-right a {
        font-size: 0.8rem;
    }

    .nav-center {
        gap: 0.3rem;
        font-size: 0.75rem;
    }

    section {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-right {
        grid-template-columns: repeat(2, 1fr);
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-bottom-bar {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1rem;
    }

    .hero-brands,
    .hero-stats-bottom,
    .hero-story-trigger {
        justify-self: center;
    }

    .sidebar-stats {
        grid-column: 1 / -1;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }

    .about-premium {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-visual-column {
        min-height: 55vh;
    }

    .about-text-column {
        padding: 2rem 1.4rem;
    }

    .featured-project {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .featured-project-image {
        height: 250px;
    }

    .featured-project-info h3 {
        font-size: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2,
    .featured-header h2,
    .projects-header h2,
    .testimonials-header h2,
    .contact-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .nav-left {
        font-size: 0.85rem;
    }

    .nav-right {
        gap: 0.3rem;
        min-width: auto;
    }

    .nav-right a {
        font-size: 0.7rem;
    }

    .nav-center {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 1.5rem;
    }

    .hero-headline {
        font-size: 1.3rem;
    }

    .hero-right {
        flex-direction: column;
    }

    .hero-bottom-bar {
        left: 1rem;
        right: 1rem;
        bottom: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .about-text h2,
    .featured-header h2,
    .projects-header h2,
    .testimonials-header h2,
    .contact-content h2 {
        font-size: 1.3rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .about-photo-shell {
        width: min(88vw, 340px);
    }

    .about-name-cloud span:nth-child(1) {
        font-size: clamp(4.5rem, 14vw, 7rem);
    }
}

/* Social Work Section */
#social-work {
    background: #0a2a1a;
    padding: 12rem 3rem 8rem;
}

.social-work-content {
    max-width: 1200px;
    margin: 0 auto;
}

.education-section {
    position: relative;
    background:
        radial-gradient(circle at 25% 20%, rgba(106, 137, 255, 0.2) 0%, rgba(106, 137, 255, 0) 45%),
        radial-gradient(circle at 75% 85%, rgba(255, 122, 89, 0.14) 0%, rgba(255, 122, 89, 0) 48%),
        #080b14;
    overflow: hidden;
}

.education-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(460px circle at var(--spotlight-x, 50%) var(--spotlight-y, 45%),
            rgba(88, 132, 255, 0.17),
            rgba(88, 132, 255, 0) 68%);
    pointer-events: none;
}

.education-content {
    width: min(1200px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.education-header {
    max-width: 760px;
    margin-bottom: 3rem;
}

.education-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
}

.education-header p {
    color: #b4bccb;
    font-size: 1.05rem;
    line-height: 1.7;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    perspective: 1000px;
}

.education-card {
    position: relative;
    padding: 1.4rem 1.4rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    transform-style: preserve-3d;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(115, 149, 255, 0.8), rgba(255, 120, 88, 0.55), rgba(255, 255, 255, 0.16));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.32;
    pointer-events: none;
}

.education-card:hover {
    border-color: rgba(136, 164, 255, 0.72);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.45), 0 0 30px rgba(103, 134, 255, 0.15);
}

.education-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #d7e1ff;
    background: rgba(116, 148, 255, 0.17);
    border: 1px solid rgba(136, 164, 255, 0.45);
    margin-bottom: 1rem;
}

.education-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    color: #f5f8ff;
}

.education-card p {
    color: #b8c0d0;
    line-height: 1.65;
    font-size: 0.95rem;
}

.social-work-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.header-left {
    flex: 1;
}

.header-right {
    flex: 0 0 400px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.leo-header-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.leo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s ease-in-out;
    transform: translateX(-50px);
    z-index: 1;
}

.leo-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.leo-slide.prev {
    opacity: 0;
    transform: translateX(50px);
}

.leo-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-work-header-flex h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.social-work-header-flex .lead {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

.leo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 69, 0, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4500;
    box-shadow: 0 0 10px #ff4500;
}

.timeline-item .year {
    font-weight: 800;
    color: #ff4500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.leo-philosophy h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.leo-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.8rem 0 1.5rem;
}

.leo-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.leo-action-btn:hover {
    border-color: #ff4500;
    color: #ff4500;
    background: rgba(255, 69, 0, 0.12);
}

.leo-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.leo-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #ccc;
    line-height: 1.5;
}

.leo-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff4500;
}

/* Gallery Slider */
.leo-gallery-container {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 4rem;
    overflow: hidden;
    width: 100%;
}

.gallery-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: galleryMarquee 18s linear infinite;
}

.gallery-track img {
    width: min(420px, 76vw);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.gallery-track img:hover {
    transform: scale(1.05);
}

@keyframes galleryMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 0.75rem));
    }
}

.story-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
}

.story-overlay.active {
    display: flex;
}

.story-overlay video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    background: #000;
}

.story-back-btn {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.story-back-btn:hover {
    border-color: #ff4500;
    color: #ff4500;
}

/* Responsive fixes */
@media (max-width: 968px) {
    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-content {
        width: 100%;
    }

    .leo-grid {
        grid-template-columns: 1fr;
    }

    .gallery-side-img {
        display: none;
    }
}