/* Base Reset */
* {
  
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  
  background: #f7f9fc;
}


/*----------------------------------------------------------------------------*/

 .how-work {
            background: #f8f9fa;
            padding: 60px 0;
        }
        .work-box {
            background: #fff;
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            transition: 0.3s;
            height: 100%;
        }
        .work-box:hover {
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            transform: translateY(-5px);
        }
        .work-icon {
            width: 70px;
            height: 70px;
            background: #0d6efd;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            margin: 0 auto 20px;
        }
  /* SEO Friendly Icon Grid */
  .hero-section {
            background: linear-gradient(rgba(0, 74, 173, 0.85), rgba(0, 43, 102, 0.9)), 
                        url('images/del1.jpg');
            padding: 140px 0;
            color: white;
            text-align: center;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
        }
        .hero-section h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
        .hero-section p { font-size: 1.25rem; max-width: 800px; margin: 0 auto; opacity: 0.9; }

        /* Mission Section - Glassmorphism */
        .mission-vision {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: -80px;
            position: relative;
            z-index: 10;
        }
        .glass-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            border-bottom: 4px solid var(--accent);
            transition: 0.3s;
        }
        .glass-card:hover { transform: translateY(-10px); }
        .glass-card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; display: block; }
        .glass-card h2 { color: var(--primary); margin-bottom: 15px; }

        /* Professional Content Grid */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            padding: 100px 0;
        }
        .content-image img {
            width: 100%;
            border-radius: 30px;
            box-shadow: 30px 30px 0 var(--secondary);
        }
        .content-text h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
        .content-text p { margin-bottom: 20px; color: var(--text-light); font-size: 1.1rem; }

        /* SEO Friendly Icon Grid */
        .value-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            background: var(--secondary);
            padding: 80px 0;
            text-align: center;
        }
        .value-item i { font-size: 2rem; color: var(--accent); margin-bottom: 15px; }
        .value-item h3 { margin-bottom: 10px; color: var(--primary); }

        /* CTA Section */
        .cta-section {
            background: var(--primary);
            color: white;
            padding: 80px 0;
            text-align: center;
            border-radius: 30px;
            margin: 60px auto;
        }
        .btn-white {
            background: white;
            color: var(--primary);
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            display: inline-block;
            margin-top: 25px;
            transition: 0.3s;
        }
        .btn-white:hover { background: var(--accent); color: white; transform: scale(1.05); }

        @media (max-width: 768px) {
            .content-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-section h1 { font-size: 2.5rem; }
            .nav-links { display: none; } /* Add your mobile menu logic here */
        }
  .about-title span {
    color: #df9a19;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}
.about-title h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 600;
}
ul.elementor-icon-list-items li.elementor-icon-list-item {
    display: flex;
    gap: 10px;
    margin-right: 40px;
}
ul.elementor-icon-list-items {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap-reverse;
    /* gap: 20px; */
    padding: 0px;
}
        .value-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            background: var(--secondary);
            padding: 80px 0;
            text-align: center;
        }
        .value-item i { font-size: 2rem; color: var(--accent); margin-bottom: 15px; }
        .value-item h3 { margin-bottom: 10px; color: var(--primary); }

.join-content p {
    color: #ffffff;
    opacity: 0.95;
}
  /* CTA Section */
        .cta-section {
            background: var(--primary);
            color: white;
            padding: 80px 0;
            text-align: center;
            border-radius: 30px;
            margin: 60px auto;
        }
        .btn-white {
            background: white;
            color: var(--primary);
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            display: inline-block;
            margin-top: 25px;
            transition: 0.3s;
        }
.join-content h2 {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 42px;
    font-weight: 900;
}
.default-btn
 {
    border: none;
    position: relative;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    color: #ffffff;
    text-transform: uppercase;
    background-color: #004aad;
    transition: 0.5s;
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 13px;
    padding-bottom: 13px;
    text-decoration: none;
}

  :root {
        /* Primary blue for branding */
        --primary: #004aad;
        /* Secondary action color (a vibrant light blue for contrast) */
        --accent: #0099ff; 
        /* Light background for subtle separation */
        --secondary: #f4f6f9; 
        --text-dark: #2c3e50;
        --text-light: #7f8c8d;
        /* Colors for Fixed Buttons */
        --whatsapp-green: #25D366; 
        --chatbot-blue: #004aad; 
        /* ADDED: Instant Call Button Color */
        --call-orange: #f39c12; 
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
        font-family: 'Poppins', sans-serif;
        background-color: #ffffff;
        color: var(--text-dark);
        line-height: 1.6;
    }

    /* Header Navigation (unchanged) */
    header {
        background: #fff;
        padding: 15px 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .value-item {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: white;
    padding: 40px 10px;
    border-radius: 10px;
}

.process-data {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
}

.process-data span {
    background: #e2b663;
    color: white;
    padding: 10px 30px;
    display: block;
    width: fit-content;
    margin-bottom: 30px;
}
.process-data h3 {
    font-size: 27px;
    font-weight: 700;
    padding-bottom: 10px;
}

.input-group {
    position: relative;
    display: block;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.input-group>.form-control, .input-group>.form-select {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}
    .over-lay
 {
    background-color: #213438;
    opacity: 0.92;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Header Callback Icon Style (unchanged) */
    #header-callback-btn {
        color: var(--primary);
        font-size: 24px;
        cursor: pointer;
        transition: color 0.2s, transform 0.2s;
        margin-right: 15px; 
    }
    #header-callback-btn:hover {
        color: var(--accent);
        transform: scale(1.1);
    }
    .header-flex-left { 
        display: flex;
        align-items: center;
    }

    .logo-img {
            height: 50px;       /* Adjust this height to match your logo's proportions */
            width: auto;        /* Keeps the aspect ratio correct */
            display: block;
            transition: transform 0.3s ease;
        }
        .logo h1 { 
                color: var(--primary); 
                font-size: 26px; 
                font-weight: 700;
            }
        .logo-img:hover {
            transform: scale(1.05); /* Subtle professional hover effect */
        }
        
        /* Ensure the logo container aligns properly in the flexbox */
        .logo {
            display: flex;
            align-items: center;
        }
        
        @media (max-width: 768px) {
            .logo-img {
                height: 40px;   /* Slightly smaller logo for mobile screens */
            }
        }

    .nav-links
 {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-bottom: 0px;
}
    .nav-links a { 
        text-decoration: none; 
        color: var(--text-dark); 
        font-weight: 500; 
        font-size: 15px; 
        padding: 5px 0; 
        display: block; 
        transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--accent); }

    /* Dropdown CSS (omitted for brevity, unchanged) */
    .dropdown { position: relative; }
    .dropdown-menu {
        display: none; position: absolute; right: 0; top: 100%;
        background-color: #fff; box-shadow: 0 6px 15px rgba(0,0,0,0.15);
        border-radius: 8px; min-width: 160px; padding: 5px 0; list-style: none;
        z-index: 1010; border: 1px solid #eee;
    }
    .dropdown:hover .dropdown-menu { display: block; }
    .dropdown-menu li a {
        padding: 10px 18px; color: var(--text-dark); white-space: nowrap;
        font-weight: 400; font-size: 14px;
    }
    .dropdown-menu li a:hover { background-color: var(--secondary); color: var(--primary); }
    /* End Dropdown CSS */

    /* Hamburger Menu Button (unchanged) */
    .menu-toggle {
        display: none;
        font-size: 28px;
        color: var(--primary);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0 10px;
        transition: transform 0.3s;
        z-index: 1001;
    }

    /* Hero/Form/Features */
    .hero {
        padding: 80px 0; min-height: 600px; display: flex; align-items: center;
        background-size: cover; background-position: center center;
        background-repeat: no-repeat; 
        background-color: #eaf4ff;
        transition: background-image 1.5s ease-in-out, background-color 1.5s ease-in-out;
        position: relative; 
        z-index: 1;
        overflow: hidden;
        border-radius: 0px 0px 80px 80px;
    }

    /* Dark overlay for text contrast */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* 40% opaque black overlay */
        z-index: 2; 
    }

    /* Ensure flex content is on top of the overlay */
    .hero-flex { 
        display: flex; align-items: flex-start; /* Aligned to the top now */
        justify-content: space-between; gap: 50px; 
        flex-wrap: wrap; 
        z-index: 3; 
        position: relative; 
    }
    
    .hero-text { flex: 1; min-width: 300px; text-align: left; }
    
    /* High-contrast text color and shadow */
    .hero-text h2 { 
        font-size: 48px; line-height: 1.1; margin-bottom: 20px; 
        color: #ffffff; 
        text-shadow: 2px 2px 4px rgba(0,0,0,0.6); 
    }
    
    /* High-contrast text color and shadow */
    .hero-text p { 
        font-size: 18px; 
        color: #f4f6f9; 
        margin-bottom: 30px; 
        text-shadow: 1px 1px 3px rgba(0,0,0,0.6); 
    }
    .loan-card {
        flex: 0 0 400px; background: #fff; padding: 40px; border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
        z-index: 4; /* Keep the form on top */
        position: relative;
    }
    .loan-card h3 { margin-bottom: 25px; text-align: center; font-weight: 700; color: var(--primary); }
    .input-group { margin-bottom: 20px; }
    .input-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--text-dark); }
    .form-control {
        width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 10px;
        font-size: 16px; transition: border-color 0.2s;
    }
    .form-control:focus { border-color: var(--accent); outline: none; }
    /*#mobile { font-size: 18px; font-weight: 600; letter-spacing: 0.5px; }*/
    .btn-submit {
        width: 100%; background: var(--accent); color: #fff; padding: 16px;
        border: none; border-radius: 10px; font-size: 18px; font-weight: 600;
        cursor: pointer; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,153,255,0.3);
    }
    .btn-submit:hover { 
        background: #007bbd; transform: translateY(-2px); 
        box-shadow: 0 6px 12px rgba(0,153,255,0.4);
    }
    .features { padding: 50px 0; background: var(--secondary); text-align: center; }
    .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
    .feature-item { padding: 20px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
    .feature-item strong { display: block; font-size: 24px; color: var(--accent); margin-bottom: 5px; }
    
    /* -------------------- NEW EMI CALCULATOR STYLES -------------------- */
    .emi-calculator-card {
        flex: 1 1 100%; /* Make it take up the full width below the form/text */
        margin-top: 50px; /* Space it below the main content */
        background: #fff; 
        padding: 30px; 
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
        z-index: 4; 
        position: relative;
        text-align: center; 
          border-top: 5px solid #e2b663; /* Visual pop */
    }
    .emi-calculator-card h3 { 
        margin-bottom: 25px; 
        font-weight: 700; 
        color: var(--primary); 
        font-size: 24px;
    }
    .emi-inputs {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    .emi-inputs .input-group {
        flex: 1;
        min-width: 150px;
        margin-bottom: 0; /* Override default input-group margin */
    }
    .emi-result {
        padding: 15px 25px;
        background-color: var(--secondary);
        border-radius: 10px;
        margin-top: 20px;
        font-size: 18px;
        font-weight: 600;
        color: var(--text-dark);
        border: 1px solid #e0e0e0;
    }
    .emi-result span {
        color: var(--primary);
        font-size: 32px; /* Increased size for impact */
        font-weight: 700;
        display: block;
        margin-top: 5px;
    }
    .emi-range-label {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: var(--text-light);
        margin-top: 5px;
    }

    /* Range input styling for a cleaner look */
    input[type=range] {
        -webkit-appearance: none; 
        width: 100%;
        height: 8px;
        background: #e0e0e0;
        border-radius: 5px;
        margin: 10px 0;
        cursor: pointer;
    }
    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--accent);
        cursor: pointer;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
    input[type=range]::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--accent);
        cursor: pointer;
        border: none;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
    /* -------------------- END NEW EMI CALCULATOR STYLES -------------------- */


    /* Fixed Contact Buttons (unchanged) */
    .fixed-contact-btn {
        position: fixed; bottom: 20px; width: 55px; height: 55px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); transition: all 0.3s ease-in-out; z-index: 990;
    }
    .fixed-contact-btn:hover { transform: scale(1.15) rotate(5deg); }
    
    #whatsapp-btn { left: 20px; background-color: var(--whatsapp-green); color: white; }
    #call-btn { display: none; } 
    #chatbot-btn { right: 20px; background-color: var(--chatbot-blue); color: white; }
    .icon { font-size: 26px; line-height: 1; }

    /* --- MODERN AI CHAT STYLES --- */
#chat-window {
    position: fixed; bottom: 90px; right: 20px; width: 350px; height: 500px;
    background: #fff; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none; flex-direction: column; overflow: hidden; z-index: 1000;
    border: 1px solid rgba(0,0,0,0.1);
}

#chat-header { 
    background: var(--primary); color: white; padding: 15px 20px; 
    font-weight: 600; display: flex; align-items: center; justify-content: space-between; 
}

#chat-body { 
    flex-grow: 1; padding: 20px; background: #f8f9fa; 
    overflow-y: auto; display: flex; flex-direction: column; gap: 12px;
}

.message-bubble { 
    padding: 12px 16px; border-radius: 18px; font-size: 14px; 
    line-height: 1.5; max-width: 85%; word-wrap: break-word; position: relative;
}

.bot-message i { color: #888; font-size: 0.9em; }
.user-message { background: #004aad; color: white; align-self: flex-end; }
.bot-message { background: #f1f1f1; color: #333; align-self: flex-start; }

/* Typing Animation */
.typing { display: flex; gap: 4px; padding: 10px; }
.typing span { 
    width: 6px; height: 6px; background: #999; border-radius: 50%; 
    animation: bounce 1.4s infinite ease-in-out both; 
}
.typing span:nth-child(1) { animation-delay: -0.32s; }
.typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce { 
    0%, 80%, 100% { transform: scale(0); } 
    40% { transform: scale(1.0); } 
}

#chat-footer { padding: 15px; background: #fff; border-top: 1px solid #eee; display: flex; gap: 10px; }
#chat-input { 
    flex: 1; border: 1px solid #ddd; padding: 10px 15px; 
    border-radius: 25px; outline: none; transition: 0.3s;
}
#chat-input:focus { border-color: var(--accent); }
 #send-btn { background: var(--primary) !important; width: 45px !important; height: 45px !important; border-radius: 50% !important; display: flex; justify-content: center; align-items: center; padding: 0; box-shadow: none; }
    .close-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; line-height: 1; padding: 0 10px; margin-left: auto; }
    
    /* Modal styles for Callback/Status Form */
    .modal {
        display: none; 
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.6);
        align-items: center;
        justify-content: center;
    }
    .modal-content {
        background-color: #fefefe;
        padding: 30px;
        border-radius: 15px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        position: relative;
        animation-name: animatetop;
        animation-duration: 0.4s
    }
    @keyframes animatetop {
        from {top: -300px; opacity: 0}
        to {top: 0; opacity: 1}
    }
    .modal-content h3 {
        color: var(--primary);
        margin-bottom: 20px;
        text-align: center;
        font-weight: 600;
    }
    .modal-content .close {
        color: #aaa;
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        transition: color 0.2s;
    }
    .modal-content .close:hover,
    .modal-content .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
    .modal .input-group input, .modal .input-group select {
        margin-top: 5px;
    }
    .modal .btn-submit {
        margin-top: 15px;
    }

    /* -------------------- RESPONSIVENESS (Media Queries) -------------------- */
    @media (max-width: 768px) {
        .hero-flex {
            flex-direction: column; 
            gap: 30px; 
        }
        
        .hero-text {
            text-align: center; 
            min-width: 100%; 
        }
        .hero-text img {
            max-width: 300px; 
            margin: 0 auto; 
            display: block;
        }

        .loan-card, .emi-calculator-card { /* Apply mobile styles to both cards */
            flex: 1 1 100%; 
            max-width: 100%; 
            margin-left: 0;
            margin-right: 0; 
            padding: 25px; 
            margin-top: 30px; /* Reduce margin top for mobile stacking */
        }

        .fixed-contact-btn {
            width: 50px; height: 50px; bottom: 15px;
        }
        
        #whatsapp-btn { 
            left: 15px; 
            right: auto;
            transform: none; 
        }
        
        #call-btn {
            display: flex; 
            left: 50%; 
            right: auto;
            background-color: var(--call-orange); 
            transform: translateX(-50%); 
        }

        #chatbot-btn { right: 15px; }
        
        #chat-window {
            bottom: 75px; 
            width: 90%; height: 70%; right: 5%; left: 5%;
        }

        /* EMI Calculator Mobile Adjustments */
        .emi-inputs {
            flex-direction: column;
            gap: 15px;
        }
        .emi-inputs .input-group {
            width: 100%;
        }
        
        /* The issue is here: `display: none;` prevents the transition. 
           We keep it `display: flex` but positioned off-screen. */
        .nav-links { 
            position: fixed; top: 60px; right: 0; width: 70%; max-width: 300px;
            height: calc(100vh - 60px); background: #fff; flex-direction: column;
            padding: 20px 25px; box-shadow: -4px 0 15px rgba(0,0,0,0.1);
            transform: translateX(100%); transition: transform 0.3s ease-in-out;
            z-index: 999; 
            display: flex; /* CHANGE: Set to flex initially for better transition */
        }

        body.menu-open .nav-links {
            transform: translateX(0); 
            display: flex; 
        }
        
        .nav-links li {
            width: 100%;
            border-bottom: 1px solid var(--secondary);
        }
        .nav-links li:last-child {
            border-bottom: none;
        }
        .nav-links a {
            padding: 12px 0;
            font-size: 16px;
        }
        
        .menu-toggle {
            display: block;
        }
    }
    
    /* Media Query for very small mobile screens (<= 480px) */
    @media (max-width: 480px) {
        .hero { padding: 30px 0; }
        .hero-text h2 { font-size: 28px; }
        .loan-card { padding: 20px; }
        .form-control { padding: 12px; }
        .features-grid { grid-template-columns: 1fr; gap: 15px; }
        
        #whatsapp-btn { 
            left: 15px;
            transform: none; 
        }
        #chatbot-btn { right: 15px; }
    }
    .get-otp-btn {
      background: #004aad;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 50px;
      font-weight: bold;
      cursor: pointer;
    }
#header-callback-btn {
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    /* Remove large margins that might push it to the center */
    margin: 0; 
    display: flex;
    align-items: center;
}

/* Ensure the header flex distributes space between logo and the right-side group */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Animation keyframes for the shake effect */
@keyframes ring-shake {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    100% { transform: rotate(0); }
}
@keyframes highlight-glow {
    0% { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 0 20px var(--accent); }
    100% { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
}

.calculator-highlight {
    animation: highlight-glow 2s ease-in-out;
}

/* Apply the animation to the icon */
#header-callback-btn i {
    display: inline-block; /* Required for transform to work */
    animation: ring-shake 2s infinite ease-in-out;
    transform-origin: center;
}

/* Optional: Pause the shake when the user hovers over it */
#header-callback-btn:hover i {
    animation-play-state: paused;
}
/* Styling for action buttons inside the chat */
#quick-actions {
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-btn {
    background-color: #ffffff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}




/*------------------------------------------------------------------------------*/
/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0b3d91;
  border-radius: 2px;
}

/* Sidebar */
.sidebar {
  width: 220px;
  background: #0b3d91;
  color: white;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding-top: 20px;
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar a {
  display: block;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
}

.sidebar a:hover {
  background: #0056d6;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.user-info {
  flex: 1;
  color: white;
}

.user-info strong {
  font-size: 16px;
}

.user-info small {
  font-size: 13px;
}

.user-info .progress-bar {
  width: 100%;
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
  overflow: hidden;
  margin: 5px 0;
}

.user-info .progress {
  height: 6px;
  background: #4caf50;
}



/* Header */
.header {
  margin-left: 220px;
  background: #e8f0ff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h2 {
  margin: 0;
}

/* Content */
.content {
  margin-left: 220px;
  padding: 20px;
}

.progress-bar {
  width: 100%;
  background: #ddd;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress {
  width: 19%;
  height: 12px;
  background: #4caf50;
}



h3 {margin-top: 0; 
  color: #0b3d91; }


label { 
  display: block; 
  margin-bottom: 5px; 
  font-weight: bold; }



.pan-inputs { 
  display: flex; 
  gap: 10px; 
  margin-bottom: 20px; 
}

.pan-inputs input { 
  width: 40px; 
  height: 50px; 
  text-align: center; 
  font-size: 18px; 
  border: 1px solid #ccc; 
  border-radius: 5px; 
}
        
.form-group { 
  margin-bottom: 15px; 
  flex: 1;
}


button { 
  background: #00aaff; 
  border: none; 
  padding: 12px 20px; 
  color: white; 
  font-size: 16px; 
  border-radius: 5px; 
  cursor: pointer; 
  margin-top: 10px; 
}
        
button:hover { 
  background: #008ecc; 
}


/* Cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.card.completed {
  border-right: 10px solid lightgray;
}

.card.completed:hover {
  border-right: 10px solid #4caf50;
}

.card-link {
  text-decoration: none;
  color: inherit;
}
.partner-title h2 {
    text-transform: uppercase;
    /* margin-bottom: 40px; */
    font-size: 32px;
    font-weight: 900;
    text-align: center;
}


/* Footer */
footer {
    background-color: #004aad !important;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    /*margin-top: auto;*/
}
section.join-area
 {
    background: #e2b663;
    padding-top: 30px;
}


/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .sidebar {
    left: -220px;
  }

  .sidebar.active {
    left: 0;
  }

  .header,
  .content,
  footer {
    margin-left: 0;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .card-container {
    grid-template-columns: 1fr;

  }

  .avatar {
    width: 40px;
    height: 40px;
  }

  .user-info strong {
    font-size: 14px;
  }

  .user-info small {
    font-size: 12px;
  }

  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }

  footer {
    padding: 15px;
    font-size: 14px;
  }
}
/* File: css/style.css */

:root {
    /* Primary blue for branding */
    --primary: #004aad;
    /* Secondary action color (a vibrant light blue for contrast) */
    --accent: #0099ff; 
    /* Light background for subtle separation */
    --secondary: #f4f6f9; 
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    /* Colors for Fixed Buttons */
    --whatsapp-green: #25D366; 
    --chatbot-blue: #004aad; 
    /* ADDED: Instant Call Button Color */
    --call-orange: #f39c12; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex; /* Flex container for the whole body */
    flex-direction: column;
}

/* ---------------------------------- */
/* Main Content Wrapper (for pages with a sidebar) */
/* ---------------------------------- */

/* Assuming pages using header.php will wrap their content in <div class="main-content"> */
.main-content {
    flex-grow: 1;
    padding: 20px;
    margin-left: 0; /* No margin by default (mobile first) */
    transition: margin-left 0.3s;
}

/* ---------------------------------- */
/* Header/Title Block */
/* ---------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.header h2 {
    color: var(--primary);
    font-weight: 600;
}

/* ---------------------------------- */
/* Form Container and Elements */
/* ---------------------------------- */
.content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 74, 173, 0.2);
}

/* Custom styles for radio buttons (Gender) */
.gender-group {
    display: flex;
    gap: 20px;
    padding-top: 5px;
}

.gender-group label {
    font-weight: 400; /* Lighter weight for radio labels */
}

/* Submit Button */
.btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn:hover {
    background-color: #003a8c;
}

/* Message/Error Styling */
.message-success {
    margin-top: 20px;
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
}

.message-error {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: center;
}

/* ---------------------------------- */
/* Progress Bar (Global style, as seen in dashboard.php and header.php) */
/* ---------------------------------- */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-bar-container .progress {
    height: 100%;
    background-color: var(--accent); /* Uses a vibrant accent color */
    transition: width 0.4s ease;
    border-radius: 4px;
}

/* ---------------------------------- */
/* Sidebar and Mobile Menu Styles (from header.php structure) */
/* ---------------------------------- */

.sidebar {
    height: 100%;
    width: 0; /* Collapsed by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: var(--primary);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar.active {
    width: 250px;
}

.sidebar a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    display: block;
    transition: background-color 0.2s;
}

.sidebar a:hover {
    background-color: #0060c0;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.sidebar-header .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid white;
}

.sidebar-header .user-info {
    flex-grow: 1;
}

.sidebar-header .progress-bar {
    width: 100px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2.5px;
    margin-top: 5px;
}

.sidebar-header .progress {
    height: 100%;
    background-color: var(--accent);
    border-radius: 2.5px;
}

.sidebar-header strong {
    font-weight: 700;
}

/* Hamburger Icon */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary);
    transition: 0.3s;
}

/* ---------------------------------- */
/* Footer Styles */
/* ---------------------------------- */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    margin-top: auto; /* Pushes the footer to the bottom */
}

footer div {
    margin: 5px 0;
}


/* ---------------------------------- */
/* Media Queries for Desktop View */
/* ---------------------------------- */

@media (min-width: 768px) {
    
    .hamburger {
        display: none; /* Hide hamburger on desktop */
    }

    .sidebar {
        width: 250px; /* Always open on desktop */
        position: fixed;
        padding-top: 20px; 
    }

    .sidebar.active {
        width: 250px; /* Keep the width consistent */
    }

    .main-content {
        margin-left: 250px; /* Push content over to make space for the sidebar */
        padding: 40px; /* Increased padding for better desktop feel */
        max-width: calc(100% - 250px);
    }
    
    /* Layout correction for inner elements */
    .content {
        padding: 40px;
    }

    /* Additional form layout for wide screens */
    .form-row {
        flex-direction: row; /* Ensure fields are side-by-side */
    }
}
