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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* === PREMIUM TOKENS (Sage Garden Theme) === */
:root {
  --bg: #f5f7f2; /* Muted sage garden light background */
  --text: #1a2e1a; /* Dark forest text */
  --text-muted: #4a5d4a;
  --accent: #7a8c6a; /* Sage green accent */
  --accent-light: #a3b18a;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(122, 140, 106, 0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.05);
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --column-width: 680px;
}

body {
  font-family: var(--font-body);
  line-height: 1.8;
  font-size: 18px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  background-attachment: fixed;
}

/* Animated Background Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #f5f7f2, #e8ede4, #f5f7f2, #dee5d8);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    opacity: 0.5;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* One-Column Storytelling Archetype */
.narrative-column {
    max-width: var(--column-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.section-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    width: 100%;
    margin: 40px 0;
}

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

/* === NAVIGATION (Split Header + Overlay) === */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    font-size: 14px;
    background: rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 24px;
    color: var(--text);
    z-index: 1001;
}

/* Hamburger & Overlay */
.nav-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1002;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
}

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

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li {
    margin: 20px 0;
    overflow: hidden;
}

.nav-links a {
    font-family: var(--font-headings);
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    transition: 0.3s;
    display: block;
    transform: translateY(100%);
}

.nav-overlay.open .nav-links a {
    transform: translateY(0);
    transition-delay: 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
    padding-left: 20px;
}

.nav-links a.active {
    color: var(--accent);
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--accent);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(122, 140, 106, 0.3);
    transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5%;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 0 0 55%;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.hero h1 {
    font-family: var(--font-headings);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { flex: 0 0 100%; }
    .hero p { margin-left: auto; margin-right: auto; }
}

/* === TYPOGRAPHY & STORYTELLING === */
h2 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.pull-quote {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
    margin: 3rem 0;
    color: var(--accent);
}

.inline-image {
    margin: 3rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Overlapping Elements Layout */
.overlap-container {
    display: flex;
    align-items: center;
    margin: 100px 0;
}

.overlap-text {
    flex: 0 0 50%;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    z-index: 2;
    margin-right: -100px;
}

.overlap-img {
    flex: 0 0 60%;
    z-index: 1;
}

@media (max-width: 768px) {
    .overlap-container { flex-direction: column; margin: 40px 0; }
    .overlap-text { margin-right: 0; margin-bottom: -40px; width: 100%; padding: 1.5rem; }
    .overlap-img { width: 100%; }
}

/* === MARQUEES === */
.marquee-wrapper {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-block;
    padding: 0 40px;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Testimonial Filmstrip */
.testimonial-ticker {
    display: flex;
    gap: 2rem;
    animation: marquee 40s linear infinite;
}

.testimonial-card {
    flex: 0 0 400px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    white-space: normal;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* === GRID LAYOUTS === */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 0 1 340px;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: all 0.3s ease;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

/* === INTERACTIVE MAP SELECTOR === */
.region-selector {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.region-btn {
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-headings);
}

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

.region-info {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    min-height: 200px;
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-muted);
}

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

.breadcrumbs span {
    margin: 0 10px;
}

/* === FOOTER === */
.site-footer {
    padding: 80px 0 40px;
    background: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--font-headings);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

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

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

.newsletter-form input {
    padding: 0.8rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    flex: 1;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.social-icons i:hover {
    color: var(--accent);
}

/* Accordion Footer for Mobile */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-column h4 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .footer-column h4::after { content: '+'; }
    .footer-column.active h4::after { content: '-'; }
    .footer-column ul { display: none; padding: 15px 0; }
    .footer-column.active ul { display: block; }
}

/* Awards Bar */
.awards-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 40px 0;
}

.award-item {
    text-align: center;
    opacity: 0.7;
    transition: 0.3s;
}

.award-item:hover {
    opacity: 1;
}

.award-item i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.award-year {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Auto-fix: prevent default blue/purple browser links */
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: currentColor; }
