/* --- Variables --- */
:root {
    --dark-teal: #003C32;
    --primary-green: #1EC98B;
    /* Vibrant, actionable green */
    --light-gray: #f8f9fa;
    --light-gray-alt: #f0f0f0;
    --light-green-alt: #E3FFF4;
    --pale-blue: #BEC8D2;
    --dark-bg: #1A1A1A;
}

/* --- Base Styling --- */
html,
body {
    overflow-x: hidden;
    /* Crucial for AOS animations */
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-teal);
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-teal);
}

section {
    padding: 100px 0;
    /* Increased padding for better spacing */
}

/* --- Navigation --- */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
    font-weight: 800;
    /* Bolder logo */
    font-size: 1.5rem;
    color: var(--dark-teal) !important;
}

.navbar .nav-link {
    color: var(--dark-teal) !important;
    font-weight: 600;
    transition: color 0.3s;
    margin: 0 10px;
}

.navbar .nav-link:hover {
    color: var(--primary-green) !important;
}

.btn-primary-green {
    background-color: var(--dark-teal);
    border-color: var(--primary-green);
    color: white !important;
    /* Ensure text color is dark teal */
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn-primary-green:hover {
    background-color: #17a671;
    /* Slightly darker hover */
    border-color: #17a671;
    color: var(--dark-teal) !important;
}

.btn-dark-teal {
    background-color: white;
    border-color: white;
    color: var(--dark-teal);
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-dark-teal:hover {
    background-color: #002e26;
    border-color: #002e26;
    color: white;
}

.btn-dark-teal2 {
    background-color: var(--dark-teal);
    border-color: var(--dark-teal);
    color: white;
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-dark-teal2:hover {
    background-color: white;
    border-color: #002e26;
    color: var(--dark-teal);
}

.btn-outline-light {
    color: white;
    border-color: white;
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}


/* --- Hero Section --- */
.hero {
    background-image: url(img/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 180px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
}

.hero .lead {
    font-size: 1.25rem;
    color: #dcdfde;
}

.hero-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.text-primary-green {
    color: var(--primary-green) !important;
}

/* --- Solution Section --- */
.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.bg-light-gray-alt {
    background-color: var(--light-gray-alt) !important;
}

.bg-light-green-alt {
    background-color: var(--light-green-alt) !important;
    border: 1px solid var(--primary-green) !important;
}

/* --- How It Works Section --- */
#how {
    background-color: white;
}

.step {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Feature Cards (Used in Key Features section) --- */
.feature-card {
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all .3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* --- Pricing Cards (Original CSS maintained as requested) --- */
/* The original CSS for pricing was merged into the .feature-card and inline styles,
   so I ensure only the original styles are maintained here for the pricing section. */
#pricing .feature-card {
    border-radius: 18px;
    border: none;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    transition: all .3s ease;
    background: white;
    /* Reset background for Starter */
    color: var(--dark-teal);
    padding: 40px;
}

#pricing .feature-card:hover {
    transform: translateY(-6px);
}

#pricing .feature-card[style] {
    /* Targets the Professional card with inline style */
    background: var(--dark-teal) !important;
    color: white !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    /* Slightly stronger shadow for feature card */
}

/* --- Call To Action (CTA) --- */
.cta {
    background: var(--dark-teal);
    padding: 80px 0;
    margin-top: -30px;
    border-radius: 0 0 50% 50% / 0 0 10% 10%;
}

/* --- Contact Form --- */
#contact .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ccc;
}

/* --- Footer --- */
footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 30px 0;
    font-size: 0.9rem;
}

footer a {
    text-decoration: none;
}


/* --- Floating Buttons --- */
.floating-btn {
    position: fixed;
    right: 25px;
    z-index: 1000;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.floating-btn:hover {
    transform: translateY(-5px);
}

.demo-btn {
    bottom: 95px;
    background: var(--primary-green);
    color: var(--dark-teal);
    padding: 10px 18px;
    font-size: 1rem;
}

.whatsapp-btn {
    bottom: 30px;
    background: #25D366;
    color: #fff;
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
}

.whatsapp-btn i {
    transform: scale(1.1);
}


/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 150px 0 80px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-image {
        display: none;
    }

    /* Responsive adjustment for the two small images in "How it works" */
    #how .col-lg-6.order-lg-2 {
        margin-top: 50px;
    }

    /* Navbar Mobile Fixes */
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-link {
        text-align: center;
        margin: 5px 0;
    }

    /* This makes the button full width ONLY on mobile */
    .navbar .nav-item:last-child {
        width: 100%;
    }

    .navbar .btn {
        /* CLEANER FIX: Make button full width with vertical margins */
        width: 100%;
        margin: 10px 0 !important;
        display: block;
    }

    .cta {
        margin-top: 0;
        border-radius: 0;
    }

    /* Fix "How it works" alignment on mobile */
    #how .col-lg-6.order-lg-2 {
        margin-top: 50px;
    }

    .floating-btn.demo-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    /* Center the images in the how-it-works column for mobile */
    #how .col-md-6 {
        margin: 0 auto;
        max-width: 300px;
    }

    .floating-btn {
        right: 15px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        padding: 0;
    }

    .whatsapp-btn {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        margin: 0 0 12px 0 !important;
    }

    .step {
        padding-left: 40px;
    }

    .step-num {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    /* Ensure only one image per row on extra small devices */
    #how .col-md-6 {
        max-width: 100%;
    }
}