/* --- MODERN REFINED STYLES --- */
:root {
    --primary: #D00000; /* Brand Red */
    --accent: #388E3C;  /* Chutney Green */
    --gold: #FFD700;    /* Brand Yellow */
    --dark: #111111;    /* Bold Black */
    --bg-light: #FFFDE7; /* Light Cream */
    --text-main: #212121;
    --text-muted: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--dark);
}

.logo-img {
    height: 90px; /* Increased height for a bigger logo */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(214, 40, 40, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(214, 40, 40, 0.4);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

/* Stats Section */
.stats-bar {
    background: var(--white);
    padding: 40px 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Sections General */
section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.accent-line {
    width: 60px;
    height: 5px;
    background: var(--primary);
    margin: 20px auto;
    border-radius: 10px;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefits-grid {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-box svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

#benefits {
    background-color: var(--bg-light);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--dark);
}

/* Banner CTA */
.banner-cta {
    background: var(--dark);
    color: white;
    padding: 80px 10%;
    border-radius: 40px;
    margin: 50px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-item p {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Form */
.form-box {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

input, textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 10% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.5;
}

.copyright a {
    text-decoration: none;
    color: inherit;
}

/* About Section Classes (Moved from inline) */
.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    gap: 30px;
    align-items: center;
}

.about-image {
    opacity: 0;
    transform: translateX(100%);
    transition: all 1.2s ease-out;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-highlight {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary);
}

.about-img-styled {
    width: 100%;
    border-radius: 20px;
    box-shadow: 15px 15px 0 var(--gold);
    transition: transform 0.3s ease;
}

#about {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/images/bgabout.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 10%;
}

#about .section-header {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-layout { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    .stats-bar { width: 95%; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 768px) {
    /* Navigation */
    nav {
        flex-direction: column;
        padding: 1rem;
        position: relative;
    }
    
    .nav-links {
        margin-top: 15px;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    /* Hero & Sections */
    .hero {
        height: auto;
        min-height: 80vh;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    section {
        padding: 60px 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    /* Stats */
    .stats-bar {
        width: 90%;
        margin-top: -30px;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 40%; /* 2 items per row */
    }

    /* Adjust Floating Buttons for Mobile */
    .whatsapp-float, .call-float {
        width: 50px;
        height: 50px;
        right: 15px;
    }
    .whatsapp-float {
        bottom: 20px;
    }
    .call-float {
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    .stat-item { flex: 1 1 100%; } /* 1 item per row */
    .feature-card { padding: 25px; }
    .form-box { padding: 30px 20px; }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-icon { width: 35px; height: 35px; fill: white; }

/* Call Float */
.call-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.call-float:hover { transform: scale(1.1); }
.call-icon { width: 30px; height: 30px; fill: white; }