/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #212529; /* Adjusted for better contrast */
    --heading-color: #2c3e50;
    --primary-color: #4ade80;
    --primary-hover: #22c55e;
    --primary-darker: #16a34a; /* For backgrounds needing contrast with white text */
    --text-on-primary: #064e3b; /* For text on primary color background */
    --card-bg: #fff;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --hero-bg-start: #f0fdf4;
    --hero-bg-end: #bbf7d0;
    --stat-item-bg-start: #e0f2f1;
    --stat-item-bg-end: #e8f5e9;
    --header-bg: rgba(255, 255, 255, 0.95);
    --border-color: #dee2e6; /* Added for consistency */
    --footer-bg: #2c3e50;
    --footer-text: #ced4da;
    --footer-heading: #ffffff;
    --footer-link: #f8f9fa;
    --footer-bottom-text: #adb5bd;
    --footer-border: rgba(255, 255, 255, 0.1);
    --contact-item-bg: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    --contact-item-link-color: #166534;
}

[data-theme="dark"] {
    --bg-color: #111; /* Darker background */
    --text-color: #e5e5e5; /* Brighter text */
    --heading-color: #f5f5f5;
    --primary-color: #4ade80; /* Keep it bright for accents */
    --primary-hover: #6ee7b7;
    --card-bg: #1c1c1c; /* Slightly adjusted card background */
    --card-shadow: rgba(255, 255, 255, 0.1);
    --hero-bg-start: #1a2e24;
    --hero-bg-end: #1f3d2a;
    --stat-item-bg-start: #222; /* Darker stat background for contrast */
    --stat-item-bg-end: #272727;
    --header-bg: rgba(17, 17, 17, 0.95);
    --border-color: #495057; /* Added for consistency */
    --footer-bg: #1c1c1c;
    --footer-text: #adb5bd;
    --footer-heading: #f8f9fa;
    --footer-link: #dee2e6;
    --footer-bottom-text: #6c757d;
    --footer-border: #343a40;
    --contact-item-bg: #1e1e1e; /* Match other cards */
    --contact-item-link-color: var(--primary-color);
}

/* This rule will make the logo white (its original color) on dark backgrounds */
[data-theme="dark"] .logo img {
    filter: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 3001;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
}

/* Lightbox (Gallery) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 1.4rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 768px) {
    .lightbox-image { max-width: 95vw; max-height: 75vh; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
}

footer p {
    color: inherit; /* Inherit color from footer element for better contrast */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--text-on-primary); /* Changed for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(74, 222, 128, 0.5);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-darker) 100%);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

/* Header */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ensure right side controls stick to far right with enough gap */
header .container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 24px; /* add breathing space from menu */
}

.logo img {
    height: 50px; /* A discreet size */
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: invert(100%); /* Invert to black for light theme visibility */
}

.logo:hover img {
    transform: scale(1.05); /* A subtle hover effect */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.language-switcher {
    display: flex;
    gap: 0.1rem; /* Further reduced gap */
    background-color: var(--hero-bg-start);
    padding: 0.2rem; /* Reduced padding */
    border-radius: 50px;
    white-space: nowrap;
}

.header-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0.3rem 0.6rem; /* Further reduced padding */
    border-radius: 50px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--text-on-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.dark-mode-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    z-index: 1001;
}

.dark-mode-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative; /* Needed for the overlay and slideshow */
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    background-color: #111; /* Fallback background */
    height: 100vh; /* Make it full screen height */
    display: flex; /* Enable flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--heading-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    margin-bottom: 2.5rem;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
    font-size: 1.1rem;
    padding: 18px 40px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-color);
}

/* Improve initial render: skip offscreen rendering until scrolled into view */
.services, .gallery, .about, .reviews, .contact, footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px; /* reserve space to avoid layout shifts */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--card-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, var(--primary-darker)); /* Adjusted for contrast */
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
    position: relative;
    z-index: 2;
}

.service-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.service-card .duration {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
}

.service-card .description {
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.service-card:hover h3,
.service-card:hover .price,
.service-card:hover .duration,
.service-card:hover .description {
    color: #fff; /* White text now has enough contrast */
}

.booking-section {
    text-align: center;
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Gift Card banner */
.giftcard-banner {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--card-shadow);
}

.giftcard-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.giftcard-content h3 {
    margin-bottom: 0.75rem;
    color: var(--heading-color);
}

.giftcard-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.booking-section h3 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.booking-section p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto; /* Center the paragraph block */
    margin-right: auto; /* Center the paragraph block */
}

.booking-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
    will-change: transform;
}

.gallery-item:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-item {
    background: linear-gradient(135deg, var(--stat-item-bg-start), var(--stat-item-bg-end));
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--card-shadow);
}

.stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 3rem;
    color: #15803d; /* Darker green for contrast in light mode */
}

[data-theme="dark"] .stat-number {
    color: #86efac; /* Lighter green for contrast in dark mode */
}

.stat-number sup {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
    margin-left: 2px;
}

.stat-stars {
    color: #fdd835;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--card-shadow);
    border: 1px solid var(--border-color); /* Use variable */
    transition: all 0.3s ease;
    justify-content: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color)20;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
}

.reviews-slider-container {
    position: relative;
    overflow: hidden;
    max-width: 100%; /* Use full width */
    margin: 3rem auto 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.reviews-slider {
    display: flex;
    width: fit-content; /* Adjust width to content */
    animation: marquee 40s linear infinite;
}

.reviews-slider:hover {
    animation-play-state: paused;
}

.review-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px var(--card-shadow);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 320px; /* Fixed width for cards */
    flex-shrink: 0;
    margin: 0 1rem;
}

.review-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px var(--card-shadow);
}

.review-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #fdd835;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.review-author {
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.review-platform {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    color: var(--heading-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -20px;
}

.slider-btn.next {
    right: -20px;
}

.review-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-color);
}

.contact-content {
    display: grid; /* Changed from flex to grid */
    grid-template-columns: 1fr; /* Default to single column */
    gap: 3rem;
    align-items: stretch;
}

.contact-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 3rem;
    width: 100%;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--contact-item-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item a {
    color: var(--contact-item-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    color: #fff;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color)20;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1.2rem;
}

.map-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1; /* Make map span full width */
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--card-shadow);
    transition: box-shadow 0.3s ease;
    flex-grow: 1;
    min-height: 450px; /* Set a minimum height for the map */
}

.map-container:hover {
    box-shadow: 0 15px 50px var(--card-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.map-button {
    margin-top: 1.5rem;
    align-self: center; /* Center the button and shrink its width */
}

.contact-form {
    flex: 1;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--card-shadow);
}

.contact-form h3 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color); /* Use variable */
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--footer-heading);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-bottom-text);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* Styles for medium screens if needed */
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background: var(--header-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
        order: 2;
        margin-left: 8px;
    }

    .dark-mode-toggle {
        position: static;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid var(--border-color);
        border-radius: 999px;
        background: transparent;
        line-height: 1;
        font-size: 1.1rem;
    }
    
    .header-controls {
        position: static;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    .header-controls .language-switcher { order: 0; }
    .header-controls .dark-mode-toggle { order: 1; }
    .header-controls .language-switcher { order: 0; }
    .header-controls .dark-mode-toggle { order: 1; }

    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-top-row {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }

    .metrics-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .metrics-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .review-card {
        padding: 2rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
} 

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 30px var(--card-shadow);
    z-index: 3000;
    padding: 1rem 0;
    display: none;
}

.cookie-banner.open { display: block; }

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-text { font-size: 0.95rem; }

.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.cookie-btn {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
}

.cookie-btn.accept { background: var(--primary-color); color: var(--text-on-primary); border-color: var(--primary-color); }
.cookie-btn.reject { background: transparent; }

@media (max-width: 768px) {
    .cookie-inner { flex-direction: column; align-items: flex-start; }
}

/* Utilities and inline-style replacements */
.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-group--spaced {
    margin: 10px 0;
}

.page-content {
    padding: 120px 0 60px;
}

.u-mt-1 {
    margin-top: 1rem;
}