/* ========================================
   DentalRenova - Design System & Styles
   ======================================== */

/* === CSS Variables === */
:root {
    /* Primary Colors - Darker Natural Green */
    --primary-green: #059669;
    --primary-green-dark: #047857;
    --primary-green-light: #10B981;
    --primary-green-ultra-light: #34D399;

    /* Secondary Colors - Darker Emerald/Teal */
    --primary-emerald: #0D9488;
    --primary-emerald-dark: #0F766E;
    --primary-emerald-light: #14B8A6;
    --primary-emerald-ultra-light: #5EEAD4;

    /* Accent Colors - Darker Mint/Sage */
    --accent-mint: #34D399;
    --accent-mint-dark: #10B981;
    --accent-mint-light: #6EE7B7;
    --accent-mint-ultra-light: #A7F3D0;

    /* Accent Colors - Additional Greens (Darker) */
    --accent-sage: #65A30D;
    --accent-lime: #84CC16;
    --accent-forest: #15803D;
    --accent-jade: #14B8A6;

    /* Neutrals - Soft Dark Greens */
    --navy: #1F2937;
    --navy-light: #374151;
    --navy-lighter: #4B5563;
    --dark-bg: #111827;
    --dark-bg-light: #1F2937;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius - Enhanced */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Enhanced */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.24);
    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);
    --shadow-glow-lg: 0 0 60px rgba(16, 185, 129, 0.4);
    --shadow-green: 0 0 30px rgba(20, 184, 166, 0.25);
    --shadow-emerald: 0 0 40px rgba(14, 184, 166, 0.3);

    /* Transitions - Enhanced */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Blur Effects */
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;
    --blur-xl: 40px;
}

/* === Global Reset === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === UNIVERSAL SCROLLBAR HIDING === */
/* Hide scrollbar for ALL elements to prevent any flash */
* {
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE/Edge */
}

*::-webkit-scrollbar {
    display: none !important;
    /* Chrome/Safari/Opera */
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overflow-y: auto;
    /* PERMANENT: Completely hide scrollbar - Firefox */
    scrollbar-width: none !important;
    /* PERMANENT: Completely hide scrollbar - IE/Edge */
    -ms-overflow-style: none !important;
    /* Prevent font loading layout shift */
    font-size: 16px;
    /* Box model */
    box-sizing: border-box;
    /* No margin/padding */
    margin: 0;
    padding: 0;
}

/* PERMANENT: Completely hide scrollbar - Chrome/Safari/Opera */
html::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

html::-webkit-scrollbar-track,
html::-webkit-scrollbar-thumb {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body {
    font-family: var(--font-primary);
    color: #1F2937;
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    position: relative;
    /* Use 100% instead of 100vh to prevent mobile issues */
    min-height: 100%;
    /* Box model */
    box-sizing: border-box;
    /* Prevent margin collapse */
    margin: 0;
    padding: 0;
    /* Font loading optimization */
    font-display: swap;
    /* PERMANENT: Completely hide scrollbar - Firefox */
    scrollbar-width: none !important;
    /* PERMANENT: Completely hide scrollbar - IE/Edge */
    -ms-overflow-style: none !important;
}

/* PERMANENT: Completely hide scrollbar - Chrome/Safari/Opera */
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body::-webkit-scrollbar-track,
body::-webkit-scrollbar-thumb {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Prevent horizontal scroll */
img,
video,
iframe,
object,
embed {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure no element causes overflow */
* {
    max-width: 100%;
}

/* Remove any default margins that could cause white space */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Exception for specific elements that need to overflow */
.header,
.nav-menu,
.dropdown-menu,
.modal,
.tooltip,
.comparison-slider,
.comparison-divider,
.divider-handle,
.gallery-main,
.project-modal-content,
.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
    max-width: none;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4B5563;
}

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

/* === Utility Classes === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.12));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--primary-green);
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.3);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    }

    50% {
        box-shadow: 0 4px 25px rgba(20, 184, 166, 0.3);
    }
}

/* Separate pulse animation for hero badge to prevent overflow */
@keyframes pulseBadge {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(20, 184, 166, 0.25);
        transform: scale(1.01);
        /* Very minimal scale to prevent overflow */
    }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25), 0 0 20px rgba(20, 184, 166, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-emerald-light));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35), 0 0 30px rgba(20, 184, 166, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-dark {
    background: var(--navy);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* === Header & Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: transform 0.3s ease, background 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 700;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Center hizalama - daha iyi görünüm */
    gap: 0.75rem;
    /* 12px */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 1001;
    position: relative;
    line-height: 1.2;
    /* Computed height = 24px * 1.2 = 28.8px */
    transition: all 0.3s ease;
}

/* Logo wrapper - yazı yüksekliğiyle eşit, kare format */
.brand-logo-wrap {
    /* Yükseklik = .logo line-height (1.5rem * 1.2 = 1.8rem = 28.8px) */
    height: 1.8rem;
    /* line-height değeri */
    width: 1.8rem;
    /* Kare format */
    flex-shrink: 0;
    overflow: hidden;
    /* PNG iç boşluğunu gizle */
    display: flex;
    align-items: center;
    /* Center hizalama - yazıyla uyumlu */
    justify-content: center;
    position: relative;
}

.logo-img,
.logo-icon {
    /* Wrapper'ın tamamını doldur, transform ile büyüt */
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    flex-shrink: 0;
    /* PNG iç boşluğunu telafi etmek için scale - optik eşitleme */
    transform: scale(1.6);
    transform-origin: center;
    /* Retina ekranlar için netlik */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo span:first-child {
    color: white;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo span:last-child {
    color: var(--primary-green-light);
    text-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Scrolled state - dark text */
.header.scrolled a.logo {
    color: #1F2937 !important;
}

.header.scrolled .logo,
.header.scrolled a.logo,
.header.scrolled .logo span:first-child,
.header.scrolled a.logo span:first-child {
    color: #1F2937 !important;
    text-shadow: none !important;
}

.header.scrolled .logo span:last-child,
.header.scrolled a.logo span:last-child {
    color: #059669 !important;
    text-shadow: none !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Scrolled state - semi-transparent dark text */
.header.scrolled .nav-link {
    color: rgba(0, 0, 0, 0.85);
    text-shadow: none;
}

.header.scrolled .nav-link:hover {
    color: rgba(5, 150, 105, 0.9);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green-light), var(--primary-emerald-light));
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(20px);
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.nav-item.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-green), var(--primary-emerald));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green-light);
    padding-left: 2rem;
}

.dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3), 0 0 15px rgba(20, 184, 166, 0.15);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-emerald-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4), 0 0 25px rgba(20, 184, 166, 0.25);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hamburger menu color when scrolled - green lines on light background */
.header.scrolled .menu-toggle span {
    background: var(--primary-green);
}

/* When menu is open, keep lines visible (white on dark overlay) */
.menu-toggle.active span {
    background: white;
}

/* === Hero Section === */
.hero {
    /* Use calc to account for header height instead of 100vh */
    min-height: calc(100vh - 80px);
    /* Fallback for older browsers */
    min-height: 100vh;
    /* Dynamic viewport height for mobile - prevents address bar issues */
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('images/lastbg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #1F2937;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    color: white;
    padding-top: 80px;
    z-index: 1;
    overflow: hidden;
    /* Prevent scrollbar in hero */
    animation: heroFadeIn 1.5s ease-out;
    width: 100%;
    max-width: 100%;
    /* Box model */
    box-sizing: border-box;
    /* Prevent layout shift during animation */
    will-change: opacity;
}

/* Desktop'ta fixed background (performans için mobilde scroll) */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    .hero {
        background-attachment: fixed;
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(31, 41, 55, 0.85) 0%,
            rgba(31, 41, 55, 0.75) 50%,
            rgba(31, 41, 55, 0.4) 80%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: radial-gradient(ellipse at left center, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.9;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    overflow-x: hidden;
    /* Prevent overflow */
    box-sizing: border-box;
}

.hero-content {
    max-width: 600px;
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    padding-right: 3rem;
    padding-top: 2rem;
    /* Extra padding to prevent badge overflow during pulse animation */
    padding-bottom: 1rem;
    padding-left: 0;
    position: relative;
    z-index: 2;
    overflow: visible;
    /* Allow badge shadow but prevent text overflow */
    /* Prevent content from overflowing during animations */
    min-height: 200px;
}

.hero-content .badge {
    animation: fadeInBadge 0.8s ease-out, pulseBadge 2s ease-in-out 1s infinite;
    opacity: 0;
    animation-fill-mode: forwards;
    will-change: opacity, box-shadow;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* Prevent overflow during animation */
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    max-width: calc(100% - 2rem);
    /* Ensure badge doesn't overflow */
    box-sizing: border-box;
    /* Ensure badge stays within bounds */
    vertical-align: top;
    /* Prevent text overflow */
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Contain the badge within its bounds */
    contain: layout style;
}

.hero-content h1 {
    animation: fadeInUp 1s ease-out 0.2s, slideInLeft 1s ease-out 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-description {
    animation: fadeInUp 1s ease-out 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-content .hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-content .hero-features {
    animation: fadeInUp 1s ease-out 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-feature {
    animation: fadeInLeft 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-feature:nth-child(1) {
    animation-delay: 1s;
}

.hero-feature:nth-child(2) {
    animation-delay: 1.2s;
}

.hero-feature:nth-child(3) {
    animation-delay: 1.4s;
}

.hero h1 {
    color: white;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-size: clamp(2.75rem, 6vw, 4rem);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.hero h1 .highlight {
    color: var(--primary-green-light);
    display: block;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-emerald-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    animation: gradientShift 3s ease infinite, glowPulseText 2s ease-in-out infinite;
}

@keyframes glowPulseText {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6)) drop-shadow(0 0 30px rgba(20, 184, 166, 0.3));
    }
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    font-weight: 400;
    max-width: 500px;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-buttons .btn {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUpButton 0.8s ease-out forwards;
}

.hero-buttons .btn-primary {
    animation-delay: 0.6s;
}

.hero-buttons .btn-secondary {
    animation-delay: 0.7s;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3), 0 0 30px rgba(20, 184, 166, 0.2);
}

@keyframes fadeInUpButton {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-features {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    flex-wrap: nowrap;
    align-items: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-green-light);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
    animation: iconFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-feature:hover .hero-feature-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.6));
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.hero-feature span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .hero-feature {
        width: 100%;
    }
}

/* === Services Section === */
.services {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    animation: floatBubble 20s infinite ease-in-out;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 100%;
    max-width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.04) 0%, transparent 70%);
    animation: floatBubble 25s infinite ease-in-out reverse;
    pointer-events: none;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(40px, 10px) scale(1.05);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-card .btn {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    transition: transform 0.6s ease;
    transform: scale(0);
    pointer-events: none;
    z-index: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-emerald));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.12), 0 0 40px rgba(20, 184, 166, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    transform: scale(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25), 0 0 20px rgba(20, 184, 166, 0.15);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-emerald-light));
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35), 0 0 30px rgba(20, 184, 166, 0.25);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.service-icon svg,
.service-icon img {
    width: 32px;
    height: 32px;
    color: white;
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '•';
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: bold;
}

/* === Testimonials Section === */
.testimonials {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.25), transparent);
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.25), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.04), transparent);
    transition: left 0.6s ease;
}

.testimonial-card:hover {
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.1), 0 0 30px rgba(20, 184, 166, 0.06);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.15);
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25), 0 0 20px rgba(20, 184, 166, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-emerald-light));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35), 0 0 30px rgba(20, 184, 166, 0.25);
}

.testimonial-card:hover .testimonial-avatar::before {
    opacity: 1;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: #888;
    font-size: 0.875rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
}

.star {
    color: #fbbf24;
    font-size: 1.125rem;
}

.testimonial-quote {
    position: relative;
    padding-left: var(--spacing-lg);
    border-left: 3px solid var(--primary-green);
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.testimonial-location {
    color: var(--primary-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
}

/* === Contact Section === */
.contact {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.contact.section {
    padding-bottom: var(--spacing-md);
}

.contact::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-emerald) 50%, var(--primary-green-dark) 100%);
    padding: var(--spacing-3xl) var(--spacing-xl);
    border-radius: var(--radius-xl);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25), 0 0 40px rgba(20, 184, 166, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateBackground 15s linear infinite;
}

@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.contact-info h2 {
    color: white;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.contact-info-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.contact-details {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.contact-detail {
    display: flex;
    align-items: start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-detail-info h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-detail-info p {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.contact-hours {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.contact-hours h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.contact-hours p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === Contact Form === */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form:hover {
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.15);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), 0 4px 20px rgba(20, 184, 166, 0.08);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    margin-top: var(--spacing-md);
}

/* === Footer === */
.footer {
    background: linear-gradient(180deg, var(--navy) 0%, var(--dark-bg) 100%);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), var(--primary-emerald), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

.footer-about h3 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-about .logo {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Footer'daki logo wrapper - navbar ile aynı stil */
.footer-about .brand-logo-wrap {
    height: 1.8rem;
    width: 1.8rem;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-about .logo-img,
.footer-about .logo-icon {
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    flex-shrink: 0;
    transform: scale(1.6);
    transform-origin: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-start;
    align-items: center;
}

.social-link {
    width: auto;
    min-width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    z-index: 1;
}

.social-link span {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-link svg,
.social-link i {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3), 0 0 25px rgba(20, 184, 166, 0.2);
    border-color: var(--primary-green);
    color: white;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover span {
    color: white !important;
    z-index: 2;
}

.social-link:hover svg,
.social-link:hover i {
    color: white !important;
    z-index: 2;
}

.footer-links h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--primary-green-light);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-green-light);
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.footer-links ul li a:hover::before {
    left: -15px;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

/* === Responsive Design === */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .contact-info {
        position: relative;
        top: 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Container and spacing adjustments */
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    /* Tablet için logo wrapper - line-height bazlı */
    .brand-logo-wrap {
        height: 1.8rem;
        /* Desktop ile aynı (line-height: 1.2 * 1.5rem) */
        width: 1.8rem;
    }

    .logo-img,
    .logo-icon {
        height: 100%;
        width: 100%;
        transform: scale(1.6);
        transform-origin: center;
    }

    /* Navigation - Mobile Menu Fix */
    .nav-menu {
        position: fixed;
        inset: 0;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        background: rgba(31, 41, 55, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Lock body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: translateY(-10px);
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0;
        margin-left: 1rem;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(16, 185, 129, 0.3);
        border-radius: var(--radius-md);
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-item.dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        transform: translateY(0);
        margin-top: 0.5rem;
    }

    .dropdown {
        width: 100%;
    }

    .nav-item.dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        margin-top: 1rem;
        padding: 1rem 1.5rem;
    }

    /* Hero Section - Mobile Fix */
    .hero {
        background-attachment: scroll;
        background-size: cover;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 70px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    /* Desktop'ta fixed background */
    @media (min-width: 769px) {
        .hero {
            background-attachment: fixed;
        }
    }

    .hero::before {
        width: 100%;
        background: linear-gradient(to right,
                rgba(31, 41, 55, 0.85) 0%,
                rgba(31, 41, 55, 0.75) 50%,
                rgba(31, 41, 55, 0.6) 100%);
    }

    .hero::after {
        width: 100%;
    }

    .hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        padding-top: 1.5rem;
        /* Increased padding to prevent badge overflow on mobile */
        padding-left: 0;
        overflow: visible;
        /* Allow shadow but prevent text overflow */
    }

    .hero-content .badge {
        max-width: calc(100% - 1rem);
        word-wrap: break-word;
        white-space: normal;
        display: inline-block;
        /* Ensure badge doesn't overflow on mobile */
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        contain: layout style;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: var(--spacing-sm);
    }

    .hero-content .hero-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        font-size: 1rem;
    }

    /* Page Hero - Mobile Fix */
    .page-hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 350px;
        padding: calc(70px + var(--spacing-xl)) 0 var(--spacing-xl);
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Desktop'ta fixed background */
    @media (min-width: 769px) {
        .page-hero {
            background-attachment: fixed;
        }
    }

    .page-hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }

    .page-hero::before {
        background: linear-gradient(135deg,
                rgba(31, 41, 55, 0.88) 0%,
                rgba(31, 41, 55, 0.82) 30%,
                rgba(5, 150, 105, 0.15) 50%,
                rgba(31, 41, 55, 0.82) 70%,
                rgba(31, 41, 55, 0.88) 100%);
    }

    .page-hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }

    .page-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Typography adjustments */
    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
        white-space: normal;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .service-card h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    /* Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .testimonial-card {
        padding: var(--spacing-lg);
    }

    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-form {
        padding: var(--spacing-lg);
    }

    .contact-info {
        padding: var(--spacing-lg);
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 0.875rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .footer {
        padding: var(--spacing-2xl) 0;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Ensure all images scale properly */
    .service-icon img,
    .testimonial-avatar img,
    .team-avatar img,
    .project-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Modal and gallery images */
    .modal-image,
    .gallery-image {
        max-width: 100%;
        height: auto;
    }

    /* Cards and containers */
    .service-card,
    .testimonial-card,
    .team-card,
    .project-card {
        width: 100%;
    }

    /* Before/After Section */
    .comparison-slider {
        aspect-ratio: 4 / 3;
    }

    .comparison-label {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        top: 10px;
    }

    .label-before {
        left: 10px;
    }

    .label-after {
        right: 10px;
    }

    /* Project Stats */
    .project-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Project Modal */
    .project-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 2.5vh auto;
        padding: var(--spacing-lg);
        overflow-y: auto;
    }

    .modal-image-container {
        width: 100%;
    }

    .modal-image-container img {
        width: 100%;
        height: auto;
    }

    /* Gallery */
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .gallery-thumbnail {
        aspect-ratio: 1 / 1;
    }

    /* About/Content sections */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-text h2 {
        font-size: 1.75rem;
        margin-top: var(--spacing-xl);
        margin-bottom: var(--spacing-md);
    }

    .about-text h3 {
        font-size: 1.25rem;
        margin-top: var(--spacing-lg);
        margin-bottom: var(--spacing-sm);
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    /* Stats */
    .project-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: var(--spacing-md);
    }

    /* Comparison Container */
    .comparison-container {
        padding: 0 0.5rem;
    }

    /* Job Cards */
    .job-card {
        padding: var(--spacing-lg);
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Ensure no horizontal scroll */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    * {
        max-width: 100%;
    }

    /* Tables if any */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBadge {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile-specific adjustments: 480px and below */
@media (max-width: 480px) {
    :root {
        --spacing-3xl: 2rem;
        --spacing-2xl: 2rem;
        --spacing-xl: 1.5rem;
        --spacing-lg: 1.25rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    /* Mobil için logo wrapper - line-height bazlı */
    .brand-logo-wrap {
        /* Mobil: font-size (1.25rem = 20px) * line-height (1.2) = 1.5rem = 24px */
        height: 1.5rem;
        /* line-height değeri */
        width: 1.5rem;
        /* Kare format */
    }

    .logo-img,
    .logo-icon {
        height: 100%;
        width: 100%;
        transform: scale(1.6);
        transform-origin: center;
    }

    .logo {
        gap: 0.5rem;
        /* 8px - mobilde daha kompakt */
        font-size: 1.25rem;
        /* 20px */
        line-height: 1.2;
        /* Computed height = 20px * 1.2 = 24px */
        align-items: center;
        /* Center hizalama - daha iyi görünüm */
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }

    .hero-content .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-features {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .hero-feature {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-card,
    .testimonial-card,
    .contact-form,
    .contact-info {
        padding: var(--spacing-md);
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .page-hero {
        min-height: 300px;
        padding: calc(60px + var(--spacing-lg)) 0 var(--spacing-lg);
        width: 100%;
        max-width: 100%;
    }

    .page-hero .container {
        padding: 0 0.75rem;
    }

    .page-hero h1 {
        font-size: clamp(1.75rem, 10vw, 2rem);
        margin-bottom: var(--spacing-sm);
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .page-hero .container::after {
        width: 40px;
        height: 3px;
        margin-top: var(--spacing-md);
    }

    .comparison-slider {
        aspect-ratio: 1 / 1;
    }

    .comparison-label {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }
}

/* ========================================
   EXTRA MODERN ANIMATIONS & EFFECTS
   ======================================== */

/* Shimmer Loading Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 1000px 100%;
}

/* Glow Pulse Effect */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(20, 184, 166, 0.5);
    }
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide From Right */
@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide From Left */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Gradient Animation for Text */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.gradient-text {
    background: linear-gradient(90deg,
            var(--primary-green),
            var(--primary-emerald),
            var(--accent-mint),
            var(--primary-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Particle Background Effect */
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-green), var(--primary-emerald), transparent);
    border-radius: 2px;
}

.section-title {
    position: relative;
    display: inline-block;
}

/* Enhanced Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect Helper */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow:
        0 0 10px rgba(16, 185, 129, 0.6),
        0 0 20px rgba(20, 184, 166, 0.5),
        0 0 30px rgba(52, 211, 153, 0.3);
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(16, 185, 129, 0.1);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Background Gradient Animation */
@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg,
            var(--primary-green),
            var(--primary-emerald),
            var(--accent-mint),
            var(--primary-green));
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
}

/* Text Typing Effect */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Card Flip Effect */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Skew On Hover */
.skew-hover {
    transition: transform 0.3s ease;
}

.skew-hover:hover {
    transform: skewY(-2deg) scale(1.02);
}

/* Icon Bounce */
@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.icon-bounce:hover {
    animation: iconBounce 0.6s ease;
}

/* Fancy Underline */
.fancy-underline {
    position: relative;
    display: inline-block;
}

.fancy-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-emerald));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.fancy-underline:hover::after {
    width: 100%;
}

/* Smooth Entrance Delay Classes */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Performance Optimization */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* === Page Hero Styles === */
.page-hero {
    background-image: url('images/lastbg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #1F2937;
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop'ta fixed background (performans için mobilde scroll) */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    .page-hero {
        background-attachment: fixed;
        min-height: 500px;
    }
}

/* Modern gradient overlay with green accent */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(31, 41, 55, 0.88) 0%,
            rgba(31, 41, 55, 0.82) 30%,
            rgba(5, 150, 105, 0.15) 50%,
            rgba(31, 41, 55, 0.82) 70%,
            rgba(31, 41, 55, 0.88) 100%);
    z-index: 0;
}

/* Subtle animated gradient overlay for depth */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
            rgba(16, 185, 129, 0.08) 0%,
            transparent 70%);
    z-index: 0;
    animation: pulseGradient 8s ease-in-out infinite;
}

@keyframes pulseGradient {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.page-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.page-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Decorative accent line */
.page-hero .container::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-emerald));
    margin: var(--spacing-xl) auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* === About Content === */
.about-content {
    display: grid;
    gap: var(--spacing-3xl);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    color: var(--navy);
    font-size: 2rem;
    font-weight: 700;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    line-height: 1.3;
}

.about-text h2:first-of-type {
    margin-top: 0;
}

.about-text h3 {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: var(--spacing-lg);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--navy);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.25), 0 0 30px rgba(20, 184, 166, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.3), 0 0 40px rgba(20, 184, 166, 0.2);
}

.stat-card h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* === Vision Mission Grid === */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-3xl);
}

.vm-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.vm-card h2 {
    color: var(--navy);
    margin-bottom: var(--spacing-md);
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-lg);
}

.vm-card ul {
    list-style: none;
    padding: 0;
}

.vm-card ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.vm-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* === Team Grid === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.team-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.team-avatar {
    margin-bottom: var(--spacing-md);
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25), 0 0 25px rgba(20, 184, 166, 0.15);
}

.team-card h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.team-role {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.team-bio {
    color: #555;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

/* === Career Page === */
.career-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-3xl);
}

.career-intro h2 {
    color: var(--navy);
    margin-bottom: var(--spacing-md);
}

.career-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.career-intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    max-width: 100%;
}

.career-intro-text:last-of-type {
    margin-bottom: var(--spacing-2xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.benefit-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.benefit-card h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-top: var(--spacing-sm);
}

.job-openings {
    margin-top: var(--spacing-3xl);
}

.job-openings h2 {
    color: var(--navy);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.job-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.job-header h3 {
    color: var(--navy);
    margin: 0;
}

.job-type {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
}

.job-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.job-requirements li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.job-requirements li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: bold;
}

.job-card .btn {
    margin-top: var(--spacing-md);
}

/* === Before & After Section === */
.before-after {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    cursor: ew-resize;
    user-select: none;
    transition: box-shadow 0.3s ease;
    touch-action: none;
    /* Prevent scrolling during touch drag */
}

.comparison-slider:active {
    cursor: grabbing;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.comparison-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(5, 150, 105, 0.2);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;
    will-change: left;
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-before {
    z-index: 1;
}

.comparison-after {
    z-index: 2;
}

.comparison-before img,
.comparison-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.comparison-after {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: clip-path;
}

.comparison-label {
    position: absolute;
    top: 20px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.label-before {
    left: 20px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
}

.label-after {
    right: 20px;
    background: rgba(5, 150, 105, 0.9);
    color: white;
}

.comparison-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(5, 150, 105, 0.2);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;
    will-change: left;
}

.comparison-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(5, 150, 105, 0.6) 20%,
            rgba(13, 148, 136, 0.8) 50%,
            rgba(5, 150, 105, 0.6) 80%,
            transparent 100%);
    animation: dividerGlow 2s ease-in-out infinite;
}

@keyframes dividerGlow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4), 0 0 30px rgba(13, 148, 136, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    will-change: transform;
}

.divider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.95);
}

.divider-handle:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 30px rgba(5, 150, 105, 0.6), 0 0 50px rgba(13, 148, 136, 0.5);
}

.comparison-divider:hover .divider-handle {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 30px rgba(5, 150, 105, 0.6), 0 0 50px rgba(13, 148, 136, 0.5);
}

.divider-handle svg {
    width: 24px;
    height: 24px;
    color: white;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #6B7280;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive for Before & After - moved to main mobile media query */

/* === Projects Showcase Section (Main Page) === */
.projects-showcase {
    background: #ffffff;
}

.project-card-simple {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.project-card-simple:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.3);
}

.project-card-simple .project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--gray-100);
}

.project-card-simple .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

.project-card-simple .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(31, 41, 55, 0.95) 0%, rgba(31, 41, 55, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: var(--spacing-xl);
    opacity: 0;
    transition: all 0.4s ease;
    text-align: center;
}

.project-card-simple:hover .project-overlay {
    opacity: 1;
}

.project-card-simple .project-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.project-card-simple:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-card-simple .project-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.15s;
}

.project-card-simple:hover .project-overlay p {
    transform: translateY(0);
}

.project-card-simple .project-info {
    padding: var(--spacing-md);
}

/* === Projects Gallery Section === */
.projects-gallery {
    background: #ffffff;
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.project-tab {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid rgba(5, 150, 105, 0.2);
    color: var(--primary-green);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.project-tab:hover {
    background: rgba(5, 150, 105, 0.05);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.project-tab.active {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.project-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--gray-100);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(31, 41, 55, 0.95) 0%, rgba(31, 41, 55, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: var(--spacing-xl);
    opacity: 0;
    transition: all 0.4s ease;
    text-align: center;
}

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

.project-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

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

.project-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.15s;
}

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

.project-view-btn {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.project-card:hover .project-view-btn {
    transform: translateY(0);
}

.project-info {
    padding: var(--spacing-md);
}

.project-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(13, 148, 136, 0.1));
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* === Project Modal === */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.project-modal.active {
    display: flex;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.project-modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-green);
    transform: rotate(90deg);
}

.modal-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}

.modal-tab {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--font-primary);
}

.modal-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-emerald));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modal-tab.active {
    color: var(--primary-green);
    background: white;
}

.modal-tab.active::after {
    transform: scaleX(1);
}

.modal-tab:hover:not(.active) {
    background: rgba(5, 150, 105, 0.05);
    color: var(--primary-green);
}

.modal-body {
    padding: var(--spacing-xl);
    min-height: 400px;
}

.modal-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-tab-content.active {
    display: block;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    transition: opacity 0.3s ease;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--navy);
}

.gallery-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav-prev {
    left: 20px;
}

.gallery-nav-next {
    right: 20px;
}

.gallery-main:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--spacing-sm);
}

.gallery-thumbnail {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--primary-emerald);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.info-item {
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-green);
}

.info-item h4 {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 600;
}

.project-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.project-contact-form h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.project-contact-form p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.modal-form .form-group {
    margin-bottom: var(--spacing-md);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

/* Responsive for Projects Gallery */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-tabs {
        gap: var(--spacing-sm);
    }

    .project-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .project-modal-content {
        max-height: 95vh;
    }

    .modal-body {
        padding: var(--spacing-md);
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Blog Section === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(5, 150, 105, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.3);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: var(--gray-100);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-category {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    z-index: 2;
}

.blog-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    align-items: center;
}

.blog-card-date,
.blog-card-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-card-date svg,
.blog-card-read-time svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.blog-card-title {
    color: var(--navy);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-green);
}

.blog-card-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-primary);
    margin-top: auto;
}

.blog-card-read-more:hover {
    color: var(--primary-emerald);
    gap: 0.75rem;
}

.blog-card-read-more svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.blog-card-read-more:hover svg {
    transform: translateX(5px);
}

.blog-card-placeholder {
    opacity: 0.6;
    cursor: default;
}

.blog-card-placeholder:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-card-placeholder .blog-card-image {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    color: #9CA3AF;
    opacity: 0.5;
}

.placeholder-title {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.placeholder-text {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Blog Modal */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.blog-modal.active {
    opacity: 1;
    visibility: visible;
}

.blog-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.blog-modal-content {
    position: relative;
    background: white !important;
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    color: #1F2937;
}

.blog-modal.active .blog-modal-content {
    transform: scale(1);
}

.blog-modal-content .modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #1f2937;
}

.blog-modal-content .modal-close:hover {
    background: white;
    transform: rotate(90deg);
    color: #111827;
}

.blog-modal-content .modal-close svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.blog-modal-article {
    padding: 0;
    background: white !important;
    color: #4B5563 !important;
}

.blog-modal-article * {
    box-sizing: border-box;
}

.blog-modal-article,
.blog-modal-article p,
.blog-modal-article span,
.blog-modal-article div {
    color: inherit;
}

.blog-hero-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border-radius: 0;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-hero-image+.blog-header {
    margin-top: calc(var(--spacing-3xl) * -1);
    position: relative;
    z-index: 2;
    padding-top: var(--spacing-3xl);
}

.blog-header {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-3xl) var(--spacing-3xl) var(--spacing-xl);
    border-bottom: 2px solid var(--gray-200);
    position: relative;
    background: white;
}

.blog-hero-image+.blog-header .blog-category-badge {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-3xl);
    z-index: 3;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald));
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.blog-modal-article .blog-category-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald)) !important;
    color: white !important;
}

.blog-modal-article .blog-header .blog-category-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-emerald)) !important;
    color: white !important;
}

.blog-hero-image+.blog-header .blog-title {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: var(--spacing-lg);
}

.blog-header .blog-title {
    color: var(--navy) !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.blog-modal-article .blog-header {
    background: white !important;
    color: #1F2937 !important;
}

.blog-modal-article .blog-header .blog-title {
    color: #1F2937 !important;
}

.blog-modal-article .blog-header .blog-meta {
    color: #6B7280 !important;
}

.blog-modal-article .blog-header .blog-date,
.blog-modal-article .blog-header .blog-read-time {
    color: #6B7280 !important;
}

.blog-hero-image+.blog-header .blog-meta {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.blog-hero-image+.blog-header .blog-date,
.blog-hero-image+.blog-header .blog-read-time {
    color: rgba(255, 255, 255, 0.95);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    font-size: 0.95rem;
}

.blog-date svg,
.blog-read-time svg {
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.blog-modal-article .blog-date svg,
.blog-modal-article .blog-read-time svg {
    stroke: #6B7280;
    color: #6B7280;
}

.blog-content {
    color: #4B5563 !important;
    line-height: 1.8;
    padding: 0 var(--spacing-3xl) var(--spacing-3xl);
    background: white;
}

.blog-modal-article .blog-content {
    color: #4B5563 !important;
}

.blog-modal-article .blog-content p {
    color: #4B5563 !important;
}

.blog-intro {
    margin-bottom: var(--spacing-2xl);
}

.blog-intro .lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy) !important;
    margin-bottom: var(--spacing-md);
}

.blog-modal-article .blog-intro .lead {
    color: #1F2937 !important;
}

.blog-modal-article .blog-intro p {
    color: #4B5563 !important;
}

.blog-section {
    margin-bottom: var(--spacing-2xl);
}

.blog-section h2 {
    color: var(--navy) !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.blog-section h3 {
    color: var(--navy) !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.blog-section h4 {
    color: var(--navy) !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.blog-section p {
    margin-bottom: var(--spacing-md);
    color: #4B5563 !important;
}

.blog-modal-article .blog-section h2 {
    color: #1F2937 !important;
}

.blog-modal-article .blog-section h3 {
    color: #1F2937 !important;
}

.blog-modal-article .blog-section h4 {
    color: #1F2937 !important;
}

.blog-modal-article .blog-section p {
    color: #4B5563 !important;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.blog-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4B5563 !important;
    line-height: 1.7;
}

.blog-modal-article .blog-list li {
    color: #4B5563 !important;
}

.blog-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

.blog-cta {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.blog-cta-content h3 {
    color: var(--navy);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.blog-cta-content p {
    color: #555;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {

    /* === Mobile Navigation Menu === */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(135deg, rgba(31, 41, 55, 0.98), rgba(17, 24, 39, 0.98));
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: var(--spacing-sm);
        padding: 80px var(--spacing-lg) var(--spacing-xl);
        padding-top: max(80px, env(safe-area-inset-top, 80px));
        padding-bottom: max(var(--spacing-xl), env(safe-area-inset-bottom, var(--spacing-xl)));
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu>li {
        width: 100%;
        max-width: 300px;
    }

    .nav-menu .nav-link {
        color: white;
        font-size: 1.2rem;
        font-weight: 600;
        padding: var(--spacing-sm) var(--spacing-md);
        text-align: center;
        width: 100%;
        display: block;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        text-shadow: none;
    }

    .nav-menu .nav-link:hover {
        background: rgba(16, 185, 129, 0.2);
        color: var(--primary-green-light);
    }

    .nav-menu .nav-cta {
        margin-top: var(--spacing-md);
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: 1rem;
        width: auto;
        max-width: 280px;
    }

    /* Dropdown in mobile menu */
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        margin-top: var(--spacing-xs);
        padding: var(--spacing-xs) 0;
        border-radius: var(--radius-md);
        min-width: 100%;
        display: none;
    }

    .nav-menu .dropdown.active .dropdown-menu,
    .nav-menu .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
        padding: var(--spacing-xs) var(--spacing-md);
        text-align: center;
    }

    .nav-menu .dropdown-menu li a:hover {
        background: rgba(16, 185, 129, 0.15);
        padding-left: var(--spacing-md);
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Before & After Section - Mobile Responsive */
    .project-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .comparison-container {
        padding: 0 var(--spacing-sm);
    }

    .comparison-label {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        top: 10px;
    }

    .label-before {
        left: 10px;
    }

    .label-after {
        right: 10px;
    }

    .divider-handle {
        width: 45px;
        height: 45px;
    }

    .divider-handle svg {
        width: 18px;
        height: 18px;
    }

    /* Project Modal - Mobile Responsive */
    .project-modal {
        padding: var(--spacing-sm);
    }

    .project-modal-content {
        max-height: 95vh;
        border-radius: var(--radius-lg);
    }

    .modal-tabs {
        flex-direction: column;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .modal-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
        text-align: center;
        border-bottom: 1px solid var(--gray-200);
    }

    .modal-tab:last-child {
        border-bottom: none;
    }

    .modal-tab::after {
        height: 2px;
    }

    .modal-body {
        padding: var(--spacing-md);
        min-height: auto;
    }

    .modal-close {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 35px;
        height: 35px;
    }

    /* Gallery thumbnails */
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: var(--spacing-xs);
    }

    .gallery-main {
        aspect-ratio: 4 / 3;
    }

    /* Project Info Grid */
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .info-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .info-item h4 {
        font-size: 0.75rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    /* Project Contact Form */
    .project-contact-form {
        padding: 0;
    }

    .project-contact-form h3 {
        font-size: 1.25rem;
    }

    .project-contact-form p {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-md);
    }

    .modal-form .form-group {
        margin-bottom: var(--spacing-sm);
    }

    .modal-form input,
    .modal-form textarea {
        font-size: 0.9rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .blog-hero-image {
        height: 250px;
    }

    .blog-hero-image+.blog-header {
        margin-top: calc(var(--spacing-xl) * -1);
        padding-top: var(--spacing-xl);
    }

    .blog-hero-image+.blog-header .blog-category-badge {
        top: var(--spacing-md);
        left: var(--spacing-xl);
    }

    .blog-header {
        padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    }

    .blog-header .blog-title {
        font-size: 1.75rem;
    }

    .blog-content {
        padding: 0 var(--spacing-xl) var(--spacing-xl);
    }

    .blog-modal-article {
        padding: 0;
    }

    .blog-title {
        font-size: 1.75rem;
    }

    .blog-section h2 {
        font-size: 1.5rem;
    }

    .blog-section h3 {
        font-size: 1.25rem;
    }
}

/* === Additional Mobile Responsive Rules === */
@media (max-width: 480px) {

    /* === Mobile Menu - Extra Small Screens === */
    /* === Mobile Menu - Extra Small Screens === */
    .nav-menu {
        padding: 70px var(--spacing-sm) var(--spacing-lg);
        gap: var(--spacing-xs);
    }

    .nav-menu>li {
        max-width: 260px;
    }

    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .nav-menu .nav-cta {
        padding: var(--spacing-xs) var(--spacing-lg);
        font-size: 0.95rem;
        margin-top: var(--spacing-sm);
    }

    .nav-menu .dropdown-menu li a {
        font-size: 0.9rem;
        padding: 0.4rem var(--spacing-sm);
    }

    /* Container padding adjustments */
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    /* Before & After Section - Extra Small Screens */
    .project-stats {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-lg);
    }

    .stat-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Comparison Slider adjustments */
    .comparison-slider {
        border-radius: var(--radius-lg);
    }

    .comparison-label {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        top: 8px;
    }

    .label-before {
        left: 8px;
    }

    .label-after {
        right: 8px;
    }

    .divider-handle {
        width: 40px;
        height: 40px;
    }

    .divider-handle svg {
        width: 16px;
        height: 16px;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Hero section */
    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Projects grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Testimonials grid */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Contact wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    /* Project Modal - Extra Small Screens */
    .project-modal {
        padding: 0;
    }

    .project-modal-content {
        max-height: 100vh;
        border-radius: 0;
        height: 100%;
    }

    .modal-tabs {
        border-radius: 0;
    }

    .modal-tab {
        padding: 0.75rem var(--spacing-sm);
        font-size: 0.85rem;
    }

    .modal-body {
        padding: var(--spacing-sm);
    }

    .gallery-main {
        aspect-ratio: 1 / 1;
        border-radius: var(--radius-md);
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .project-contact-form h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .project-contact-form p {
        font-size: 0.85rem;
        text-align: center;
    }
}