/* Base Styles */
:root {
    --primary: #FFFFFF;          /* White background */
    --secondary: #F5F7F6;        /* Very subtle off-white for sections */
    --accent: #06543C;           /* Rich Teal Green (Primary Action) */
    --accent-light: #38785D;     /* Earthy Green (Hover / Secondary Action) */
    --dark: #053527;             /* Dark Evergreen (Headers / Footer) */
    --text: #175442;             /* Deep Forest Green (Body Text) */
    --text-light: #38785D;       /* Muted Green (Subtext) */
    --border: #C3A25D;           /* Soft Antique Gold (Minimal borders) */
    --shadow: 0 5px 15px rgba(5, 53, 39, 0.08);
    --transition: all 0.3s ease;
    --impotent-text:#FFD700;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================= */
/* BACK TO TOP BUTTON WITH FLOATING EFFECT */
/* ========================================= */

.back-to-top {
    position: fixed;
    bottom: 70px;
    right: 50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--impotent-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 
        0 5px 15px rgba(5, 84, 60, 0.3),
        0 0 0 2px rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    overflow: hidden;
    
    /* Floating Animation */
    animation: float 3s ease-in-out infinite;
    animation-play-state: paused;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation-play-state: running;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 
            0 5px 15px rgba(5, 84, 60, 0.3),
            0 0 0 2px rgba(255, 215, 0, 0.2);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 
            0 10px 25px rgba(5, 84, 60, 0.4),
            0 0 0 3px rgba(255, 215, 0, 0.3);
    }
}

/* Hover Effects */
.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: white;
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 10px 30px rgba(5, 84, 60, 0.5),
        0 0 0 3px rgba(255, 215, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* Icon Animation */
.back-to-top i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.back-to-top:hover i {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Glow Effect */
.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 215, 0, 0.3) 0%, 
        transparent 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top:hover::before {
    opacity: 1;
}

/* Smooth Entry Animation */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-top.visible {
    animation: slideUp 0.5s ease forwards;
}

/* Optional: Add a subtle rotation on hover */
.back-to-top:hover {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95) rotate(0deg);
}

/* Accessibility - Focus Styles */
.back-to-top:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.5),
        0 5px 15px rgba(5, 84, 60, 0.3);
}

.highlight {
    color: var(--impotent-text);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-nav {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--dark);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark);
    transform: translateY(-2px);
    color: var(--impotent-text);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--impotent-text);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

/* ===== HEADER REDESIGN ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: var(--dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled {
    padding: 15px 0;
    background: var(--dark);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Logo Design */
.logo {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    padding: 8px;
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: rotate(10deg) scale(1.1);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--impotent-text);
    line-height: 1;
    background: var(--impotent-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 0.65rem;
    color: white;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Navigation Container */
.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.nav-link:hover .nav-text {
    color: var(--impotent-text);
    transform: translateY(-2px);
}

.nav-link:hover .nav-line {
    width: 100%;
}

.nav-link.active .nav-text {
    color: var(--impotent-text);
    font-weight: 600;
}

.nav-link.active .nav-line {
    width: 100%;
    animation: linePulse 2s infinite;
}

@keyframes linePulse {
    0%, 100% {
        opacity: 1;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1.05);
    }
}

/* Magnetic Contact Button */
.contact-button-wrapper {
    position: relative;
    overflow: visible;
}

.contact-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--impotent-text);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    z-index: 1;
    isolation: isolate;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0px 12px var(--impotent-text);
    gap: 16px;
    padding-right: 32px;
}

.contact-btn:hover .btn-text {
    transform: translateX(-3px);
}

.contact-btn:hover .arrow-icon {
    transform: translateX(8px) rotate(-45deg);
}

/* Button Glow Effect */
.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #053527 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.contact-btn:hover .btn-glow {
    width: 200%;
    height: 200%;
}

/* Button Pulse Animation */
.btn-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    animation: pulse 1s infinite;
    z-index: -2;
    opacity: 0.5;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Arrow Icon */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.arrow-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-btn:hover .arrow-icon path {
    animation: arrowDash 0.6s ease;
}

@keyframes arrowDash {
    0% {
        stroke-dasharray: 0, 20;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 20, 0;
        stroke-dashoffset: 20;
    }
}

/* Jump Animation */
@keyframes gentleJump {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-4px);
    }
    75% {
        transform: translateY(2px);
    }
}

.jump-animation {
    animation: gentleJump 3s infinite ease-in-out;
    animation-delay: 2s;
}

.contact-btn.jump-animation:hover {
    animation: none;
}

/* Magnetic Button Effect */
.magnetic-btn {
    position: relative;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--impotent-text);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle.active .top {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .middle {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .bottom {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Optional: Logo Animation for Page Load */
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    animation: logoReveal 0.8s ease-out;
}


/* Hero Section */
.hero {
    margin-top: -180px;
    background-color: var(--primary);
}

.hero-wave{
    margin-top: 30px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transform: perspective(1000px);
    margin-top: -100px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Gentle floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    33% {
        transform: translateY(-20px) rotateX(5deg) rotateY(2deg);
    }
    66% {
        transform: translateY(10px) rotateX(-3deg) rotateY(-2deg);
    }
}

/* Add subtle shadow for depth */
.hero-image:before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: radial-gradient(ellipse at center, 
                rgba(0,0,0,0.2) 0%, 
                rgba(0,0,0,0) 70%);
    border-radius: 50%;
    animation: shadowFloat 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes shadowFloat {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    33% {
        transform: scale(0.9);
        opacity: 0.4;
    }
    66% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Instagram Reels Carousel */
.reels-section{
    margin-top: 70px;
}

.reels-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    overflow: hidden;
}

.reels-carousel-container {
    overflow: hidden;
    border-radius: 15px;
    background: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.reels-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px;
    gap: 30px;
}

.reel-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Center Reel Styling */
.reel-item[data-index="1"] {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.reel-embed-wrapper {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--primary);
}

.instagram-media {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    border-radius: 12px !important;
    border: none !important;
    overflow: hidden !important;
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.reel-item:hover .reel-overlay {
    opacity: 1;
}

.play-indicator {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.reel-item:hover .play-indicator {
    transform: translateY(0);
}

.play-indicator i {
    color: var(--accent);
}

/* Carousel Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--dark);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 25px;
}

.next-arrow {
    right:  25px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--primary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

/* Clients Section - Clean */
.clients-section {
    padding: 60px 0;
    background-color: var(--secondary);
    overflow: hidden;
}

/* Marquee Wrapper */
.marquee-wrapper {
    overflow: hidden;
    margin: 30px 0;
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
}

/* Client Logos Marquee */
.right-to-left {
    animation: marqueeRightToLeft 40s linear infinite;
}

@keyframes marqueeRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Client Logo Styles */
.client-logo {
    width: 160px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    background: transparent;
    border-radius: 8px;
}

.client-logo:hover {
    transform: translateY(-3px);
}

.client-logo img {
    max-width: 100%;
    max-height: auto;
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* ========================================= */
/* POSTER WORKS MARQUEE WITH END SHADOWS */
/* ========================================= */

/* Marquee Wrapper with Gradient Shadows */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
    margin: 30px 0;
}

/* Add shadow gradients to both ends */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

/* Left shadow gradient */
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, 
        var(--secondary) 0%, 
        rgba(245, 247, 246, 0.8) 30%, 
        rgba(245, 247, 246, 0) 100%);
}

/* Right shadow gradient */
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, 
        var(--secondary) 0%, 
        rgba(245, 247, 246, 0.8) 30%, 
        rgba(245, 247, 246, 0) 100%);
}

/* Marquee Animation */
.left-to-right {
    animation: marqueeLeftToRight 100s linear infinite;
}

@keyframes marqueeLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Poster Item Styles */
.poster-item {
    width: 350px;
    height: auto;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(5, 53, 39, 0.1);
    position: relative;
}

.poster-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(5, 53, 39, 0.2);
}

/* Add subtle inner shadow for depth */
.poster-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 1;
}

.poster-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster-item:hover img {
    transform: scale(1.05);
}

/* ========================================= */
/* MOBILE OPTIMIZATION WITH SHADOWS */
/* ========================================= */

@media (max-width: 767.98px) {
    .marquee-wrapper {
        margin: 20px 0;
    }
    
    /* Adjust shadow width for mobile */
    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 50px;
    }
    
    /* More subtle shadow on mobile */
    .marquee-wrapper::before {
        background: linear-gradient(90deg, 
            var(--secondary) 0%, 
            rgba(245, 247, 246, 0.9) 40%, 
            rgba(245, 247, 246, 0) 100%);
    }
    
    .marquee-wrapper::after {
        background: linear-gradient(270deg, 
            var(--secondary) 0%, 
            rgba(245, 247, 246, 0.9) 40%, 
            rgba(245, 247, 246, 0) 100%);
    }
    
    .poster-item {
        width: 220px;
        height: 150px;
        box-shadow: 0 3px 10px rgba(5, 53, 39, 0.1);
    }
    
    .poster-item:hover {
        box-shadow: 0 5px 15px rgba(5, 53, 39, 0.15);
    }
    
    /* Slower animation on mobile */
    .left-to-right {
        animation-duration: 120s;
    }
}

@media (max-width: 480px) {
    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 30px;
    }
    
    .poster-item {
        width: 180px;
        height: 120px;
    }
    
    .left-to-right {
        animation-duration: 150s;
    }
}

/* ========================================= */
/* PAUSE ANIMATION ON HOVER */
/* ========================================= */

.marquee-wrapper:hover .left-to-right {
    animation-play-state: paused;
}

/* ========================================= */
/* DARK MODE SUPPORT */
/* ========================================= */

@media (prefers-color-scheme: dark) {
    .marquee-wrapper::before {
        background: linear-gradient(90deg, 
            #121212 0%, 
            rgba(18, 18, 18, 0.8) 30%, 
            rgba(18, 18, 18, 0) 100%);
    }
    
    .marquee-wrapper::after {
        background: linear-gradient(270deg, 
            #121212 0%, 
            rgba(18, 18, 18, 0.8) 30%, 
            rgba(18, 18, 18, 0) 100%);
    }
    
    .poster-item {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .poster-item:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--primary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text);
    position: relative;
    padding-left: 20px;
}

.testimonial-content:before {
    content: '"';
    font-size: 3rem;
    color: var(--accent);
    position: absolute;
    left: -10px;
    top: -15px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--accent);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: var(--impotent-text);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--accent);
}

.cta-section .btn-primary:hover {
    background-color: var(--dark);
    color: var(--impotent-text);
}

.cta-section .btn-outline {
    color: white;
    border-color: white;
}

.cta-section .btn-outline:hover {
    background-color: var(--dark);
    color: var(--impotent-text);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 10px;
}

.footer-brand .logo-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-about {
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--dark);
    color: var(--impotent-text);
    transform: translateY(-3px);
}

.footer-links h3, .footer-blogs h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after, .footer-blogs h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--impotent-text);
    padding-left: 5px;
}

.blog-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-item h4 {
    margin-bottom: 5px;
}

.blog-item h4 a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.blog-item h4 a:hover {
    color: var(--impotent-text);
}

.blog-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--impotent-text);
}

/* Page Header */
.page-header {
    padding: 0;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 4.2rem;
    margin-top: -200px;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.page-header h1 .highlight {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--impotent-text);
    background-clip: text;
    padding: 0 8px;
    position: relative;
}

.page-header h1 .highlight::after {
    position: absolute;
    bottom: -5px;
    left: 8px;
    right: 8px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    opacity: 0.3;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
}

.page-header-wave {
    margin-top: 20px;
    position: relative;
}

.page-header-wave .wave {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transform-origin: center;
    animation: gentleFloat 8s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.5); }
}

/* Subtle hover effect for the wave */
.page-header-wave:hover .wave {
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
    transition: filter 0.3s ease;
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
    background-color: var(--primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary);
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.mission-section {
    padding: 80px 0;
    background-color: var(--secondary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background-color: var(--primary);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.mission-card h3 {
    margin-bottom: 15px;
}

.team-section {
    padding: 80px 0;
    background-color: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h4 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.member-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-bio {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services Page Styles */
.services-details {
    padding: 80px 0;
    background-color: var(--primary);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.service-detail:nth-child(even) .service-detail-content {
    order: 2;
}

.service-detail:nth-child(even) .service-detail-image {
    order: 1;
}

.service-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-detail h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-detail > p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.1rem;
}

.other-services {
    margin-top: 100px;
    text-align: center;
}

.other-services h3 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.other-service {
    padding: 30px 20px;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: var(--transition);
}

.other-service:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-5px);
}

.other-service:hover i,
.other-service:hover h4,
.other-service:hover p {
    color: white;
}

.other-service i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.other-service h4 {
    margin-bottom: 10px;
}

.other-service p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Base Styles */
.process-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--impotent-text);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--dark);
    z-index: -1;
}

.process-step h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.process-step p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Works Page Styles */
.portfolio-filter {
    padding: 40px 0;
    background-color: var(--secondary);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.portfolio-section {
    padding: 80px 0;
    background-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background-color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
    padding: 20px;
    color: white;
}

.overlay-content h3 {
    color: white;
    margin-bottom: 10px;
}

.overlay-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-category {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.case-studies {
    padding: 80px 0;
    background-color: var(--secondary);
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--primary);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.case-study-image img {
    width: 100%;
    border-radius: 10px;
}

.case-study-meta {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.case-study ul {
    margin: 20px 0;
    padding-left: 20px;
}

.case-study li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.result-item {
    text-align: center;
    padding: 15px;
    background-color: var(--secondary);
    border-radius: 8px;
}

.result-item h4 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 5px;
}


/* Alternating Projects Layout Styles */
    .alternating-projects {
        margin-top: 60px;
    }
    
    .project-item {
        display: flex;
        align-items: center;
        margin-bottom: 120px;
        gap: 60px;
    }
    
    .project-item:last-child {
        margin-bottom: 40px;
    }
    
    .project-image {
        flex: 1;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .project-image:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .project-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }
    
    .project-image:hover img {
        transform: scale(1.03);
    }
    
    .project-details {
        flex: 1;
    }
    
    .project-details h3 {
        font-size: 28px;
        margin-bottom: 8px;
        color: #333;
    }
    
    .project-category {
        font-size: 16px;
        color: #666;
        margin-bottom: 20px;
        font-weight: 500;
    }
    
    .project-description {
        font-size: 16px;
        line-height: 1.6;
        color: #555;
        margin-bottom: 25px;
    }
    
    .project-features {
        list-style: none;
        padding: 0;
        margin-bottom: 25px;
    }
    
    .project-features li {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        color: #444;
    }
    
    .project-features i {
        color: #4CAF50;
        margin-right: 10px;
        font-size: 14px;
    }
    
    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .tech-tag {
        background-color: #f1f5f9;
        color: #3b82f6;
        padding: 6px 14px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 500;
    }
    
    .project-link {
        display: inline-flex;
        align-items: center;
        color: #3b82f6;
        font-weight: 600;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s ease;
    }
    
    .project-link:hover {
        color: #1d4ed8;
    }
    
    .project-link i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    
    .project-link:hover i {
        transform: translateX(5px);
    }
    
    /* Responsive Design */
    @media (max-width: 992px) {
        .project-item {
            flex-direction: column;
            gap: 40px;
            margin-bottom: 80px;
        }
        
        .project-item.right-aligned {
            flex-direction: column;
        }
        
        .project-image, .project-details {
            width: 100%;
        }
        
        .project-details {
            order: 2;
        }
        
        .project-image {
            order: 1;
        }
    }
    
    @media (max-width: 576px) {
        .project-details h3 {
            font-size: 24px;
        }
        
        .project-item {
            margin-bottom: 60px;
        }
        
        .tech-tag {
            font-size: 12px;
            padding: 5px 12px;
        }
    }

/* Blog Page Styles */
.blog-section {
    padding: 80px 0;
    background-color: var(--primary);
}

.blog-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}


/* Featured Post */
.featured-post {
    margin-bottom: 60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--secondary);
}

.featured-image {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-content {
    padding: 40px;
}

.post-date {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.featured-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-meta i {
    margin-right: 5px;
    color: var(--accent);
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post {
    background-color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: var(--dark);
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--secondary);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background-color: var(--accent);
    color: white;
}

.page-btn.next {
    width: auto;
    padding: 0 20px;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--secondary);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

/* Search Box */
.search-box {
    display: flex;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Poppins', sans-serif;
}

.search-box button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--accent-light);
}

/* Categories List */
.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    color: var(--text);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--accent);
}

.categories-list span {
    background-color: var(--accent);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Popular Posts */
.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.popular-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.popular-content h4 a:hover {
    color: var(--accent);
}

.popular-content .post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.newsletter-widget h3,
.newsletter-widget p {
    color: white;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form .btn-primary {
    width: 100%;
    background-color: white;
    color: var(--accent);
}

.newsletter-form .btn-primary:hover {
    background-color: var(--secondary);
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 6px 15px;
    background-color: var(--primary);
    color: var(--text);
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--accent);
    color: white;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: var(--primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

/* Contact Info */
.contact-info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-details p {
    margin-bottom: 5px;
    color: var(--text-light);
}

.contact-details .hours {
    font-style: italic;
    margin-top: 10px;
}

/* Contact Social */
.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Contact Social Media - Icons Only */
.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-social .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center; /* Center align icons */
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Fixed width for circular icons */
    height: 50px; /* Fixed height for circular icons */
    background-color: var(--secondary);
    border-radius: 50%; /* Circular icons */
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(45, 91, 227, 0.3);
    border-color: var(--accent);
}

.social-link i {
    font-size: 1.3rem;
    color: var(--text);
}

.social-link:hover i {
    color: white;
}

/* Optional: Different colors for each social media platform */
.social-link.facebook:hover {
    background-color: #1877F2; /* Facebook blue */
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5B51D8, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
}

.social-link.twitter:hover {
    background-color: #1DA1F2; /* Twitter blue */
}

.social-link.linkedin:hover {
    background-color: #0077B5; /* LinkedIn blue */
}

.social-link.youtube:hover {
    background-color: #FF0000; /* YouTube red */
}


/* Contact Form */
.contact-form-container {
    background-color: var(--secondary);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    margin-bottom: 10px;
    color: var(--dark);
}

.form-header p {
    color: var(--text-light);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 91, 227, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.file-upload input[type="file"] {
    padding: 10px 0;
    border: none;
}

.file-upload small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.submit-btn i {
    margin-right: 10px;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--secondary);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-content {
    text-align: center;
}

.map-content i {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.map-content h3 {
    margin-bottom: 10px;
}

.map-content p {
    margin-bottom: 20px;
}

.map-instructions h3 {
    margin-bottom: 30px;
    color: var(--dark);
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.transport-option {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.transport-option i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
}

.transport-option h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.transport-option p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ SECTION - SIMPLE & PROFESSIONAL */
.faq-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
}

.faq-section .section-header {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.faq-section .section-header h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.faq-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--primary);
    border: 1px solid rgba(195, 162, 93, 0.1);
    box-shadow: 0 4px 20px rgba(5, 53, 39, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

.faq-item:hover {
    border-color: rgba(195, 162, 93, 0.2);
    box-shadow: 0 6px 25px rgba(5, 53, 39, 0.08);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(6, 84, 60, 0.2);
    box-shadow: 0 8px 30px rgba(6, 84, 60, 0.1);
    background: var(--secondary);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(245, 247, 246, 0.5);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
    margin: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--accent);
}

.faq-question[aria-expanded="true"] h3 {
    color: var(--accent);
}

.faq-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--impotent-text);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 24px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.faq-answer.open p {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer a {
    color: var(--impotent-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-answer a:hover {
    border-bottom-color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.faq-question:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(6, 84, 60, 0.2);
}


/* =========================== */
/* COMPLETE MOBILE RESPONSIVE */
/* =========================== */

/* Extra Small Devices (Phones, < 576px) */
@media (max-width: 575.98px) {
    /* General Layout */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Typography */
    h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.6rem !important;
    }
    
    h3 {
        font-size: 1.4rem !important;
    }
    
    h4 {
        font-size: 1.2rem !important;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Logo */
    .logo-text {
        font-size: 2rem !important;
    }
    
    .logo-tagline {
        font-size: 0.55rem !important;
    }
    
    .logo-image {
        width: 35px !important;
        height: 35px !important;
    }
    
    /* Header & Navigation */
    .navbar {
        gap: 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 5px 0;
    }
    
    .contact-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    /* Hero Section */
    .hero {
        margin-top: -120px !important;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .hero-image {
        margin-top: 0 !important;
        order: -1;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 10px;
    }
    
    .section-header p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    /* Instagram Reels */
    .reels-section {
        margin-top: 40px !important;
    }
    
    .reels-track {
        padding: 15px !important;
        gap: 15px !important;
    }
    
    .reel-item {
        flex: 0 0 calc(100% - 30px) !important;
        min-width: calc(100% - 30px) !important;
        margin: 0 15px !important;
    }
    
    .reel-embed-wrapper {
        height: 350px !important;
    }
    
    .carousel-arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }
    
    .prev-arrow {
        left: 10px !important;
    }
    
    .next-arrow {
        right: 10px !important;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    /* Client & Poster Marquees */
    .marquee-track {
        gap: 20px !important;
    }
    
    .client-logo {
        width: 120px !important;
        height: 80px !important;
        padding: 12px !important;
    }
    
    .client-logo img {
        max-height: 50px !important;
    }
    
    .poster-item {
        width: 180px !important;
        height: 130px !important;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0 !important;
    }
    
    .cta-section h2 {
        font-size: 1.8rem !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 20px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Page Headers */
    .page-header h1 {
        font-size: 2.2rem !important;
        margin-top: -150px !important;
    }
    
    /* About Page */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    /* Services Page */
    .service-detail {
        grid-template-columns: 1fr !important;
        gap: 30px;
        margin-bottom: 60px !important;
    }
    
    .other-services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Works Page */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .portfolio-image {
        height: 200px !important;
    }
    
    .case-study {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
        gap: 30px;
    }
    
    .case-study-results {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    /* Blog Page */
    .blog-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .featured-image {
        height: 250px !important;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .post-image {
        height: 180px !important;
    }
    
    /* Contact Page */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .contact-info-card {
        flex-direction: column !important;
        text-align: center;
        padding: 20px;
    }
    
    .contact-form-container {
        padding: 25px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    
    /* Map Section */
    .map-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .map-placeholder {
        height: 300px !important;
    }
    
    /* Mobile Menu */
    .menu-toggle {
        display: flex !important;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100% !important;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        padding: 80px 20px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 1.1rem;
    }
    
    /* Utility Classes */
    .text-center {
        text-align: center !important;
    }
    
    /* Hide elements on mobile */
    .hero-wave,
    .page-header-wave {
        display: none;
    }
}

/* Small Devices (Landscape Phones, 576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Layout */
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
        margin-top: 0;
        margin-bottom: 30px;
    }
    
    /* Grid Systems */
    .services-grid,
    .testimonials-grid,
    .mission-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    .blog-container,
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    /* Cards */
    .service-card,
    .testimonial-card {
        padding: 25px;
    }
    
    /* Marquees */
    .client-logo {
        width: 200px;
        height: auto;
    }
    
    .poster-item {
        width: 220px;
        height: 160px;
    }
    
    /* Reels */
    .reel-item {
        flex: 0 0 calc(50% - 15px) !important;
        min-width: calc(50% - 15px) !important;
    }
    
    .reel-embed-wrapper {
        height: 400px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* Medium Devices (Tablets, 768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 100%;
        padding: 0 25px;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Header */
    .logo-text {
        font-size: 2.2rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    /* Hero */
    .hero .container {
        flex-direction: row;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-image {
        margin-top: -50px;
    }
    
    /* Grid Systems */
    .services-grid,
    .testimonials-grid,
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Reels */
    .reel-item {
        flex: 0 0 calc(50% - 15px) !important;
        min-width: calc(50% - 15px) !important;
    }
    
    .reel-embed-wrapper {
        height: 450px;
    }
    
    /* About Page */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .service-detail {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    /* Works Page */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .case-study {
        grid-template-columns: 1fr !important;
        padding: 40px;
    }
    
    /* Blog */
    .blog-container {
        grid-template-columns: 1fr !important;
    }
    
    .featured-image {
        height: 350px;
    }
    
    /* Contact */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
}

/* Large Devices (Desktops, 992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    /* Adjustments for large screens */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Grid adjustments */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Reels */
    .reel-item {
        flex: 0 0 calc(33.333% - 20px) !important;
        min-width: calc(33.333% - 20px) !important;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* =========================== */
/* TOUCH DEVICE OPTIMIZATIONS */
/* =========================== */

/* Touch devices - increase tap target sizes */
@media (hover: none) and (pointer: coarse) {
    /* Increase button tap targets */
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .contact-btn,
    .carousel-arrow {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Larger navigation links */
    .nav-link {
        padding: 12px 0;
    }
    
    /* Disable hover effects that might cause issues */
    .container:hover {
        transform: none !important;
    }
    
    /* Adjust animations for performance */
    .hero-image img {
        animation-duration: 8s;
    }
    
    /* Reduce motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* =========================== */
/* PRINT STYLES */
/* =========================== */

@media print {
    /* Hide non-essential elements */
    header,
    .contact-btn,
    .carousel-arrows,
    .social-links,
    .menu-toggle,
    .hero-wave,
    .page-header-wave,
    footer {
        display: none !important;
        
    }
    
    /* Adjust layout for print */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Remove backgrounds and shadows */
    body {
        background: white !important;
        color: var(--dark) !important;
    }
    
    .hero,
    .services-overview,
    .clients-section,
    .testimonials,
    .cta-section,
    .service-card,
    .testimonial-card {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    /* Force var(--dark) text for print */
    * {
        color: var(--dark) !important;
    }
    
    /* Adjust typography */
    h1, h2, h3, h4, h5, h6 {
        color: var(--dark) !important;
        page-break-after: avoid;
    }
    
    p {
        page-break-inside: avoid;
    }
    
    /* Avoid page breaks in important content */
    .hero-content,
    .section-header {
        page-break-inside: avoid;
    }
}

/* =========================== */
/* HIGH-DPI (RETINA) DISPLAYS */
/* =========================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure images are high-resolution */
    .logo-image,
    .hero-image img,
    .client-logo img,
    .poster-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* =========================== */
/* LANDSCAPE ORIENTATION */
/* =========================== */

@media (max-height: 600px) and (orientation: landscape) {
    /* Adjust for landscape on mobile */
    .hero {
        min-height: 100vh;
        margin-top: -100px;
    }
    
    .hero .container {
        flex-direction: row;
    }
    
    .hero-content {
        flex: 1;
    }
    
    .hero-image {
        flex: 1;
        margin-top: 0;
    }
    
    /* Adjust header for landscape */
    header {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    /* Adjust section spacing */
    .section-header {
        margin-bottom: 40px;
    }
}

/* =========================== */
/* DARK MODE SUPPORT */
/* =========================== */

@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if desired */
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    .container {
        background-color: #1e1e1e;
    }
}

/* =========================== */
/* ACCESSIBILITY OVERRIDES */
/* =========================== */

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Disable floating animations */
    .hero-image img {
        animation: none !important;
    }
    
    .hero-image:before {
        animation: none !important;
    }
    
    /* Disable marquee animations */
    .right-to-left,
    .left-to-right {
        animation: none !important;
    }
    
    /* Disable pulse animations */
    .btn-pulse {
        animation: none !important;
    }
}

/* ========================================= */
/* SMOOTH TRANSITIONS FOR MOBILE MENU */
/* ========================================= */

@media (max-width: 767.98px) {
    /* Smooth transitions for mobile elements */
    .nav-container,
    .mobile-menu-overlay,
    .menu-toggle-line {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        color: var(--impotent-text);
    }
    
    /* Ensure no flash of content on page load */
    .nav-container {
        animation: none !important;
    }
}

/* ========================================= */
/* PREVENT SCROLL BAR SHIFT WHEN MENU OPENS */
/* ========================================= */

html {
    scrollbar-gutter: stable;
}

body.menu-open {
    padding-right: 0 !important;
}

/* ========================================= */
/* ACCESSIBILITY FOCUS STATES */
/* ========================================= */

@media (max-width: 767.98px) {
    .menu-toggle:focus,
    .mobile-menu-close:focus,
    .nav-link:focus {
        outline-offset: 2px;
    }
    
    /* Hide focus outline for mouse users */
    .menu-toggle:focus:not(:focus-visible),
    .mobile-menu-close:focus:not(:focus-visible),
    .nav-link:focus:not(:focus-visible) {
        outline: none;
    }
}

/* ========================================= */
/* LOADING STATE */
/* ========================================= */

/* Prevent content flash on page load */
.js-loading .nav-container,
.js-loading .mobile-menu-overlay {
    visibility: hidden !important;
}

/* ========================================= */
/* TABLET MENU FIXES */
/* ========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Ensure menu is visible on tablet by default */
    .nav-container {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu {
        flex-direction: row !important;
        margin-bottom: 0 !important;
    }
    
    .nav-link {
        border-bottom: none !important;
        padding: 8px 0 !important;
    }
    
    .contact-button-wrapper {
        width: auto !important;
        margin-top: 0 !important;
    }
    
    .contact-btn {
        width: auto !important;
    }
    
    /* Hide mobile-specific elements on tablet */
    .menu-toggle,
    .mobile-menu-close,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* ========================================= */
/* MOBILE HERO SECTION FIXES */
/* ========================================= */

@media (max-width: 767.98px) {
    
    /* Hero Section Container Fix */
    .hero {
        margin-top: 0 !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        min-height: auto !important;
    }
    
    /* Fix Hero Layout */
    .hero .container {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 15px !important;
    }
    
    /* Fix Hero Content */
    .hero-content {
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        order: 1 !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        max-width: 100% !important;
    }
    
    /* Fix Hero Buttons */
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 1rem !important;
    }
    
    /* REMOVE HERO IMAGE COMPLETELY */
    .hero-image {
        display: none !important;
    }
    
    /* Remove the floating animation keyframes since image is removed */
    
    /* Ensure proper spacing */
    .hero-wave {
        display: none !important;
    }
}

/* ========================================= */
/* SMALL PHONE SPECIFIC FIXES */
/* ========================================= */

@media (max-width: 480px) {
    
    /* Extra Small Screen Navbar Fix */
    .navbar {
        padding: 5px 0 !important;
    }
    
    .logo-text {
        font-size: 1.5rem !important;
    }
    
    .logo-image {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Hero Section for Small Phones */
    .hero {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }
    
    .hero-title {
        font-size: 1.7rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    
    /* Adjust Mobile Menu Width */
    .nav-container {
        width: 90% !important;
    }
}

/* ========================================= */
/* TABLET SPECIFIC FIXES */
/* ========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {
    
    /* Tablet Navbar Adjustments */
    .navbar {
        gap: 20px !important;
    }
    
    .nav-menu {
        gap: 15px !important;
    }
    
    .nav-link {
        font-size: 0.85rem !important;
    }
    
    /* Tablet Hero Adjustments */
    .hero {
        margin-top: -100px !important;
        padding-top: 150px !important;
    }
    
    .hero .container {
        gap: 40px !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: auto !important;
    }
}

/* ========================================= */
/* TOUCH DEVICE OPTIMIZATIONS */
/* ========================================= */

@media (hover: none) and (pointer: coarse) {
    
    /* Increase tap targets for mobile */
    .nav-link {
        padding: 16px 0 !important;
        min-height: 44px !important;
    }
    
    .menu-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 12px !important;
    }
    
    .contact-btn {
        min-height: 50px !important;
    }
    
    /* Remove hover effects that don't work on touch */
    .contact-btn:hover {
        transform: none !important;
    }
    
    .contact-btn:active {
        transform: scale(0.98) !important;
    }
}

/* ========================================= */
/* MOBILE MENU SCROLL FIX */
/* ========================================= */

    .menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* ========================================= */
/* JAVASCRIPT-ENHANCED STYLES */
/* ========================================= */

/* Close button for mobile menu */
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .mobile-menu-close {
        display: flex;
    }
}

/* ========================================= */
/* MOBILE FOOTER OPTIMIZATION */
/* ========================================= */

@media (max-width: 767.98px) {
    
    /* Main Footer Container */
    footer {
        padding: 40px 0 20px !important;
        margin-top: 0 !important;
    }
    
    /* Footer Grid Layout */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 30px !important;
    }
    
    /* Footer Brand Section */
    .footer-brand {
        text-align: center !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .footer-brand .logo-container {
        justify-content: center !important;
        margin-bottom: 15px !important;
    }
    
    .footer-about {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin: 15px 0 !important;
        padding: 0 10px !important;
    }
    
    /* Social Links */
    .social-links {
        justify-content: center !important;
        gap: 10px !important;
    }
    
    .social-links a {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    /* Footer Links Section */
    .footer-links {
        text-align: center !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .footer-links h3 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .footer-links h3:after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .footer-links ul {
        columns: 2 !important;
        column-gap: 20px !important;
    }
    
    .footer-links li {
        margin-bottom: 8px !important;
        break-inside: avoid !important;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
        padding: 5px 0 !important;
        display: block !important;
    }
    
    /* Footer Blogs Section */
    .footer-blogs {
        text-align: center !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .footer-blogs h3 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .footer-blogs h3:after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .blog-item {
        margin-bottom: 15px !important;
        padding-bottom: 15px !important;
        text-align: left !important;
    }
    
    .blog-item h4 {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
    
    .blog-date {
        font-size: 0.8rem !important;
    }
}

/* ========================================= */
/* MOBILE BACK TO TOP BUTTON */
/* ========================================= */

@media (max-width: 767.98px) {
    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: var(--accent);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        text-decoration: none;
        z-index: 99;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
    }
    
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .back-to-top:hover {
        background: var(--accent-light);
        transform: translateY(-3px);
    }
}


/* ========================================= */
/* MOBILE NAVBAR RED BACKGROUND */
/* ========================================= */

@media (max-width: 767.98px) {
    /* Change mobile menu background to red */
    .nav-container {
        background: var(--dark) !important;
        max-height: 500px;
        max-width: 250px;
        border-radius: 30px;
    }
    
    /* Adjust mobile navigation menu items */
    .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 0px !important;
    }
    
    .nav-link .nav-text {
        color: white !important;
    }
    
    .nav-link:hover .nav-text,
    .nav-link.active .nav-text {
        color: var(--impotent-text) !important;
    }
    
    /* Mobile menu close button color */
    .mobile-menu-close {
        color: white !important;
    }
    
    .mobile-menu-close:hover {
        color: var(--impotent-text) !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Optional: Change tablet header background to red */
    header {
        background: var(--dark) !important;
    }
    
    /* Adjust header scrolled state */
    header.header-scrolled {
        background: var(--dark) !important;
    }
    
    /* Change tablet navigation colors */
    .nav-link .nav-text {
        color: white !important;
    }
    
    .nav-link:hover .nav-text,
    .nav-link.active .nav-text {
        color: var(--impotent-text) !important;
    }
    
    /* Adjust contact button for red background */
    .contact-btn {
        background: linear-gradient(135deg, #FFFFFF, #F0F0F0) !important;
    }
    
    .contact-btn:hover {
        box-shadow: 0 0px 12px white !important;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .process-step {
        padding: 25px 15px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .step-number::after {
        width: 60px;
        height: 60px;
    }
    
    .process-step h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .process-step p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 280px;
    }
    
    /* Remove hover effect on mobile for better touch experience */
    .process-step:hover {
        transform: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }
    
    /* Add active state for mobile */
    .process-step:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .process-step {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .step-number::after {
        width: 55px;
        height: 55px;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .process-step p {
        font-size: 0.85rem;
        max-width: 250px;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
        padding: 25px;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .step-number::after {
        width: 65px;
        height: 65px;
    }
    
    .process-step h3 {
        font-size: 1.3rem;
    }
    
    .process-step p {
        font-size: 0.92rem;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .process-step {
        padding: 18px 12px;
        margin: 0 5px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-number::after {
        width: 50px;
        height: 50px;
    }
    
    .process-step h3 {
        font-size: 1rem;
    }
    
    .process-step p {
        font-size: 0.8rem;
        max-width: 220px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .process-step,
    .process-step:hover {
        transition: none;
        transform: none;
    }
}


/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablet Devices (768px to 1023px) */
@media screen and (max-width: 1023px) {
    /* Page Header */
    .page-header-wave .container {
        padding: 60px 20px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding: 30px;
    }
    
    .contact-info-card {
        flex-direction: row;
        padding: 20px;
    }
    
    .contact-social .social-links {
        justify-content: center;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Map Section */
    .map-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-content iframe {
        height: 400px;
        width: 100%;
    }
    
    .transport-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* CTA Section */
    .cta-content {
        padding: 50px 30px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Mobile Devices (480px to 767px) */
@media screen and (max-width: 767px) {
    /* Page Header */
    .page-header-wave .container {
        padding: 50px 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .wave {
        height: 100px;
    }
    
    /* Contact Section */
    .contact-info {
        padding: 20px;
        border-radius: 10px;
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        margin: 3px 0;
    }
    
    .contact-social {
        margin-top: 25px;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .form-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
        display: block;
    }
    
    input, select, textarea {
        padding: 12px 15px;
        font-size: 14px;
        width: 100%;
        border-radius: 6px;
    }
    
    textarea {
        min-height: 120px;
    }
    
    .file-upload small {
        font-size: 0.8rem;
    }
    
    .checkbox-group {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    #whatsappSubmit.submit-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }
    
    /* Map Section */
    .section-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .map-content iframe {
        height: 300px;
        border-radius: 8px;
    }
    
    .map-instructions h3 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .transport-option {
        text-align: center;
        padding: 20px;
        border-radius: 8px;
    }
    
    .transport-option i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .transport-option h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .transport-option p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    
    /* CTA Section */
    .cta-content {
        padding: 40px 20px;
        border-radius: 10px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .cta-buttons a {
        padding: 14px 25px;
        font-size: 15px;
    }
}

/* Small Mobile Devices (320px to 479px) */
@media screen and (max-width: 479px) {
    /* Page Header */
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Contact Info Cards */
    .contact-info-card {
        padding: 12px;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
    
    .hours {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    input, select, textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
    }
    
    .file-upload small {
        font-size: 0.75rem;
    }
    
    /* Map Section */
    .map-content iframe {
        height: 250px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .transport-option {
        padding: 15px;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        gap: 12px;
    }
    
    .cta-buttons a {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Extra Small Mobile Devices (below 320px) */
@media screen and (max-width: 319px) {
    /* Page Header */
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    /* Contact Info */
    .contact-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details p {
        font-size: 0.8rem;
    }
    
    /* Contact Form */
    .form-header h2 {
        font-size: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    /* Map Section */
    .map-content iframe {
        height: 200px;
    }
    
    .transport-option h4 {
        font-size: 1rem;
    }
    
    .transport-option p {
        font-size: 0.85rem;
    }
    
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
    }
}

/* Landscape Mode for Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    /* Page Header */
    .page-header-wave .container {
        padding: 30px 20px;
    }
    
    /* Contact Section */
    .contact-container {
        max-height: 70vh;
        overflow-y: auto;
        padding-right: 5px;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    .contact-info-card {
        padding: 10px;
    }
    
    /* Form */
    .contact-form-container {
        max-height: 60vh;
        overflow-y: auto;
        padding: 15px;
    }
    
    /* Hide some elements to save space */
    .form-header p,
    .section-header p {
        display: none;
    }
    
    .file-upload {
        display: none;
    }
}

/* Tablet Landscape */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    /* Contact Section */
    .contact-container {
        grid-template-columns: 45% 55%;
    }
    
    /* Map Section */
    .map-container {
        grid-template-columns: 60% 40%;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for mobile */
    input, select, textarea {
        min-height: 44px;
        font-size: 16px; /* Prevent iOS zoom */
    }
    
    #whatsappSubmit.submit-btn,
    .cta-buttons a,
    .transport-option {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects */
    #whatsappSubmit.submit-btn:hover,
    .cta-buttons a:hover {
        transform: none;
    }
    
    /* Add active states for touch feedback */
    #whatsappSubmit.submit-btn:active,
    .cta-buttons a:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .faq-answer,
    .transport-option,
    #whatsappSubmit.submit-btn,
    .cta-buttons a {
        transition: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Contact Form */
    .contact-form-container,
    .contact-info {
        background-color: var(--dark);
        color: #e0e0e0;
    }
    
    input, select, textarea {
        background-color: #3a3a3a;
        color: #e0e0e0;
        border-color: #555;
    }
    
    .faq-item {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
    
    /* Map Instructions */
    .transport-option {
        background-color: #3a3a3a;
        color: #e0e0e0;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .wave {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .page-header,
    .contact-section,
    .map-section,
    .faq-section,
    .cta-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .contact-info-card,
    .contact-form-container {
        border: 1px solid #ddd;
    }
    
    #whatsappSubmit.submit-btn,
    .cta-buttons {
        display: none !important;
    }
}

/* ===== CONTACT PAGE MOBILE RESPONSIVE ===== */

/* Mobile Devices (up to 768px) */
@media (max-width: 768px) {
    /* Page Header */
    .page-header {
        padding-top: 60px;
    }
    
    .page-header-wave {
        height: 150px;
    }
    
    .page-header-wave .container {
        padding: 30px 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
        text-align: center;
        line-height: 1.3;
        margin: 0;
    }
    
    .wave {
        height: 80px;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    /* Contact Info Cards - Stacked Layout */
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        background: var(--primary);
        border-radius: 10px;
        box-shadow: var(--shadow);
    }
    
    .contact-info-card {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
        background: var(--secondary);
        border-radius: 8px;
        border: 1px solid rgba(195, 162, 93, 0.1);
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(6, 84, 60, 0.08);
        border-radius: 50%;
        color: var(--accent);
        font-size: 0.9rem;
    }
    
    .contact-details {
        flex: 1;
    }
    
    .contact-details h3 {
        font-size: 0.95rem;
        color: var(--dark);
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .contact-details p {
        font-size: 0.82rem;
        color: var(--text);
        line-height: 1.4;
        margin-bottom: 2px;
    }
    
    .contact-details strong {
        font-size: 0.82rem;
    }
    
    .hours {
        font-size: 0.78rem;
        color: var(--text-light);
        font-style: italic;
    }
    
    /* Social Links - Mobile Optimized */
    .contact-social {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(195, 162, 93, 0.1);
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(6, 84, 60, 0.08);
        border-radius: 50%;
        color: var(--accent);
        font-size: 0.9rem;
        text-decoration: none;
        transition: var(--transition);
    }
    
    .social-link:hover {
        background: var(--accent);
        color: var(--primary);
        transform: translateY(-2px);
    }
    
    /* Contact Form - Mobile Optimized */
    .contact-form-container {
        background: var(--primary);
        border-radius: 10px;
        box-shadow: var(--shadow);
    }
    
    .form-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .form-header h2 {
        font-size: 1.4rem;
        color: var(--dark);
        margin-bottom: 8px;
    }
    
    .form-header p {
        font-size: 0.9rem;
        color: var(--text-light);
        line-height: 1.4;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        display: block;
        font-size: 0.85rem;
        color: var(--dark);
        margin-bottom: 6px;
        font-weight: 500;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="file"],
    select,
    textarea {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.9rem;
        background: var(--secondary);
        border: 1px solid rgba(195, 162, 93, 0.2);
        border-radius: 6px;
        color: var(--text);
        transition: var(--transition);
    }
    
    input:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(6, 84, 60, 0.1);
    }
    
    textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    .file-upload small {
        display: block;
        font-size: 0.75rem;
        color: var(--text-light);
        margin-top: 4px;
    }
    
    .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-top: 4px;
    }
    
    .checkbox-group label {
        font-size: 0.82rem;
        color: var(--text);
        line-height: 1.4;
        margin: 0;
    }
    
    #whatsappSubmit.submit-btn {
        width: 100%;
        padding: 14px 20px;
        background: var(--accent);
        color: var(--primary);
        border: none;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        transition: var(--transition);
    }
    
    #whatsappSubmit.submit-btn:hover {
        background: var(--accent-light);
        transform: translateY(-2px);
    }
    
    /* Map Section */
    .map-section {
        padding: 40px 0;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .section-header h2 {
        font-size: 1.6rem !important;
        margin-bottom: 8px;
    }
    
    .section-header p {
        font-size: 0.9rem;
        color: var(--text-light);
    }
    
    .map-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .map-content {
        width: 100%;
        height: 250px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .map-content iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
    
    .map-instructions {
        padding: 0;
    }
    
    .map-instructions h3 {
        font-size: 1.3rem;
        color: var(--dark);
        margin-bottom: 15px;
        text-align: center;
    }
    
    .transport-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .transport-option {
        padding: 15px;
        background: var(--primary);
        border-radius: 8px;
        text-align: center;
        border: 1px solid rgba(195, 162, 93, 0.1);
        box-shadow: var(--shadow);
    }
    
    .transport-option i {
        font-size: 1.5rem;
        color: var(--accent);
        margin-bottom: 10px;
    }
    
    .transport-option h4 {
        font-size: 1rem;
        color: var(--dark);
        margin-bottom: 6px;
    }
    
    .transport-option p {
        font-size: 0.82rem;
        color: var(--text);
        line-height: 1.4;
    }
    
    /* FAQ Section */
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .faq-item {
        background: var(--primary);
        border-radius: 8px;
        box-shadow: var(--shadow);
        overflow: hidden;
        border: 1px solid rgba(195, 162, 93, 0.1);
    }
    
    .faq-question {
        width: 100%;
        padding: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        text-align: left;
        cursor: pointer;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        color: var(--dark);
        margin: 0;
        flex: 1;
        line-height: 1.4;
    }
    
    .faq-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(6, 84, 60, 0.08);
        border-radius: 50%;
        color: var(--accent);
        font-size: 0.8rem;
        margin-left: 12px;
        transition: var(--transition);
    }
    
    .faq-question[aria-expanded="true"] .faq-icon {
        transform: rotate(180deg);
        background: var(--accent);
        color: var(--primary);
    }
    
    .faq-answer {
        padding: 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .faq-answer.open {
        padding: 0 16px 16px;
        max-height: 500px;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        color: var(--text);
        line-height: 1.5;
        margin: 0;
    }
    
    .faq-answer a {
        color: var(--impotent-text);
        text-decoration: none;
        font-weight: 600;
        text-decoration: underline var(--dark);
    }
    
    .faq-answer a:hover {
        text-decoration: underline;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content {
        padding: 30px 20px;
        background: var(--accent);
        border-radius: 10px;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 1.5rem !important;
        color: var(--primary);
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 250px;
        padding: 14px 20px;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: var(--transition);
    }
    
    .cta-buttons .btn-primary {
        background: var(--primary);
        color: var(--accent);
    }
    
    .cta-buttons .btn-outline {
        background: transparent;
        color: var(--primary);
        border: 2px solid var(--primary);
    }
    
    .cta-buttons .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .cta-buttons .btn-outline:hover {
        background: var(--primary);
        color: var(--accent);
        transform: translateY(-2px);
    }
}

/* Extra Small Phones (below 360px) */
@media (max-width: 360px) {
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .contact-icon {
        margin:  auto;
    }
    
    .contact-details h3 {
        font-size: 0.9rem;
    }
    
    .contact-details p {
        font-size: 0.78rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="file"],
    select,
    textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .checkbox-group label {
        font-size: 0.78rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.82rem;
    }
    
    .transport-option {
        padding: 12px;
    }
    
    .transport-option h4 {
        font-size: 0.95rem;
    }
    
    .transport-option p {
        font-size: 0.78rem;
    }
}

/* Small Tablets (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    .contact-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .map-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .transport-options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for mobile */
    input,
    select,
    textarea,
    #whatsappSubmit.submit-btn,
    .cta-buttons a,
    .faq-question,
    .social-link,
    .transport-option {
        min-height: 44px;
    }
    
    /* Remove hover effects that don't work on touch */
    #whatsappSubmit.submit-btn:hover,
    .cta-buttons a:hover,
    .social-link:hover,
    .contact-info-card:hover {
        transform: none;
    }
    
    /* Add active states for touch feedback */
    #whatsappSubmit.submit-btn:active,
    .cta-buttons a:active,
    .social-link:active,
    .contact-info-card:active,
    .faq-question:active,
    .transport-option:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .faq-answer,
    .transport-option,
    #whatsappSubmit.submit-btn,
    .cta-buttons a,
    .social-link {
        transition: none !important;
    }
    
    .faq-icon {
        transition: none !important;
    }
}

/* Mobile Devices (up to 768px) */
@media (max-width: 768px) {
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .contact-info-card {
        display: flex !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 15px !important;
        min-height: auto !important;
    }
    
    .contact-icon {
        flex-shrink: 0 !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(6, 84, 60, 0.08) !important;
        border-radius: 50% !important;
        color: var(--accent) !important;
        font-size: 1rem !important;
        margin: 0 !important;
    }
    
    .contact-details {
        flex: 1 !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    .contact-details h3 {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
        text-align: left !important;
    }
    
    .contact-details p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 3px !important;
        text-align: left !important;
    }
    
    .contact-details .hours {
        font-size: 0.85rem !important;
        font-style: italic !important;
        margin-top: 5px !important;
    }
    
    .contact-details strong {
        font-size: 0.9rem !important;
    }
}

/* Small Phones (below 480px) */
@media (max-width: 480px) {
    .contact-info-card {
        padding: 12px !important;
        gap: 12px !important;
    }
    
    .contact-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
    
    .contact-details h3 {
        font-size: 0.95rem !important;
    }
    
    .contact-details p {
        font-size: 0.85rem !important;
    }
    
    .contact-details strong {
        font-size: 0.85rem !important;
    }
}

/* Extra Small Phones (below 360px) */
@media (max-width: 360px) {
    .contact-info-card {
        flex-direction: row !important;
        padding: 10px !important;
        gap: 10px !important;
        text-align: left !important;
    }
    
    .contact-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }
    
    .contact-details h3 {
        font-size: 0.9rem !important;
    }
    
    .contact-details p {
        font-size: 0.8rem !important;
    }
    
    .contact-details strong {
        font-size: 0.8rem !important;
    }
}

