:root {
    --primary: #003087;
    --primary-dark: #00246a;
    --secondary: #ffba08;
    --secondary-light: #ffd166;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--secondary-light);
    /* transform: translateY(-2px); */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

section {
    margin-bottom: 40px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

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

.section-title {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.logo h1 {
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 25px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn {
    margin-left: 25px;
}
/* Update the hover state for navbar login button */
.nav-links .btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    /* padding: 60px 0; */
    /* margin-bottom: 40px; */
    /* height: 50vh;; */
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text .lead {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: 15rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

/* Hero Section Additional Styles */
.hero-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 40px 20px;
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: center;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
    display: inline-block;
}

.hero-content {
    margin-top: 20px;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #505866;
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
}

/* Steps Section */
.steps {
    background-color: var(--light-gray);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    height: calc(100% + 30px);
    width: 2px;
    background-color: var(--primary);
}

.step-number {
    min-width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.step-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    padding: 30px;
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-img {
    /* width: 80px; */
    height: 20rem;
    /* border-radius: 50%; */
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
}

.testimonial-position {
    color: var(--gray);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-btn {
    background-color: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-dark);
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Registration Form */
.registration {
    background-color: var(--white);
}

.registration-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.registration-text {
    flex: 1;
    min-width: 300px;
}

.registration-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Add this CSS for padding around horizontal lines in the registration section */
.registration hr {
    margin: 24px 0;
    padding: 0;
    border: none;
    border-top: 2px solid #eee;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.mobile-header-text {
    display: none; /* Hidden by default */
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #007bff; /* Blue background */
    color: #fff; /* White icon color */
    border-radius: 50%; /* Circular shape */
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-form-heading {
    display: none;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .nav-links .btn {
        margin: 5px auto;
        width: 80%;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 24px;
        padding: 8px;
        z-index: 1001;
        background: none;
        border: none;
    color: var(--primary);
}

.mobile-form-heading {
    display: block;
    margin-top: 100px;
}

/* Mobile Header Text */
.mobile-header-text {
    display: none; /* Hidden by default */
}

@keyframes blinking-text {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .mobile-header-text {
        display: block; /* Visible on mobile */
        color: var(--primary);
        font-weight: bold;
        animation: blinking-text 1s infinite;
        flex-grow: 1;
        font-size: 25px;
        text-align: center;
        padding-right: 5px;
        color: var(--primary);
    }
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .registration-text {
        padding: 20px;
    }

    .registration-text ul {
        padding-left: 20px; /* Reduced padding for bullet points */
        margin-right: 10px; /* Add right margin */
    }

    .registration-text li {
        margin-bottom: 10px;
        word-wrap: break-word; /* Allow words to break */
        padding-right: 10px; /* Add right padding */
    }

    .registration-container {
        padding: 15px;
        flex-direction: column;
        
    }

    .logo img {
        height: 80px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .registration-text ul {
        padding-left: 15px;
    }

    .registration-text {
        font-size: 0.95rem; /* Slightly reduce font size */
    }
}

/* Utility Classes */
.mt-4 {
    margin-top: 4rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Contact Page Specific Styles */
.contact-section textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--dark);
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary);
    min-width: 20px;
    margin-top: 5px;
}

.map-section iframe {
    display: block;
}

@media (max-width: 768px) {
    .contact-section .registration-container {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 20px;
    }
}

/* Social Login Buttons */
.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.social-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.social-btn i {
    font-size: 18px;
    margin-right: 8px;
}

.social-btn .fa-google {
    color: #DB4437;
}

.social-btn .fa-facebook-f {
    color: #4267B2;
}

.social-btn .fa-linkedin-in {
    color: #0077B5;
}

@media (max-width: 480px) {
    .social-login {
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
    }
}

/* Login Page Specific Styles */
.login-section {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.login-container input[type="checkbox"] {
    margin-right: 5px;
}

.login-container .social-links {
    gap: 20px;
}

.login-container .social-link {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
}

.login-container .social-link:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 480px) {
    .login-container {
        padding: 20px;
        margin: 0 15px;
    }
}

/* Leaderboard Specific Styles */
.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 15px;
}

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

tr:nth-child(even) {
    background-color: var(--light-gray);
}

tr:hover {
    background-color: rgba(0, 48, 135, 0.05);
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
}

/* Video Container Styles */
.video-container {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
}

.video-container video {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .video-container {
        padding: 15px;
    }
    .video-container video {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 100%; /* Start off-screen to the right */
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s ease-in-out; /* Smooth transition */
}

/* Center the images in the slider */
.carousel-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the image */
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the image covers the container */
}

.carousel-slide.active {
    left: 0; /* Center the active slide */
    opacity: 1;
}

.carousel-slide.prev {
    left: -100%; /* Move previous slide off-screen to the left */
    opacity: 0;
}

.carousel-slide.next {
    left: 100%; /* Move next slide off-screen to the right */
    opacity: 0;
}

.carousel-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-btn {
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for centering */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    z-index: 3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-btn.prev {
    left: 20px; /* Position the left button */
}

.carousel-btn.next {
    right: 20px; /* Position the right button */
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background: var(--white);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 60vh;
    }
    
    .carousel-content {
        padding: 15px;
        margin: 0 15px;
        background: rgba(0, 0, 0, 0.6);
    }
    
    .carousel-content h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        padding: 8px;
        font-size: 14px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .carousel-dots {
        bottom: 10px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 50vh;
    }
    
    .carousel-content h1 {
        font-size: 1.2rem;
    }
    
    .carousel-content p {
        font-size: 0.85rem;
    }
    
    .carousel-content .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between items */
    margin-top: 20px;
}

.gallery-item {
    overflow: hidden; /* Ensures no overflow issues */
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.gallery-item img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust for smaller screens */
    }
}

/* Beema Sakhi Page Styles */
.beema-sakhi-intro {
    text-align: center;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.beema-sakhi-intro h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.stipend-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
}

ul, ol {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.cta {
    text-align: center;
    background: #f8f9fa;
    padding: 40px 20px;
}

.cta .btn-primary {
    margin-top: 20px;
}

strong {
    color: #2c3e50;
}

/* Office Locations Section */
.office-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.office-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.office-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.office-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.map-btn i {
    margin-right: 8px;
}

.map-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .office-card {
        padding: 15px;
    }

    .office-card h3 {
        font-size: 1rem;
    }

    .office-card p {
        font-size: 0.9rem;
    }

}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-float i {
    font-size: 1.8rem;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.whatsapp-float:hover {
    background: #128c7e;
    color: #fff;
    text-decoration: none;
}

/* Ripple effect for WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 1000;
    /* overflow: hidden; */ /* Remove this to allow ripple to go outside */
}
.whatsapp-float .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation var(--ripple-duration, 2.2s) linear;
    background-color: rgba(37, 211, 102, 0.4); /* WhatsApp green, semi-transparent */
    pointer-events: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0); /* Center the ripple */
}
@keyframes ripple-animation {
    to {
        transform: translate(-50%, -50%) scale(4.5); /* Centered and bigger */
        opacity: 0;
    }
}

/* Style for the sticky register button */
.sticky-register-button {
    position: fixed;
    left: 0px; /* Distance from the left */
    top: 50%; /* Center vertically */
    /* transform: translateY(-50%) rotate(90deg);
     Adjust for actual centering */
    transform: rotate(90deg) translateX(-25%) translateY(100%);
    background-color: #FFBA08; /* Bootstrap primary color */
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sticky-register-button:hover {
    background-color: #003087;
    color: white;
}

/* Style for the sticky call now button */
.sticky-call-button {
    position: fixed;
    right: 0px; /* Distance from the right */
    top: 50%; /* Center vertically */
    
    transform: translateY(-50%) translateX(30%) rotate(90deg); /* Adjust for actual centering */
    background-color: #28a745; /* Bootstrap success color */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sticky-call-button:hover {
    background-color: #003087;
    color: white;
}

/* Team Leader Section Styles */
.team-leader {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.leader-profile {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.leader-image {
    flex: 0 0 300px;
}

.leader-image .profile-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.leader-info {
    flex: 1;
}

.leader-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.leader-info .designation {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.leader-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.leader-description ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.leader-description li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .leader-profile {
        flex-direction: column;
    }
    
    .leader-image {
        flex: 0 0 100%;
    }
}

.agent-video {
    width: 320px;
    height: 320px;
    max-width: 100%;
    max-height: 100vw;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}



/*   Download Page     */
.DownloadTop {
    display: block;
    padding: 50px 80px;
  }
  .DownloadTop h1 {
    font-size: 2.5rem;
    margin: 0;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .container h1{
    font-size: 1.5rem;
  }
  @media (max-width: 768px) {
    .container h1 {
      font-size: 1.2rem;
    }
  }

  .page-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
  }
  
  .materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .material-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .material-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .card-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .materials-grid .material-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;  
    display: block;    
    margin: 0 auto 1rem;
  }
  
  .download-btn {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
  }
  
  .download-btn:hover {
    background: #e0a800;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .materials-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 15px;
    }
  
    .material-card {
      padding: 15px;
    }
  
    .page-title {
      font-size: 20px;
      margin-bottom: 20px;
    }
  }
  
  @media (max-width: 480px) {
    .materials-grid {
      grid-template-columns: 1fr;
      gap: 10px;
    }
  
    .material-card {
      padding: 15px;
    }
  
    body {
      padding: 10px;
    }
  
    .card-title {
      font-size: 14px;
      min-height: 40px;
    }
  }
  
  @media (max-width: 768px) {
    .leader-profile {
      flex-direction: column;
    }
  
    .leader-image {
      flex: 0 0 100%;
    }
  }