/* --- Variables & Reset --- */
:root {
    --primary: #047857; /* Emerald Green */
    --primary-dark: #064e3b;
    --accent: #dc6b4a; /* Terracotta */
    --bg: #faf7f2; /* Warm Cream */
    --bg-alt: #f3ede3;
    --surface: #ffffff;
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: #e7e2d9;
    --shadow: 0 4px 24px rgba(30, 41, 59, 0.08);
    --shadow-lg: 0 12px 40px rgba(30, 41, 59, 0.12);
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.full-width { width: 100%; }

.section {
    padding: 5rem 0;
    position: relative;
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.highlight { color: var(--primary); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 120, 87, 0.4);
}

.glow-effect {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(4, 120, 87, 0.3); }
    to { box-shadow: 0 0 25px rgba(4, 120, 87, 0.5); }
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
    margin-left: 10px;
}

.btn-secondary:hover {
    background: var(--text);
    color: white;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: 0.3s;
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text);
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    opacity: 0.15;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 50px;
    left: -50px;
    opacity: 0.12;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #fbbf24;
    top: 40%;
    left: 40%;
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(4, 120, 87, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(4, 120, 87, 0.2);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-top: 3rem;
}

.stat-card {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Cards --- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* --- Grids --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --- Services --- */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: rgba(4, 120, 87, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-list {
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.feature-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.text-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
}

.text-link:hover {
    color: var(--accent);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--primary);
    border: 4px solid var(--bg-alt);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-item .content {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* --- Article Styling --- */
.article-container {
    max-width: 900px;
}

.glass-article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.category-tag {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.meta-info {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.05rem;
}

.article-content h2 {
    margin-top: 3rem;
    font-size: 1.8rem;
    color: var(--text);
}

.article-content h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--text);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    font-style: italic;
}

/* --- FAQ --- */
.faq-wrapper {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form-wrapper {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item .label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.info-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.info-item a.value:hover {
    color: var(--primary);
}

.modern-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* --- Footer --- */
footer {
    background: var(--text);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col h3 .highlight {
    color: var(--accent);
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a, .footer-col p {
    color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

/* --- Animations --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
    }
    
    .nav-links.active { left: 0; }
    
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.right { left: 0; }
    .timeline-item::after { left: 21px; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    .stats-row { flex-wrap: wrap; }
    .stat-card { min-width: 45%; }
    
    .glass-article { padding: 2rem 1.5rem; }
    
    .hero { padding-top: 80px; min-height: auto; padding-bottom: 3rem; }
}