/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #ffffff;
    color: #111;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   VARIABLES
========================= */
:root {
    --cerulean: #3f7580;
    --dark: #0a0a0a;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitDrift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-12px, 12px);
    }
}

@keyframes barPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes softRiseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softScaleIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes subtleGlowPulse {
    0%, 100% {
        box-shadow: 0 10px 18px rgba(8, 14, 24, 0.35);
    }
    50% {
        box-shadow: 0 14px 24px rgba(63, 117, 128, 0.24);
    }
}

/* =========================
   GLOBAL
========================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 25px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--dark);
    animation: fadeInUp 0.8s ease;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cerulean), transparent);
    border-radius: 2px;
}

.page-header h1,
.page-header p,
.about-text,
.about-image,
.projects-intro .intro-content,
.contact-form-wrapper,
.contact-info-wrapper,
.sitemap-card,
.service-cards .card,
.projects-grid .project-card,
.values-grid .value-card,
.contact-info-card,
.footer > * {
    animation: softRiseIn 0.7s ease both;
}

.service-cards .card:nth-child(2),
.projects-grid .project-card:nth-child(2),
.values-grid .value-card:nth-child(2),
.footer-container > div:nth-child(2) {
    animation-delay: 0.08s;
}

.service-cards .card:nth-child(3),
.projects-grid .project-card:nth-child(3),
.values-grid .value-card:nth-child(3),
.footer-container > div:nth-child(3) {
    animation-delay: 0.16s;
}

.projects-grid .project-card:nth-child(4),
.projects-grid .project-card:nth-child(5),
.projects-grid .project-card:nth-child(6),
.projects-grid .project-card:nth-child(7),
.projects-grid .project-card:nth-child(8),
.projects-grid .project-card:nth-child(9) {
    animation-delay: 0.2s;
}

.folder-navbar .nav-menu-left a.folder-link,
.btn-primary,
.btn-secondary,
.btn-submit,
.social-link {
    will-change: transform;
}

.folder-navbar .lang-toggle,
.folder-navbar .nav-menu-left a.folder-link {
    animation: softScaleIn 0.55s ease both;
}

.folder-navbar .nav-menu-left a.folder-link {
    animation-delay: 0.06s;
}

.folder-navbar .nav-menu-left a.folder-link.folder-link-contact {
    animation-delay: 0.12s;
}

.service-cards .card:hover,
.projects-grid .project-card:hover,
.contact-info-card:hover,
.value-card:hover {
    animation: subtleGlowPulse 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================
   NAVBAR
========================= */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--cerulean);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 180, 216, 0.1);
    animation: fadeIn 0.5s ease;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

/* LEFT Navigation */
.nav-menu-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.nav-menu-left a {
    position: relative;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-menu-left a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: var(--cerulean);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu-left a:hover,
.nav-menu-left a.active {
    color: var(--cerulean);
}

.nav-menu-left a:hover::after,
.nav-menu-left a.active::after {
    width: 100%;
}

/* CENTER Logo */
.brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 0.8s ease;
}

.brand-logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.1);
}

/* RIGHT Button */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-contact {
    background: var(--cerulean);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-contact:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

/* Folder Navbar Variant (shared across pages) */
.folder-navbar {
    background: linear-gradient(180deg, #112f5f 0%, #0b2447 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(7, 20, 43, 0.55);
}

.folder-navbar .nav-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 114px;
    gap: 28px;
}

.folder-navbar .brand-center {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
}

.folder-navbar .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.folder-navbar .brand-logo {
    height: 76px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.folder-navbar .brand-logo:hover {
    transform: none;
}

.folder-navbar .brand-name {
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.folder-navbar .nav-menu-left {
    justify-self: center;
    justify-content: center;
    gap: 18px;
    align-items: flex-end;
}

.folder-navbar .nav-menu-left a.folder-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 28px 11px;
    border-radius: 4px;
    border: 1px solid rgba(63, 117, 128, 0.7);
    border-bottom-width: 1px;
    background: linear-gradient(180deg, #1a3d5c 0%, #0f2a42 100%);
    color: #dfc089;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    box-shadow: 0 10px 18px rgba(8, 14, 24, 0.35);
    overflow: hidden;
}

.folder-navbar .nav-menu-left a.folder-link::before,
.folder-navbar .nav-menu-left a.folder-link::after {
    display: none;
}

.folder-navbar .nav-menu-left a.folder-link:hover,
.folder-navbar .nav-menu-left a.folder-link.active {
    color: #ffffff;
    background: linear-gradient(180deg, #3f7580 0%, #2d5660 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(63, 117, 128, 0.5);
}

.folder-navbar .nav-menu-left a.folder-link.folder-link-contact {
    border-color: rgba(223, 192, 137, 0.6);
    background: linear-gradient(180deg, #f0dcae 0%, #dfc089 100%);
    color: #2e2d2a;
}

.folder-navbar .nav-menu-left a.folder-link.folder-link-contact:hover,
.folder-navbar .nav-menu-left a.folder-link.folder-link-contact.active {
    background: linear-gradient(180deg, #f8ecd1 0%, #efd7aa 100%);
    color: #2a2a26;
}

.folder-navbar .nav-right {
    justify-self: end;
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.folder-navbar .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(231, 216, 184, 0.42);
    background: rgba(240, 220, 176, 0.12);
    box-shadow: 0 8px 16px rgba(4, 14, 33, 0.38);
    color: #f2e3c3;
    font-weight: 700;
    font-size: 15px;
}

.folder-navbar .lang-toggle button {
    border: none;
    background: transparent;
    color: #f2e3c3;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.folder-navbar .lang-toggle button.active {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.folder-navbar .lang-toggle .separator {
    color: rgba(242, 227, 195, 0.9);
    font-weight: 500;
}

.folder-navbar .hamburger,
.folder-navbar .mobile-menu {
    display: none !important;
}

@media (max-width: 968px) {
    .folder-navbar .nav-content {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 18px 0;
    }

    .folder-navbar .brand-center {
        justify-content: center;
    }

    .folder-navbar .nav-menu-left,
    .folder-navbar .nav-right {
        width: 100%;
        justify-content: center;
    }

    .folder-navbar .nav-menu-left {
        flex-wrap: wrap;
    }

    .folder-navbar .nav-right {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .folder-navbar .nav-menu-left,
    .folder-navbar .nav-right {
        display: flex;
    }

    .folder-navbar .nav-content {
        height: auto;
        justify-content: center;
        gap: 14px;
    }

    .folder-navbar .brand-logo {
        height: 64px;
    }

    .folder-navbar .brand-name {
        font-size: 26px;
    }

    .folder-navbar .nav-menu-left a.folder-link {
        min-height: 40px;
        padding: 9px 16px 8px;
        font-size: 14px;
    }

    .folder-navbar .lang-toggle {
        min-height: 40px;
        padding: 8px 12px;
    }

    .folder-navbar .lang-toggle button {
        font-size: 14px;
    }
}

/* =========================
   HAMBURGER MENU (Mobile/Tablet Only)
========================= */
.hamburger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--cerulean);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(227, 245, 248, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 3px solid var(--cerulean);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px;
    width: 100%;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cerulean), #0096c7);
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 12px;
}

.mobile-nav a:hover::before,
.mobile-nav a.active::before {
    left: 0;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--white);
    transform: translateX(10px);
}

.mobile-contact {
    background: linear-gradient(135deg, var(--cerulean), #0096c7);
    color: var(--white) !important;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
    margin-top: 10px;
}

.mobile-contact:hover {
    color: var(--white) !important;
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Show hamburger on tablet and mobile */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger.active {
        transform: translateY(-50%) scale(1.1);
    }

    .nav-content {
        position: relative;
    }
}

/* =========================
   DECORATIVE ELEMENTS
========================= */
/* Animated Background Shapes */
@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes slideGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Decorative shape on sections */
.section-decoration {
    position: absolute;
    pointer-events: none;
    opacity: 0.05;
}

/* =========================
   HERO
========================= */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #e3f5f8 30%, #c7ebf0 60%, var(--cerulean) 100%);
    background-size: 200% 200%;
    animation: slideGradient 15s ease infinite;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/worker.jpg') center/cover no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

/* Additional decorative circles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(63, 117, 128, 0.08) 0%, transparent 50%);
    z-index: 1;
}

/* Animated geometric shapes */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(63, 117, 128, 0.15);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floatShape 20s ease-in-out infinite;
    z-index: 0;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 8%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(0, 180, 216, 0.15);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation: floatShape 25s ease-in-out infinite reverse;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-center {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.logo-large {
    margin-bottom: 30px;
}

.animated-logo {
    width: 150px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 15px 40px rgba(0, 180, 216, 0.4));
    transition: transform 0.3s ease;
}

.animated-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 20px 50px rgba(0, 180, 216, 0.5));
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    letter-spacing: -1px;
}

.hero-title span {
    display: block;
    animation: fadeInUp 1s ease;
}

.word-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.word-2 {
    color: var(--cerulean);
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.word-3 {
    font-size: 48px;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 800;
    color: #555;
    margin-bottom: 40px;
    animation: fadeIn 1s ease 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.hero-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 1.2s;
    animation-fill-mode: forwards;
    opacity: 0;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.2);
    border: 2px solid rgba(63, 117, 128, 0.1);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.3);
    border-color: var(--cerulean);
}

.badge-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cerulean) 0%, #0096c7 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-primary:visited {
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0096c7 0%, var(--dark) 100%);
    transition: left 0.3s ease;
    opacity: 0.85;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.6);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-submit:focus-visible,
.btn-contact:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.btn-secondary {
    background: var(--white);
    color: var(--cerulean);
    border: 2px solid var(--cerulean);
}

.btn-secondary:hover {
    background: var(--cerulean);
    color: var(--white);
    border-color: var(--cerulean);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeIn 1s ease 1.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(10, 10, 10, 0.3);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--cerulean);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0.5;
        top: 20px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}



/* =========================
   SERVICES
========================= */
.services {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(199, 235, 240, 0.3), transparent);
    pointer-events: none;
}

/* Decorative lines in background */
.services::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(63, 117, 128, 0.03) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(63, 117, 128, 0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 180, 216, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient border effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--cerulean), #0096c7, var(--cerulean));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: slideGradient 3s ease infinite;
}

/* Glowing effect on hover */
.card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15), transparent 70%);
    transition: all 0.5s ease;
    z-index: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.35), 0 0 40px rgba(0, 180, 216, 0.1);
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    width: 300px;
    height: 300px;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
    background: linear-gradient(135deg, var(--cerulean), #0096c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse 0.6s ease;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* =========================
   FEATURED PROJECTS
========================= */
.featured-projects {
    padding: 110px 0 120px;
    background: linear-gradient(160deg, #f5fbfc 0%, #ffffff 45%, #eef7f8 100%);
    position: relative;
    overflow: hidden;
}

.featured-projects::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -160px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(63, 117, 128, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.featured-projects::after {
    content: '';
    position: absolute;
    bottom: -140px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

.featured-orbit {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    pointer-events: none;
    opacity: 0.7;
    animation: orbitDrift 8s ease-in-out infinite;
}

.orbit-ring {
    position: absolute;
    inset: 20px;
    border: 2px dashed rgba(63, 117, 128, 0.25);
    border-radius: 50%;
    animation: spinSlow 18s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cerulean);
    top: 22px;
    left: 140px;
    box-shadow: 0 0 20px rgba(63, 117, 128, 0.45);
}

.orbit-spark {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0096c7;
    bottom: 30px;
    right: 60px;
    box-shadow: 0 0 18px rgba(0, 150, 199, 0.45);
}

.featured-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.featured-kicker {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 12px;
    font-weight: 700;
    color: var(--cerulean);
    margin-bottom: 14px;
}

.featured-copy h2 {
    font-size: 40px;
    color: var(--dark);
    margin-bottom: 16px;
}

.featured-lead {
    color: #555;
    font-size: 17px;
    max-width: 520px;
}

.featured-graphic {
    position: relative;
    height: 220px;
    border-radius: 22px;
    border: 1px solid rgba(63, 117, 128, 0.2);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px rgba(0, 180, 216, 0.15);
    overflow: hidden;
    animation: float 7s ease-in-out infinite;
}

.graphic-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(63, 117, 128, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(63, 117, 128, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
}

.graphic-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(0, 180, 216, 0.25);
    top: 25px;
    right: 25px;
    animation: spinSlow 16s linear infinite;
}

.graphic-bar {
    position: absolute;
    bottom: 24px;
    width: 26px;
    border-radius: 20px 20px 8px 8px;
    background: linear-gradient(180deg, #0096c7 0%, var(--cerulean) 100%);
    animation: barPulse 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(0, 150, 199, 0.25);
}

.bar-one {
    height: 110px;
    left: 30px;
}

.bar-two {
    height: 150px;
    left: 70px;
    animation-delay: 0.2s;
}

.bar-three {
    height: 90px;
    left: 110px;
    animation-delay: 0.4s;
}

.featured-projects .project-card {
    border: 1px solid rgba(63, 117, 128, 0.08);
}

.featured-actions {
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* =========================
   WHY SECTION
========================= */
.why {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cerulean), transparent);
}

/* Decorative animated circle */
.why::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(63, 117, 128, 0.1);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

.why-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.why-text {
    flex: 1;
    animation: slideInLeft 0.8s ease;
}

.why-text h2 {
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--cerulean) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.why-text > p {
    margin-bottom: 35px;
    color: #666;
    font-size: 18px;
}

.why-text ul {
    list-style: none;
    margin-bottom: 40px;
}

.why-text li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.why-text .icon {
    background: linear-gradient(135deg, var(--cerulean) 0%, #0096c7 100%);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.why-text .icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--cerulean);
    opacity: 0;
    transition: all 0.3s ease;
}

.why-text li:hover .icon {
    transform: scale(1.15) rotate(360deg);
    transition: transform 0.6s ease;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.5);
}

.why-text li:hover .icon::after {
    opacity: 0.5;
    transform: scale(1.3);
}

.why-text li strong {
    color: var(--dark);
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.why-text li p {
    color: #666;
    line-height: 1.6;
}

.why-image {
    flex: 1;
    animation: slideInRight 0.8s ease;
}

.why-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.2);
    transition: transform 0.3s ease;
}

.why-image img:hover {
    transform: scale(1.05);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    color: #bdbdbd;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cerulean), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: auto;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.footer-brand p {
    max-width: 450px;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: rgba(63, 117, 128, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--cerulean);
    transform: scale(1.1);
}

.contact-item span:not(.contact-icon) {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.4;
}

.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--cerulean);
}

.footer-location {
    margin-top: 15px;
}

.footer-location p {
    color: var(--cerulean);
    font-size: 16px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-links a {
    display: block;
    color: #bdbdbd;
    text-decoration: none;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--cerulean);
    padding-left: 5px;
}

/* =========================
   SITEMAP PAGE
========================= */
.sitemap-section {
    padding: 90px 0 110px;
    background: var(--light-gray);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.sitemap-card {
    background: var(--white);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.12);
}

.sitemap-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 18px;
}

.sitemap-card a {
    display: block;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.sitemap-card a:hover {
    color: var(--cerulean);
}

/* Social Links */
.footer-social h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-link svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    color: #25D366;
}

.social-link.whatsapp:hover {
    background: #25D366;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-link.whatsapp:hover svg {
    color: white;
}

.social-link.linkedin {
    color: #0A66C2;
}

.social-link.linkedin:hover {
    background: #0A66C2;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
}

.social-link.linkedin:hover svg {
    color: white;
}

.social-link.facebook {
    color: #1877F2;
}

.social-link.facebook:hover {
    background: #1877F2;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-link.facebook:hover svg {
    color: white;
}

.social-link.instagram {
    color: #E4405F;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
}

.social-link.instagram:hover svg {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 25px;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.legal-links a {
    color: #bdbdbd;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--cerulean);
}

/* =========================
   COOKIE BANNER
========================= */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #ffffff;
    color: var(--dark);
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 2000;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    margin: 0;
    font-size: 15px;
    color: #444;
}

.cookie-banner a {
    color: var(--cerulean);
    text-decoration: none;
    font-weight: 700;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--cerulean);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background: var(--dark);
}

.cookie-btn.decline {
    background: #f2f2f2;
    color: #444;
}

.cookie-btn.decline:hover {
    background: #e0e0e0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 968px) {
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }

    .nav-menu-left {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .brand-center {
        position: static;
        transform: none;
        order: 1;
    }

    .brand-logo {
        height: 70px;
    }

    .nav-right {
        order: 3;
        justify-content: center;
        width: 100%;
    }

    .btn-contact {
        width: auto;
        padding: 12px 30px;
    }

    .hero-title {
        font-size: 48px;
    }

    .word-3 {
        font-size: 36px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card {
        padding: 40px 25px;
    }

    .services {
        padding: 80px 0;
    }

    .featured-head {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .featured-graphic {
        max-width: 420px;
        width: 100%;
    }

    .message-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .featured-lead {
        max-width: none;
    }

    .why-content {
        flex-direction: column;
        gap: 40px;
    }

    .why-image img {
        max-width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand,
    .footer-links,
    .footer-social {
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-links a {
        margin: 0 10px;
    }

    /* Sitemap Page */
    .sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* About Page Responsive */
    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Projects Page Responsive */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid.one-column-mobile {
        grid-template-columns: 1fr;
    }

    /* Contact Page Responsive */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    /* Hide desktop navigation */
    .nav-menu-left,
    .nav-right {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Adjust navbar for mobile */
    .nav-content {
        height: 70px;
        justify-content: center;
    }

    .brand-center {
        position: static;
        transform: none;
    }

    .brand-logo {
        height: 60px;
    }

    /* Mobile menu adjustments */
    .mobile-menu {
        width: 80%;
        max-width: 320px;
    }

    .hero {
        min-height: 80vh;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .word-3 {
        font-size: 28px;
    }

    .animated-logo {
        width: 120px;
    }

    .logo-large {
        margin-bottom: 25px;
    }

    .hero-subtitle {
        font-size: 18px;
        padding: 0 20px;
    }

    .hero-features {
        gap: 15px;
        padding: 0 20px;
    }

    .feature-badge {
        padding: 10px 18px;
    }

    .badge-text {
        font-size: 13px;
    }

    .badge-icon {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    /* Sitemap Page */
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .featured-head {
        text-align: center;
    }

    .featured-graphic {
        margin: 0 auto;
    }

    .featured-projects {
        padding: 90px 0 100px;
    }

    .featured-copy h2 {
        font-size: 32px;
    }

    .message-banner h2 {
        font-size: 30px;
    }

    .featured-graphic {
        height: 200px;
    }

    .why-text h2 {
        font-size: 32px;
    }

    /* About Page */
    .page-header h1 {
        font-size: 42px;
    }

    .page-header p {
        font-size: 18px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .value-card {
        padding: 32px 26px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat h3 {
        font-size: 42px;
    }

    /* Projects Page */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .projects-section {
        padding: 70px 0 90px;
    }

    .project-image {
        height: 260px;
    }

    .project-info {
        padding: 28px;
    }

    .project-info h3 {
        font-size: 22px;
    }

    .project-info > p {
        font-size: 15px;
    }

    .project-details li {
        font-size: 14px;
    }

    /* Contact Page */
    .map-placeholder {
        height: 300px;
    }

    .map-overlay p {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    /* Smaller hamburger for very small screens */
    .hamburger {
        width: 28px;
        height: 21px;
        right: 15px;
    }

    .hamburger-line {
        height: 2.5px;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Full width mobile menu on small devices */
    .mobile-menu {
        width: 85%;
    }

    .brand-logo {
        height: 50px;
    }

    .nav-content {
        height: 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .message-banner h2 {
        font-size: 26px;
    }

    .featured-copy h2 {
        font-size: 26px;
    }

    .featured-graphic {
        height: 180px;
    }

    .word-3 {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-contact {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .card {
        padding: 30px 20px;
    }

    /* About Page */
    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .about-text h2,
    .intro-content h2,
    .cta-section h2 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .values-grid {
        gap: 24px;
    }

    .value-card {
        padding: 28px 22px;
    }

    .stat h3 {
        font-size: 36px;
    }

    /* Contact Page */
    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 26px;
    }

    /* Projects Page */
    .project-image {
        height: 230px;
    }

    .project-info {
        padding: 24px;
    }

    .project-category {
        padding: 7px 16px;
        font-size: 12px;
    }

    .project-details li {
        font-size: 14px;
    }

    .btn-submit {
        width: 100%;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* =========================
   PAGE HEADER (for internal pages)
========================= */
.page-header {
    background: linear-gradient(135deg, var(--cerulean) 0%, #0096c7 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
    animation: fadeIn 0.6s ease;
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 15px;
    font-weight: 800;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* =========================
   ABOUT PAGE
========================= */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    animation: slideInLeft 0.8s ease;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--dark);
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    animation: slideInRight 0.8s ease;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.2);
}

/* VALUES SECTION */
.values-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.2);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* STATS SECTION */
.stats-section {
    padding: 80px 0;
    background: var(--cerulean);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat {
    animation: fadeInUp 0.8s ease;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }
.stat:nth-child(4) { animation-delay: 0.4s; }

.stat h3 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat p {
    font-size: 18px;
    opacity: 0.9;
}

/* CTA SECTION */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark);
}

.cta-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 35px;
}

/* =========================
   MESSAGE BANNER
========================= */
.message-banner {
    padding: 70px 0;
    background: linear-gradient(135deg, rgba(63, 117, 128, 0.12), rgba(0, 150, 199, 0.18));
}

.message-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.message-banner h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 10px;
}

.message-banner p {
    color: #555;
    font-size: 17px;
}

/* =========================
   PROJECTS PAGE
========================= */
.projects-intro {
    padding: 80px 0;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.intro-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--dark);
}

.intro-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
}

.projects-section {
    padding: 60px 0 100px;
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.1);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease;
    cursor: pointer;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.2);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.project-category {
    background: var(--cerulean);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.project-info > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.project-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-details li {
    color: #777;
    font-size: 14px;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-section {
    padding: 80px 0 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    animation: fadeInUp 0.8s ease;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-form-wrapper > p {
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cerulean);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--cerulean);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-submit:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

/* Contact Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    border-color: var(--cerulean);
    box-shadow: 0 5px 20px rgba(0, 180, 216, 0.15);
    transform: translateX(5px);
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.info-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* MAP SECTION */
.map-section {
    padding: 80px 0 100px;
    background: var(--light-gray);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--cerulean) 0%, #0096c7 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.2);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
}

.map-overlay {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.map-overlay p {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.map-overlay p:last-child {
    font-size: 16px;
    opacity: 0.9;
}

/* =========================
   PROJECT CAROUSEL
========================= */
.project-carousel {
    flex: 1;
    min-width: 300px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    background: var(--light-gray);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-slides img:hover {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: #717171;
}

.dot.active {
    background-color: var(--cerulean);
    width: 30px;
    border-radius: 6px;
}

/* =========================
   LIGHTBOX MODAL
========================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: #ccc;
    transform: rotate(90deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-slides {
        height: 300px;
    }
    
    .carousel-btn {
        font-size: 24px;
        padding: 8px 12px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}
