:root {
    --primary-color: #064e3b;
    --primary-light: #10b981;
    --secondary-color: #1f2937;
    --accent-color: #b45309;
    --bg-light: #f8fafc;
    --bg-mint: #f0fdf4;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-mint);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* Header & Nav */
header {
    height: 110px; /* Reduced from 140px */
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--white);
    height: 90px; /* Reduced from 110px */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.scrolled .logo a, 
header.scrolled nav ul li a {
    color: var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav {
    margin-left: auto;
}

.menu-toggle {
    display: none;
}

.logo a {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    align-items: center; /* Center items vertically */
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    margin-right: 15px; /* Spacing between logo and text */
}

.logo-text {
    font-size: 0.85rem; /* Increased size for horizontal layout */
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1.5px;
    margin-top: 0;
    opacity: 1;
    font-family: 'Inter', sans-serif;
}

header.scrolled .logo-text {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.btn-contact {
    background: var(--accent-color);
    padding: 12px 24px;
    border-radius: 4px;
    color: var(--white) !important;
}

.btn-contact:hover {
    background: #92400e;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(6, 78, 59, 0.8), rgba(6, 78, 59, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.25rem, 4.2vw, 4rem);
    line-height: 1.1;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .hero h1 {
        white-space: nowrap;
    }
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns .btn {
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin: 0;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Region Section */
.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.region-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-10px);
}

.region-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.region-body {
    padding: 2rem;
}

.region-body h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, rgba(240, 253, 244, 1) 0%, rgba(255, 255, 255, 1) 70%);
}

.contact-box.centered {
    display: flex;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #064e3b 0%, #053a2c 55%, #042f24 100%);
    color: var(--white);
    padding: clamp(2.5rem, 4vw, 4rem);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(4, 47, 36, 0.35);
}

.contact-box.centered::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 240px at 20% 25%, rgba(16, 185, 129, 0.22), transparent 60%),
        radial-gradient(520px 220px at 80% 10%, rgba(180, 83, 9, 0.18), transparent 55%),
        radial-gradient(480px 260px at 75% 85%, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
}

.contact-info {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    letter-spacing: 0.2px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.25rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 0;
    background: rgba(255,255,255,0.10);
    padding: 10px 11px;
    border-radius: 12px;
    line-height: 1;
}

.info-item strong {
    display: block;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.4px;
    margin-bottom: 0.35rem;
}

.info-item p {
    margin: 0.2rem 0;
    opacity: 0.92;
}

.contact-link {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.22);
    padding-bottom: 2px;
}

.contact-link:hover {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-box.centered {
        padding: 2.25rem 1.5rem;
        border-radius: 14px;
    }
}

/* Footer */
footer {
    background: #042f24;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    gap: 4rem;
    margin-bottom: 40px;
    text-align: center;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-img {
    height: 60px;
    width: auto; /* Maintains aspect ratio */
    margin-bottom: 8px;
    filter: brightness(0) invert(1); /* Makes logo white in footer */
}

.footer-logo-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-about p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h4, .footer-offices h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links,
.footer-offices {
    text-align: center;
}

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

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .region-grid { grid-template-columns: 1fr 1fr; }
    .about-grid, .contact-box, .footer-grid { gap: 2rem; }
}

@media (max-width: 768px) {
    header { background: var(--white); height: 70px; }
    .logo a, nav ul li a { color: var(--primary-color); }
    
    .menu-toggle { display: block; cursor: pointer; }
    .bar { display: block; width: 25px; height: 3px; background: var(--primary-color); margin: 5px 0; }
    
    nav { display: none; } /* Simplified mobile nav for now */
    
    .about-grid, .region-grid, .contact-box, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero { text-align: center; }
    .hero-btns { display: flex; flex-direction: column; gap: 1rem; }
}
