/* ======================================== CSS Styles ======================================== */
:root {
    --primary-green: #0bab64;
    --primary-light-green: #e0fbf6;
    --dark-blue: #0a2043;
    --dark-bg: #222;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #555;
    background-color: #fff;
    scroll-behavior: smooth;
    padding-top: 70px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-blue);
    font-weight: 600;
}

.section-padding {
    padding: 5rem 0;
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #088a50;
    border-color: #088a50;
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-outline-dark {
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background-color: var(--glass-bg) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 50px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-heavy);
    border-radius: 12px;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.hero-section {
    padding: 4rem 0 6rem 0;
    background: linear-gradient(135deg, var(--primary-light-green) 0%, #ffffff 70%);
}

.hero-section .display-5 {
    font-weight: 700;
}

.hero-image-blob {
    background-image: url('https://5.imimg.com/data5/SELLER/Default/2024/3/395016457/MT/NQ/LF/53389218/company-registration-consultancy-service-500x500.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin: auto;
    box-shadow: var(--shadow-heavy);
    animation: blobWiggle 8s ease-in-out infinite;
}

@keyframes blobWiggle {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 70% 30% 40%;
    }
}

.service-card {
    background-color: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon-new {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), #088a50);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-new {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(11, 171, 100, 0.4);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

#stats-section {
    background-color: var(--dark-blue);
    background-image: linear-gradient(135deg, var(--dark-blue) 0%, #0e2d5c 100%);
}

.stat-item h2 {
    color: var(--primary-green);
    font-weight: 700;
}

.stat-item p {
    color: #ccc;
    font-size: 1.1rem;
}

#testimonialSlider {
    padding-bottom: 4rem;
}

.testimonial-card {
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin: 0.5rem;
    height: 95%;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card h5 {
    color: var(--primary-green);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-green) !important;
}

.whatsapp-fab {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.2s ease;
    animation: pulse 2s infinite;
}

.whatsapp-fab:hover {
    color: white;
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--dark-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-green);
    color: white;
}

/* --- Mega Menu Visibility & Color Fix (Consolidated Block) --- */
.navbar-nav .dropdown-menu.mega-menu {
    background-color: #ffffff !important;
    color: #212529 !important;
    min-width: 900px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.navbar-nav .mega-menu h5 {
    color: #000000 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.mega-menu-list a {
    color: #343a40 !important;
    padding: 5px 0;
    display: block;
    font-size: 0.9rem;
    white-space: normal;
}

.mega-menu-list a:hover {
    color: #0d6efd !important;
    background-color: #f0f0f0; /* FIX: Changed from black/dark to light grey background for visibility */
}

footer {
    background-color: var(--dark-bg);
    background-image: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 100%);
    color: #ccc;
    padding-top: 5rem;
}

.footer-logo {
    background: #fff;
    padding: 0.75rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer ul li a {
    color: #ccc !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: var(--primary-green) !important; /* Dynamic: Changed hover color to primary green */
    transform: translateX(5px);
}

.social-icons-new a {
    color: #ccc;
    font-size: 1.1rem;
    border: 1px solid #555;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-icons-new a:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    transform: translateY(-3px);
}

.footer-form p {
    color: #ccc;
}

.footer-form .input-group {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

.footer-form .form-control {
    background-color: #3a3a3a;
    border: 1px solid #555;
    color: #fff;
    padding: 0.75rem 1rem;
}

.footer-form .form-control::placeholder {
    color: #aaa;
}

.footer-form .form-control:focus {
    background-color: #444;
    box-shadow: none;
    border-color: var(--primary-green);
    color: #fff;
}

.footer-form .btn-primary {
    border-radius: 0;
    padding: 0.75rem 1.25rem;
}

.footer-bottom {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 1.5rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer-bottom a {
    color: #aaa !important;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-green);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%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");
}

.image-promo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.image-promo-card img {
    width: 100%;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

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

.image-promo-card:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.promo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-card-overlay h5 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.promo-card-overlay .arrow-icon {
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-promo-card:hover .arrow-icon {
    transform: translateX(5px);
    background-color: var(--primary-green);
}

.service-heading {
    display: inline-block;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 0.5rem;
    margin-bottom: 3rem;
}

.service-card-diamond {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-card-diamond:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon-diamond {
    width: 70px;
    height: 70px;
    background-color: var(--primary-green);
    border-radius: 15px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-diamond i {
    transform: rotate(-45deg);
    font-size: 2.2rem;
    color: white;
}

.service-card-diamond .content {
    flex-grow: 1;
}

.service-card-diamond h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.about-section-image {
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

#hero-h1,
#hero-p {
    position: relative;
    min-height: 1.2em;
}

.typing-caret::after {
    content: '|';
    font-weight: 600;
    display: inline-block;
    animation: blink 0.7s infinite;
    color: var(--primary-green);
    position: relative;
    left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-section .btn {
    opacity: 0;
    transition: opacity 0.5s ease-in;
    pointer-events: none;
}

.hero-section .btn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Add slightly more formal heading font if desired */
/*
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
}
*/
.hero-image-blob {
    background-image: url('https://sujataassociates.com/images/slides/court-bg.jpg');
    /* UPDATED - Ensure this path is correct */
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin: auto;
    box-shadow: var(--shadow-heavy);
    animation: blobWiggle 8s ease-in-out infinite;
}

/* --- Service Card Hover Animation --- */

.service-card,
.service-card-diamond {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.dynamic-icon-wrapper {
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.2);
    transition: all 0.4s ease-in-out;
}

.dynamic-service-card{
    padding: 25px;
}

.dynamic-service-card:hover .dynamic-icon-wrapper {
    transform: rotate(48deg);
    border: 3px solid white;
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.3);
}

.dynamic-service-card:hover .dynamic-icon-wrapper i {
    font-size: 28px;
    transition: font-size 0.4s ease;
}

.dynamic-service-card .dynamic-icon-wrapper i {
    font-size: 24px;
    transition: font-size 0.4s ease;
}

/* --- Video Gallery Section Styling --- */

.video-gallery-section {
    position: relative;
    overflow: hidden;
}

.person-image-wrapper {
    position: relative;
    min-height: 450px;

    .person-image {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .video-card {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .video-card:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .video-card iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Media Query for smaller screens (Optional, for better look on mobile) */
    @media (max-width: 991px) {

        .person-image-wrapper {
            text-align: center;
            margin-bottom: 30px;
        }
    }

    .video-card {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .video-card:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .video-card iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* --- End of Video Gallery Section Styling --- */
@media (min-width: 1400px) {

    .col-lg-4 {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        width: 33.333333%;
    }
}


.dynamic-service-card:hover .dynamic-icon-wrapper {
    transform: rotate(48deg);
    border: 3px solid white;
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.3);
}

/* Fix: The "box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);" line here was misplaced/incomplete */


.dynamic-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Fix: Removed trailing slash */
}

.dynamic-service-card {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dynamic-icon-wrapper {
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.2);
    transition: all 0.4s ease-in-out;
}

.dynamic-service-card:hover .dynamic-icon-wrapper {
    transform: rotate(48deg);
    border: 3px solid white;
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.3);
}

.dynamic-service-card:hover .dynamic-icon-wrapper i {
    font-size: 28px;
    transition: font-size 0.4s ease;
}

.dynamic-service-card .dynamic-icon-wrapper i {
    font-size: 24px;
    transition: font-size 0.4s ease;
}

.dynamic-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Fix: The closing brace here was causing syntax issues. Removed it. */


/* --- End of Dynamic Service Card Styling --- */
/* --- Floating WhatsApp Button Style --- */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    /* WhatsApp Green */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        left: 15px;
    }
}

/* --- Client Logo Styling --- */
.client-logo {
    max-width: 100%;
    height: auto;
    opacity: 0.85 !important;
    transition: all 0.3s ease-in-out;
    min-height: 100px;
    max-height: 100px;
    filter: none !important;
    -webkit-filter: none !important;
    margin: 0 auto;
}

.col:hover .client-logo {
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1.05);
}

@media (min-width: 1200px) {
    .client-logo {
        max-height: 40px;
    }
}

/* --- New Footer Styling (Based on image_42de9e.png) --- */

.footer-dark-theme {
    background-color: #383c41;
    /* Dark Grey Background */
    color: #fff;
    font-family: Arial, sans-serif;
    /* Font style to match the image */
}

/* 1. Top Bar Styling (Contact Info) */
.footer-top-bar {
    background-color: #3d4147;
    /* Slightly lighter background for the top bar */
    padding: 10px 0;
    font-size: 0.9rem;
    color: #fff;
}

.top-bar-item {
    color: #fff;
}

.footer-top-bar i {
    color: #28a745;
    /* Green icons */
    font-size: 1rem;
}

/* 2. Main Content Styling */
.footer-main-content {
    padding: 50px 0;
}

.footer-logo-img {
    max-width: 150px;
    /* Adjust logo size */
    height: auto;
}

.footer-description {
    color: #b0b0b0;
    /* Light grey text */
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

/* Links List */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
    /* Optional: स्क्रीनशॉट जैसा तीर का निशान (arrow) */
    position: relative;
    padding-left: 15px;
}

.footer-list li::before {
    content: "▸";
    /* Unicode right triangle */
    color: #28a745;
    /* Green color for the arrow */
    font-size: 1.2rem;
    line-height: 1;
    position: absolute;
    left: 0;
    top: -1px;
}

.footer-list a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #28a745;
}

/* Email Subscription Form */
.footer-subscribe-form .form-control {
    background-color: #f8f9fa;
    /* Light background input */
    border: none;
    height: 40px;
}

.footer-subscribe-form .form-control::placeholder {
    color: #666;
}

.footer-subscribe-form .footer-submit-btn {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff;
    font-weight: 600;
    padding: 0 15px;
}

/* 3. Bottom Bar Styling */
.footer-bottom-bar {
    background-color: #303337;
    /* Slightly darker background */
    padding: 15px 0;
    border-top: 1px solid #404040;
    font-size: 0.85rem;
    color: #b0b0b0;
}

.footer-bottom-bar a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-bar a:hover {
    color: #28a745;
}

/* --- Client Logo Styling (Reiterated for clarity) --- */
.client-logo {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
    margin: 0 auto;
}

.item:hover .client-logo {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-logo-carousel .owl-nav {
    display: none;
}

/* --- Progress Bar Styling --- */

.skills-progress-section {
    padding: 20px 0;
}

.progress-item {
    margin-bottom: 25px;
}

.progress-title {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.progress-value {
    font-weight: 700;
    color: #555;
    font-size: 1rem;
}

.progress {
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 5px;
    transition: width 2s ease-in-out;
    background-color: #28a745 !important;
}

/* ====== Hero Section Styling (Screenshot 2025-10-22 132200.jpg के लिए) ====== */

/* Hero Section का हल्का ग्रेडिएंट बैकग्राउंड */
.hero-section {
    padding-top: 150px;
    /* Navbar के नीचे से शुरू करने के लिए */
    padding-bottom: 80px;
    /* हल्का नीला/हरा ग्रेडिएंट बैकग्राउंड */
    background: linear-gradient(90deg, #e9fff3 0%, #f6ffff 50%, #f8f8f8 100%);
    overflow: hidden;
    /* Blob को ठीक से रखने के लिए */
}

/* Hero Content Styling */
.hero-section h1 {
    font-weight: 700;
    color: #1a4d33;
    /* Dark green/black text */
}

.hero-section p.lead {
    color: #6c757d;
    font-size: 1.15rem;
}

/* Buttons */
.hero-section .btn-success {
    background-color: #28a745;
    /* Dark Green */
    border-color: #28a745;
}

.hero-section .btn-outline-success {
    color: #28a745;
    border-color: #28a745;
    transition: all 0.3s;
}

.hero-section .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}


/* Right Side Blob Image Styling */
.hero-image-blob {
    position: relative;
    width: 100%;
    height: 450px;
}

.hero-image-blob::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(10%, -50%);

    /* Blob Dimensions */
    width: 600px;
    height: 600px;

    /* White Blob Background */
    background-color: #fff;

    /* Blob Shape using border-radius */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ====== Scroll Progress Bar Styling ====== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: #28a745;
    z-index: 1050;
    transition: width 0.1s linear;
}

/* ====== Floating WhatsApp Button Styling ====== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-whatsapp-btn:hover {
    color: white;
    transform: scale(1.05);
}

/* Pulse Animation */
.whatsapp-pulse {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    /* The animation itself */
    animation: whatsapp-pulse-anim 2s infinite;
}

@keyframes whatsapp-pulse-anim {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ====== Hero Section Styling (Screenshot 2025-10-22 132200.jpg के लिए) ====== */

/* Hero Section का हल्का ग्रेडिएंट बैकग्राउंड */
.hero-section {
    padding-top: 150px;
    /* Navbar के नीचे से शुरू करने के लिए */
    padding-bottom: 80px;
    background: linear-gradient(90deg, #e9fff3 0%, #f6ffff 50%, #f8f8f8 100%);
    overflow: hidden;
}

/* Hero Content Styling (पहले जैसा) */
.hero-section h1 {
    font-weight: 700;
    color: #1a4d33;
}

.hero-section p.lead {
    color: #6c757d;
    font-size: 1.15rem;
}

/* Buttons (पहले जैसा) */
.hero-section .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.hero-section .btn-outline-success {
    color: #28a745;
    border-color: #28a745;
    transition: all 0.3s;
}

.hero-section .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}


/* Right Side Blob Styling */
.hero-image-blob {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-blob::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 550px;
    height: 550px;

    background-color: #fff;
    /* White Blob Background */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.blob-content-image {
    position: relative;
    z-index: 2;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transform: translateY(-20px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-image-blob {
        height: 350px;
        /* Smaller height on smaller screens */
    }

    .hero-image-blob::before {
        width: 400px;
        height: 400px;
        transform: translate(-50%, -50%);
        /* Adjust transform for center */
    }

    .blob-content-image {
        max-width: 90%;
        max-height: 90%;
        transform: translateY(-10px);
        /* Adjust for smaller blob */
    }
}

@media (max-width: 767px) {
    .hero-image-blob {
        height: 250px;
        /* Even smaller height for mobile */
    }

    .hero-image-blob::before {
        width: 300px;
        height: 300px;
    }

    .blob-content-image {
        max-width: 95%;
        max-height: 95%;
        transform: translateY(-5px);
    }
}

/* ---------------------------------------- Service Detail Page Styling (AS IT IS) ---------------------------------------- */

/* Page Header Section */
.page-header-section {
    position: relative;
    background-size: cover;
    background-position: center;
    /* Dark overlay for text visibility */
    box-shadow: inset 0 0 0 1000px rgba(3, 87, 7, 0.992);
}

.page-header-section h1 {
    color: white !important;
    font-weight: 700;
}

.page-header-section .breadcrumb-item a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.page-header-section .breadcrumb-item.active {
    color: white;
}


/* IT Act Sections Card Styling */
.it-act-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.it-act-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.it-act-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.it-act-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.it-act-body p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}


/* Why Choose Us Point Styling */
.choose-us-point {
    background-color: #f8f8f8;
    padding: 1.25rem;
    border-left: 5px solid var(--primary-green);
    border-radius: 5px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.choose-us-point:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.choose-us-point i {
    font-size: 1.5rem;
}

.choose-us-point h5 {
    display: inline;
    color: var(--dark-blue);
    font-weight: 600;
}

.choose-us-point p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Sidebar Styling */
.sidebar-box {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.sidebar-box h4 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-light-green);
    padding-bottom: 10px;
}

.sidebar-box.service-links li a {
    display: block;
    padding: 8px 0;
    color: #555;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    font-weight: 500;
}

.sidebar-box.service-links li a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.sidebar-box.service-links li a i {
    font-size: 0.8rem;
}

.sidebar-box.contact-cta {
    background-color: var(--primary-green);
    color: white;
    box-shadow: var(--shadow-heavy);
}

.sidebar-box.contact-cta h4 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-box.contact-cta p {
    color: #eee;
    margin-bottom: 1rem;
}

/* ---------------------------------------- New General Content Card Style ---------------------------------------- */

.content-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Ensure the top border is visible when we add pt-4/mt-5 to the content-card */
.content-card.mt-5.pt-4 {
    border-top: 1px solid #eee !important;
}

/* ---------------------------------------- Contact Details Styling ---------------------------------------- */

.contact-details-inline p {
    font-size: 1rem;
    color: var(--dark-blue);
    font-weight: 500;
}

/* ======================================== IT Act Card Styling ======================================== */

.it-act-card {
    display: flex;
    /* Icon aur text ko side-by-side rakhta hai */
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--primary-light-green);
    /* Halka border */
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    /* Smooth hover effect */
}

.it-act-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    /* Upar uthne ka chota sa effect */
    border-color: var(--primary-green);
    /* Hover par border highlight */
}

.it-act-icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-green);
    background-color: var(--primary-light-green);
    padding: 0.8rem;
    border-radius: 6px;
    line-height: 1;
}

.it-act-body .it-act-title {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.it-act-body p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}


/* ======================================== Why Choose Us Mini-Card Styling ======================================== */

.choose-us-point {
    background-color: var(--primary-light-green);
    /* Halka green background */
    border-left: 5px solid var(--primary-green);
    /* Left side par green highlight */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    /* Card height barabar rakhne ke liye */
}

.choose-us-point:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    /* Hover par upar uthta hua effect */
    background-color: #fff;
    /* Hover par white background */
}

.choose-us-point h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    display: inline;
}

.choose-us-point i {
    font-size: 1.25rem;
    vertical-align: middle;
}

.choose-us-point p {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #555;
}

/* ======================================== General Card & Section Styles (Pehle Wale) ======================================== */

.content-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content-card.mt-5.pt-4 {
    border-top: 1px solid #eee !important;
}

/* ---------------------------------------- IT Act Card Styling ---------------------------------------- */

.it-act-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--primary-light-green);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.it-act-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--primary-green);
}

.it-act-icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-green);
    background-color: var(--primary-light-green);
    padding: 0.8rem;
    border-radius: 6px;
    line-height: 1;
}

.it-act-body .it-act-title {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.it-act-body p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}

/* ---------------------------------------- Why Choose Us Mini-Card Styling ---------------------------------------- */

.choose-us-point {
    background-color: var(--primary-light-green);
    border-left: 5px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.choose-us-point:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    background-color: #fff;
}

.choose-us-point h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    display: inline;
}

.choose-us-point i {
    font-size: 1.25rem;
    vertical-align: middle;
}

.choose-us-point p {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #555;
}

/* ---------------------------------------- Contact Details Styling ---------------------------------------- */

.contact-details-inline p {
    font-size: 1rem;
    color: var(--dark-blue);
    font-weight: 500;
}


/* ======================================== New: Responsive Video Card Styling ======================================== */

.responsive-video-container {
    position: relative;
    width: 100%;
    /* 16:9 Aspect Ratio maintain karta hai */
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Card ko thoda compact look dene ke liye */
.video-card {
    padding-bottom: 1.5rem;
}

/* ---------------------------------------- Top Bar & Mega Menu Fixes ---------------------------------------- */

/* --- Top Bar Black Background Fix (Previous conflicting lines removed) --- */
.top-bar {
    /* Pure black/Dark Grey background */
    background-color: #212529;
}

.top-bar .fs-6 {
    color: #ffffff;
}

.top-bar a {
    color: #f8f9fa !important;
}

.top-bar i {
    color: #f8f9fa !important;
}

.top-bar span.mx-2 {
    color: #f8f9fa;
}

/* --- Mega Menu Visibility & Color Fix (Conflicting blocks replaced with consolidated fix) --- */
.navbar-nav .mega-menu {
    /* Ensures background is light and text is dark for the whole dropdown area */
    background-color: #ffffff;
    color: #212529;

    /* Ensure sizing is correct */
    min-width: 900px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Re-applying the explicit Mega Menu Heading color fix */
.mega-menu h5 {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Re-applying the explicit Mega Menu Link color fix */
.mega-menu-list a {
    /* Link text color should be dark */
    color: #343a40 !important;
    padding: 5px 0;
    display: block;
    font-size: 0.9rem;
    white-space: normal;
}

.mega-menu-list a:hover {
    color: #0d6efd !important;
    background-color: #f0f0f0; /* FIX: Changed from dark #0c0c0c to light grey for visibility */
}

/* ======================================== New Dynamic Enhancements ======================================== */

/* Global Smooth Transitions for Links and Interactive elements */
a {
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hero Section Subtle Background Animation (Slow, smooth color shifting) */
@keyframes heroBackgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section {
    /* Overrides existing background: linear-gradient(90deg, #e9fff3 0%, #f6ffff 50%, #f8f8f8 100%); */
    background-size: 300% 300%;
    animation: heroBackgroundShift 20s ease infinite;
}

/* Button Press Effect (Click animation) */
.btn-primary:active {
    transform: scale(0.98) translateY(-1px) !important;
    box-shadow: 0 0 0 0.25rem rgba(11, 171, 100, 0.5) !important;
}

/* ======================================== USER REQUESTED ENHANCEMENTS ======================================== */

/* ---------------------------------------- Slider/Hero Fix ---------------------------------------- */

/* myHeroSlider के लिए स्टाइलिंग। hero-section अब पैडिंग के साथ कंटेनर के रूप में काम करेगा। */
.hero-section {
    /* Existing padding को बनाए रखता है (4rem 0 6rem 0) */
    position: relative; 
    overflow: hidden;
    /* सुनिश्चित करें कि Hero-section एक पैडिंग के साथ कंटेनर रहे */
    padding: 4rem 0 6rem 0; 
}

.myHeroSlider {
    width: 100%;
    height: 100%;
}

/* Swiper Navigation/Pagination Styling */
.myHeroSlider .swiper-button-next,
.myHeroSlider .swiper-button-prev {
    color: var(--primary-green);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.myHeroSlider .swiper-button-next:hover,
.myHeroSlider .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.2);
}

.myHeroSlider .swiper-pagination-bullet-active {
    background: var(--primary-green);
}

/* ---------------------------------------- Pop-up Modal Styling ---------------------------------------- */

.pop-from-modal {
    animation: popFrom 0.5s ease-out;
}

@keyframes popFrom {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

#promotionModal .modal-content {
    border-radius: 1rem;
    box-shadow: var(--shadow-heavy);
    border: none;
}

#promotionModal .modal-header {
    border-bottom: none;
}

#promotionModal .modal-title {
    color: var(--primary-green);
    font-weight: 600;
}


/* ---------------------------------------- Chatbot Styling ---------------------------------------- */

.chatbot-fab {
    position: fixed;
    bottom: 100px; /* WhatsApp FAB (25px) से ऊपर रखें */
    right: 25px;
    background-color: var(--dark-blue);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-fab:hover {
    background-color: var(--primary-green);
    transform: scale(1.05);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 100px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-heavy);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Default Hidden State */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s ease-out;
    transform-origin: bottom right;
}

.chatbot-window.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.chatbot-header {
    background-color: var(--dark-blue);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h6 {
    color: white;
    margin: 0;
    font-weight: 500;
}

.chatbot-header .btn-close {
    filter: invert(1); /* White close button */
    opacity: 1;
}

.chatbot-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    background-color: #f7f7f7;
}

.chatbot-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background-color: #fff;
}

.chatbot-footer .form-control {
    flex-grow: 1;
    border-radius: 50px;
}

.chatbot-footer .btn-primary {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Fix for Chatbot */
@media (max-width: 576px) {
    .chatbot-window {
        width: 90%;
        height: 80%;
        bottom: 20px;
        right: 20px;
    }
    .chatbot-fab {
        right: 20px;
    }
}
#chatbotWindow {
            position: fixed;
            bottom: 80px; /* Space above the FAB */
            right: 20px;
            width: 300px;
            height: 400px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            display: none; /* Hidden by default */
            flex-direction: column;
            overflow: hidden;
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            transform: translateY(10px);
            opacity: 0;
        }

        /* Visibility control via JS */
        #chatbotWindow.visible {
            display: flex;
            transform: translateY(0);
            opacity: 1;
        }

        /* The floating action button (FAB) */
        #chatbotFab {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #007bff; /* Primary color */
            color: white;
            border: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        /* Chat header styling */
        .chatbot-header {
            background-color: #007bff;
            color: white;
            padding: 10px;
            border-radius: 10px 10px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Chat body (messages area) */
        .chatbot-body {
            flex-grow: 1;
            padding: 10px;
            overflow-y: auto;
            background-color: #f8f9fa; /* Light background for chat area */
        }

        /* Chat message styling */
        .chat-message {
            max-width: 85%;
            padding: 8px 12px !important;
            margin-bottom: 8px !important;
            border-radius: 15px;
            font-size: 0.9rem;
            line-height: 1.4;
            display: table; /* Makes the p element fit content */
            word-wrap: break-word;
        }

        /* User messages (Bootstrap alert-primary) */
        .alert-primary {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
            margin-left: auto !important;
            margin-right: 10px !important;
        }

        /* Bot messages (Bootstrap alert-secondary) */
        .alert-secondary {
            background-color: #e9ecef;
            color: #212529;
            border-color: #e9ecef;
            margin-right: auto !important;
            margin-left: 10px !important;
        }
        
        /* Input area styling */
        .chatbot-footer {
            padding: 10px;
            border-top: 1px solid #ccc;
            display: flex;
            align-items: center;
        }
        
        .chatbot-footer input {
            flex-grow: 1;
            border-radius: 20px;
            padding: 8px 15px;
            margin-right: 5px;
            border: 1px solid #ced4da;
        }

        .chatbot-footer button {
            border-radius: 50%;
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        /* ======================================== CSS Styles ======================================== */
:root {
    --primary-green: #0bab64;
    --primary-light-green: #e0fbf6;
    --dark-blue: #0a2043;
    --dark-bg: #222;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #555;
    background-color: #fff;
    scroll-behavior: smooth;
    padding-top: 70px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-blue);
    font-weight: 600;
}

.section-padding {
    padding: 5rem 0;
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #088a50;
    border-color: #088a50;
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-primary:active {
    transform: scale(0.98) translateY(-1px) !important;
    box-shadow: 0 0 0 0.25rem rgba(11, 171, 100, 0.5) !important;
}

.btn-outline-dark {
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background-color: var(--glass-bg) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 50px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-heavy);
    border-radius: 12px;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

/* ---------------------------------------- Hero Section ---------------------------------------- */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    /* Animated Background */
    background: linear-gradient(90deg, #e9fff3 0%, #f6ffff 50%, #f8f8f8 100%);
    background-size: 300% 300%;
    animation: heroBackgroundShift 20s ease infinite;
    overflow: hidden;
    position: relative;
}

@keyframes heroBackgroundShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-section h1 {
    font-weight: 700;
    color: #1a4d33;
}

.hero-section p.lead {
    color: #6c757d;
    font-size: 1.15rem;
}

.hero-section .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.hero-section .btn-outline-success {
    color: #28a745;
    border-color: #28a745;
    transition: all 0.3s;
}

.hero-section .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

.hero-section .btn {
    opacity: 0;
    transition: opacity 0.5s ease-in;
    pointer-events: none;
}

.hero-section .btn.visible {
    opacity: 1;
    pointer-events: auto;
}

#hero-h1,
#hero-p {
    position: relative;
    min-height: 1.2em;
}

.typing-caret::after {
    content: '|';
    font-weight: 600;
    display: inline-block;
    animation: blink 0.7s infinite;
    color: var(--primary-green);
    position: relative;
    left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Right Side Blob Styling */
.hero-image-blob {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://sujataassociates.com/images/slides/court-bg.jpg');
    background-size: cover;
    background-position: center;
    max-width: 450px;
    height: 450px;
    margin: auto;
    box-shadow: var(--shadow-heavy);
    animation: blobWiggle 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

@keyframes blobWiggle {
    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 70% 30% 40%;
    }
}

/* ---------------------------------------- Service Cards ---------------------------------------- */

.service-card {
    background-color: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon-new {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), #088a50);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-new {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(11, 171, 100, 0.4);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card-diamond {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border: none;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-card-diamond:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon-diamond {
    width: 70px;
    height: 70px;
    background-color: var(--primary-green);
    border-radius: 15px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-diamond i {
    transform: rotate(-45deg);
    font-size: 2.2rem;
    color: white;
}

.service-card-diamond .content {
    flex-grow: 1;
}

.service-card-diamond h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.dynamic-service-card {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dynamic-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dynamic-icon-wrapper {
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.2);
    transition: all 0.4s ease-in-out;
}

.dynamic-service-card:hover .dynamic-icon-wrapper {
    transform: rotate(48deg);
    border: 3px solid white;
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.3);
}

.dynamic-service-card:hover .dynamic-icon-wrapper i {
    font-size: 28px;
    transition: font-size 0.4s ease;
}

.dynamic-service-card .dynamic-icon-wrapper i {
    font-size: 24px;
    transition: font-size 0.4s ease;
}

/* ---------------------------------------- Stats Section ---------------------------------------- */

#stats-section {
    background-color: var(--dark-blue);
    background-image: linear-gradient(135deg, var(--dark-blue) 0%, #0e2d5c 100%);
}

.stat-item h2 {
    color: var(--primary-green);
    font-weight: 700;
}

.stat-item p {
    color: #ccc;
    font-size: 1.1rem;
}

/* ---------------------------------------- Testimonial Section ---------------------------------------- */

#testimonialSlider {
    padding-bottom: 4rem;
}

.testimonial-card {
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin: 0.5rem;
    height: 95%;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card h5 {
    color: var(--primary-green);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-green) !important;
}

/* ---------------------------------------- Mega Menu Styles ---------------------------------------- */

/* Mega Menu Dropdown Styling */
.navbar-nav .dropdown-menu.mega-menu-dropdown { 
    background-color: #ffffff;
    color: var(--dark-blue);
    min-width: 600px; /* Mega Menu Width */
    padding: 20px;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    box-shadow: var(--shadow-heavy);
    border-radius: 12px;
}

/* Mobile Fix: Make it full width on small screens */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu.mega-menu-dropdown {
        width: 100%;
        min-width: unset;
        left: 0;
        transform: translateX(0);
        position: relative; 
        box-shadow: none;
        padding: 10px;
    }
}

/* Header Styling within the Mega Menu */
.mega-menu-dropdown .dropdown-header {
    font-weight: 700;
    color: var(--primary-green) !important; 
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 0 1rem;
}

/* Link Styling within the Mega Menu */
.mega-menu-dropdown .dropdown-item {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    color: var(--dark-blue);
    border-radius: 8px;
}

/* Link Hover Effect */
.mega-menu-dropdown .dropdown-item:hover {
    background-color: var(--primary-light-green);
    color: var(--primary-green) !important;
}

/* ---------------------------------------- Footer Styles ---------------------------------------- */
footer {
    background-color: var(--dark-bg);
    background-image: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 100%);
    color: #ccc;
    padding-top: 5rem;
}

.footer-logo {
    background: #fff;
    padding: 0.75rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer ul li a {
    color: #ccc !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: var(--primary-green) !important;
    transform: translateX(5px);
}

.social-icons-new a {
    color: #ccc;
    font-size: 1.1rem;
    border: 1px solid #555;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-icons-new a:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 1.5rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer-bottom a {
    color: #aaa !important;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff !important;
}

/* ---------------------------------------- Footer Dark Theme (Alternate) ---------------------------------------- */

.footer-dark-theme {
    background-color: #383c41;
    color: #fff;
    font-family: Arial, sans-serif;
}

.footer-top-bar {
    background-color: #3d4147;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #fff;
}

.footer-top-bar i {
    color: #28a745;
    font-size: 1rem;
}

.footer-list li::before {
    content: "▸";
    color: #28a745;
    font-size: 1.2rem;
    line-height: 1;
    position: absolute;
    left: 0;
    top: -1px;
}

.footer-list a:hover {
    color: #28a745;
}

.footer-bottom-bar {
    background-color: #303337;
    padding: 15px 0;
    border-top: 1px solid #404040;
    font-size: 0.85rem;
    color: #b0b0b0;
}

.footer-bottom-bar a:hover {
    color: #28a745;
}

/* ---------------------------------------- Floating Buttons (FABs) ---------------------------------------- */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--dark-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-green);
    color: white;
}

/* Pulse Animation */
@keyframes whatsapp-pulse-anim {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ---------------------------------------- Chatbot Styles ---------------------------------------- */

#chatbotWindow {
    position: fixed;
    bottom: 80px; /* Space above the FAB */
    right: 20px;
    width: 300px;
    height: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform: translateY(10px);
    opacity: 0;
}

/* Visibility control via JS */
#chatbotWindow.visible {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

/* The floating action button (FAB) */
#chatbotFab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff; /* Primary color */
    color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Chat header styling */
.chatbot-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Chat body (messages area) */
.chatbot-body {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #f8f9fa; /* Light background for chat area */
}

/* Chat message styling */
.chat-message {
    max-width: 85%;
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    display: table; /* Makes the p element fit content */
    word-wrap: break-word;
}

/* User messages (Bootstrap alert-primary) */
.alert-primary {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    margin-left: auto !important;
    margin-right: 10px !important;
}

/* Bot messages (Bootstrap alert-secondary) */
.alert-secondary {
    background-color: #e9ecef;
    color: #212529;
    border-color: #e9ecef;
    margin-right: auto !important;
    margin-left: 10px !important;
}

/* Input area styling */
.chatbot-footer {
    padding: 10px;
    border-top: 1px solid #ccc;
    display: flex;
    align-items: center;
}

.chatbot-footer input {
    flex-grow: 1;
    border-radius: 20px;
    padding: 8px 15px;
    margin-right: 5px;
    border: 1px solid #ced4da;
}

.chatbot-footer button {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Fix for Chatbot */
@media (max-width: 576px) {
    .chatbot-window {
        width: 90%;
        height: 80%;
        bottom: 20px;
        right: 20px;
    }
    .chatbot-fab {
        right: 20px;
    }
}

/* ---------------------------------------- Other Utility Styles ---------------------------------------- */

.service-heading {
    display: inline-block;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 0.5rem;
    margin-bottom: 3rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-green);
    color: white;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%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");
}

.content-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.choose-us-point {
    background-color: var(--primary-light-green);
    border-left: 5px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.choose-us-point:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    background-color: #fff;
}

.it-act-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--primary-light-green);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.it-act-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--primary-green);
}

.it-act-icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-green);
    background-color: var(--primary-light-green);
    padding: 0.8rem;
    border-radius: 6px;
    line-height: 1;
}

.responsive-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 768px) {
    body {
        padding-top: 60px; 
    }
}
/* ======================================== Mobile Menu Fixes ======================================== */

/* 1. Ensure Dropdowns (Mega Menus) take full width on mobile */
@media (max-width: 991.98px) {
    /* Target all dropdown menus inside the mobile collapsed navbar */
    .navbar-collapse .dropdown-menu {
        /* Remove Bootstrap's default margin on mobile */
        margin-top: 0 !important;
        
        /* Make it full width for better readability */
        width: 100%; 
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        background-color: #f8f9fa; /* Light background for visibility */
    }
    
    /* 2. Fix for Mega Menu columns on mobile */
    .mega-menu-dropdown .row,
    .mega-menu .container-fluid .row {
        /* Remove column-based layout on mobile, so content stacks vertically */
        display: block !important; 
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 3. Fix for inner columns within Mega Menus */
    .mega-menu-dropdown .col-md-6 {
        width: 100%;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #eee; /* Separator for better readability */
    }

    /* 4. Dropdown Headers style */
    .mega-menu-dropdown .dropdown-header {
        padding: 0.5rem 1rem;
        font-weight: 700;
        color: var(--primary-green); /* Use your primary color */
        margin-top: 0.5rem;
    }
    
    /* 5. Dropdown items padding adjustment */
    .navbar-collapse .dropdown-item {
        padding: 0.5rem 1.5rem;
    }

    /* 6. Ensure the main Nav Links fill the space (optional visual improvement) */
    .navbar-collapse .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .navbar-collapse .nav-link {
        padding-left: 1.5rem;
    }
}
/* Ensure the Mega Menu is wide enough on desktop */

.mega-menu {

    /* Set a custom wide width for desktop */

    width: 900px; 

    max-width: none;

    /* Center the menu under its link (approximate for large navbar) */

    left: 50%; 

    transform: translateX(-50%); 

    padding: 20px;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}



/* Styling for the content inside the Mega Menu */

.mega-menu h5 {

    color: var(--primary-green, #0bab64); /* Use your primary color */

    font-weight: 600;

    border-bottom: 1px solid #eee;

    padding-bottom: 5px;

    margin-bottom: 10px;

}



.mega-menu ul {

    list-style: none; /* Remove bullet points */

    padding-left: 0;

    margin-bottom: 1rem;

}



.mega-menu ul li a {

    display: block;

    padding: 5px 0;

    color: #555;

    text-decoration: none;

    font-size: 14px;

    transition: color 0.2s;

}



.mega-menu ul li a:hover {

    color: var(--primary-green, #0bab64);

}                                                                                                                                                                                                       @media (max-width: 991.98px) {

    /* Mobile/Tablet Fixes */

    

    /* 1. Mega Menu ko full-width aur clean banao */

    .navbar-collapse .dropdown-menu.mega-menu {

        width: 100%; 

        left: 0;

        transform: none; /* Remove desktop centering */

        padding: 0;

        border: none;

        box-shadow: none;

        /* Ensure dropdowns take full viewport width */

        max-width: 100vw;

    }

    

    /* 2. Remove padding from inner structure */

    .mega-menu .container-fluid {

        padding: 0;

    }

    

    /* 3. Har column ko mobile par alag karo */

    .mega-menu .row > div {

        padding: 15px 20px; /* Add some vertical space */

        border-bottom: 1px solid #eee;

    }

    

    /* 4. Last column se border hatao */

    .mega-menu .row > div:last-child {

        border-bottom: none;

    }

}
/* Add this to your style.css if the menu doesn't look wide enough */
.mega-menu {
    width: 750px; /* Adjust width as needed for 3 columns */
    max-width: none;
    left: 50%; /* Center the menu */
    transform: translateX(-50%);
    padding: 20px;
}

/* To fix the list item styling inside the mega menu */
.mega-menu ul {
    list-style: none;
    padding-left: 0;
}
.mega-menu li .dropdown-item {
    padding: 0.25rem 1rem;
    font-size: 0.95rem;
}
/* ======================================== Mega Menu Fixes ======================================== */

/* Mega menu ko wide aur centered banata hai */
.mega-menu {
    width: 900px; /* Mega Menu ki chaurai (width) badhayein */
    max-width: none;
    left: 50% !important; /* Menu ko centre position mein rakhta hai */
    transform: translateX(-50%); /* Menu ko uske size ke hisaab se center karta hai */
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-heavy); /* Achcha shadow deta hai */
}

/* Ensure columns stack correctly on smaller screens */
@media (max-width: 992px) {
    .mega-menu {
        width: 300px; /* Mobile par default chaurai */
        left: 0 !important;
        transform: none;
    }
}

/* Custom styling for readability */
.mega-menu h6.dropdown-header {
    font-weight: 700 !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
    color: var(--dark-blue) !important;
}

.mega-menu ul {
    list-style: none;
    padding-left: 0;
}

.mega-menu li .dropdown-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
    color: #555;
    transition: color 0.2s;
}

.mega-menu li .dropdown-item:hover {
    color: var(--primary-green);
    background-color: transparent;
}
/* ======================================== Mega Menu Fixes (UPDATED FOR 4 COLUMNS) ======================================== */

.mega-menu {
    /* Width increased to 1000px for 4 columns */
    width: 1000px; 
    max-width: none;
    left: 50% !important; /* Menu ko center position par rakhta hai */
    transform: translateX(-50%); 
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
}

/* Ensure columns stack correctly on smaller screens */
@media (max-width: 992px) {
    .mega-menu {
        width: 300px; /* Tablet/Mobile par default chaurai */
        left: 0 !important;
        transform: none;
    }
}

/* General Mega Menu styling for header and links (Keep this as well) */
.mega-menu h6.dropdown-header {
    font-weight: 650 !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
    color: var(--dark-blue) !important;
}

.mega-menu ul {
    list-style: none;
    padding-left: 0;
}

.mega-menu li .dropdown-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
    color: #555;
    transition: color 0.2s;
}

.mega-menu li .dropdown-item:hover {
    color: var(--primary-green);
    background-color: transparent;
}

/*Feature Box*/
    .feature-box {
      border: none;
      border-radius: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-decoration: none;
      color: inherit;
      display: block;
      background-color: #fff;
    }

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

    .feature-box img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .feature-box .card-body {
      text-align: left;
      padding: 20px;
    }

    .feature-box h5 {
      font-weight: 700;
      margin-bottom: 8px;
    }

    .feature-box p {
      color: #666;
      font-size: 0.95rem;
      margin: 0;
    }
    
     section.feature-section {
      padding: 60px 10%;
      background-color: #f8f9fa;
    }
    
/*Blogs*/
    .blog-card {
      transition: all 0.3s ease-in-out;
      background: #fff;
    }
    
    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
    
    .blog-card img {
      transition: transform 0.4s ease;
    }
    
    .blog-card:hover img {
      transform: scale(1.05);
    }
    
    .read-more {
      text-decoration: none;
      transition: color 0.3s;
    }
    
    .read-more:hover {
      color: #198754;
    }

/*Media Recoginition*/
    .media-section {
      background: #fff;
      text-align: center;
      padding: 60px 0;
      overflow: hidden;
      position: relative;
    }

    .media-section h6 {
      text-transform: uppercase;
      letter-spacing: 2px;
      color: #ff6600;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .media-section h2 {
      font-weight: 700;
      margin-bottom: 40px;
    }

    .logo-slider {
      display: flex;
      width: max-content;
      animation: scroll 25s linear infinite;
      gap: 60px;
    }

    .logo-slider img {
      height: 60px;
      object-fit: contain;
      transition: transform 0.3s ease;
    }

    .logo-slider img:hover {
      transform: scale(1.1);
    }

    @keyframes scroll {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-50%);
      }
    }

    /* Make sure it loops smoothly */
    .slider-wrapper {
      display: flex;
      width: 200%;
    }
    
    
    .expert-card {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
    }

    .expert-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    }

    .expert-info {
      display: flex;
      align-items: center;
      gap: 15px;
      flex: 1;
    }

    .expert-info img {
      width: 55px;
      height: 55px;
      object-fit: contain;
    }

    .expert-text h5 {
      font-weight: 700;
      margin-bottom: 4px;
      font-size: 1.05rem;
    }

    .expert-text p {
      margin: 0;
      font-size: 0.92rem;
      color: #555;
    }

    .arrow-icon {
      font-size: 1.3rem;
      color: #888;
      transition: color 0.2s;
    }

    .expert-card:hover .arrow-icon {
      color: #000;
    }

    @media (max-width: 768px) {
      .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
      }
    }
    
/* ---------------------------------------- End of Fixes ---------------------------------------- */