:root {
    --primary: #8B0000; /* Deep Red */
    --primary-dark: #630000;
    --primary-gradient: linear-gradient(135deg, #3d0000 0%, #8B0000 50%, #520000 100%);
    --secondary: #121212; /* Subtle Black */
    --accent: #E5E5E5;
    --text-main: #2D2D2D;
    --text-muted: #6C757D;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-hide {
    display: none !important;
}

@media (max-width: 991px) {
    .desktop-hide {
        display: block !important;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.decor-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.decor-blob-1 { top: 10%; left: -10%; }
.decor-blob-2 { bottom: 10%; right: -10%; width: 500px; height: 500px; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .premium-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

section {
    padding: 120px 0;
}

/* Utility Classes */
.bg-dark { background-color: var(--secondary) !important; color: white !important; }
.text-white { color: white !important; }
.text-primary { color: var(--primary) !important; }

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;

    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), transparent);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
}

section:hover .section-title::after {
    width: 120px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--secondary);
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

header.scrolled .logo h1 {
    color: var(--secondary);
}

header.scrolled .nav-links a {
    color: var(--secondary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
    display: block;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 65px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary) !important;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background-color: transparent; /* Changed from var(--secondary) to allow hero-bg to show */
}

/* Add overlay to cinematic heroes - Reduced for better visibility */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15));
    z-index: 1; /* Above hero-bg */
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2; /* Above overlay */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: cinematicHero 20s infinite alternate ease-in-out, heroReveal 1.2s ease-out forwards;
    transform-origin: center;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
}

@keyframes cinematicHero {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.15); }
}

@keyframes heroReveal {
    from { 
        clip-path: inset(100% 0 0 0);
        transform: scale(1.04);
    }
    to { 
        clip-path: inset(0 0 0 0);
        transform: scale(1.0);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.hero-content {
    max-width: 850px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-content .motto-highlight {
    opacity: 0;
    animation: fadeInUp 1s forwards 0.6s;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 750px;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 30+ Badge & Number Highlight */
.badge-30plus {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    pointer-events: none;
}

.badge-30plus h2 {
    font-size: 5rem;
    line-height: 1;
    margin: 0;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: numberPulse 2s infinite;
}

.badge-30plus p {
    font-weight: 700;
    margin: -5px 0 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@keyframes numberPulse {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(139, 0, 0, 0); }
    50% { transform: scale(1.05); text-shadow: 0 0 20px rgba(139, 0, 0, 0.4); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(139, 0, 0, 0); }
}

/* Cards & Sections */
.bg-light {
    background: var(--bg-light);
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.4) !important;
    color: var(--white) !important;
}

.card:hover::before {
    left: 100%;
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.card:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.card h3 {
    margin-bottom: 0;
    transition: var(--transition);
}

.card:hover h3 {
    color: var(--white);
}

.card p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.card:hover p {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    max-height: 800px; /* Increased for mobile text visibility */
    margin-top: 15px;
}

/* Enhanced Project Card Hover */
.project-card:hover {
    box-shadow: 0 30px 60px rgba(139, 0, 0, 0.3);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Portfolio Card */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    height: auto;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.4) 0%, rgba(220, 20, 60, 0.1) 100%);
    opacity: 0;
    z-index: 1;
    transition: var(--transition);
}

.project-card:hover::before {
    opacity: 1;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(210, 0, 0, 0.85) 0%, rgba(210, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
    z-index: 2;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.project-overlay p:first-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.footer-about p {
    margin: 25px 0;
    color: #999;
}

.footer-links h4 {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

.developer-credit a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.developer-credit i {
    font-size: 1.5rem;
    color: #d1a052; /* Premium Gold from screenshot */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.developer-credit a:hover {
    color: white;
}

.developer-credit a:hover i {
    transform: scale(1.25) rotate(10deg);
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    .hero-bg, .hero-title, .project-card, .service-card, .testimonial-card {
        will-change: auto !important; /* Allow browser to decide, overusing it can be bad */
    }
    
    /* Disable cinematic zoom on mobile */
    .hero-bg {
        animation: heroReveal 1.2s ease-out forwards !important; /* Keep only the entrance animation */
    }
    
    /* Disable floating animations to save CPU */
    .testimonial-card, .floating {
        animation: none !important;
        transform: none !important;
    }

    /* Simplified transitions for mobile to reduce CPU load */
    .btn, .nav-links a, .project-overlay, .card {
        transition-duration: 0.15s !important;
    }
    
    /* Disable complex hover effects on touch devices */
    .project-card:hover img {
        transform: none !important;
    }
    
    .card:hover {
        transform: none !important; /* Don't lift cards on mobile */
    }
}

/* Animations */
[data-aos] {
    transition-duration: 800ms !important;
    will-change: transform, opacity;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Utility layout classes ───────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.service-grid-mb {
    margin-bottom: 120px;
}

/* ── Mobile breakpoint ────────────────────────────────────── */
@media (max-width: 991px) {
    /* Header */
    header {
        padding: 12px 0;
    }
    header.scrolled {
        padding: 8px 0;
    }
    .logo img {
        height: 44px;
        width: auto;
    }
    header.scrolled .logo img {
        height: 36px;
    }

    /* Sections — reduce vertical padding on mobile */
    section {
        padding: 60px 0;
    }

    /* Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 18px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        color: var(--secondary);
        font-size: 1.1rem;
    }
    .menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        color: var(--white);
        cursor: pointer;
        z-index: 1001;
    }
    header.scrolled .menu-toggle {
        color: var(--secondary);
    }

    /* Hero */
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .hero-content .motto-highlight {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    /* Inner page heroes (60vh, 40vh) keep minimum height */
    .hero[style*="60vh"] {
        min-height: 260px;
        height: 40vw !important;
    }
    .hero[style*="40vh"] {
        min-height: 200px;
        height: 30vw !important;
    }

    /* Typography */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 40px;
    }

    /* About section — single column on mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Badge — keep inside image */
    .badge-30plus {
        bottom: 12px;
        left: 12px;
        right: auto !important;
    }
    .badge-30plus h2 {
        font-size: 2.8rem;
    }

    /* Project gallery header — stack title and button */
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 30px;
    }

    /* Project cards — 2 columns on mobile for better gallery layout */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .project-card {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* CTA section */
    .cta-section {
        padding: 70px 0 !important;
    }
    .cta-section h2 {
        font-size: 1.6rem !important;
        margin-bottom: 14px;
    }
    .cta-section p {
        font-size: 0.95rem !important;
        margin-bottom: 28px;
    }

    /* Footer — stack all columns */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 40px;
    }
    footer {
        padding: 60px 0 30px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .stat-item h2 {
        font-size: 1.8rem;
    }

    /* Vision/Mission cards — reduce padding */
    .vm-card {
        padding: 30px;
    }
    .vm-card h3 {
        font-size: 1.4rem;
    }



    /* Client grid — 2 cols on mobile */
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Services — reset column ordering on mobile */
    .about-grid > [style*="order: 2"],
    .about-grid > [style*="order:2"] {
        order: 0;
    }
    .service-grid-mb {
        margin-bottom: 50px;
    }

    /* Cards — reduce padding */
    .card {
        padding: 28px 24px;
    }
}

/* ── Very small phones ────────────────────────────────────── */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    .hero-content .motto-highlight {
        font-size: 0.9rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-item h2 {
        font-size: 1.6rem;
    }
    .container {
        padding: 0 16px;
    }
    .btn {
        padding: 13px 20px;
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.55rem;
    }
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    section {
        padding: 50px 0;
    }
    .vm-card {
        padding: 24px 18px;
    }
    .vm-card h3 {
        font-size: 1.2rem;
    }

    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .client-logo {
        max-width: 130px;
    }
    .project-card {
        height: 240px;
    }
    .badge-30plus h2 {
        font-size: 2.2rem;
    }
    .badge-30plus p {
        font-size: 0.75rem;
    }
    footer {
        padding: 50px 0 24px;
    }
    .footer-grid {
        gap: 28px;
    }
}


/* Additional Section Styles */

/* Clients Section */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
}

.client-logo {
    max-width: 180px;
    opacity: 0.8;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

/* Vision/Mission Enhancements */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.vm-card {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s;
}

.vm-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.vm-card:hover::before {
    left: 100%;
}

.vm-card:hover::after {
    width: 100%;
    background: rgba(255,255,255,0.3);
}

.vm-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.vm-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
    opacity: 1;
}

.vm-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Motto Card Style */
/* Typewriter cursor blink */
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary);
    margin-left: 3px;
    vertical-align: middle;
    animation: cursorBlink 0.7s step-end infinite;
    border-radius: 2px;
}

.vm-card--value i {
    color: var(--primary);
}

.vm-card--value:hover i {
    color: var(--white);
    opacity: 1;
}

/* Why Choose Us Jiggle Animation */
@keyframes cardJiggle {
    0%   { transform: rotate(0deg) translateX(0); }
    10%  { transform: rotate(-3deg) translateX(-6px); }
    20%  { transform: rotate(3deg) translateX(6px); }
    30%  { transform: rotate(-3deg) translateX(-5px); }
    40%  { transform: rotate(3deg) translateX(5px); }
    50%  { transform: rotate(-2deg) translateX(-3px); }
    60%  { transform: rotate(2deg) translateX(3px); }
    70%  { transform: rotate(-1deg) translateX(-2px); }
    80%  { transform: rotate(1deg) translateX(2px); }
    90%  { transform: rotate(0deg) translateX(0); }
    100% { transform: rotate(0deg) translateX(0); }
}

.why-bounce:hover {
    animation: cardJiggle 0.6s ease-in-out;
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.35) !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: var(--white) !important;
}

.why-bounce:hover div {
    background: rgba(255, 255, 255, 0.15) !important;
}

.why-bounce:hover i {
    color: var(--white) !important;
}

.why-bounce:hover h3 {
    color: var(--white);
}

.why-bounce:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Slide-in from left entrance animation */
@keyframes slideInLeft {
    0%   { transform: translateX(-120px); opacity: 0; }
    60%  { transform: translateX(10px);  opacity: 1; }
    80%  { transform: translateX(-5px); }
    100% { transform: translateX(0);     opacity: 1; }
}

.why-item {
    opacity: 0;
    transform: translateX(-120px);
}

.why-item.slide-in-active {
    animation: slideInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motto-box {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    background-image: linear-gradient(135deg, var(--white) 0%, #fff9f9 100%);
    transition: var(--transition);
}

.motto-box i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 30px;
    display: block;
}

.motto-box h2 {
    font-size: 2.2rem;
    line-height: 1.5;
    color: var(--secondary);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

@media (max-width: 991px) {
    .motto-box { padding: 50px 30px; }
    .motto-box h2 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .motto-box { padding: 40px 20px; }
    .motto-box h2 { font-size: 1.3rem; margin-bottom: 20px; }
    .motto-box i { font-size: 2.5rem; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .motto-box { padding: 30px 15px; }
    .motto-box h2 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 15px; }
    .motto-box i { font-size: 1.8rem; margin-bottom: 15px; }
}

.motto-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    text-transform: uppercase;
}

.why-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.why-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Services Grid */
.services-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item-box {
    background: var(--white);
    padding: 25px;
    border-radius: 4px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 20px 20px;
}

.service-item-box:hover {
    box-shadow: var(--shadow);
    transform: translateX(10px);
    border-color: var(--primary);
}

.service-item-box.right:hover {
    transform: translateX(-10px);
}

.service-icon-sm {
    font-size: 1.5rem;
    color: var(--secondary);
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--secondary);
}

.service-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.service-center-img {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-center-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1px) {
    .services-premium-grid {
        grid-template-columns: 1fr;
    }
    .service-center-img {
        order: -1;
        height: 400px;
    }
}

/* ── New Services Card Grid ─────────────────────────────────────────────── */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.svc-card {
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.svc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.svc-card:hover::before {
    width: 100%;
}

.svc-card:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(139,0,0,0.3) !important;
    border-color: transparent !important;
    color: var(--white) !important;
    z-index: 2;
}

.svc-card:hover h3 {
    color: var(--white);
}

.svc-card:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.svc-card:hover::after {
    left: 100%;
}

.svc-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.04);
    position: absolute;
    top: 15px; right: 20px;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.svc-card:hover .svc-num {
    color: rgba(139,0,0,0.08);
}

.svc-icon {
    width: 60px;
    height: 60px;
    background: rgba(139,0,0,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.svc-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.svc-card:hover .svc-icon {
    background: var(--primary);
    transform: rotate(10deg) scale(1.1);
}

.svc-card:hover .svc-icon i {
    color: var(--white);
}

.svc-card h3 {
    color: var(--secondary);
    font-size: 1.15rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.svc-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    transition: var(--transition);
}

.svc-card:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.svc-line {
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin-top: 20px;
    transition: width 0.4s ease;
}

.svc-card:hover .svc-line {
    width: 60px;
}

@media (max-width: 1px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Testimonials Section */
.testimonial-section {
    background: linear-gradient(135deg, #0a1128 0%, #001f3f 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(139,0,0,0.15) 0%, transparent 70%);
    z-index: 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px !important;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: cardFloat 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:nth-child(2n) { animation-delay: -3s; }
.testimonial-card:nth-child(3n) { animation-delay: -1.5s; }
.testimonial-card:nth-child(5n) { animation-delay: -4.5s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    animation-play-state: paused;
}

.testimonial-card i.fa-quote-left {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.testimonial-card .star-rating {
    margin-bottom: 25px;
    color: #ffc107;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.testimonial-card .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-card.expanded .testimonial-text {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    margin-bottom: 35px;
}

.read-more-btn {
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 30px;
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 5;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.read-more-btn:hover {
    color: white;
    border-bottom-color: var(--primary);
}

.testimonial-card.expanded .read-more-btn {
    color: rgba(255, 255, 255, 0.5);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0;
    font-size: 1.15rem;
    color: white;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* ── Circular Gallery ────────────────────────────────────── */
.circular-gallery-section {
    position: relative;
    width: 100%;
    height: 800px;
    background: var(--white);
    overflow: hidden;
    padding: 60px 0;
}

.circular-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    background: transparent;
}

.circular-gallery:active {
    cursor: grabbing;
}

.circular-gallery canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .circular-gallery-section {
        height: 600px;
        padding: 40px 0;
    }
}
/* -- Service Cards Redesign -- */
.service-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

.card-image {
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .card-image img {
  transform: scale(1.08);
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-content h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
}

.card-info {
  margin: 15px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.service-card:hover h3 {
  color: var(--primary);
}





/* ==========================================================================
   GALLERY LIGHTBOX STYLES
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content { max-width: 90%; max-height: 80%; border-radius: 8px; box-shadow: 0 0 40px rgba(0,0,0,0.6); }
.close-lightbox { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; }

/* ==========================================================================
   PREMIUM GALLERY CARD ANIMATIONS
   ========================================================================== */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    aspect-ratio: 1 / 1 !important;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 2;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.project-card:hover img {
    filter: brightness(1.1);
    transform: scale(1.1);
}

.project-card:hover::after {
    left: 150%;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.25) 0%, rgba(139, 0, 0, 0.05) 100%);
    opacity: 0;
    z-index: 10;
    transition: var(--transition);
}

.project-card:hover::before {
    opacity: 1;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.6) 0%, rgba(139, 0, 0, 0.1) 60%, transparent 100%);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 11;
    pointer-events: none;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    margin: 5px 0;
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
}

.project-overlay p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.project-client {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.7) !important;
    margin: 4px 0 !important;
}

/* ==========================================================================
   GLOBAL AESTHETIC OVERHAUL
   ========================================================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Premium Buttons Global Reflection & Shadow Upgrade */
.btn {
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 2;
}
.btn:hover::after {
    left: 150%;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: none !important;
}

/* Intense Glowing Effect on Hover */
.btn-primary:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 0 20px rgba(255, 50, 50, 0.8), 0 0 40px rgba(255, 50, 50, 0.5), 0 0 60px rgba(255, 0, 0, 0.3) !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8) !important;
}

.btn-outline:hover {
    transform: translateY(-4px) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
    border-color: #fff !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8) !important;
}

.btn-dark:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.2) !important;
}

/* Premium Cards Upgrade */
.card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px rgba(139, 0, 0, 0.15) !important;
    border-color: rgba(139, 0, 0, 0.2) !important;
}
.card > i {
    transition: all 0.5s ease;
}
.card:hover > i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary);
}

/* ==========================================================================
   PREMIUM HERO ANIMATIONS
   ========================================================================== */
.hero-title {
    background: linear-gradient(to right, #FFF 20%, #E5E5E5 40%, #FFF 60%, #FFF 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineText 6s linear infinite;
    display: inline-block;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

/* ==========================================================================
   FINAL MOBILE RESPONSIVENESS FIX
   ========================================================================== */
@media screen and (max-width: 768px) {
    html, body { overflow-x: hidden !important; width: 100% !important; position: relative; }
    
    header { height: 80px !important; background: transparent !important; padding: 0 !important; transition: all 0.4s ease !important; border-bottom: none !important; }
    header.scrolled { background: var(--glass) !important; backdrop-filter: blur(10px) !important; box-shadow: var(--shadow) !important; }
    .logo img { height: 60px !important; width: auto !important; max-height: 60px !important; }
    
    .container { padding: 0 20px !important; width: 100% !important; overflow: hidden !important; box-sizing: border-box !important; }
    
    /* Responsive Grids on Mobile */
    .grid-4, .grid-2, .service-cards-grid, .vision-mission-grid, .why-grid, 
    .about-grid, .testimonial-grid, .project-detail-grid, 
    .highlights-grid, .project-images-grid {
        display: block !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .grid-4 > *, .grid-3 > *, .grid-2 > *, .projects-grid > *, .service-cards-grid > *, 
    .vision-mission-grid > *, .why-grid > *, .about-grid > *, 
    .testimonial-grid > *, .project-detail-grid > *, 
    .highlights-grid > *, .project-images-grid > * {
        width: 100% !important;
        margin-bottom: 30px !important;
        display: block !important;
        float: none !important;
        clear: both !important;
    }

    /* Standard cards matching About Us style */
    .card {
        aspect-ratio: auto !important;
        display: block !important;
        padding: 30px !important;
        text-align: center !important;
    }
    
    .card p {
        opacity: 0 !important;
        max-height: 0 !important;
        margin-top: 0 !important;
        transition: all 0.4s ease !important;
    }
    
    .card:hover p, .card:active p {
        opacity: 1 !important;
        max-height: 150px !important; /* Limit height to keep square look as much as possible */
        margin-top: 10px !important;
        overflow-y: auto !important; /* Allow scroll if text is too long */
    }

    .project-card {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 0px !important;
    }

    /* Fixed Navigation for Mobile */
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: var(--white) !important;
        z-index: 9999 !important;
        flex-direction: column !important;
        padding-top: 50px !important;
    }
    .nav-links.active { display: flex !important; }
    
    .menu-toggle { display: flex !important; z-index: 10001 !important; color: var(--secondary) !important; }

    /* Fix Hero Sections for full height mobile experience */
    .hero { 
        height: 100vh !important;
        min-height: 500px !important; 
        padding: 80px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .hero h1 { font-size: 1.65rem !important; margin-bottom: 12px !important; line-height: 1.2 !important;}
    .hero p { font-size: 1.1rem !important; color: white !important; }
    
    /* Fix circular gallery overflow */
    .circular-gallery-section, .circular-gallery { width: 100% !important; overflow: hidden !important; }

    /* AOS Fix: prevent horizontal fade-in overflow */
    [data-aos] {
        pointer-events: none;
    }
    .aos-animate {
        pointer-events: auto;
    }

    /* Show Project Overlays when touched on mobile */
    .project-card.touch-active .project-overlay {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    
    .project-overlay h3 {
        font-size: 1rem !important;
        line-height: 1.2;
    }
    .project-overlay p {
        font-size: 0.75rem !important;
    }
}
