/* --- Global Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    color: #1D1D1F;
    background-color: #FFFFFF;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #2E7D32;
    font-weight: 500;
    transition: all 0.3s ease;
}

a:hover {
    color: #1B5E20;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #E5E5EA;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 10px 20px;
}

.header h1 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    padding: 6px 12px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.nav-links a:hover {
    background-color: #F5F5F7;
}

.menu-toggle {
    display: none; 
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('BVM_Banner.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: black;
}

.call-btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: #1B5E20;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.call-btn:hover {
    background-color: #162a17;
    color: white;
}

/* --- Spacer --- */
.spacer {
    height: 50px;
}

/* --- About Section --- */
.about {
    max-width: 900px;
    margin: 0 auto;    
    padding: 0 20px;   
    text-align: center; /* Mobile: center */
}

.about h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 15px 0; 
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1D1D1F;
    margin: 0;
    padding: 0;
}

@media(min-width:601px){
    .about {
        text-align: left; /* Tablet & Desktop: left */
    }
}

/* --- Values Section --- */
.values {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    gap: 40px;
}

.value {
    text-align: center;
    flex: 1;
}

.value h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.value p {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Products Section --- */
.products {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.products h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: vertical */
    gap: 20px;
    justify-items: center;
}

@media(min-width:601px){
    .product-row {
        grid-template-columns: repeat(2, 1fr); /* Tablet/Desktop: 2x2 */
        gap: 40px;
    }
}

.product-box {
    width: 100%;
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    background-color: #F5F5F7;
    transition: all 0.3s ease;
    max-width: 400px;
}

.product-box:hover {
    background-color: #E8F5E9;
}

.product-box .icon {
    font-size: 3rem;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 12px;
}

.product-box h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #1D1D1F;
}

/* --- Features Section --- */
.features {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    gap: 40px;
}

.feature {
    text-align: center;
    flex: 1;
}

.feature h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Call Box Section --- */
.call-box {
    text-align: center;
    background-color: #F5F5F7;
    padding: 50px 20px;
    margin: 80px auto;
    border-radius: 20px;
}

.call-box .logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.call-box h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
}

/* --- SIP Calculator --- */
.calculator {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.calc-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.calc-card {
    flex: 1 1 320px;
    max-width: 390px;
    padding: 30px 20px;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background-color: #F5F5F7;
}

.calc-card.inputs label {
    font-weight: 500;
    font-size: 1rem;
}

.calc-card.inputs input,
.calc-card.inputs select {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    width: 100%;
    box-sizing: border-box;
}

.calc-card.inputs button {
    padding: 12px 0;
    border-radius: 12px;
    font-weight: 600;
    background-color: #000000;
    color: #FFF;
    border: none;
    margin-top: 16px;
    cursor: pointer;
}

.calc-card.inputs button:hover {
    background-color: #202020;
}

.calc-card.chart {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 260px;
    height: 500px;
    font-style: italic;
    font-size: 1rem;
    color: #1D1D1F;
    background-color: #FFFFFF;
}

/* --- FAQ Section --- */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F5F5F7;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    flex-direction: column;
    align-items: flex-start;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E7D32;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.6;
    align-items: left;
    color: #1D1D1F;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* --- CTA Section --- */
.cta {
    text-align: center;
    margin: 80px auto;
}

.cta h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* --- Footer --- */
footer {
    background-color: #F5F5F7;
    padding: 60px 20px 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Mobile */
    flex-direction: column;
    align-items: center;
}

.footer-col h2, .footer-col h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col a, .footer-col p {
    display: block;
    font-size: 0.95rem;
    color: #1D1D1F;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center; /* Mobile */
    font-size: 0.85rem;
    color: #555;
    margin-top: 20px;
}

@media(min-width:601px){
    .footer-container {
        text-align: left; /* Desktop */
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .footer-bottom {
        text-align: right;
        margin-top: 40px;
    }
}

/* --- Responsive Header & Mobile Layout --- */

/* Tablet & small desktop: max-width 900px */
@media (max-width: 900px) {
    .header {
        width: 75%;
        display: flex;
        flex-direction: row;       /* Keep logo & toggle in one row */
        flex-wrap: wrap;           /* Allow nav to wrap below if needed */
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;             /* Hidden by default */
        flex-direction: column;    
        gap: 10px;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }

    .nav-links.active {
        display: flex;             /* Show when menu toggled */
    }

    .menu-toggle {
        display: flex;
        cursor: pointer;
        font-size: 24px;
        padding: 0 20px;
        background: none;
        border: none;
    }
}

/* Mobile screens: max-width 600px */
@media (max-width: 600px) {
    /* Products stacked vertically */
    .product-row {
        display: grid;
        grid-template-columns: 1fr; /* 1x1 vertical layout */
        gap: 20px;
        justify-items: center;
    }

    .product-box {
        width: 100%;               /* full width of column */
        max-width: 400px;          /* optional cap */
    }

    /* Optional: adjust header width for very small screens */
    .header {
        width: 90%;
    }
}

/* Tablet screens: 601px - 900px */
@media (min-width: 601px) and (max-width: 900px) {
    .product-row {
        display: grid;
        grid-template-columns: 1fr; /* keep 2 columns on tablet */
        gap: 30px;                      /* proper spacing */
        justify-items: center;
    }
}