
:root {
    --primary-green: #A5D6A7; /* Pastel Green */
    --light-green: #E8F5E9;   /* Very Light Green Background */
    --off-white: #FAFAFA;     /* Premium Off-White */
    --dark-text: #2C3E50;     /* Charcoal for text */
    --accent-gold: #C5A059;   /* Subtle gold for premium feel */
    --white: #FFFFFF;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Clean, classic consultant font */
    background-color: var(--off-white);
    color: var(--dark-text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* Header Container */
/* --- HEADER STYLES --- */
header {
    background-color: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Top Row Container */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5% 0.5rem 5%;
    border-bottom: 1px solid #f0f0f0;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    display: block;
}

/* Buttons */
.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-buttons .btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-outline { border: 1px solid var(--dark-text); color: var(--dark-text); }
.btn-outline:hover { background-color: var(--dark-text); color: var(--white); }
.btn-primary { background-color: var(--primary-green); color: var(--dark-text); }
.btn-primary:hover { background-color: #81c784; }

/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 3px;
}

/* Desktop Nav Links */
.header-bottom {
    padding: 0.5rem 5%;
    display: flex;
    justify-content: flex-end;
}

.close-menu { display: none; } /* Hide close button on desktop */

.nav-links a {
    margin-left: 25px;
    font-weight: 500;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover { color: var(--primary-green); }

/* Hero Section */
.hero {
    height: 80vh;
    background-color: var(--dark-text);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero_bg.svg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--light-green);
}

/* Hero Section Businesses */
.herobusiness {
    height: 80vh;
    background-color: var(--dark-text);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero_bg_businesses.svg');
    background-size: cover;
    background-position: center;
}

.herobusiness h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.herobusiness p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--light-green);
}

/* Hero Section Experts */
.heroexperts {
    height: 80vh;
    background-color: var(--dark-text);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero_bg_experts.svg');
    background-size: cover;
    background-position: center;
}

.heroexperts h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.heroexperts p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--light-green);
}

/* Sections */
section {
    padding: 4rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.split-section:nth-child(even) {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Forms */
.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 2rem;
    text-align: center;
}

iframe {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

/* --- 3-COLUMN FOOTER STYLES --- */
.main-footer {
    background-color: var(--dark-text); /* #2C3E50 */
    color: var(--off-white);
    padding: 4rem 5%;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid Layout: 3 Columns for Laptop */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Brand gets slightly more space */
    gap: 3rem;
}

/* Typography */
.footer-brand {
    font-size: 2rem;
    color: var(--primary-green); /* #A5D6A7 */
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.footer-tagline {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 300px; /* Limits width for readability */
}

.footer-heading {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
}

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

.footer-links-list a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-green);
    color: var(--dark-text);
}

/* Copyright Section (in right column) */
.copyright-text p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.3rem;
}

/* Responsive: Stack on Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Single column */
        text-align: center;
        gap: 3rem;
    }

    .footer-desc, .social-icons {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}



/* Blog Card Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background-color: var(--light-green); /* Placeholder color */
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: bold;
}

.blog-link {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- CLICKABLE CARD & SCROLL ANIMATION --- */

/* 1. Make the whole card clickable */
.blog-card {
    position: relative; /* Needed for the stretched link */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease-out, transform 0.6s ease-out;
    
    /* 2. Initial State for Scroll Animation (Hidden) */
    opacity: 0; 
    transform: translateY(30px); /* Pushed down slightly */
}

/* Hover Effect */
/* Only lift the card on devices that actually have a mouse/trackpad */
@media (hover: hover) {
    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

/* This expands the link to cover the entire card */
.blog-card a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* 3. The "Visible" State (Added by JS when scrolled into view) */
.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE MEDIA QUERY */
@media (max-width: 768px) {
    /* Layout: Stack Logo/Burger on top, Buttons below */
    .header-top {
        flex-direction: column;
        align-items: stretch; /* Stretch to full width */
        gap: 15px;
        padding: 1rem;
    }

    .logo-row {
        width: 100%; /* Ensure logo and burger go to edges */
    }

    /* Show Hamburger */
    .hamburger {
        display: flex;
    }

    /* Buttons row on mobile */
    .nav-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .nav-buttons .btn {
        width: 48%;
        text-align: center;
        font-size: 0.85rem;
    }

    /* THE SLIDER MENU */
    .header-bottom {
        position: fixed;
        top: 0;
        right: -100%; /* Start hidden off-screen */
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: right 0.4s ease; /* Smooth slide effect */
        z-index: 2000;
    }

    /* Class added by JS to show menu */
    .header-bottom.active {
        right: 0; 
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    /* Close Button Inside Slider */
    .close-menu {
        display: block;
        align-self: flex-end;
        font-size: 2rem;
        cursor: pointer;
        color: var(--dark-text);
        line-height: 1;
    }
}