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

/* Aggressive: hide all element scrollbars on desktop while preserving scroll */
@media (min-width: 1025px) {
    * {
        scrollbar-width: none; /* Firefox */
    }
    *::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
    }
}

/* ===== Scroll-triggered "Fade In Up" animations for cards ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    opacity: 1;
    transform: translateY(0);
}

/* Disable all animations on page load to prevent scroll blocking */
.preload * {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
}

.animate-card.show {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered delays for multiple cards */
.animate-card:nth-child(1).show { animation-delay: 0.1s; }
.animate-card:nth-child(2).show { animation-delay: 0.25s; }
.animate-card:nth-child(3).show { animation-delay: 0.4s; }
.animate-card:nth-child(4).show { animation-delay: 0.55s; }
.animate-card:nth-child(5).show { animation-delay: 0.7s; }
.animate-card:nth-child(6).show { animation-delay: 0.85s; }
.animate-card:nth-child(7).show { animation-delay: 1.0s; }
.animate-card:nth-child(8).show { animation-delay: 1.15s; }

/* Special handling for service cards within services section */
.services .animate-card:nth-child(1).show { animation-delay: 0.1s; }
.services .animate-card:nth-child(2).show { animation-delay: 0.3s; }
.services .animate-card:nth-child(3).show { animation-delay: 0.5s; }
.services .animate-card:nth-child(4).show { animation-delay: 0.7s; }
.services .animate-card:nth-child(5).show { animation-delay: 0.9s; }
.services .animate-card:nth-child(6).show { animation-delay: 1.1s; }

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --green-color: #10b981;
    --orange-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --transition: all 0.3s ease;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    background: #f5f5f5;
}

/* Reserve space for scrollbar to avoid overlay on content */
html {
    scrollbar-gutter: stable both-edges;
}

/* Desktop: hide visual scrollbar while keeping page scrollable */
@media (min-width: 1025px) {
    html {
        scrollbar-width: none;          /* Firefox */
    }
    body {
        -ms-overflow-style: none;       /* IE/Edge legacy */
        scrollbar-width: none;          /* Firefox */
    }
    html::-webkit-scrollbar,            /* Chrome/Safari/Edge */
    body::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: transparent !important;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
    width: 100%;
}

.header.scrolled {
    background: #002F40 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Force hamburger (mobile-menu-btn) lines white in light mode for both header states */
html body:not([data-theme="dark"]) .header .mobile-menu-btn span {
    background: #ffffff !important;
}

/* Initial state: hide logo, show site name with white text */
.header:not(.scrolled) .logo img {
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
    transition: all 0.3s ease;
}

.header:not(.scrolled) .logo h1 {
    /* color: #ffffff; */ /* REMOVED - Now controlled by Admin Panel via get-header-styles.php */
    text-shadow: none;
}

/* Scrolled state: show logo, keep site name visible */
.header.scrolled .logo img {
    opacity: 1;
    visibility: visible;
    width: auto;
    height: 36px; /* Very compact header - aggressive reduction */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0; /* Very compact header height - aggressive reduction */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 38px; /* Very compact header - aggressive reduction */
}

.logo a {
    cursor: pointer !important;
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.logo h1 {
    min-height: 38px; /* Very compact header - aggressive reduction */
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer !important;
}

.logo img {
    height: 38px !important; /* Very compact header - aggressive reduction */
    width: auto;
    max-width: none !important;
    object-fit: contain;
    transition: var(--transition);
}

/* Hide header logo images if src is empty or not yet set to avoid placeholders on reload */
img#siteLogoImg[src=""],
img#siteLogoImg:not([src]),
img#mobileSiteLogo[src=""],
img#mobileSiteLogo:not([src]) {
    display: none !important;
}

.header.scrolled .logo img {
    height: 36px; /* Very compact header - aggressive reduction */
}

/* Logo h1 base styles - color now controlled by Admin Panel */
.logo h1 {
    /* color: #ffffff !important; */ /* REMOVED - Now controlled by Admin Panel */
    font-size: 24px; /* Increased from 20px for better readability */
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Jost', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.3px;
    margin-top: 3px; /* Move down slightly */
}

/* Scrolled header logo - color now controlled by Admin Panel */
.header.scrolled .logo h1 {
    /* color: #ffffff !important; */ /* REMOVED - Now controlled by Admin Panel */
    font-size: 24px; /* Increased from 20px for better readability */
    text-shadow: none;
    margin-top: 3px; /* Move down slightly */
}

/* Header logo image constraints (shows before site name) */
.header .logo img#siteLogoImg,
.logo img#siteLogoImg {
    display: inline-block;
    height: 32px; /* Very compact header - aggressive reduction */
    width: auto;
    max-width: 140px;
    max-height: 32px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header .logo img#siteLogoImg,
    .logo img#siteLogoImg {
        height: 28px; /* Very compact header - mobile */
        max-height: 28px;
        max-width: 120px;
    }
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 500;
    transition: var(--transition);
}

/* Ensure header text is white in light mode - override dark mode CSS and JS */
body:not(.dark-mode) .header .nav-menu a,
body:not(.dark-mode) .nav-menu a,
body:not([data-theme="dark"]) .header .nav-menu a,
body:not([data-theme="dark"]) .nav-menu a,
.header .nav-menu a,
.nav-menu a {
    color: #ffffff !important;
}

/* Maximum specificity override for nav menu - force white text */
html body .header .nav-menu a,
html body .nav-menu a,
html body:not(.dark-mode) .header .nav-menu a,
html body:not(.dark-mode) .nav-menu a,
html body:not([data-theme="dark"]) .header .nav-menu a,
html body:not([data-theme="dark"]) .nav-menu a {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* Specific override for scrolled header nav menu in light mode */
html body:not(.dark-mode) .header.scrolled .nav-menu a,
html body:not([data-theme="dark"]) .header.scrolled .nav-menu a,
html body .header.scrolled .nav-menu a,
.header.scrolled .nav-menu a {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* COMMENTED OUT - Now controlled by Admin Panel Header Settings */
/* body:not(.dark-mode) .header .logo h1,
body:not(.dark-mode) .logo h1,
body:not([data-theme="dark"]) .header .logo h1,
body:not([data-theme="dark"]) .logo h1 {
    color: #ffffff !important;
} */

/* Initial transparent header: white nav links (desktop only) */
@media (min-width: 769px) {
    .header:not(.scrolled) .nav-menu a,
    .header:not(.scrolled) .desktop-nav a {
        color: #ffffff !important;
        text-shadow: none !important;
    }
}

.nav-menu a:hover {
    color: var(--orange-color);
}

.header.scrolled .nav-menu a {
    color: #ffffff !important;
}

.header.scrolled .nav-menu a:hover {
    color: var(--orange-color);
}

.nav-menu a.active {
    color: var(--orange-color);
}

.header:not(.scrolled) .nav-menu a.active {
    color: #ffffff;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Initial transparent header: stronger button shadow */
.header:not(.scrolled) .btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.header.scrolled .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
}

.header.scrolled .btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Initial transparent header: white hamburger */
.header:not(.scrolled) .mobile-menu-toggle span {
    background: #ffffff;
    box-shadow: none;
}

.hero {
    background: transparent;
    color: var(--text-dark);
    padding: 10rem 0 8rem 0;
    position: relative;
    overflow: visible;
}

.hero svg.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 10;
}

.wave-path {
    animation: waveAnimation 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes waveAnimation {
    0%, 100% {
        d: path("M0,90 C160,20 320,140 480,70 C640,20 800,140 960,70 C1120,20 1280,140 1440,90");
    }
    50% {
        d: path("M0,70 C160,140 320,20 480,90 C640,140 800,20 960,90 C1120,140 1280,20 1440,70");
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--green-color), #34d399);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-hero-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.stats {
    background: var(--gray-50);
    padding: 4rem 0;
}

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

.stat-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

.about {
    padding: 2rem 0 8rem 0;
    background: transparent;
    position: relative;
}

.about svg.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 10;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    text-align: left;
    max-width: 100%;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
}

.about-header {
    margin-bottom: 1.5rem;
}

.about-label {
    display: inline-block;
    color: var(--orange-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 0.5rem;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.progress-bars {
    margin-bottom: 2.5rem;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.progress-percentage {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    width: 0;
    transition: width 2s ease-out;
}

.progress-fill.animate {
    width: var(--progress-width);
}

@keyframes progressSlide {
    0% {
        width: 0;
    }
    100% {
        width: var(--progress-width);
    }
}

.btn-about {
    display: inline-block;
    background: var(--green-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-about:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

.about-image img {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.section-header p {
    font-size: 1.2rem;
    color: #000000;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.services {
    padding: 1rem 0 8rem 0;
    background: #FAFAFA;
    position: relative;
}

.services svg.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    /* background: #faf5eb; */ /* NOW CONTROLLED BY ADMIN PANEL */
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    color: #852A16;
}

.service-icon {
    font-size: 3.5rem;
    /* color: #b12c0e; */ /* NOW CONTROLLED BY ADMIN PANEL */
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1)); */ /* NOW CONTROLLED BY ADMIN PANEL */
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    /* color: #000000; */ /* NOW CONTROLLED BY ADMIN PANEL */
    font-weight: 700;
    transition: color 0.3s ease;
    font-family: 'Jost', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.service-card p {
    /* color: #000000; */ /* NOW CONTROLLED BY ADMIN PANEL */
    line-height: 1.6;
    font-size: 16px;
    font-family: 'Heebo', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Desktop Service Card Size Reduction */
@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .service-icon {
        font-size: 2.8rem;
        width: 65px;
        height: 65px;
        margin-bottom: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .service-card:hover {
        transform: translateY(-10px) scale(1.01);
    }
}

.projects {
    padding: 1rem 0 12rem 0;
    background: transparent;
    position: relative;
}

.projects svg.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 10;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 0.75rem 2rem;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.filter-btn.active {
    background: var(--green-color);
    color: var(--white);
    border-color: var(--green-color);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8rem 1rem !important;
    }
    
    .project-card {
        font-size: 0.9rem !important;
    }
    
    .project-image {
        height: 180px !important;
    }
    
    .project-info {
        padding: 1.25rem !important;
    }
    
    .project-info h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .project-info p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
    
    .project-link {
        font-size: 0.85rem !important;
    }
}

.project-card {
    background: #faf5eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    will-change: transform, opacity;
}

/* Initial positions before animation */
.project-card:nth-child(odd) {
    transform: translateY(100px);
}

.project-card:nth-child(even) {
    transform: translateY(-100px);
}

/* Animated state - slide to final staggered positions */
.project-card.animate:nth-child(odd) {
    opacity: 1;
    transform: translateY(-50px);
}

.project-card.animate:nth-child(even) {
    opacity: 1;
    transform: translateY(80px);
}

/* Special adjustment for first card after animation */
.project-card.animate:first-child {
    transform: translateY(-20px);
}



@media (max-width: 768px) {
    /* Initial positions before animation - mobile */
    .project-card:nth-child(odd) {
        transform: translateY(80px) !important;
        opacity: 0;
    }
    
    .project-card:nth-child(even) {
        transform: translateY(-80px) !important;
        opacity: 0;
    }
    
    /* Row 1: Card 1 (left-high), Card 2 (right-low) - animated state */
    .project-card.animate:nth-child(4n+1) {
        transform: translateY(-40px) !important;
        opacity: 1;
    }
    
    .project-card.animate:nth-child(4n+2) {
        transform: translateY(70px) !important;
        opacity: 1;
    }
    
    /* Row 2: Card 3 (left-low), Card 4 (right-high) - animated state */
    .project-card.animate:nth-child(4n+3) {
        transform: translateY(70px) !important;
        opacity: 1;
    }
    
    .project-card.animate:nth-child(4n+4) {
        transform: translateY(-40px) !important;
        opacity: 1;
    }
    
    /* Special adjustment for first card on mobile - move it lower */
    .project-card.animate:first-child {
        transform: translateY(-10px) !important;
        opacity: 1;
    }
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid var(--green-color);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.project-card:nth-child(odd):hover {
    transform: translateY(-60px);
}

.project-card:nth-child(even):hover {
    transform: translateY(70px);
}

@media (max-width: 768px) {
    .project-card:hover,
    .project-card:nth-child(odd):hover,
    .project-card:nth-child(even):hover {
        transform: translateY(-10px);
    }
}

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

.project-card:hover .project-placeholder {
    transform: scale(1.08);
}

.project-image {
    height: 280px;
    background: var(--gray-200);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.4s ease;
    position: relative;
}

.project-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Shop Section */
#shop {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Remove tap highlight from shop cards */
.shop-card,
.shop-card a,
.shop-card .card-link {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.project-info {
    padding: 2rem;
    background: #faf5eb;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.project-card:hover .project-info h3 {
    color: var(--green-color);
}

.project-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.project-link:hover {
    gap: 0.75rem;
    color: var(--orange-color);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(3px);
}

.project-info p {
    color: var(--text-light);
}

.contact {
    padding: 4rem 0 6rem 0;
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(255, 255, 255, 0.35);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-item i {
    font-size: 2rem;
    color: var(--white);
    margin-top: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-color), var(--orange-color));
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-item p {
    color: var(--text-light);
    margin: 0.25rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(255, 255, 255, 0.35);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-color);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--gray-200);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        padding: 74px 0 0 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        z-index: 9999;
    }

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

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        list-style: none;
        gap: 0;
    }

    .nav-menu ul li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu ul li:last-child {
        border-bottom: none;
    }

    .nav-menu ul li a {
        display: block;
        padding: 12px 18px;
        color: #1f2937;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        border-left: 4px solid transparent;
    }

    .nav-menu ul li a:hover {
        background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
        color: #10b981;
        border-left-color: #10b981;
        padding-left: 30px;
    }

    .nav-menu ul li a.active {
        background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, transparent 100%);
        color: #10b981;
        font-weight: 600;
        border-left-color: #10b981;
    }

    .header-content > .btn-primary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 10rem 0 4rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: auto;
        padding: 0.75rem 1.5rem;
        text-align: center;
        font-size: 0.9rem;
    }

    .hero-image {
        order: 2;
    }

    .hero-text {
        order: 1;
    }

    .hero-image svg {
        max-width: 90%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        text-align: left;
    }

    .about-image img {
        width: 350px;
        height: 350px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 0.95rem;
    }

    .btn-about {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem; /* Increased for better readability */
        white-space: nowrap;
        margin-top: 3px;
    }
    
    .header.scrolled .logo h1 {
        font-size: 1.3rem; /* Increased for better readability */
        margin-top: 3px;
    }
    
    .logo img {
        height: 36px !important; /* Very compact header - aggressive reduction */
    }
    
    .header.scrolled .logo img {
        height: 36px !important; /* Very compact header - aggressive reduction */
    }
}

/* Extra small phones (max-width: 360px) */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 1.1rem !important; /* Increased for better readability */
        white-space: nowrap;
        margin-top: 3px;
    }
    
    .header.scrolled .logo h1 {
        font-size: 1.1rem !important; /* Increased for better readability */
        margin-top: 3px;
    }
    
    .logo img {
        height: 34px !important; /* Very compact header - aggressive reduction */
    }
    
    .header.scrolled .logo img {
        height: 34px !important; /* Very compact header - aggressive reduction */
    }
}

/* Very small phones (max-width: 320px) */
@media (max-width: 320px) {
    .logo h1 {
        font-size: 1rem !important; /* Increased for better readability */
        white-space: nowrap;
        margin-top: 3px;
    }
    
    .header.scrolled .logo h1 {
        font-size: 1rem !important; /* Increased for better readability */
        margin-top: 3px;
    }
    
    .logo img {
        height: 30px !important; /* Very compact header - aggressive reduction */
    }
    
    .header.scrolled .logo img {
        height: 30px !important; /* Very compact header - aggressive reduction */
    }

    .hero {
        padding: 10rem 0 4rem 0 !important;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .about-image img {
        width: 280px;
        height: 280px;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .progress-label,
    .progress-percentage {
        font-size: 0.85rem;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}
