/**
 * LINGER FORMWORKS - Professional Website
 * Complete Styles - Modern & Professional Design
 */

/* ===================================
   CSS VARIABLES & RESET
=================================== */
:root {
    --primary: #1a3a5a;
    --primary-dark: #0d2a42;
    --primary-light: #2a5a8a;
    --accent: #1e3a8a;
    --accent-dark: #152a66;
    --accent-light: #2a4a9a;
    --dark: #0a1628;
    --dark-lighter: #1a2638;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e1e5e9;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Assistant', 'Heebo', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
    max-width: 100vw;
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

/* ===================================
   PRELOADER
=================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    width: auto;
    height: 80px;
    max-width: 80vw;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 4px;
    transition: width 0.3s ease-out;
}

/* ===================================
   SCROLL PROGRESS BAR
=================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.5);
}

/* ===================================
   TYPING EFFECT
=================================== */
.typing-text {
    display: inline;
}

.typing-cursor {
    display: inline-block;
    color: var(--accent);
    font-weight: 300;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===================================
   CONTAINER
=================================== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION
=================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0.9) contrast(1.05);
}

.navbar.scrolled .logo img {
    height: 38px;
    width: auto;
    filter: brightness(0.9) contrast(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    direction: rtl;
}

.nav-close-btn {
    display: none;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Underline removed */

.btn-nav {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 0;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: var(--accent-light) !important;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

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

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

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

/* ===================================
   HERO SECTION
=================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-image-desktop {
        display: none;
    }
    .hero-image-mobile {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.70) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 58, 138, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 10px 25px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-badge i {
    font-size: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    align-items: center;
}

/* Hero Play Button */
.hero-play-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 10px 28px 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.hero-play-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

.hero-play-btn .play-icon {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-play-btn .play-icon i {
    color: var(--primary);
    font-size: 14px;
    margin-right: -2px;
}

.hero-play-btn:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-play-btn .play-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Fullscreen Video Overlay */
.video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-overlay.active {
    display: flex;
    opacity: 1;
}

.video-overlay-close {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.video-overlay-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-overlay-content {
    width: 90%;
    max-width: 960px;
}

.video-overlay-content video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    outline: none;
}

@media (max-width: 768px) {
    .hero-play-btn {
        padding: 8px 22px 8px 12px;
    }

    .hero-play-btn .play-icon {
        width: 36px;
        height: 36px;
    }

    .hero-play-btn .play-icon i {
        font-size: 12px;
    }

    .hero-play-btn .play-text {
        font-size: 14px;
    }

    .video-overlay-close {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .video-overlay-content {
        width: 95%;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

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

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 18px; }
}

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

/* ===================================
   STATS BAR
=================================== */
.stats-bar {
    background: var(--accent);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
    color: var(--white);
}

.stat-content {
    text-align: right;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .stat-item {
        justify-content: flex-start;
        padding: 0 20px;
    }
}

/* ===================================
   FEATURED PROJECTS (NEW STYLE)
=================================== */
.featured-projects {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.featured-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    text-align: center;
}

.featured-header .section-header-right {
    text-align: center;
}

.featured-nav {
    display: flex;
    gap: 10px;
}

.featured-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.timeline-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.featured-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.timeline-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.section-header-right {
    text-align: right;
}

.section-tag-light {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header-right h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

/* Featured Projects Grid - New Style with Overlay */
.featured-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: stretch;
}

.featured-project-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.featured-project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.featured-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 50px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 50%, transparent 100%);
}

.featured-project-overlay h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-project-desc {
    padding: 20px;
    background: var(--light);
    border-top: 3px solid var(--accent);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-project-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.featured-project-desc p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Old featured card styles (keep for compatibility) */
.featured-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.featured-card-new {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.featured-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.featured-image-new {
    height: 280px;
    overflow: hidden;
}

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

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

.featured-info {
    padding: 25px 30px;
}

.featured-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.featured-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.featured-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

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

@media (max-width: 768px) {
    .featured-slider {
        grid-template-columns: 1fr;
    }
    .featured-grid-new {
        grid-template-columns: 1fr;
    }
    .featured-header {
        flex-direction: column;
        gap: 20px;
    }
    .featured-nav {
        align-self: flex-start;
    }
    .featured-project-image {
        height: 180px;
    }
}

/* ===================================
   VALUES SECTION
=================================== */
.values-section {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.values-content {
    order: -1;
}

.values-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 400px;
}

.values-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.values-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.values-content > p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
    padding: 12px 15px;
    background: var(--light);
    border-radius: 6px;
    border: 1px solid var(--border);
    border-right: 3px solid var(--accent);
    transition: var(--transition);
}

.values-list li:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.values-list i {
    color: var(--accent);
    font-size: 18px;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .values-image {
        max-height: 300px;
    }
    .values-image img {
        max-height: 300px;
    }
    .values-list {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   TIMELINE SECTION (IMAGE SLIDER)
=================================== */
.timeline-section {
    background: var(--dark);
    background-image: url('assets/images/timeline-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
}

.timeline-section .section-header-right h2 {
    color: var(--white);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-direction: row-reverse;
}

.timeline-nav {
    display: flex;
    gap: 10px;
}

.timeline-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.timeline-slider {
    display: flex;
    direction: ltr;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 10px 50px 10px 0;
    touch-action: pan-y;
}

.timeline-slide {
    flex: 0 0 calc(25% - 22.5px);
    min-width: 240px;
    max-width: 320px;
    text-align: center;
}

.timeline-slide-image {
    position: relative;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.timeline-slide:hover .timeline-slide-image img {
    transform: scale(1.1);
}

.timeline-slide-year {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 15px;
}

.timeline-slide h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-slide p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .timeline-slide {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .timeline-slide {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
        gap: 20px;
    }
    .timeline-nav {
        align-self: flex-start;
    }
    .timeline-slider {
        gap: 20px;
    }
    .timeline-slide {
        flex: 0 0 auto;
        width: min(70vw, 280px);
        min-width: auto;
        max-width: none;
    }
    .timeline-slide-image {
        height: 180px;
    }
    .timeline-slide-year {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .timeline-slider {
        gap: 15px;
    }
    .timeline-slide {
        flex: 0 0 auto;
        width: min(80vw, 260px);
        min-width: auto;
        max-width: none;
    }
    .timeline-slide-image {
        height: 160px;
    }
}

/* ===================================
   BUTTONS
=================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

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

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

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

.btn-white:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-tag {
    background: rgba(30, 58, 138, 0.1);
    color: var(--accent);
    border: 2px solid var(--accent);
}

/* ===================================
   SECTIONS COMMON
=================================== */
section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    background: rgba(30, 58, 138, 0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--accent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header.light {
    color: var(--white);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   ABOUT SECTION
=================================== */
.about {
    background: var(--white);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    order: -1;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--white);
    outline: 1px solid var(--border);
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 15px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    padding: 10px 15px;
    background: var(--light);
    border-radius: 6px;
    border-right: 3px solid var(--accent);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-feature i {
    color: var(--accent);
    font-size: 18px;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mini-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border);
    border-right: 4px solid var(--accent);
}

.mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-right-color: var(--primary);
}

.mini-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mini-card-icon i {
    font-size: 20px;
    color: var(--white);
}

.mini-card-content h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-card-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   SERVICES SECTION
=================================== */
.services {
    background: var(--dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    text-align: right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.03), transparent);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 26px;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--accent);
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ===================================
   FEATURED PROJECTS SECTION
=================================== */
.featured-projects {
    background: var(--white);
    padding: 100px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.featured-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-badge.press {
    background: #e74c3c;
}

.featured-badge i {
    font-size: 14px;
}

.featured-content {
    padding: 30px;
}

.featured-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.featured-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.featured-highlights li i {
    color: var(--accent);
    font-size: 16px;
}

/* ===================================
   PROJECTS SECTION
=================================== */
.projects {
    background: var(--white);
    padding: 100px 0 120px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--border);
    padding: 14px 30px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

/* Mobile Filter Pills */
.mobile-filter-pills {
    display: none;
}

@media (max-width: 768px) {
    .mobile-filter-pills {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 15px 5px;
        margin-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mobile-filter-pills::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-btn {
        flex-shrink: 0;
        padding: 10px 20px;
        background: var(--white);
        border: 2px solid var(--border);
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .mobile-filter-btn.active {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--white);
    }

    .mobile-filter-btn:active {
        transform: scale(0.95);
    }
}

/* Mobile Categories Menu */
.mobile-categories-menu {
    display: none;
}

@media (max-width: 768px) {
    .projects-filter-desktop {
        display: none !important;
    }

    .projects-grid {
        display: none !important;
    }

    .projects-cta {
        display: none !important;
    }

    .mobile-categories-menu {
        display: block;
    }

    .mobile-category-item {
        background: var(--white);
        border-radius: 12px;
        margin-bottom: 15px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: 1px solid var(--border);
    }

    .mobile-category-header {
        display: flex;
        align-items: center;
        padding: 12px;
        cursor: pointer;
        transition: background 0.3s ease;
        gap: 15px;
    }

    .mobile-category-header:active {
        background: #f8fafc;
    }

    .mobile-category-image {
        width: 70px;
        height: 70px;
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .mobile-category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-category-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
    }

    .mobile-category-info {
        flex: 1;
        min-width: 0;
    }

    .mobile-category-name {
        display: block;
        font-size: 18px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 4px;
    }

    .mobile-category-count {
        display: none;
    }

    .mobile-category-arrow {
        width: 36px;
        height: 36px;
        background: #f0f2f5;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .mobile-category-item.expanded .mobile-category-arrow {
        background: var(--accent);
        color: white;
        transform: rotate(180deg);
    }

    .mobile-category-projects {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: #f8fafc;
        border-top: 0 solid var(--border);
    }

    .mobile-category-item.expanded .mobile-category-projects {
        max-height: 2000px;
        border-top-width: 1px;
    }

    .mobile-project-card {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        gap: 12px;
        border-bottom: 1px solid var(--border);
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .mobile-project-card:last-child {
        border-bottom: none;
    }

    .mobile-project-card:active {
        background: #e5e7eb;
    }

    .mobile-project-image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .mobile-project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-project-info {
        flex: 1;
        min-width: 0;
    }

    .mobile-project-info h4 {
        font-size: 15px;
        font-weight: 700;
        color: var(--dark);
        margin: 0 0 4px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-project-info p {
        font-size: 13px;
        color: var(--text-light);
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Grid Mode Styles */
    .mobile-categories-menu.mode-grid {
        padding: 0 10px;
    }

    .mobile-categories-menu.mode-grid .mobile-category-item {
        margin-bottom: 5px;
        border-radius: 8px;
        border: none;
        box-shadow: none;
        overflow: hidden;
    }

    .mobile-categories-menu.mode-grid .mobile-category-header {
        position: relative;
        padding: 0;
        height: 200px;
        overflow: hidden;
    }

    .mobile-categories-menu.mode-grid .mobile-category-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .mobile-categories-menu.mode-grid .mobile-category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-categories-menu.mode-grid .mobile-category-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
    }

    .mobile-categories-menu.mode-grid .mobile-category-placeholder {
        width: 100%;
        height: 100%;
        border-radius: 0;
        font-size: 48px;
    }

    .mobile-categories-menu.mode-grid .mobile-category-info {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        z-index: 2;
    }

    .mobile-categories-menu.mode-grid .mobile-category-name {
        color: white;
        font-size: 24px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    .mobile-categories-menu.mode-grid .mobile-category-count {
        color: rgba(255,255,255,0.8);
        font-size: 14px;
    }

    .mobile-categories-menu.mode-grid .mobile-category-arrow {
        position: absolute;
        bottom: 20px;
        left: 20px;
        background: var(--accent);
        color: white;
        z-index: 2;
    }

    .mobile-categories-menu.mode-grid .mobile-category-item.expanded .mobile-category-arrow {
        background: white;
        color: var(--accent);
    }

    .mobile-categories-menu.mode-grid .mobile-category-projects {
        background: var(--dark);
    }

    .mobile-categories-menu.mode-grid .mobile-project-card {
        border-bottom-color: rgba(255,255,255,0.1);
    }

    .mobile-categories-menu.mode-grid .mobile-project-info h4 {
        color: white;
    }

    .mobile-categories-menu.mode-grid .mobile-project-info p {
        color: rgba(255,255,255,0.7);
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 50%, transparent 100%);
    padding: 30px;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

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

.project-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-short-desc {
    font-size: 13px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-card:hover .project-short-desc {
    opacity: 0.9;
    max-height: 60px;
    margin-top: 8px;
}

.project-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

/* Project Description Read More */
.project-desc-wrapper {
    position: relative;
}

.project-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 5px !important;
    white-space: pre-line;
    line-height: 1.8;
}

.project-desc.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.read-more-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

.project-list {
    font-size: 12px;
    opacity: 0.7;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===================================
   TUNNELS SHOWCASE SECTION - CREATIVE
=================================== */
.tunnels-showcase {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #0a1628 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.tunnels-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(30, 58, 138, 0.2) 0%, transparent 30%);
    animation: tunnelBgPulse 8s ease-in-out infinite;
}

@keyframes tunnelBgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.tunnels-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.tunnels-counter {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

@keyframes counterGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(212, 175, 55, 0.5); }
    50% { text-shadow: 0 0 50px rgba(212, 175, 55, 0.8), 0 0 80px rgba(212, 175, 55, 0.4); }
}

.tunnels-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.tunnels-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.tunnels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.tunnel-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

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

.tunnel-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.2);
}

.tunnel-card.tunnel-featured {
    grid-column: span 2;
    padding: 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(30, 58, 138, 0.2) 100%);
    border-color: var(--accent);
}

.tunnel-card.tunnel-featured .tunnel-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
}

.tunnel-card.tunnel-featured h4 {
    font-size: 1.5rem;
}

.tunnel-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.tunnel-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 22px;
    color: var(--white);
    transition: all 0.3s ease;
}

.tunnel-card:hover .tunnel-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.tunnel-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.tunnel-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .tunnels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tunnel-card.tunnel-featured {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .tunnels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tunnel-card.tunnel-featured {
        grid-column: span 2;
    }
    .tunnels-counter {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .tunnels-grid {
        grid-template-columns: 1fr;
    }
    .tunnel-card.tunnel-featured {
        grid-column: span 1;
    }
}

/* ===================================
   CLIENTS SECTION
=================================== */
.clients {
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.client-logo {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 120px;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================
   CTA SECTION
=================================== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2a4a 50%, var(--dark) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 80px 0;
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content .section-tag {
    margin-bottom: 20px;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ===================================
   CONTACT SECTION
=================================== */
.contact {
    background: var(--white);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info .section-tag {
    margin-bottom: 15px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--white);
}

.contact-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

.contact-text a {
    color: var(--accent);
}

.contact-text a:hover {
    color: var(--dark);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: #f5f7fa;
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 1px solid #dde2e8;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a8b3;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form button {
    margin-top: 10px;
}

/* Map */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
}

/* Projects Map (Leaflet) */
.projects-map-section {
    margin-top: 40px;
    position: relative;
}

.map-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.projects-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .projects-map {
        height: 300px;
    }
}

/* Blue Map Markers */
.blue-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 24px;
    height: 24px;
    background: #1e3a8a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    position: relative;
}

.marker-pin::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1e3a8a;
}

.marker-pin i {
    color: white;
    font-size: 11px;
}

/* Marker Cluster Styles */
.marker-cluster {
    background: transparent !important;
}

.cluster-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: 3px solid #fff;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.cluster-icon:hover {
    transform: scale(1.1);
}

/* Custom image marker */
.marker-pin-image {
    padding: 3px;
}

.marker-pin-image img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transform: rotate(45deg);
    border-radius: 4px;
}

/* Map hint overlay */
.map-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 58, 138, 0.95);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: hintPulse 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.map-hint i {
    font-size: 18px;
    animation: hintPoint 1s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

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

/* ===================================
   FOOTER
=================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
    padding-right: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--accent);
    width: 18px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===================================
   BACK TO TOP
=================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===================================
   WHATSAPP FLOAT
=================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 100px 40px;
        gap: 20px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

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

    .nav-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .nav-close-btn button {
        background: none;
        border: none;
        color: #fff;
        font-size: 36px;
        cursor: pointer;
        padding: 10px;
        line-height: 1;
    }

    .nav-close-btn button:hover {
        color: var(--accent);
    }

    .nav-menu a {
        font-size: 18px;
    }

    .btn-nav {
        margin-top: 20px;
    }

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

    .about-image {
        order: -1;
    }

    .about-image img {
        max-height: 300px;
    }

    .experience-badge {
        bottom: 20px;
        left: 20px;
    }

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

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

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

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .featured-image {
        height: 200px;
    }

    .featured-content {
        padding: 25px;
    }

    .hero-stats {
        gap: 30px;
    }

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

    .about-image img {
        max-height: 250px;
    }

    .values-image,
    .values-image img {
        max-height: 250px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

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

    .project-image {
        height: 200px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-about,
    .footer-links,
    .footer-services,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .contact-grid {
        gap: 40px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-content {
        order: 1;
    }

    .values-image-wrapper {
        order: 2;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }

    .hero-play-btn {
        width: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .section-header h2,
    .section-header-right h2 {
        font-size: 1.6rem;
    }

    .section-tag,
    .section-tag-light {
        font-size: 11px;
    }

    .timeline-header {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .tunnels-tags span {
        padding: 8px 15px;
        font-size: 13px;
    }

    .client-logo {
        padding: 20px;
        height: 100px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .featured-content h3 {
        font-size: 1.2rem;
    }

    .featured-content p {
        font-size: 14px;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }

    .featured-grid-new {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .featured-project-card {
        height: auto;
    }

    .stats-bar {
        padding: 30px 0;
    }

    .stat-item {
        padding: 15px;
    }

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

    .stat-label {
        font-size: 12px;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .experience-badge {
        padding: 15px;
        bottom: 10px;
        left: 10px;
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.75rem;
    }

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

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-header h2,
    .section-header-right h2 {
        font-size: 1.4rem;
    }

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

    .client-logo {
        height: 90px;
    }
}

/* ===================================
   ANIMATIONS & UTILITIES
=================================== */
.loaded .preloader {
    opacity: 0;
    visibility: hidden;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ===================================
   ENHANCED HOVER EFFECTS
=================================== */

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

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

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

/* Card Glow Effect */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 30px rgba(30, 58, 138, 0.3);
}

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

/* Featured Card Enhanced Hover */
.featured-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.featured-card .featured-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Project Card Overlay Animation */
.project-card .project-overlay {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Client Logo Hover */
.client-logo {
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0) !important;
}

/* Contact Items Hover */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background: var(--accent);
}

.contact-item:hover .contact-icon i {
    color: var(--white);
}

/* Smooth Focus States for Accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Link Underline Animation */
.footer-links a,
.footer-services a {
    position: relative;
}

.footer-links a::after,
.footer-services a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover::after,
.footer-services a:hover::after {
    width: 100%;
}

/* Tunnels Tags Hover */
.tunnels-tags span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tunnels-tags span:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ===================================
   ADVANCED ANIMATIONS - AGENCY LEVEL
=================================== */

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

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

/* Pulse Glow Animation */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(30, 58, 138, 0.3); }
    50% { box-shadow: 0 0 40px rgba(30, 58, 138, 0.6), 0 0 60px rgba(30, 58, 138, 0.3); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Text Reveal Animation */
@keyframes revealText {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes rotateIn {
    0% { transform: rotate(-10deg) scale(0.9); opacity: 0; }
    100% { transform: rotate(0) scale(1); opacity: 1; }
}

/* Gradient Flow Animation */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Counter Animation Class */
.counter-animate {
    display: inline-block;
    transition: transform 0.3s ease;
}

.counter-animate.counting {
    animation: countPulse 0.3s ease;
}

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

/* Enhanced Hero Animations */
.hero-content {
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero h1 {
    overflow: hidden;
}

.hero h1 .word {
    display: inline-block;
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes slideInUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Stats Bar Enhanced */
.stat-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.stat-item:hover .stat-icon {
    animation: pulseGlow 1.5s infinite;
}

.stat-number {
    background: linear-gradient(90deg, #fff, #e0e0e0, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    transition: all 0.3s ease;
}

/* Service Cards - 3D Tilt Effect */
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
}

.service-card .service-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: translateZ(30px) scale(1.15) rotate(10deg);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
}

/* Project Cards - Magnetic Hover */
.project-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

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

/* Featured Project Cards - Reveal Effect */
.featured-project-card {
    overflow: hidden;
}

.featured-project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-project-card:hover::after {
    transform: rotate(45deg) translateY(100%);
}

/* Timeline Slides - Stagger Animation */
.timeline-slide {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-slide:hover {
    transform: translateY(-15px) scale(1.05);
}

.timeline-slide:hover .timeline-slide-image {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Filter Buttons - Ripple Effect */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(30, 58, 138, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.filter-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Values List Items - Slide In */
.values-list li {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.values-list li:hover {
    transform: translateX(-10px);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    border-right-width: 5px;
}

/* About Features - Bounce Effect */
.about-feature {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.about-feature:hover {
    transform: translateX(-8px) scale(1.02);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.08);
}

/* Mini Cards - Flip Hint */
.mini-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-card:hover {
    transform: translateY(-8px) rotateY(5deg);
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.15);
}

.mini-card:hover .mini-card-icon {
    transform: rotateY(180deg);
}

.mini-card-icon {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Client Logos - Grayscale to Color with Bounce */
.client-logo {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.client-logo:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Contact Form Inputs - Focus Animation */
.form-group input,
.form-group textarea {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

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

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

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Parallax Elements */
.parallax-slow {
    transition: transform 0.1s linear;
}

.parallax-medium {
    transition: transform 0.1s linear;
}

.parallax-fast {
    transition: transform 0.1s linear;
}

/* Floating Elements */
.float-element {
    animation: float 6s ease-in-out infinite;
}

.float-element-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

.float-element-reverse {
    animation: floatReverse 5s ease-in-out infinite;
}

/* Experience Badge Float */
.experience-badge {
    animation: floatSlow 4s ease-in-out infinite;
}

/* Gradient Text Animation */
.gradient-text-animated {
    background: linear-gradient(
        90deg,
        var(--accent) 0%,
        var(--accent-light) 25%,
        var(--primary-light) 50%,
        var(--accent-light) 75%,
        var(--accent) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* WhatsApp Button Enhanced */
.whatsapp-float {
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.2) rotate(10deg);
}

/* Back to Top Enhanced */
.back-to-top {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.back-to-top:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.4);
}

/* Section Transitions */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

section.in-view::before {
    width: 100px;
}

/* Navbar Links - Underline Animation Removed */

/* Cursor Glow Effect (for supported browsers) */
@media (hover: hover) and (pointer: fine) {
    .cursor-glow {
        position: fixed;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    body:hover .cursor-glow {
        opacity: 1;
    }
}

/* Loading Skeleton Animation */
@keyframes skeletonLoading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeletonLoading 1.5s infinite;
}

/* Stagger Animation Helper Classes */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   ANIMATED BACKGROUNDS - PROFESSIONAL
=================================== */

/* Animated Gradient Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes subtleMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(1deg); }
    50% { transform: translate(0, -20px) rotate(0deg); }
    75% { transform: translate(-10px, -10px) rotate(-1deg); }
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes morphShape {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section - Animated Gradient Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.1) 0%,
        transparent 50%,
        rgba(10, 22, 40, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

/* Stats Bar - Animated Particles Background */
.stats-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: subtleMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.stats-bar .container {
    position: relative;
    z-index: 1;
}

/* Services Section - Geometric Shapes */
.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(30, 58, 138, 0.02) 50%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(30, 58, 138, 0.02) 50%, transparent 52%);
    background-size: 60px 100px;
    pointer-events: none;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

/* About Section - Floating Circles */
.about::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: morphShape 15s ease-in-out infinite, subtleMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.about::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: morphShape 12s ease-in-out infinite reverse, subtleMove 18s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

/* Values Section - Grid Pattern */
.values-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(30, 58, 138, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.values-section .container {
    position: relative;
    z-index: 1;
}

/* Timeline Section - Animated Gradient */
.timeline-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(30, 58, 138, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: gradientShift 10s ease infinite;
    pointer-events: none;
    z-index: 0;
}

.timeline-section .container {
    position: relative;
    z-index: 1;
}

/* Projects Section - Dot Pattern */
.projects::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(30, 58, 138, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.projects .container {
    position: relative;
    z-index: 1;
}

/* CTA Section - Gradient Animation */
.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Clients Section - Moving Lines */
.clients::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 45%,
        rgba(30, 58, 138, 0.02) 50%,
        transparent 55%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: gradientShift 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.clients .container {
    position: relative;
    z-index: 1;
}

/* Contact Section - Gradient Corner */
.contact::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(30, 58, 138, 0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

/* Footer - Animated Gradient Border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent-light), var(--accent));
    background-size: 300% 100%;
    animation: gradientShift 5s linear infinite;
}

/* Floating Particles Container */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(30, 58, 138, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 11s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 12s; }

/* Morphing Blob Background */
.blob-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(42, 90, 138, 0.05) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphShape 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 20%;
    left: 10%;
    animation: subtleMove 25s ease-in-out infinite;
}

.glow-orb-2 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    bottom: 20%;
    right: 10%;
    animation: subtleMove 20s ease-in-out infinite reverse;
}

/* ===================================
   ACCESSIBILITY MODULE
=================================== */
.accessibility-widget {
    position: fixed;
    bottom: 180px;
    right: 25px;
    z-index: 9999;
}

.accessibility-toggle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessibility-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.5);
}

.accessibility-toggle:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.accessibility-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.accessibility-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.accessibility-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessibility-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accessibility-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessibility-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.accessibility-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.accessibility-section {
    margin-bottom: 20px;
}

.accessibility-section:last-child {
    margin-bottom: 0;
}

.accessibility-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light);
}

.accessibility-buttons {
    display: flex;
    gap: 8px;
}

.accessibility-buttons button {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border);
    background: var(--light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.accessibility-buttons button:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.accessibility-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.accessibility-options button {
    padding: 12px;
    border: 2px solid var(--border);
    background: var(--light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.accessibility-options button i {
    font-size: 20px;
    color: var(--accent);
}

.accessibility-options button span {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
}

.accessibility-options button:hover,
.accessibility-options button.active {
    background: var(--accent);
    border-color: var(--accent);
}

.accessibility-options button:hover i,
.accessibility-options button.active i,
.accessibility-options button:hover span,
.accessibility-options button.active span {
    color: var(--white);
}

.accessibility-reset {
    width: 100%;
    padding: 14px;
    background: #ef4444;
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.accessibility-reset:hover {
    background: #dc2626;
}

/* Reading Guide Line */
.reading-guide-line {
    position: fixed;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(30, 58, 138, 0.1) 45%,
        rgba(30, 58, 138, 0.2) 50%,
        rgba(30, 58, 138, 0.1) 55%,
        transparent 100%);
    pointer-events: none;
    z-index: 9998;
    display: none;
    border-top: 2px solid rgba(30, 58, 138, 0.3);
    border-bottom: 2px solid rgba(30, 58, 138, 0.3);
}

.reading-guide-active .reading-guide-line {
    display: block;
}

/* Accessibility States */
.accessibility-high-contrast {
    filter: contrast(1.5) !important;
}

.accessibility-high-contrast * {
    border-color: #000 !important;
}

.accessibility-invert {
    filter: invert(1) hue-rotate(180deg) !important;
}

.accessibility-invert img,
.accessibility-invert video {
    filter: invert(1) hue-rotate(180deg) !important;
}

.accessibility-grayscale {
    filter: grayscale(1) !important;
}

.accessibility-underline-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.accessibility-readable-font,
.accessibility-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0.5px !important;
    word-spacing: 2px !important;
    line-height: 1.8 !important;
}

.accessibility-big-cursor,
.accessibility-big-cursor * {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24"><path fill="%23000" stroke="%23fff" stroke-width="1" d="M5 3l14 9-6 1 4 8-3 1-4-8-5 4z"/></svg>') 0 0, auto !important;
}

.accessibility-stop-animations,
.accessibility-stop-animations *,
.accessibility-stop-animations *::before,
.accessibility-stop-animations *::after {
    animation: none !important;
    transition: none !important;
}

/* Font Size Adjustments */
.font-size-1 { font-size: 110% !important; }
.font-size-2 { font-size: 120% !important; }
.font-size-3 { font-size: 130% !important; }
.font-size-4 { font-size: 140% !important; }
.font-size-5 { font-size: 150% !important; }
.font-size--1 { font-size: 90% !important; }
.font-size--2 { font-size: 80% !important; }

/* Accessibility Mobile */
@media (max-width: 768px) {
    .accessibility-widget {
        bottom: 170px;
        right: 15px;
        z-index: 99999;
    }

    .accessibility-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .accessibility-panel {
        position: fixed;
        width: calc(100vw - 30px);
        max-width: 320px;
        right: 15px;
        bottom: 220px;
        max-height: 60vh;
    }

    .accessibility-content {
        padding: 15px;
        max-height: 45vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .accessibility-options {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .accessibility-options button {
        padding: 10px 8px;
    }

    .accessibility-options button i {
        font-size: 18px;
    }

    .accessibility-options button span {
        font-size: 11px;
    }

    .accessibility-buttons button {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Hide accessibility widget on smartphones */
    .accessibility-widget {
        display: none !important;
    }

    .accessibility-toggle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .accessibility-panel {
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        bottom: 200px;
    }

    .accessibility-header {
        padding: 15px;
    }

    .accessibility-header h3 {
        font-size: 16px;
    }

    .accessibility-close {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .accessibility-section h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .accessibility-reset {
        padding: 12px;
        font-size: 13px;
    }
}

/* ==========================================
   PROJECT MODAL & GALLERY STYLES
   ========================================== */

/* Modal Overlay */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

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

/* Modal Content Box */
.project-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-modal.active .project-modal-content {
    transform: scale(1) translateY(0);
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.modal-close-btn:hover {
    background: #e74c3c;
    color: #fff;
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: #fff;
    padding: 25px 30px 25px 70px;
    direction: rtl;
    text-align: right;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: right;
}

.modal-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Modal Grid Layout */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

/* Gallery Section */
.modal-gallery {
    background: #f8f9fa;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Main Gallery Image */
.gallery-main {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    background: #e9ecef;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.02);
}

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

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

.gallery-nav:hover {
    background: var(--color-accent, #d4af37);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Gallery Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
    justify-content: center;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 3px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-thumb.active {
    border-color: var(--color-accent, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

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

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Modal Info Section */
.modal-info {
    padding: 30px;
    direction: rtl;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.modal-info h3 {
    font-size: 1.5rem;
    color: #1a2a3a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-accent, #d4af37);
}

/* Meta Info */
.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--color-accent, #d4af37);
    font-size: 1.1rem;
}

.meta-item span {
    color: #495057;
}

/* Description */
.modal-description {
    margin-bottom: 25px;
}

.modal-description h4 {
    font-size: 1.1rem;
    color: #1a2a3a;
    margin: 0 0 10px 0;
}

.modal-description p {
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
    white-space: pre-line;
}

/* Details List */
.modal-details {
    margin-bottom: 30px;
}

.modal-details h4 {
    font-size: 1.1rem;
    color: #1a2a3a;
    margin: 0 0 15px 0;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list li::before {
    content: '✓';
    color: var(--color-accent, #d4af37);
    font-weight: bold;
}

/* CTA Button */
.modal-cta {
    margin-top: 25px;
}

.btn-modal-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-accent, #d4af37);
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-modal-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-modal-contact i {
    font-size: 1.2rem;
}

/* Project Card Hover Enhancement */
.project-card {
    cursor: pointer;
}

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

/* Modal Responsive */
@media (max-width: 900px) {
    .modal-grid {
        grid-template-columns: 1fr;
        max-height: calc(90vh - 80px);
        overflow-y: auto;
    }

    .gallery-main {
        height: 280px;
    }

    .modal-info {
        max-height: none;
        overflow: visible;
    }

    .project-modal-content {
        max-height: 95vh;
        margin: 10px;
        border-radius: 15px;
    }
}

@media (max-width: 600px) {
    .project-modal {
        padding: 10px;
    }

    .project-modal-content {
        border-radius: 12px;
    }

    .modal-header {
        padding: 20px 55px 20px 20px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-close-btn {
        width: 40px;
        height: 40px;
        top: 10px;
        left: 10px;
        font-size: 18px;
    }

    .modal-gallery {
        padding: 15px;
    }

    .gallery-main {
        height: 220px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .gallery-thumb {
        width: 55px;
        height: 55px;
    }

    .modal-info {
        padding: 20px;
    }

    .modal-info h3 {
        font-size: 1.3rem;
    }

    .modal-meta {
        gap: 10px;
    }

    .meta-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .btn-modal-contact {
        width: 100%;
        justify-content: center;
        padding: 12px 25px;
    }
}

/* ===========================================
   FEATURED MODAL - SIMPLE LAYOUT
   =========================================== */

/* Simple Modal Layout */
.modal-simple {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
}

/* Gallery Full Width */
.modal-gallery-full {
    background: #f8f9fa;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-gallery-full .gallery-main {
    height: 400px;
}

/* Simple Info Section */
.modal-info-simple {
    padding: 30px 40px 40px;
    direction: rtl;
    text-align: center;
}

.modal-info-simple h2 {
    font-size: 1.7rem;
    color: #1a2a3a;
    margin: 0 0 18px;
    font-weight: 700;
}

.featured-modal-meta {
    display: block;
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 22px;
}

.featured-modal-meta i {
    color: var(--color-accent, #d4af37);
    margin-left: 8px;
}

.modal-info-simple p {
    color: #495057;
    line-height: 1.9;
    margin: 0;
    font-size: 1.05rem;
}

/* Featured Modal Responsive */
@media (max-width: 768px) {
    .modal-gallery-full .gallery-main {
        height: 280px;
    }

    .modal-info-simple {
        padding: 20px;
    }

    .modal-info-simple h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .modal-gallery-full {
        padding: 15px;
    }

    .modal-gallery-full .gallery-main {
        height: 220px;
    }

    .modal-info-simple {
        padding: 15px;
    }

    .modal-info-simple h2 {
        font-size: 1.1rem;
    }
}

/* ===========================================
   EXTRA SMALL SCREENS FIX (360px and below)
   =========================================== */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .timeline-slide {
        flex: 0 0 85vw;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

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

    .service-card {
        padding: 20px;
    }

    .modal-info,
    .modal-gallery {
        padding: 12px;
    }

    .gallery-main {
        height: 180px;
    }

    .gallery-thumb {
        width: 45px;
        height: 45px;
    }
}

/* ===========================================
   SECTION VISIBILITY - Mobile/Desktop Toggle
   =========================================== */
.section-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ===========================================
   COOKIE CONSENT BANNER
   =========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--accent);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--accent);
    animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

.cookie-message h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.cookie-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-message a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-message a:hover {
    color: var(--accent-light);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.cookie-btn-accept {
    background: var(--accent);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.cookie-btn-save:hover {
    background: var(--primary-light);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 550px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1) translateY(0);
}

.cookie-modal-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-modal-header h3 i {
    color: var(--accent);
}

.cookie-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(85vh - 180px);
}

.cookie-modal-intro {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-option {
    background: var(--light);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.cookie-option:hover {
    border-color: var(--accent);
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-option-info h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-option-info h4 i {
    color: var(--accent);
    font-size: 0.9rem;
}

.cookie-option-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 28px;
    transition: all 0.3s ease;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    right: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(-24px);
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background: var(--accent);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px;
    background: var(--light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border);
}

/* Cookie Banner Mobile Responsive */
@media (max-width: 900px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-text {
        flex-direction: column;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }

    .cookie-icon {
        font-size: 2rem;
    }

    .cookie-message h4 {
        font-size: 1rem;
    }

    .cookie-message p {
        font-size: 0.85rem;
    }

    .cookie-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .cookie-modal-content {
        max-height: 90vh;
    }

    .cookie-modal-body {
        padding: 20px;
    }

    .cookie-option {
        padding: 15px;
    }

    .cookie-modal-footer {
        flex-wrap: wrap;
    }

    .cookie-modal-footer .cookie-btn {
        flex: 1;
        min-width: calc(50% - 6px);
    }
}
