:root {
    --primary-blue: #3b82f6;
    --primary-green: #0a8a5e; 
    --light-green: #e8f5e9;
    --dark-blue: #1a2b4c;
    --footer-bg: #1a2332;
    --text-gray: #4b5563;
    --border-color: #e2e8f0;
    --bg-light-gray: #f8fafc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-gray);
    overflow-x: hidden;
}

/* Navbar Customization */
.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-link {
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.3s ease, background-color 0.3s ease; /* Fix ho gaya */
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.active-custom {
    background-color: var(--light-green);
    color: var(--primary-green) !important;
    border-radius: 0.375rem;
    font-weight: 600;
}

.btn-login {
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    background-color: transparent;
    font-weight: 600;
    padding: 0.5rem 2rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

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

/* ===== Mobile Bottom Navigation Styles ===== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0.25rem;
    z-index: 1030;
    /* Safe area padding for modern devices like iPhone */
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item:focus {
    color: var(--primary-green);
}

/* Add bottom padding to body on mobile screens so content doesn't hide behind the bottom nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 75px; 
    }
}
/* Hero Section */
.hero-title {
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-size: 2.5rem !important;
}

.btn-quote {
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    transition: all 0.3s;
}

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


/* Hero Section Base */
.hero-bg-gradient {
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
    margin-bottom: 0 !important;
    padding-bottom: 4rem !important;
    overflow: hidden; /* Shapes ki wajah se horizontal scroll rokne ke liye */
}

/* Typography & Text Placement */
.hero-text-wrapper {
    /* Desktop par left side content thoda upar shift karne ke liye */
    transform: translateY(-8%);
}

.hero-subtitle {
    color: var(--primary-green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hero-title {
    color: #1e293b;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-size: 2.5rem !important;
}

.hero-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 550px;
}

/* Button Styling */
.btn-quote {
    background-color: var(--primary-green);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background-color: #059669; /* Hover par darker green */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Button Click aur Focus State Fix */
.btn-quote:focus,
.btn-quote:active,
.btn-quote.active,
.btn-quote:active:focus {
    background-color: var(--primary-green) !important;
    color: white !important;
    outline: none !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
    transform: translateY(0) !important;
}

/* Hero Background Shapes */
.shape-top-right {
    position: absolute;
    top: 0;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-top: 100px solid var(--primary-green);
    z-index: 0;
    opacity: 0.6;
    transform: translate(-10px, -10px);
}

.shape-bottom-right {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 0;
    height: 0;
    border-right: 100px solid transparent;
    border-bottom: 100px solid var(--primary-blue);
    z-index: 0;
    opacity: 0.6;
    transform: translate(10px, 10px);
}

/* Glass & Cards Styling */
.glass-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    padding: 1.25rem;
    position: relative;
    z-index: 1; /* Shapes ke upar dikhne ke liye */
}

.hero-card {
    height: 200px;
    border-radius: 0.85rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero-card:hover img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 43, 76, 0.85), rgba(26, 43, 76, 0.2), transparent);
}

.percentage-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #1e293b;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title-custom {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin: 0;
    font-size: 1.15rem;
    padding: 0 10px;
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================= */

/* Tablet & Mobile Screens */
@media (max-width: 991.98px) {
    .hero-text-wrapper {
        transform: translateY(0); /* Mobile me design overlap na ho */
        text-align: center; /* Text center karne ke liye */
    }
    .hero-subtitle {
        justify-content: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-bg-gradient {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Mobile Phones (Small Screens) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem !important; /* Choti screen par font thoda chota */
    }
    .hero-card {
        height: 160px; /* Card ki height mobile par balance karne ke liye */
    }
    .card-title-custom {
        font-size: 1rem; 
    }
    .glass-container {
        padding: 1rem;
    }
}

    /* =========================================
       STATS SECTION CSS (FULLY RESPONSIVE)
    ========================================= */
    .stats-section {
        background-color: #5c4de5; /* Match image background */
        color: #ffffff;
        padding: 80px 0;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .icon-container {
        width: 80px;
        height: 80px;
        background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter transparent circle */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px auto;
        transition: all 0.3s ease;
    }

    .icon-container:hover {
        transform: translateY(-5px); /* Simple hover effect */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Extra premium feel */
        background-color: rgba(255, 255, 255, 0.25);
    }

    .icon-container i {
        font-size: 35px;
        color: #ffffff;
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 5px;
        letter-spacing: 1px;
    }

    .stat-label {
        font-size: 1rem;
        font-weight: 500;
        opacity: 0.9;
        margin-bottom: 0;
    }

    /* --- RESPONSIVE MEDIA QUERIES --- */
    
    /* Tablets (Max 991px) */
    @media (max-width: 991px) {
        .stats-section {
            padding: 60px 0;
        }
        .stat-number {
            font-size: 2.2rem;
        }
    }

    /* Mobile Devices (Max 767px) */
    @media (max-width: 767px) {
        .stats-section {
            padding: 50px 0;
        }
        .icon-container {
            width: 65px;
            height: 65px;
            margin-bottom: 15px;
        }
        .icon-container i {
            font-size: 28px;
        }
        .stat-number {
            font-size: 1.8rem;
        }
        .stat-label {
            font-size: 0.9rem;
        }
    }

    /* Small Mobile Devices (Max 575px) */
    @media (max-width: 575px) {
        .stats-section {
            padding: 40px 0;
        }
        .icon-container {
            width: 55px;
            height: 55px;
        }
        .icon-container i {
            font-size: 24px;
        }
        .stat-number {
            font-size: 1.5rem; /* Text chota kiya taaki box ke bahar na nikle */
        }
        .stat-label {
            font-size: 0.85rem;
        }
    }

/* ===== NEW: WHY CHOOSE US SECTION ===== */
/* Seamless gradient from Services section */
.why-choose-section {
    background: linear-gradient(to bottom, #f0fdf4 0%, #e8f5e9 100%);
    padding: 5rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
    border-bottom-color: var(--primary-green);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--light-green);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary-green);
    color: #fff;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* ===== NEW: FAQ SECTION ===== */
/* Seamless gradient going back to white/gray for footer */
.faq-section {
    background: linear-gradient(to bottom, #f8fafc 0%, #e8f5e9 100%);
    padding: 5rem 0;
}

.faq-heading {
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 2.2rem;
}

.faq-heading span {
    color: var(--primary-green);
}

.faq-subtitle {
    color: #64748b;
    font-size: 1rem; /* Halka chota kiya */
    margin-bottom: 3rem;
}

/* Accordion Custom Styling */
.accordion-custom .accordion-item {
    border: none;
    border-radius: 8px !important; /* Premium box look ke liye radius thoda kam kiya */
    margin-bottom: 0.85rem; /* Items ke beech ka gap thoda kam kiya */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    background-color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.accordion-custom .accordion-button {
    border-radius: 8px !important;
    font-weight: 600;
    font-size: 0.95rem; /* Question ka text chota aur premium kiya */
    color: var(--dark-blue);
    padding: 1rem 1.25rem; /* Padding thodi kam aur balance ki */
    background-color: transparent;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--primary-green);
    background-color: var(--light-green);
    box-shadow: none;
}

.accordion-custom .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

.accordion-custom .accordion-body {
    color: #4b5563;
    padding: 0 1.25rem 1.25rem 1.25rem; /* Proper inner padding */
    font-size: 0.85rem; /* Answer ka text chota kiya */
    line-height: 1.7; /* Text padhne me asani ho uske liye line height badhayi */
    background-color: var(--light-green);
}

/* Customize Accordion Arrow Color & Size */
.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2310b981'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-size: 0.85rem; /* Icon ka size chota kiya */
    width: 0.85rem;
    height: 0.85rem;
    margin-left: auto;
}

.accordion-custom .accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2310b981'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

:root {
    /* Replace with your actual project colors if different */
    --footer-bg: #0f172a; 
    --primary-blue: #0d6efd; 
}
/* Footer Customization */
.footer {
    background-color: var(--footer-bg, #0f172a); /* Added a fallback color */
    color: #cbd5e1;
    padding-top: 2.5rem; /* Reduced from 4rem */
    margin-top: auto;
}

.footer h4 {
    color: white;
    font-size: 0.9rem; /* Slightly smaller for compactness */
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.footer ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease-in-out;
}

.footer ul li a:hover {
    color: white;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Slightly reduced icon size */
    height: 30px;
    border: 1px solid #475569;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-blue, #0d6efd);
    border-color: var(--primary-blue, #0d6efd);
    color: white;
}

.social-icon.instagram:hover {
    background-color: #db2777;
    border-color: #db2777;
}

.social-icon.youtube:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #94a3b8; /* Changed from #64748b for better visibility */
    text-align: center;
}

.max-w-custom {
    max-width: 1320px; /* You can increase this to 1440px for even wider screens */
    margin: 0 auto;    /* Keeps it centered */
}

.email-link {
    word-break: break-all;
    overflow-wrap: anywhere;
}


/* -----------------------------------------
   RESPONSIVE MEDIA QUERIES
----------------------------------------- */

/* For Mobile Devices (Phones) */
@media (max-width: 767.98px) {
    .footer {
        padding-top: 1.5rem; /* Tighter padding on mobile */
    }
    
    .footer h4 {
        margin-bottom: 0.75rem;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem; 
        padding: 1rem 0;
    }
    
    .footer .col {
        margin-bottom: 0.5rem; 
    }
}