/* --- CSS Variables for Light Theme --- */
:root {
    --primary-color: #0d6efd;
    --light-gray-bg: #f8f9fa;
    --heading-color: #212529;
    --body-color: #495057;
    --border-color: #dee2e6;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

/* --- Base Styles & Light Theme --- */
body {
    font-family: var(--body-font);
    padding-top: 56px; 
    background-color: #ffffff;
    color: var(--body-color);
}

/* --- Hero Section Styling for Light Theme --- */
#hero-light {
    background-color: var(--light-gray-bg);
    border-bottom: 1px solid var(--border-color);
}

.hero-title-light {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--heading-color);
}

/* --- General Section & Text Styling --- */
section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title-light {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

h2, h3, h4, h5, h6 {
    padding-top: 80px;
    margin-top: -80px;
    font-weight: 600;
    color: var(--heading-color);
}

/* --- Clean Card Styles for Light Theme --- */
.feature-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.feature-icon-light {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 2rem;
    border-radius: 50%;
}

.testimonial-card-light {
    background-color: var(--light-gray-bg);
    border-left: 5px solid var(--primary-color);
    height: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.pricing-highlight-light {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0.5rem 1.5rem rgba(13, 110, 253, 0.15) !important;
}

/* --- Scroll Animation --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Blog Page Specific Styling --- */
.blog-card {
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15)!important;
}

.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.blog-post section p {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ================================================================= */
/* --- Enhanced Footer Styling ---                                   */
/* ================================================================= */
.footer-heading {
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

/* --- THIS IS THE FIX --- */
/* Override Bootstrap's default 'text-muted' specifically inside the dark footer */
.footer .text-muted {
    color: #adb5bd !important; /* A brighter, more legible gray for dark backgrounds */
}

.footer-link {
    display: inline-block;
    padding-bottom: 0.25rem;
    position: relative;
    color: #adb5bd !important;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-link:hover {
    color: #ffffff !important; /* Brighten link color on hover */
}

.social-icon .bi {
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.social-icon .bi:hover {
    transform: scale(1.2); /* Make icon slightly larger on hover */
    color: var(--primary-color); /* Change icon color to primary accent on hover */
}

section[id] {
  scroll-margin-top: 80px;
}

.fade-in-section {
    opacity: 0; /* This makes the sections invisible by default */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}