/* Custom Design Tokens & Variables */
:root {
    --bg-dark: #07070b;
    --bg-card: rgba(18, 18, 29, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    /* Premium Brand Gradients */
    --grad-pink-purple: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    --grad-blue-cyan: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    --pink-color: #ec4899;
    --purple-color: #a855f7;
    --blue-color: #2563eb;
    --cyan-color: #38bdf8;
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout Variables */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    background-color: var(--bg-dark);
}

/* Typography Selection */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Premium Header Navigation */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    padding: 1.5rem 0;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 64px;
    width: 240px; /* Reserves space so navigation links do not overlap visually */
}

.logo-img {
    height: 128px; /* 2 times bigger than original 64px */
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: var(--transition-smooth);
    z-index: 10;
}

.logo-img:hover {
    transform: translateY(-50%) scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Custom Sliding Underline for Navigation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-pink-purple);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Phone Button Pill Shape */
.contact-btn-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-color);
    transition: var(--transition-smooth);
}

.phone-btn:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.phone-btn:hover .phone-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Mobile Toggle Hamburger button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--pink-color);
}

.mobile-phone-btn {
    margin-top: 1.5rem;
    border-color: var(--pink-color);
}

/* Hero Section Split Layout */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Left Hero Content Section */
.hero-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-left-content {
    width: 46%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 5rem;
    padding-bottom: 7.5rem; /* Room for bottom stats panel */
}

/* Hero text styles */
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-title span {
    display: block;
}

.gradient-text-pink {
    background: var(--grad-pink-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: var(--grad-blue-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 480px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.feature-label {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

/* Hover effects for features */
.feature-item:hover {
    transform: translateY(-4px);
}

.feature-item:hover .feature-icon {
    color: var(--pink-color);
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.5));
}

.feature-item:hover .feature-label {
    color: var(--text-primary);
}

/* Call To Action Buttons */
.cta-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--grad-pink-purple);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.25);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    border-radius: 50px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.45), 0 0 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(10, 10, 15, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-split-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    clip-path: polygon(53% 0%, 100% 0%, 100% 100%, 51% 100%, 41% 45%);
    animation: imageReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden; /* Contains the scaling inner zoom background */
}

.hero-zoom-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    animation: heroSlowZoom 30s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes heroSlowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12); /* Subtle and slow Ken Burns effect zoom */
    }
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft dark gradient fading into the image */
    background: linear-gradient(to right, rgba(7, 7, 11, 0.6) 0%, rgba(7, 7, 11, 0) 100%);
}

/* Glowing Diagonal Vector Divider */
.hero-divider-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    animation: glowReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Glassmorphic Stats Panel */
.stats-panel-wrapper {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 0 4rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.stats-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1360px;
    padding: 1.8rem 3.5rem;
    border-radius: 24px;
    background: rgba(13, 13, 23, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.stat-col {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    justify-content: center;
    transition: var(--transition-smooth);
}

.stat-col:first-child {
    justify-content: flex-start;
}

.stat-col:last-child {
    justify-content: flex-end;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: var(--pink-color);
    transition: var(--transition-smooth);
}

.stat-col:nth-child(even) .stat-icon {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--cyan-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number, 
.stat-number-google {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    margin-bottom: 0.15rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 1.5rem;
}

/* Stat item hover triggers */
.stat-col:hover {
    transform: scale(1.03);
}

.stat-col:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--grad-pink-purple);
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.stat-col:hover .stat-label {
    color: var(--text-secondary);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: scale(1.05);
        clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 45%);
    }
    to {
        opacity: 1;
        transform: scale(1);
        clip-path: polygon(53% 0%, 100% 0%, 100% 100%, 51% 100%, 41% 45%);
    }
}

@keyframes glowReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Ultra-wide Screen Layout Corrections (min-width: 1440px) */
@media (min-width: 1440px) {
    .hero-split-image {
        clip-path: polygon(
            calc((100vw - 1440px)/2 + 1440px * 0.53) 0%, 
            100% 0%, 
            100% 100%, 
            calc((100vw - 1440px)/2 + 1440px * 0.51) 100%, 
            calc((100vw - 1440px)/2 + 1440px * 0.41) 45%
        );
    }
    
    .hero-divider-glow {
        left: calc((100vw - 1440px)/2);
        width: 1440px;
    }
    
    .why-choose-us-split-image {
        clip-path: polygon(
            calc((100vw - 1440px)/2 + 1440px * 0.68) 0%, 
            100% 0%, 
            100% 100%, 
            calc((100vw - 1440px)/2 + 1440px * 0.68) 100%, 
            calc((100vw - 1440px)/2 + 1440px * 0.62) 50%
        );
    }
    
    .why-choose-us-divider-glow {
        left: calc((100vw - 1440px)/2);
        width: 1440px;
    }

    @keyframes imageReveal {
        from {
            opacity: 0;
            transform: scale(1.05);
            clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 45%);
        }
        to {
            opacity: 1;
            transform: scale(1);
            clip-path: polygon(
                calc((100vw - 1440px)/2 + 1440px * 0.53) 0%, 
                100% 0%, 
                100% 100%, 
                calc((100vw - 1440px)/2 + 1440px * 0.51) 100%, 
                calc((100vw - 1440px)/2 + 1440px * 0.41) 45%
            );
        }
    }
    
    @keyframes whyImageReveal {
        from {
            opacity: 0;
            transform: scale(1.05);
            clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 50%);
        }
        to {
            opacity: 1;
            transform: scale(1);
            clip-path: polygon(
                calc((100vw - 1440px)/2 + 1440px * 0.68) 0%, 
                100% 0%, 
                100% 100%, 
                calc((100vw - 1440px)/2 + 1440px * 0.68) 100%, 
                calc((100vw - 1440px)/2 + 1440px * 0.62) 50%
            );
        }
    }
}

/* Responsive Styles */

/* Medium Devices (Tablets, small laptops, height limits) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.8rem;
    }
    .header-container {
        padding: 0 2rem;
    }
    .hero-container {
        padding: 0 2rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }
    .stats-panel-wrapper {
        padding: 0 2rem;
    }
    .stats-panel {
        padding: 1.5rem 2rem;
    }
    .stat-number, .stat-number-google {
        font-size: 1.8rem;
    }
}

@media (max-width: 1150px) {
    .nav-menu {
        display: none; /* Hide on mobile/tablet */
    }
    
    .menu-toggle {
        display: flex; /* Show Hamburger */
    }
    
    /* Toggle active hamburger state */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Change split to horizontal stack for mobile/tablet */
    .hero-section {
        flex-direction: column;
        height: auto;
        min-height: auto; /* Remove 100vh constraint for a shorter visual flow */
        justify-content: flex-start;
        padding-top: 100px;
    }
    
    .hero-split-image {
        position: relative;
        width: 100%;
        height: 32vh; /* Made shorter (from 45vh) */
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        order: 1;
        animation: mobileImageReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    
    .hero-divider-glow {
        /* Align glowing divider horizontally under mobile image */
        height: 45vh;
        clip-path: none;
        width: 100%;
        /* Change line direction inside SVG dynamically through JS or layout */
        display: none; /* Hide svg divider on mobile and use pure border-glow in css */
    }
    
    .hero-split-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--grad-pink-purple);
        box-shadow: 0 0 15px var(--pink-color);
        z-index: 5;
    }

    .hero-container {
        padding: 2rem 1.5rem; /* Tighter padding for a shorter layout */
        height: auto;
        order: 2;
    }
    
    .hero-left-content {
        width: 100%;
        max-width: 100%;
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
    
    .stats-panel-wrapper {
        position: relative;
        bottom: 0;
        padding: 0 2rem 3rem 2rem;
        order: 3;
    }
    
    .stats-panel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }
    
    .stat-col {
        width: 100%;
        justify-content: flex-start !important;
    }
    
    .stat-divider {
        display: none; /* Hide dividers in 2x2 grid */
    }
}

/* Small mobile devices */
@media (max-width: 640px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .logo-container {
        height: 50px;
        width: 170px;
    }

    .logo-img {
        height: 100px; /* 2x mobile size */
    }
    
    .header .phone-btn {
        display: none; /* Hide phone button in mobile header */
    }
    
    .hero-container {
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }
    
    .cta-container {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-panel-wrapper {
        padding: 0 1.5rem 2rem 1.5rem;
    }
}

@keyframes mobileImageReveal {
    from {
        opacity: 0;
        transform: scale(1.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    to {
        opacity: 1;
        transform: scale(1);
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
}

/* ==========================================================================
   Scroll Reveal Base Styles
   ========================================================================== */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.reveal-left.active,
.reveal-right.active,
.reveal-fade.active {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   About Section Styles
   ========================================================================== */
.about-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--bg-dark);
    overflow: hidden;
    z-index: 10;
}

.about-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

/* Left Side Image Frame */
.about-image-wrapper {
    flex: 1.1;
    max-width: 580px;
    width: 100%;
}

.about-image-frame {
    position: relative;
    padding: 1.1rem;
    border-radius: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 15, 25, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.about-image-frame:hover::before {
    left: 150%;
}

.about-image-frame:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), 0 0 20px rgba(236, 72, 153, 0.1);
    transform: translateY(-4px);
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-frame:hover .about-img {
    transform: scale(1.03);
}

/* Middle Divider */
.about-divider-line {
    width: 1.5px;
    height: 380px;
    background: linear-gradient(to bottom, transparent, rgba(236, 72, 153, 0.35) 25%, rgba(37, 99, 235, 0.35) 75%, transparent);
}

/* Right Side Content Column */
.about-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--cyan-color);
}

.subtitle-slider {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.slider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pink-color);
    box-shadow: 0 0 8px var(--pink-color);
}

.slider-line {
    width: 36px;
    height: 2px;
    background: var(--grad-pink-purple);
    border-radius: 2px;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-title span {
    font-family: inherit;
    font-weight: inherit;
}

.about-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* About Stats row */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.about-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    transition: var(--transition-smooth);
}

.about-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.purple-glow {
    color: var(--pink-color);
    filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.45));
}

.blue-glow {
    color: var(--cyan-color);
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.45));
}

.about-stat-text {
    display: flex;
    flex-direction: column;
}

.about-stat-number, 
.about-stat-text-val {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.about-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
}

/* About stats hovers */
.about-stat-item:hover {
    transform: translateY(-4px);
}

.about-stat-item:hover .about-stat-icon {
    transform: scale(1.15) rotate(5deg);
}

.about-stat-item:hover .about-stat-label {
    color: var(--text-secondary);
}

/* About Responsive overrides */
@media (max-width: 1200px) {
    .about-container {
        gap: 3rem;
    }
    .about-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1150px) {
    .about-section {
        padding: 3rem 0;
    }
    .about-container {
        flex-direction: column;
        gap: 3.5rem;
        padding: 0 2rem;
    }
    .about-image-wrapper {
        max-width: 100%;
    }
    .about-img {
        height: 400px;
    }
    .about-divider-line {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(236, 72, 153, 0.35) 25%, rgba(37, 99, 235, 0.35) 75%, transparent);
    }
    .about-content {
        width: 100%;
    }
    .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .about-container {
        padding: 0 1.5rem;
    }
    .about-title {
        font-size: 2.1rem;
    }
    .about-img {
        height: 280px;
    }
    .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
    .about-stat-item {
        align-items: center;
        text-align: center;
    }
    .about-stat-text {
        align-items: center;
    }
}

/* ==========================================================================
   Services Section Styles
   ========================================================================== */
.services-section {
    position: relative;
    padding: 5rem 0;
    background-color: #ffffff;
    overflow: hidden;
    z-index: 10;
}

.services-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    width: 100%;
}

.services-title-block {
    display: flex;
    flex-direction: column;
}

.text-dark {
    color: #475569 !important;
}

.services-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
    color: #0f172a;
    font-family: var(--font-heading);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.2rem;
}

.slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: transparent;
    color: #334155;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: var(--bg-dark);
    color: var(--text-primary);
    border-color: var(--bg-dark);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    transform: translateY(-2px);
}

.slider-btn:active {
    transform: translateY(0);
}

/* Carousel Layout */
.services-carousel-wrapper {
    overflow: hidden;
    padding: 1.5rem 0.5rem;
    margin: -1.5rem -0.5rem;
}

.services-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Service Card Component */
.service-card {
    flex: 0 0 calc((100% - 6rem) / 4); /* Show 4 cards by default on desktop */
    height: 480px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(7, 7, 12, 0.95) 0%, 
        rgba(7, 7, 12, 0.6) 45%, 
        rgba(7, 7, 12, 0.1) 100%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.card-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.card-icon-box svg {
    width: 24px;
    height: 24px;
}

.blue-box {
    background: var(--grad-blue-cyan);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.violet-box {
    background: var(--grad-pink-purple);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

.magenta-box {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.35);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}

.card-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 0.5rem;
    max-width: 240px;
}

.card-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.card-arrow-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Card Hovers */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(7, 7, 12, 0.25);
}

.service-card:hover .card-overlay {
    background: linear-gradient(to top, 
        rgba(7, 7, 12, 0.98) 0%, 
        rgba(7, 7, 12, 0.7) 50%, 
        rgba(7, 7, 12, 0.2) 100%);
}

.service-card:hover .card-icon-box {
    transform: scale(1.1) rotate(3deg);
}

.service-card:hover .card-arrow-btn {
    background: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.service-card:hover .card-arrow-btn svg {
    transform: translateX(3px);
}

/* Responsive Rules for Services */
@media (max-width: 1200px) {
    .services-title {
        font-size: 2.5rem;
    }
    .service-card {
        flex: 0 0 calc((100% - 4rem) / 3); /* Show 3 cards on medium laptops */
        height: 440px;
    }
}

@media (max-width: 1150px) {
    .services-section {
        padding: 3rem 0;
    }
    .services-container {
        padding: 0 2rem;
    }
    .services-header {
        margin-bottom: 2rem;
    }
    .service-card {
        flex: 0 0 calc((100% - 2rem) / 2); /* Show 2 cards on tablet */
        height: 420px;
    }
}

@media (max-width: 640px) {
    .services-container {
        padding: 0 1.5rem;
    }
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .slider-controls {
        width: 100%;
        justify-content: flex-end;
    }
    .service-card {
        flex: 0 0 100%; /* Show 1 card on mobile */
        height: 400px;
    }
}

/* ==========================================================================
   Why Choose Us Section Styles
   ========================================================================== */
.why-choose-us-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;
}

.why-choose-us-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100%;
}

.why-choose-us-content {
    width: 58%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 2rem;
}

.why-choose-us-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

/* 5 Columns Row layout */
.why-choose-us-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.why-choose-us-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.circle-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 15, 25, 0.35);
    transition: var(--transition-smooth);
}

.circle-icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.why-col-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-transform: uppercase;
    line-height: 1.35;
    margin-top: 0.5rem;
    min-height: 36px;
    transition: var(--transition-smooth);
}

.why-col-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* Circle Hovers */
.why-choose-us-col:hover {
    transform: translateY(-4px);
}

.why-choose-us-col:hover .circle-icon-box {
    transform: scale(1.08);
}

.why-choose-us-col:hover .circle-icon-box.purple-glow-border {
    border-color: var(--pink-color);
    background: rgba(236, 72, 153, 0.06);
    color: var(--pink-color);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
}

.why-choose-us-col:hover .circle-icon-box.pink-glow-border {
    border-color: var(--cyan-color);
    background: rgba(56, 189, 248, 0.06);
    color: var(--cyan-color);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.why-choose-us-col:hover .why-col-title {
    color: var(--text-primary);
}

/* Right Side Flipped Diagonal Image */
.why-choose-us-split-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center left;
    z-index: 1;
    clip-path: polygon(68% 0%, 100% 0%, 100% 100%, 68% 100%, 62% 50%);
    animation: whyImageReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Glowing Diagonal Vector Divider */
.why-choose-us-divider-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Animations Keyframes */
@keyframes whyImageReveal {
    from {
        opacity: 0;
        transform: scale(1.05);
        clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 50%);
    }
    to {
        opacity: 1;
        transform: scale(1);
        clip-path: polygon(68% 0%, 100% 0%, 100% 100%, 68% 100%, 62% 50%);
    }
}

/* Why Choose Us Responsive Media rules */
@media (max-width: 1200px) {
    .why-choose-us-title {
        font-size: 2.8rem;
    }
    .why-choose-us-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 1rem;
    }
    .circle-icon-box {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 1150px) {
    .why-choose-us-section {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 0;
    }
    
    .why-choose-us-split-image {
        position: relative;
        width: 100%;
        height: 45vh;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        order: 1;
        animation: mobileWhyImageReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    
    .why-choose-us-divider-glow {
        display: none;
    }
    
    .why-choose-us-split-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--grad-pink-purple);
        box-shadow: 0 0 15px var(--pink-color);
        z-index: 5;
    }

    .why-choose-us-container {
        padding: 4rem 2rem;
        height: auto;
        order: 2;
    }
    
    .why-choose-us-content {
        width: 100%;
        max-width: 100%;
        padding-top: 0;
        padding-bottom: 2rem;
    }
    
    .why-choose-us-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .why-choose-us-container {
        padding: 3rem 1.5rem;
    }
    
    .why-choose-us-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .why-choose-us-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .why-choose-us-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-us-col {
        align-items: flex-start;
        text-align: left;
    }
}

@keyframes mobileWhyImageReveal {
    from {
        opacity: 0;
        transform: scale(1.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    to {
        opacity: 1;
        transform: scale(1);
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
}

/* ==========================================================================
   Projects Section Styles (Before & After)
   ========================================================================== */
.projects-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--bg-dark);
    overflow: hidden;
    z-index: 10;
}

.projects-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.projects-desc-top {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

/* Premium Project Card */
.project-card {
    background: rgba(13, 13, 23, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 1.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 72, 153, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(236, 72, 153, 0.08);
}

/* Before After Container & Slider */
.before-after-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    user-select: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.before-after-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.image-before {
    z-index: 2;
    clip-path: polygon(0 0, var(--split, 50%) 0, var(--split, 50%) 100%, 0 100%);
}

.image-after {
    z-index: 1;
}

/* Vertical Divider Bar */
.slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split, 50%);
    width: 2px;
    background: #ffffff;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 15px rgba(168, 85, 247, 0.5);
}

/* Drag Handle Button */
.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ffffff;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
}

.slider-button svg {
    width: 20px;
    height: 20px;
    color: var(--bg-dark);
    transition: var(--transition-smooth);
}

/* Hover effects for Handle on Card Hover */
.project-card:hover .slider-button {
    background: var(--pink-color);
    border-color: var(--pink-color);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.6), 0 0 10px rgba(236, 72, 153, 0.4);
}

.project-card:hover .slider-button svg {
    color: #ffffff;
    transform: scale(1.1);
}

/* Invisible Range Input Slider */
.before-after-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
}

/* Label Badges */
.label-badge {
    position: absolute;
    bottom: 1.25rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    pointer-events: none;
    z-index: 3;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
}

.before-badge {
    left: 1.25rem;
    background: rgba(236, 72, 153, 0.85);
    color: #ffffff;
}

.after-badge {
    right: 1.25rem;
    background: rgba(37, 99, 235, 0.85);
    color: #ffffff;
}

/* Card details styling */
.project-info {
    padding: 1.5rem 0.5rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--cyan-color);
    text-transform: uppercase;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.project-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    font-weight: 500;
}

/* Responsive Media Queries for Projects Section */
@media (max-width: 1200px) {
    .projects-title {
        font-size: 2.8rem;
    }
    .projects-grid {
        gap: 1.5rem;
    }
    .project-card {
        border-radius: 24px;
        padding: 1rem;
    }
    .before-after-container {
        border-radius: 16px;
    }
}

@media (max-width: 1150px) {
    .projects-section {
        padding: 3rem 0;
    }
    .projects-container {
        padding: 0 2rem;
    }
    .projects-header {
        margin-bottom: 2rem;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    /* Let the 3rd card take full width on a 2-col layout or keep it consistent */
    .projects-grid .project-card:last-child {
        grid-column: span 2;
        max-width: calc(50% - 1rem);
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid .project-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .projects-container {
        padding: 0 1.5rem;
    }
    .projects-title {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    .projects-desc-top {
        font-size: 0.95rem;
    }
    .project-card {
        padding: 0.8rem;
    }
    .project-info {
        padding: 1.25rem 0.25rem 0.25rem 0.25rem;
    }
    .project-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Contact Section Styles
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 5rem 0 0 0; /* No bottom padding since the upgrade bar sits at the bottom */
    background-color: #f8fafc;
    color: #0f172a;
    overflow: hidden;
    z-index: 10;
}

.contact-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    margin-bottom: 4rem; /* space between form grid and CTA bar */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Info Column Styling */
.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-subtitle-top {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #475569;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-title-main {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

a.contact-detail-item:hover {
    color: var(--pink-color);
    transform: translateX(4px);
}

.detail-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--pink-color);
    transition: var(--transition-smooth);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.contact-detail-item:hover .detail-icon-circle {
    background: var(--grad-pink-purple);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25);
}

/* Glassmorphic Form Card Column */
.contact-form-col {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    color: #0f172a;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.form-submit-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #ec4899 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    transition: var(--transition-smooth);
}

.form-submit-btn svg {
    transition: transform 0.3s ease;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.35);
}

.form-submit-btn:hover svg {
    transform: translateX(4px);
}

/* Quick Quote Card Column */
.contact-quote-col {
    height: 100%;
}

.quick-quote-card {
    background: #0d0d17;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.quick-quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.quote-card-decor {
    color: var(--pink-color);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
    margin-bottom: 0.5rem;
}

.quote-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.quote-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.quote-card-signature {
    margin-top: auto;
    font-family: 'Dancing Script', 'Caveat', cursive;
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-top: 1rem;
}

/* Call To Action Upgrade Bar */
.cta-upgrade-bar-wrapper {
    width: 100%;
    background-color: #f8fafc;
}

.cta-upgrade-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #2563eb 0%, #a855f7 50%, #ec4899 100%);
    padding: 2.2rem 4rem;
    width: 100%;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #ffffff;
}

.cta-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.cta-texts {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cta-title-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.cta-sub-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.cta-btn svg {
    transition: var(--transition-smooth);
}

.cta-btn:hover {
    background: #ffffff;
    color: #2563eb;
    border-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.cta-email-btn:hover {
    color: var(--pink-color);
}

.cta-btn:hover svg {
    transform: scale(1.1);
}

/* Responsive Contact Media Queries */
@media (max-width: 1200px) {
    .contact-container {
        padding: 0 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 2.5rem;
    }
    .contact-form-col {
        grid-row: span 2;
    }
    .contact-quote-col {
        grid-row: 2;
        grid-column: 1;
    }
    .contact-title-main {
        font-size: 2.5rem;
    }
    .cta-upgrade-bar {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 1150px) {
    .contact-section {
        padding: 3rem 0 0 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form-col {
        grid-row: auto;
    }
    .contact-quote-col {
        grid-row: auto;
        grid-column: auto;
    }
    .contact-title-main {
        margin-bottom: 1.5rem;
    }
    .contact-form-col,
    .quick-quote-card {
        padding: 2.5rem;
    }
    .cta-upgrade-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .cta-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .contact-container {
        padding: 0 1.25rem;
        margin-bottom: 3rem; /* Tighter spacing above the upgrade bar */
    }
    .contact-grid {
        gap: 2rem; /* Reduced gap between columns on mobile */
    }
    .contact-title-main {
        font-size: 2.1rem;
    }
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-form-col {
        padding: 1.75rem 1.25rem;
    }
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem 1.1rem; /* Compact inputs for shorter visual height */
    }
    .quick-quote-card {
        padding: 2.2rem 1.5rem;
        min-height: auto; /* Remove tall height constraint */
    }
    .cta-upgrade-bar {
        padding: 2rem 1.25rem;
    }
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Toast Notification Success Alert */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Footer Section Styles
   ========================================================================== */
.footer {
    background-color: #07070b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6rem 0 3rem 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4.5rem;
    margin-bottom: 5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 144px; /* Visible bigger by 100% (2x) */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    transform: scale(1.03);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--grad-pink-purple);
    border-radius: 2px;
}

.footer-links-list,
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-links-list a:hover {
    color: var(--pink-color);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.925rem;
    font-weight: 500;
}

.footer-contact-list li svg {
    color: var(--pink-color);
}

.footer-contact-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact-list li a:hover {
    color: var(--pink-color);
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-crafted span {
    color: var(--pink-color);
    display: inline-block;
    animation: heartBeat 1.2s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-container {
        padding: 0 2rem;
    }
    .footer-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 1150px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 3.5rem 0 1.5rem 0; /* Shorter top/bottom padding */
    }
    .footer-container {
        padding: 0 1.25rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns grid */
        gap: 2rem 1.25rem;
        margin-bottom: 2.5rem;
    }
    .brand-col {
        grid-column: span 2;
        align-items: flex-start;
        text-align: left;
    }
    .contact-col {
        grid-column: span 2;
        align-items: flex-start;
        text-align: left;
    }
    .footer-contact-list {
        align-items: flex-start; /* Left align items on mobile */
    }
    .footer-logo-img {
        height: 100px; /* Slightly smaller logo on mobile footer */
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding-top: 1.5rem;
    }
}



