/* --- Global Styles & Variables --- */
:root {
    /* UPDATED: Theme Color set to Purple */
    --primary-color: #19aaf8; 
    
    --dark-grey: #333;
    --text-grey: #555;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --black: #000000;
    --red-btn: #ce0000;
    --border-color: #e0e0e0;
    --footer-bg: #222222;
    --footer-text: #bbbbbb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark-grey);
    line-height: 1.6;
    background-color: #fdfdfd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column-direction {
    flex-direction: column;
    align-items: stretch;
}

/* --- Buttons --- */
.btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-chat { 
    background-color: var(--primary-color); 
    color: var(--white); 
    border: 1px solid var(--primary-color); 
}

.btn-login { 
    background-color: var(--black); 
    color: var(--white); 
}

.btn-primary { 
    background-color: var(--primary-color); 
    color: var(--white); 
}

.btn-secondary { 
    background-color: var(--white); 
    color: var(--dark-grey); 
    border: 1px solid var(--dark-grey); 
}

.btn-red { 
    background-color: var(--red-btn); 
    color: var(--white); 
    padding: 12px 30px; 
    font-size: 16px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
}

.btn:hover { 
    opacity: 0.85; 
    transform: translateY(-1px); 
}

/* --- Header Top --- */
.header-top { 
    background-color: var(--white); 
    padding: 10px 0; 
    border-bottom: 1px solid var(--light-grey); 
}

.contact-info span { 
    margin-right: 20px; 
    font-size: 14px; 
    color: var(--text-grey); 
}

/* --- Main Navigation --- */
.main-nav { 
    background-color: var(--white); 
    padding: 15px 0; 
    box-shadow: 0 2px 5px rgb(233, 3, 3); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.logo { 
    height: 40px; 
    width: auto; 
}

.nav-links { 
    list-style: none; 
    display: flex; 
    margin: 0; 
    padding: 0; 
}

.nav-links li { 
    margin-left: 25px; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--dark-grey); 
    font-weight: 500; 
    font-size: 15px; 
    text-transform: uppercase; 
}

/* --- Ticker Bar (Marquee Animation) --- */
.ticker-bar { 
    overflow: hidden; 
    white-space: nowrap; 
    background-color: var(--primary-color); 
    color: var(--white); 
    padding: 8px 0; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ticker-bar p { 
    margin: 0; 
    display: inline-block;
    padding-left: 100%; 
    animation: marquee 20s linear infinite; 
}

@keyframes marquee {
    0% {
        transform: translateX(0%); 
    }
    100% {
        transform: translateX(-100%); 
    }
}

/* --- Hero Section (FIXED TWO-COLUMN LAYOUT) --- */
.hero { 
    padding: 60px 0; 
}

.hero-container {
    display: flex;
    align-items: flex-start; 
    gap: 40px; 
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero-text {
    flex: 1.5; 
}

.hero-gallery {
    flex: 1; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.breadcrumb { 
    display: inline-block; 
    font-size: 12px; 
    font-weight: 800; 
    color: var(--primary-color); 
    background-color: #333; 
    padding: 5px 15px; 
    margin-bottom: 20px; 
    letter-spacing: 1px; 
}

.hero-text h1 { 
    font-size: 48px; 
    font-weight: 800; 
    margin: 10px 0 20px 0; 
    line-height: 1.1; 
    color: var(--black); 
}

.hero-text p { 
    font-size: 16px; 
    color: var(--text-grey); 
    margin-bottom: 30px; 
    max-width: 90%; 
}

.button-group { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 15px; 
}

/* IMAGE STYLES */
.image-grid { 
    display: block; 
    width: 100%;
    margin-bottom: 20px; 
}

.hero-gallery .main-hero-image {
    width: 100%; 
    height: 450px; 
    object-fit: cover; 
    display: block; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* RATINGS STYLES (Small and Centered) */
.ratings { 
    display: flex;
    justify-content: center; 
    width: 100%;
    max-width: 400px; 
    gap: 10px;
    margin-top: 10px;
    border-top: none; 
    padding-top: 0;
}

.hero-gallery .rating-item {
    padding: 10px 15px; 
    flex: 1; 
    border-radius: 6px;
    text-align: center;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero-gallery .rating-item span { 
    font-size: 0.85em; 
    color: var(--text-grey); 
    display: block; 
    margin-bottom: 2px;
}

/* DEFAULT strong style for JustDial */
.hero-gallery .rating-item strong { 
    font-size: 1.2em; 
    font-weight: 700; 
    color:#19aaf8; /* Purple theme color for default */
    display: block;
}

/* ENHANCEMENT: Specific styling for the Google Reviews box */
.hero-gallery .google-reviews-box {
    background-color: var(--white);
    border: 2px solid #20a7eb; /* Google Blue border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    padding: 12px 18px; /* Slightly adjusted padding */
}

/* ENHANCEMENT: Rating number color for Google Reviews */
.hero-gallery .google-reviews-box strong {
    font-size: 1.3em; /* Slightly larger rating number */
    font-weight: 800;
    color: #1390e4; /* Google Blue for brand consistency */
}


/* --- Stats Banner --- */
.stats-banner { 
    position: relative; 
    padding: 50px 0; 
    background-color: #3a3a3a; 
    color: var(--white); 
    text-align: center; 
    overflow: hidden; 
}

.stats-background { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    opacity: 0.15; 
    z-index: 1; 
    filter: grayscale(100%); 
}

.stats-container { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    max-width: 1000px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 2; 
}

.stat-box { 
    background-color: rgba(50, 50, 50, 0.9); 
    padding: 20px 40px; 
    min-width: 200px; 
    border-bottom: 3px solid var(--primary-color); 
}

.stat-box h3 { 
    font-size: 36px; 
    font-weight: bold; 
    margin: 0; 
}

.stat-box p { 
    font-size: 14px; 
    margin: 5px 0 0 0; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* --- Why Choose Us --- */
.why-choose { 
    padding: 80px 0; 
    background-color: var(--white); 
}

.section-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.section-header h2 { 
    font-size: 36px; 
    font-weight: 800; 
    color: var(--black); 
    margin-bottom: 15px; 
}

.highlight-yellow { 
    color: var(--primary-color); 
}

.sub-heading { 
    max-width: 800px; 
    margin: 0 auto; 
    font-size: 15px; 
    color: var(--text-grey); 
    font-weight: 500; 
}

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-bottom: 50px; 
}

.feature-card { 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    background: var(--white); 
    transition: box-shadow 0.3s ease; 
    overflow: hidden; 
}

.feature-card:hover { 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}

.card-image img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover;
    display: block; 
}

.card-content { 
    padding: 25px; 
    text-align: left; 
}

.card-content h3 { 
    font-size: 20px; 
    font-weight: 800; 
    margin-bottom: 15px; 
    color: var(--black); 
}

.card-content p { 
    font-size: 14px; 
    color: var(--text-grey); 
    line-height: 1.7; 
    margin: 0; 
}

.eligibility-wrapper { 
    text-align: center; 
}

/* --- Popular Programs --- */
.popular-programs { 
    padding: 60px 0 80px 0; 
    background-color: #fff; 
}

.programs-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    margin-top: 20px; 
}

.program-card { 
    display: flex; 
    border: 1px solid var(--border-color); 
    border-radius: 15px; 
    padding: 30px; 
    background-color: var(--white); 
    transition: box-shadow 0.3s ease; 
}

.program-card:hover { 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}

.program-visual { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-right: 25px; 
    flex-shrink: 0; 
}

.icon-circle { 
    width: 60px; 
    height: 60px; 
    background-color: var(--primary-color); 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border: 2px solid var(--primary-color); 
    position: relative; 
    z-index: 2; 
}

.icon-circle i { 
    font-size: 24px; 
    color: var(--white); 
}

.icon-letter { 
    position: absolute; 
    font-weight: 900; 
    font-size: 14px; 
    bottom: 12px; 
    right: 16px; 
    color: var(--white); 
}

.vertical-line { 
    width: 4px; 
    flex-grow: 1; 
    min-height: 80px; 
    background: linear-gradient(to bottom, #9B4CDC, rgba(255, 255, 255, 0)); 
    margin-top: -5px; 
    z-index: 1; 
}

.program-content { 
    flex: 1; 
}

.program-content h3 { 
    font-size: 22px; 
    font-weight: 800; 
    margin-top: 5px; 
    margin-bottom: 15px; 
    color: var(--black); 
}

.program-content p { 
    font-size: 15px; 
    color: var(--text-grey); 
    line-height: 1.6; 
    margin-bottom: 25px; 
    min-height: 80px; 
}

.btn-outline { 
    display: block; 
    width: 100%; 
    padding: 12px 0; 
    border: 1px solid var(--primary-color); 
    border-radius: 6px; 
    color: var(--primary-color); 
    text-decoration: none; 
    text-align: center; 
    font-weight: 600; 
    transition: all 0.3s ease; 
}

.btn-outline:hover { 
    background-color: var(--primary-color);
    color: var(--white); 
}

/* --- One-Stop Solution --- */
.one-stop-solution { 
    padding: 80px 0; 
    background-color: #ffffff; 
}
.one-stop-solution .section-header h2 {
    font-size: 45px; /* Reduced size (was 36px) */
    font-weight: 800; 
    margin-bottom: 15px; 
    line-height: 1.3; /* Added for readability, even if on one line */
    /* Optional: Ensure the line doesn't wrap forcefully */
    white-space: normal; 
}
.solution-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 30px; 
}

.solution-card { 
    background-color: #fff; 
    border-radius: 10px; 
    padding: 40px 30px; 
    text-align: center; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    border-bottom: 6px solid var(--primary-color); 
    transition: transform 0.3s ease; 
}

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

.solution-icon { 
    width: 70px; 
    height: 70px; 
    background-color: var(--primary-color); 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 0 auto 25px auto; 
}

.solution-icon i { 
    font-size: 28px; 
    color: var(--white); 
}

.solution-card h3 { 
    font-size: 24px; 
    font-weight: 800; 
    margin-bottom: 15px; 
    color: var(--black); 
}

.solution-card p { 
    font-size: 15px; 
    color: var(--text-grey); 
    line-height: 1.7; 
    margin: 0; 
}

/* --- Footer --- */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 70px 0 0 0;
    margin-top: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 30px;
    align-items: start;
    padding-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color); 
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 180px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--footer-text);
    font-size: 14px;
    transition: color 0.3s;
}

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

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-list li i {
    color: var(--primary-color); 
    margin-right: 10px;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: #333;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-btn:hover {
    background-color: var(--primary-color); 
    color: var(--white);
}

.copyright-bar {
    background-color: #1a1a1a;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.copyright-bar p {
    margin: 0;
    font-size: 13px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .features-grid, .programs-grid, .solution-grid, .footer-container {
        grid-template-columns: 1fr;
    }
    .hero-container, .stats-container {
        flex-direction: column;
    }
    .stats-container {
        gap: 20px;
    }
    .footer-container {
        gap: 40px;
    }
    .hero-gallery .main-hero-image {
        height: 300px; 
    }
}
/* Update the rule for the footer logo */
.footer-logo {
    margin-bottom: 20px;
    max-width: 80px; /* REDUCED SIZE: Change this value to adjust the logo size */
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}
/* --- Floating WhatsApp Icon --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
}