/* Hover effect for cards */
.hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15) !important;
}

.hover-effect:hover .card-body {
    border-color: #ff751f;
}

.object-fit-cover {
    object-fit: cover;
}

/* Hover effects for news and events */
.news-list .border-bottom:hover,
.events-list .border-bottom:hover {
    background-color: rgba(203, 49, 2, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Scroll */
.events-list {
    max-height: 550px;
    overflow-y: auto;
    padding-right: 5px;
}

.events-list::-webkit-scrollbar {
    width: 4px;
}

.events-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.events-list::-webkit-scrollbar-thumb {
    background: #cb3102;
    border-radius: 10px;
}

/* ========================= */
/* MOBILE HEADER FIXES ONLY  */
/* ========================= */

@media (max-width: 768px) {

    /* Fix logo overflow */
    .header-logo img {
        max-width: 100px !important;
        height: auto !important;
    }

    /* Align header properly */
    #header .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 10px !important;
    }

    #header .header-row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #header .header-column:first-child {
        flex: 1;
    }

    #header .header-column:last-child {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-btn-collapse-nav {
        margin: 0;
    }

    /* Fix top bar (hide email, center phone) */
    .header-top {
        padding: 5px 0;
        text-align: center;
    }

    .header-top .header-row {
        justify-content: center !important;
    }

    .header-top .nav-pills {
        justify-content: center;
    }

    .header-top .nav-item {
        font-size: 12px;
    }

    .header-top .nav-item:nth-child(2) {
        display: none !important;
    }
}

/* ========================= */
/* EXISTING STYLES (UNCHANGED) */
/* ========================= */

@media (max-width: 768px) {
    .events-list {
        max-height: none;
        overflow-y: visible;
    }

    .header-nav-features-search {
        display: none;
    }

    .header-nav .btn-modern {
        display: none !important;
    }

    .header-container {
        padding: 10px 0;
    }
}

/* Hamburger */
.header-btn-collapse-nav {
    background: linear-gradient(135deg, #cb3102, #ff751f) !important;
    border: none !important;
    border-radius: 8px !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-btn-collapse-nav:hover {
    background: linear-gradient(135deg, #b02b02, #e6681a) !important;
    transform: scale(1.05);
}

.header-btn-collapse-nav i {
    color: #ffffff;
    font-size: 18px;
}

/* Mobile Menu */
@media (max-width: 991px) {
    .header-nav-main nav {
        background: #fff9ef;
        border-radius: 12px;
        padding: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .header-nav-main nav ul li {
        border-bottom: 1px solid rgba(203, 49, 2, 0.1);
    }

    .header-nav-main nav ul li:last-child {
        border-bottom: none;
    }

    .header-nav-main nav ul li a {
        padding: 12px 15px;
        display: block;
        color: #4a3b2a;
        font-weight: 500;
    }

    .mobile-join-btn {
        display: block !important;
        margin-top: 15px;
        padding: 12px 20px;
        background: linear-gradient(135deg, #cb3102, #ff751f);
        color: #ffffff;
        text-align: center;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 14px;
    }

    .header-nav .d-xl-block {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-join-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #header .header-container {
        min-height: 60px !important;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    #header .header-row {
        min-height: 60px !important;
    }
}

@media (max-width: 768px) {
    .about-hero {
        margin-top: 70px;
        min-height: 350px;
    }
}

/* Rectangle image styling for cards */
.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.card .overflow-hidden {
    overflow: hidden;
    border-radius: 12px;
}

.card .overflow-hidden img {
    transition: transform 0.3s ease;
}

.card:hover .overflow-hidden img {
    transform: scale(1.05);
}

/* Reduce spacing around dividers */
.section+.decorative-divider,
.decorative-divider {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove extra margin from the divider rows */
.row.mt-5.pt-4 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Reduce padding between sections */
.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section:first-of-type {
    padding-top: 0;
}

.section:last-of-type {
    padding-bottom: 0;
}

/* For the decorative bottom elements after sections */
.row.mt-5.pt-4 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Specific fix for the dividers */
.row .d-inline-flex.gap-3 {
    margin: 0;
}

.row.mt-5.pt-4 .d-inline-flex.gap-3 {
    margin: 0;
}

/* Adjust the container spacing */
.container.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove extra padding from section containers */
.section .container.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Adjust section padding for better spacing */
.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Fix for hero section on about page */
.about-hero {
    margin-top: 0;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: 70px;
    }
}

/* Ensure header doesn't overlap content */
#header {
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff9e1;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 0;
}

/* For all hero sections */
.about-hero,
.action-hero,
.contact-hero {
    position: relative;
    z-index: 1;
}

/* Center and enlarge image */
.position-relative {
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-relative .position-relative {
    width: 100%;
}

/* Make image larger while maintaining aspect ratio */
.position-relative img {
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Adjust container height for larger image */
.position-relative .d-flex {
    min-height: 480px;
}

@media (max-width: 768px) {
    .position-relative .d-flex {
        min-height: 350px;
    }

    .position-relative img {
        max-width: 85%;
    }

    .position-relative {
        max-width: 450px !important;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .position-relative .d-flex {
        min-height: 300px;
    }

    .position-relative img {
        max-width: 80%;
    }
}

/* Carousel Dots Styling */
.owl-carousel .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #e0d5c8;
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #cb3102;
    width: 12px;
    height: 12px;
}

.owl-carousel .owl-dots .owl-dot:hover span {
    background: #ff751f;
}

/* Card Hover Effect */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15) !important;
}

/* Custom Read More Link */
.custom-read-more {
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-read-more:hover {
    transform: translateX(5px);
    color: #ff751f !important;
}

.custom-read-more:hover svg polygon {
    fill: #ff751f;
    stroke: #ff751f;
}

/* Full width carousel */
.container-fluid {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.owl-carousel-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.owl-carousel {
    width: 100%;
}

.owl-stage-outer {
    overflow: visible;
}

/* Remove any container constraints for the carousel section */
.section .container-fluid {
    max-width: 100%;
}

/* Equal height cards in carousel with text ellipsis */
.owl-carousel .owl-item {
    height: auto;
}

.owl-carousel .owl-item .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.owl-carousel .owl-item .card-img-top {
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
}

.owl-carousel .owl-item .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px 20px !important;
}

.owl-carousel .owl-item .card-title {
    margin-bottom: 15px;
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

/* Text ellipsis for overflow */
.owl-carousel .owl-item .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

/* Custom Read More Link */
.custom-read-more {
    flex-shrink: 0;
    margin-top: auto;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ensure all carousel items have equal height */
.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-carousel .owl-item {
    display: flex;
    height: auto !important;
}

.owl-carousel .owl-item>div {
    height: 100%;
    width: 100%;
}

.owl-carousel .owl-item .card {
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .owl-carousel .owl-item .card-img-top {
        height: 200px;
    }

    .owl-carousel .owl-item .card-body {
        padding: 20px 15px !important;
    }

    .owl-carousel .owl-item .card-text {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 768px) {
    .owl-carousel .owl-item .card-img-top {
        height: 180px;
    }

    .owl-carousel .owl-item .card-body {
        padding: 15px !important;
    }

    .owl-carousel .owl-item .card-title {
        font-size: 18px !important;
        margin-bottom: 10px;
    }

    .owl-carousel .owl-item .card-text {
        font-size: 13px !important;
        -webkit-line-clamp: 2;
    }
}

/* ALIGN TOP */
.custom-pitha-section .row {
    align-items: flex-start !important;
}

/* IMAGE - BIGGER + TOP ALIGNED */
.custom-pitha-img {
    height: 720px;
    width: auto;
    max-width: none;
    object-fit: contain;
    margin-left: -80px;
    display: block;
}

/* TEXT SMALLER */
.custom-testimonial {
    max-width: 420px;
    padding-top: 40px;
}

/* QUOTE */
.custom-quote {
    font-size: 60px;
    opacity: 0.2;
    margin-bottom: 10px;
}

/* TEXT SIZE REDUCED */
.custom-text {
    font-size: 15px;
    line-height: 1.7;
    color: #6b5a4a;
}

/* AUTHOR */
.custom-author strong {
    font-size: 16px;
    display: block;
}

.custom-author span {
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .custom-pitha-img {
        height: 420px;
        margin: 0 auto;
    }

    .custom-testimonial {
        max-width: 100%;
        text-align: center;
        padding-top: 0;
    }

    .custom-quote {
        text-align: center;
    }
}

/* Fix header - remove transparency */
#header {
    background-color: #fff9e1 !important;
}

.header-transparent {
    background-color: #fff9e1 !important;
}

/* ======================================== */
/* STICKY HEADER - MAIN HEADER ONLY */
/* ======================================== */

/* Make the main header sticky */
#sticky-main-header {
    position: sticky !important;
    top: 0 !important;
    background-color: #fff9e1 !important;
    z-index: 999 !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Add shadow when scrolled */
#sticky-main-header.sticky-scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Top bar - NOT STICKY - normal flow */
.header-top {
    position: relative !important;
    background-color: #fff9e1 !important;
    z-index: 1 !important;
}

/* Force solid backgrounds */
#header,
#header .header-body,
#header .header-container,
#sticky-main-header {
    background-color: #fff9e1 !important;
}

/* Remove any opacity */
#header {
    opacity: 1 !important;
}

/* Fix scroll padding */
html {
    scroll-padding-top: 80px;
}

/* Reset any Porto sticky classes */
.sticky-header-active,
.sticky-header-shrink,
.sticky-header-wrapper {
    transform: none !important;
    position: relative !important;
}

/* ======================================== */
/* STICKY HEADER - MAIN HEADER ONLY */
/* ======================================== */

/* Make main header sticky */
#main-header-sticky {
    position: sticky !important;
    top: 0 !important;
    background-color: #fff9e1 !important;
    z-index: 1000 !important;
    transition: all 0.3s ease;
}

/* Add shadow when scrolled */
#main-header-sticky.sticky-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Top bar - normal flow, not sticky */
.header-top {
    position: relative !important;
    background-color: #fff9e1 !important;
    z-index: 1 !important;
    margin: 0 !important;
}

/* Ensure consistent background */
#header,
#header .header-body,
#main-header-sticky {
    background-color: #fff9e1 !important;
}

/* Remove any Porto sticky classes effects */
.sticky-header-active,
.sticky-header-shrink,
.sticky-header-wrapper {
    transform: none !important;
    position: relative !important;
}

/* Fix scroll padding for anchor links */
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #main-header-sticky {
        top: 0 !important;
    }

    html {
        scroll-padding-top: 70px;
    }
}

/* Fix spacing for dual headers */
#headerTopBar {
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 1001 !important;
}

#header {
    position: relative !important;
    z-index: 1000 !important;
    margin-top: 0 !important;
}

/* Ensure main header sticks properly */
#header.sticky-header-active {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    background-color: #fff9e1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Remove any extra spacing */
.header-body {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure proper z-index for dropdowns */
.header-nav-main nav {
    z-index: 1002 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #headerTopBar .header-top {
        display: none !important;
    }

    #header.sticky-header-active {
        position: fixed !important;
    }
}

.parallax blockquote span {
    font-size: 16px;
    line-height: 20px;
    color: #cb3102;
    position: relative;
    left: -5px;
}

/* Image Popup/Lightbox Styling */
.image-popup {
    display: block;
    position: relative;
    overflow: hidden;
}

.image-popup .position-relative:hover .position-absolute {
    opacity: 1 !important;
}

/* Magnific Popup Styles */
.mfp-zoom-in {
    cursor: pointer;
}

.mfp-zoom-in .mfp-content {
    opacity: 0;
    transition: all 0.3s ease-out;
    transform: scale(0.8);
}

.mfp-zoom-in.mfp-ready .mfp-content {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-removing .mfp-content {
    transform: scale(0.8);
    opacity: 0;
}

.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/* Card Title Hover Effect */
.card-title {
    transition: color 0.3s ease;
}

.card-title:hover {
    color: #ff751f !important;
}

/* Card Text Hover Effect */
.card-text {
    transition: color 0.3s ease;
}

.card-text:hover {
    color: #ff751f !important;
}

/* Ensure images are clickable */
.image-popup {
    cursor: pointer;
}

/* Magnific Popup Custom Styles */
.mfp-close {
    font-size: 30px !important;
    opacity: 1 !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    line-height: 45px !important;
    text-align: center !important;
    top: 20px !important;
    right: 20px !important;
    transition: all 0.3s ease !important;
}

.mfp-close:hover {
    background: #cb3102 !important;
    transform: scale(1.1) !important;
}

.mfp-close:active {
    transform: scale(0.95) !important;
}

/* Popup Background */
.mfp-bg {
    background: rgba(0, 0, 0, 0.9) !important;
}

/* Image Container */
.mfp-figure {
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image Caption */
.mfp-title {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    color: #fff;
}

/* Navigation Arrows */
.mfp-arrow {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mfp-arrow:hover {
    opacity: 1;
    background-color: rgba(203, 49, 2, 0.5) !important;
}

.mfp-arrow:before {
    border-color: #fff !important;
}

/* Close Button on Mobile */
@media (max-width: 768px) {
    .mfp-close {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
        font-size: 24px !important;
        top: 10px !important;
        right: 10px !important;
    }
}

/* Fix mobile image positioning */
@media (max-width: 768px) {
    .container .row .col-lg-5 {
        position: relative !important;
        text-align: center !important;
        min-height: 300px;
    }

    /* Position the background SVG properly */
    .container .row .col-lg-5 .p-absolute.right-0 {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        right: auto !important;
        opacity: 0.3;
        z-index: 1;
    }

    /* Ensure main image stays on top */
    .container .row .col-lg-5 div[data-plugin-float-element]:last-child {
        position: relative !important;
        z-index: 2 !important;
    }

    .container .row .col-lg-5 img {
        max-width: 70% !important;
        height: auto;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }
}

/* Mobile - Center image */
@media (max-width: 768px) {
    .custom-hero-namo .col-lg-6.text-end {
        text-align: center !important;
    }

    .custom-hero-namo img {
        max-width: 100% !important;
        margin: 0 auto;
        display: block;
        margin-left: 30px;
        margin-top: 20px;
        height: 500px;
    }
}

/* Fix section backgrounds */
.section {
    background-color: transparent;
}

.section[style*="background-color"] {
    background-color: inherit;
}

/* Ensure counter section has white background */
.counters-section {
    background-color: #ffffff;
}

/* Counter Section Styling */
.counters {
    padding: 20px 0;
}

.counter {
    background: rgba(255, 255, 255, 0.5);
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.counter:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
}

.counter strong {
    font-size: 48px;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.counter label {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    display: block;
}

/* Ensure proper spacing between sections */
.section+.section {
    margin-top: 0;
}

/* Make sure the counter section has correct background */
section[style*="background-color: #fff9ef"] {
    background-color: #fff9ef !important;
}

/* Google Translate Styling */
#google_translate_element {
    margin-left: 15px;
    display: inline-block;
}

.goog-te-gadget {
    font-family: inherit !important;
    font-size: 13px !important;
    color: #4a3b2a !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid rgba(203, 49, 2, 0.3) !important;
    border-radius: 30px !important;
    padding: 6px 12px !important;
    transition: all 0.3s ease;
}

.goog-te-gadget-simple:hover {
    background-color: rgba(203, 49, 2, 0.05) !important;
    border-color: #cb3102 !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: #4a3b2a !important;
    font-size: 13px !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: #4a3b2a !important;
}

/* Hide Google Translate branding */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

/* Fix for when translate is active */
body {
    top: 0 !important;
}

/* Featured Initiatives Section - Consistent Sizing */
.featured-initiatives-section .row>.col-lg-4 {
    margin-bottom: 30px;
}

.featured-initiatives-section .row>.col-lg-4 .row {
    height: 100%;
}

.image-container-initiatives {
    overflow: hidden;
    border-radius: 16px;
    background-color: #fde88f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container-initiatives img {
    transition: transform 0.4s ease;
}

.image-container-initiatives:hover img {
    transform: scale(1.03);
}

/* For portrait images - ensure full visibility */
.image-container-initiatives img[src*="Indra-Dev-Temple"] {
    object-fit: contain;
    background-color: #fde88f;
}

/* For landscape images */
.image-container-initiatives img[src*="gau-kalyan"],
.image-container-initiatives img[src*="spiritual-beema"] {
    object-fit: contain;
}

/* Responsive */
@media (max-width: 991px) {
    .image-container-initiatives {
        height: 250px !important;
    }
}

@media (max-width: 768px) {
    .featured-initiatives-section .row>.col-lg-4 {
        margin-bottom: 40px;
    }

    .image-container-initiatives {
        height: 220px !important;
        margin-bottom: 15px;
    }

    .featured-initiatives-section .row .col-lg-6 {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .image-container-initiatives {
        height: 200px !important;
    }
}

/* Fix for stretched-link - ensure only intended links are clickable */
.stretched-link {
    position: relative !important;
}

.stretched-link::after {
    display: none !important;
}

/* Ensure only actual anchor tags are clickable */
a:not([href="#"]):not([href=""]) {
    cursor: pointer;
}

/* Prevent any pseudo-elements from making entire containers clickable */
.position-relative .stretched-link::after {
    display: none !important;
}

/* Quote Cards Section - 3 in a Row Full Width */
.quote-cards-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
}

.quote-cards-section .row {
    margin: 0;
    width: 100%;
}

/* Quote Card Base Styles */
.quote-card-box {
    display: block;
    text-decoration: none;
    height: 100%;
    transition: all 0.4s ease;
    cursor: pointer;
}

.quote-card-box-light {
    background: linear-gradient(135deg, #fff9ef 0%, #fff5e8 100%);
}

.quote-card-box-dark {
    background: linear-gradient(135deg, #cb3102 0%, #ff751f 100%);
}

.quote-card-box-dark .quote-card-title,
.quote-card-box-dark .quote-card-description,
.quote-card-box-dark .quote-card-readmore {
    color: #ffffff;
}

.quote-card-box-dark .quote-card-readmore {
    border-color: rgba(255, 255, 255, 0.5);
}

.quote-card-box-dark .quote-card-readmore:hover {
    background: #ffffff;
    color: #cb3102;
    border-color: #ffffff;
}

.quote-card-box:hover {
    transform: translateY(-8px);
}

.quote-card-inner {
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image Styling */
.quote-card-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    background-color: #fde88f;
    height: 300px;
}

.quote-card-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

/* Different image handling */
.quote-card-box:first-child .quote-card-image img {
    object-fit: contain;
}

.quote-card-box:nth-child(2) .quote-card-image img,
.quote-card-box:last-child .quote-card-image img {
    object-fit: contain;
}

.quote-card-box:hover .quote-card-image img {
    transform: scale(1.03);
}

/* Content Styling */
.quote-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #ff751f;
    margin-bottom: 20px;
    line-height: 1.3;
}

.quote-card-description {
    font-size: 16px;
    line-height: 1.8;
    color: #5a4a3a;
    margin-bottom: 25px;
    flex: 1;
}

.quote-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ff751f;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff751f;
    transition: all 0.3s ease;
    width: fit-content;
    cursor: pointer;
}

.quote-card-readmore:hover {
    background: #ff751f;
    color: #ffffff;
    transform: translateX(5px);
}

/* Responsive - Desktop Large */
@media (min-width: 1400px) {
    .quote-card-inner {
        padding: 60px 50px;
    }

    .quote-card-image {
        height: 380px;
    }

    .quote-card-title {
        font-size: 34px;
    }

    .quote-card-description {
        font-size: 18px;
    }

    .quote-card-readmore {
        padding: 14px 35px;
        font-size: 16px;
    }
}

/* Responsive - Desktop */
@media (min-width: 1200px) and (max-width: 1399px) {
    .quote-card-inner {
        padding: 45px 35px;
    }

    .quote-card-image {
        height: 320px;
    }

    .quote-card-title {
        font-size: 28px;
    }

    .quote-card-description {
        font-size: 15px;
    }
}

/* Responsive - Desktop Small */
@media (min-width: 992px) and (max-width: 1199px) {
    .quote-card-inner {
        padding: 35px 25px;
    }

    .quote-card-image {
        height: 260px;
    }

    .quote-card-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .quote-card-description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .quote-card-readmore {
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* Responsive - Tablet Landscape (768px to 991px) - All 3 cards in a row */
@media (min-width: 768px) and (max-width: 991px) {
    .quote-cards-section .col-lg-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .quote-card-inner {
        padding: 25px 20px;
    }

    .quote-card-image {
        height: 200px;
        margin-bottom: 20px;
    }

    .quote-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .quote-card-description {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .quote-card-readmore {
        padding: 6px 15px;
        font-size: 10px;
    }
}

/* Responsive - Mobile Large (576px to 767px) - 2 cards per row with centering */
@media (min-width: 576px) and (max-width: 767px) {
    .quote-cards-section .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Center the last card when it's alone */
    .quote-cards-section .col-lg-4:last-child {
        margin-left: 25%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .quote-card-inner {
        padding: 30px 25px;
    }

    .quote-card-image {
        height: 220px;
    }

    .quote-card-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .quote-card-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .quote-card-readmore {
        padding: 8px 18px;
        font-size: 11px;
    }
}

/* Responsive - Mobile (up to 575px) - 1 card per row */
@media (max-width: 575px) {
    .quote-cards-section .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .quote-card-inner {
        padding: 35px 25px;
    }

    .quote-card-image {
        height: 260px;
    }

    .quote-card-title {
        font-size: 24px;
    }

    .quote-card-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .quote-card-readmore {
        padding: 10px 25px;
        font-size: 12px;
    }
}

/* Extra Small Devices */
@media (max-width: 380px) {
    .quote-card-inner {
        padding: 25px 20px;
    }

    .quote-card-image {
        height: 220px;
    }

    .quote-card-title {
        font-size: 22px;
    }

    .quote-card-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .quote-card-readmore {
        padding: 8px 20px;
        font-size: 11px;
    }
}

/* Remove gap in quote cards section */
.quote-cards-section>.row.mb-4 {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

.quote-cards-section>.row.g-0 {
    margin-top: 0 !important;
}

.quote-cards-section .container.py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ======================================== */
/* MOBILE DROPDOWN FIXES - UPDATED */
/* ======================================== */

@media (max-width: 991px) {

    /* Make dropdowns work on mobile */
    .header-nav-main nav .dropdown {
        position: relative;
    }

    .header-nav-main nav .dropdown .dropdown-menu {
        position: static !important;
        display: none;
        width: 100%;
        padding: 0;
        margin-top: 5px;
        background: rgba(203, 49, 2, 0.08);
        border: none;
        border-radius: 8px;
        box-shadow: none;
        transform: none !important;
    }

    .header-nav-main nav .dropdown .dropdown-menu.show {
        display: block !important;
    }

    .header-nav-main nav .dropdown .dropdown-menu .dropdown-item {
        padding: 10px 15px 10px 35px;
        font-size: 13px;
        color: #4a3b2a;
    }

    .header-nav-main nav .dropdown .dropdown-menu .dropdown-item:hover {
        background: linear-gradient(90deg, #cb3102, #ff751f);
        color: #ffffff;
    }

    /* Style the dropdown toggle arrow */
    .header-nav-main nav .dropdown>.dropdown-toggle {
        cursor: pointer;
        position: relative;
    }

    .header-nav-main nav .dropdown>.dropdown-toggle::after {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        border: solid #4a3b2a;
        border-width: 0 2px 2px 0;
        padding: 3px;
        content: "";
        transform: rotate(45deg);
        margin-top: -2px;
    }

    /* Rotate arrow when dropdown is open */
    .header-nav-main nav .dropdown.open>.dropdown-toggle::after,
    .header-nav-main nav .dropdown .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(-135deg);
        margin-top: 2px;
    }
}

/* Dropdown toggle styling for mobile */
@media (max-width: 991px) {
    .dropdown-toggle {
        cursor: pointer;
    }
}

/* Gauvansh Sevalay Section */
.sevalay-image-wrapper {
    transition: all 0.4s ease;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    position: relative;
}

.sevalay-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 500;
    object-fit: contain;
    border-radius: 20px;
    display: block;
    transition: all 0.4s ease;
}

/* Apply shadow on hover directly to image */
.sevalay-image-wrapper:hover img {
    transform: scale(1.01);
    box-shadow: 0 15px 35px rgba(203, 49, 2, 0.15);
}

/* Remove any extra spacing */
.sevalay-image-wrapper::after {
    display: none;
}

@media (max-width: 768px) {
    .sevalay-image-wrapper {
        max-width: 320px;
    }

    .sevalay-image-wrapper img {
        aspect-ratio: 500 / 500;
    }
}

/* Outlined button hover effect */
.btn-outline-primary {
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #cb3102, #ff751f) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateX(5px);
}

/* Force text color on hover for all elements inside button */
.btn-outline-primary:hover,
.btn-outline-primary:hover i,
.btn-outline-primary:hover .fas,
.btn-outline-primary:hover span {
    color: #ffffff !important;
}

/* ======================================== */
/* LOGO SIZING - FINAL FIX */
/* ======================================== */

/* Force desktop logo size */
#header .header-logo .desktop-logo,
.header-logo .desktop-logo,
.desktop-logo {
    max-width: 300px !important;
    width: 300px !important;
    height: auto !important;
    display: block !important;
}

/* Force mobile logo size */
#header .header-logo .mobile-logo,
.header-logo .mobile-logo,
.mobile-logo {
    max-width: 250px !important;
    width: 250px !important;
    height: auto !important;
    display: none !important;
}

/* Force the logo container to shrink */
#header .header-logo,
.header-logo {
    max-width: 200px !important;
    width: 150px !important;
    height: auto !important;
    flex: none !important;
}

/* Desktop view */
@media (min-width: 769px) {

    #header .header-logo .desktop-logo,
    .header-logo .desktop-logo,
    .desktop-logo {
        display: block !important;
    }

    #header .header-logo .mobile-logo,
    .header-logo .mobile-logo,
    .mobile-logo {
        display: none !important;
    }

    #header .header-logo,
    .header-logo {
        max-width: 300px !important;
        width: 300px !important;
    }
}

/* Mobile view */
@media (max-width: 768px) {

    #header .header-logo .desktop-logo,
    .header-logo .desktop-logo,
    .desktop-logo {
        display: none !important;
    }

    #header .header-logo .mobile-logo,
    .header-logo .mobile-logo,
    .mobile-logo {
        display: block !important;
        max-width: 180px !important;
        width: 180px !important;
    }

    #header .header-logo,
    .header-logo {
        max-width: 180px !important;
        width: 180px !important;
    }
}

/* Override Porto theme logo container styles */
#header .header-container .header-column .header-logo {
    flex: none !important;
    max-width: 100px !important;
    width: 100px !important;
}

@media (max-width: 768px) {
    #header .header-container .header-column .header-logo {
        max-width: 80px !important;
        width: 80px !important;
    }
}

/* Remove any padding or margin that might be adding space */
.header-logo a {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
}

.header-logo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure header container has proper height */
.header-container {
    min-height: 65px !important;
}

@media (max-width: 768px) {
    .header-container {
        min-height: 55px !important;
    }
}

/* Emergency fix - force logo to not overflow */
#header .header-body .header-container .header-row .header-column .header-logo {
    max-width: 100px !important;
    width: 100px !important;
    min-width: auto !important;
}

@media (max-width: 768px) {
    #header .header-body .header-container .header-row .header-column .header-logo {
        max-width: 80px !important;
        width: 80px !important;
    }
}

#header .header-logo img {
    max-height: 80px !important;
    width: auto !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    #header .header-logo img {
        max-height: 45px !important;
    }
}

/* ======================================== */
/* GOLOK SADGATI MAHAYAGNA SECTION */
/* ======================================== */

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #fff9ef 0%, #fff5e8 100%);
    padding: 5px;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.countdown-box {
    min-width: 70px;
}

.countdown-number {
    background: rgba(203, 49, 2, 0.08);
    padding: 10px 5px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.event-details .d-flex {
    transition: all 0.3s ease;
}

.event-details .d-flex:hover {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .video-wrapper iframe {
        min-height: 250px;
    }

    .countdown-number {
        font-size: 28px !important;
        padding: 8px 5px;
    }

    .countdown-box {
        min-width: 55px;
    }

    .countdown-label {
        font-size: 11px !important;
    }
}

@media (max-width: 576px) {
    .video-wrapper iframe {
        min-height: 200px;
    }

    .countdown-number {
        font-size: 22px !important;
    }

    .countdown-box {
        min-width: 45px;
    }

    .countdown-label {
        font-size: 10px !important;
    }
}

/* ======================================== */
/* HERO CAROUSEL SECTION */
/* ======================================== */

.hero-carousel-section {
    position: relative;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
}

.hero-slide {
    padding: 80px 0 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Carousel Indicators */
#heroCarousel .carousel-indicators {
    bottom: -20px;
    z-index: 15;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cb3102;
    opacity: 0.5;
    margin: 0 6px;
}

#heroCarousel .carousel-indicators button.active {
    opacity: 1;
    background-color: #ff751f;
    width: 30px;
    border-radius: 10px;
}

/* Carousel Navigation Arrows */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(203, 49, 2, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

#heroCarousel .carousel-control-prev {
    left: 20px;
}

#heroCarousel .carousel-control-next {
    right: 20px;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: linear-gradient(135deg, #cb3102, #ff751f);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Curve Bottom - More Pronounced */
.hero-curve-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
}

.hero-curve-bottom svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
}

/* Remove any extra spacing */
.hero-carousel-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Fix for any unwanted scroll */
body {
    overflow-x: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-slide {
        padding: 60px 0 80px 0;
        min-height: auto;
    }

    .hero-slide .col-lg-6.text-end {
        text-align: center !important;
        margin-top: 30px;
    }

    .hero-slide .col-lg-6.text-end img {
        max-width: 70%;
        margin: 0 auto;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }

    .hero-curve-bottom svg {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        padding: 50px 0 60px 0;
    }

    .hero-slide .col-lg-6.text-end img {
        max-width: 85%;
    }

    .hero-curve-bottom svg {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        padding: 40px 0 50px 0;
    }

    .hero-slide h2 {
        font-size: 20px !important;
    }

    .hero-slide h1 {
        font-size: 16px !important;
    }

    .hero-curve-bottom svg {
        height: 30px;
    }

    #heroCarousel .carousel-indicators {
        bottom: -10px;
    }
}

/* ======================================== */
/* HERO CAROUSEL BACKGROUND SVGS */
/* ======================================== */

.hero-slide {
    position: relative;
    overflow: hidden;
}

/* SVG Background Containers */
.hero-bg-svg {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-svg-1 {
    top: 5%;
    left: 5%;
    width: 200px;
    height: 200px;
}

.hero-bg-svg-2 {
    bottom: 10%;
    right: 8%;
    width: 300px;
    height: 300px;
}

.hero-bg-svg-3 {
    top: 20%;
    right: 15%;
    width: 400px;
    height: 400px;
}

.hero-bg-svg-4 {
    bottom: 20%;
    left: 15%;
    width: 200px;
    height: 200px;
}

.hero-bg-svg-5 {
    top: 30%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translateX(-50%);
}

.hero-bg-svg-6 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-svg-7 {
    bottom: 5%;
    left: 0;
    width: 100%;
    height: 400px;
}

.hero-bg-svg svg {
    width: 100%;
    height: 100%;
}

/* Responsive adjustments for SVG backgrounds */
@media (max-width: 991px) {
    .hero-bg-svg-1 {
        width: 120px;
        height: 120px;
    }

    .hero-bg-svg-2 {
        width: 180px;
        height: 180px;
    }

    .hero-bg-svg-3 {
        width: 250px;
        height: 250px;
    }

    .hero-bg-svg-5 {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-bg-svg-1 {
        width: 80px;
        height: 80px;
    }

    .hero-bg-svg-2 {
        width: 120px;
        height: 120px;
    }

    .hero-bg-svg-3 {
        width: 150px;
        height: 150px;
    }

    .hero-bg-svg-5 {
        width: 300px;
        height: 300px;
    }

    .hero-bg-svg-7 {
        display: none;
    }
}

@media (max-width: 576px) {

    .hero-bg-svg-1,
    .hero-bg-svg-2,
    .hero-bg-svg-3 {
        opacity: 0.5;
    }

    .hero-bg-svg-5 {
        width: 200px;
        height: 200px;
    }
}

/* Mobile dropdown arrow */
@media (max-width: 991px) {
    .header-nav-main nav .dropdown>.dropdown-toggle {
        position: relative;
        padding-right: 30px;
    }

    .header-nav-main nav .dropdown>.dropdown-toggle::after {
        content: "\f107" !important;
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;
        display: inline-block !important;
        margin-left: 8px;
        border: none !important;
    }

    /* Rotate when open */
    .header-nav-main nav .dropdown .dropdown-menu.show+.dropdown-toggle::after,
    .header-nav-main nav .dropdown.open>.dropdown-toggle::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .dropdown.open .dropdown-arrow i {
        transform: rotate(180deg);
        transition: 0.3s ease;
    }
}

/* ======================================== */
/* ON-LOAD MODAL FOR EVENT LAUNCH */
/* ======================================== */

.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.event-modal.active {
    display: flex;
}

.event-modal-content {
    background: linear-gradient(135deg, #fff9ef 0%, #fff2dd 100%);
    border-radius: 24px;
    max-width: 850px;
    width: 90%;
    position: relative;
    animation: modalFadeInUp 0.5s ease;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(203, 49, 2, 0.2);
    display: flex;
    flex-direction: row;
}

@keyframes modalFadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #cb3102;
    transition: all 0.3s ease;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.event-modal-close:hover {
    background: #cb3102;
    color: #ffffff;
    transform: rotate(90deg);
}

.event-modal-image {
    flex: 0 0 42%;
    background: linear-gradient(135deg, #fef6e8 0%, #fff0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 25px; */
}

.event-modal-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 16px;
}

.event-modal-body {
    flex: 0 0 58%;
    padding: 30px 30px 30px 20px;
    text-align: left;
}

.event-modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #cb3102, #ff751f);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.event-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #cb3102;
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-modal-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #ff751f;
    margin-bottom: 12px;
}

.event-modal-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #5a4a3a;
    margin-bottom: 15px;
}

.event-modal-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(203, 49, 2, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
    width: 100%;
}

.event-modal-date i {
    color: #cb3102;
    font-size: 14px;
}

.event-modal-date span {
    color: #ff751f;
    font-weight: 600;
    font-size: 13px;
}

.event-modal-close-btn {
    background: linear-gradient(135deg, #cb3102, #ff751f);
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.event-modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 49, 2, 0.2);
}

/* Responsive */
@media (max-width: 700px) {
    .event-modal-content {
        flex-direction: column;
        max-width: 400px;
    }

    .event-modal-image {
        flex: 0 0 auto;
        padding: 20px;
    }

    .event-modal-image img {
        max-height: 220px;
    }

    .event-modal-body {
        flex: 0 0 auto;
        padding: 20px;
        text-align: center;
    }

    .event-modal-title {
        font-size: 18px;
    }

    .event-modal-subtitle {
        font-size: 14px;
    }

    .event-modal-desc {
        font-size: 12px;
    }

    .event-modal-date span {
        font-size: 11px;
    }

    .event-modal-date {
        justify-content: center;
    }
}

/* ======================================== */
/* GOLOK SADGATI MAHAYAGNA SECTION */
/* ======================================== */

/* Remove any default padding from the section */
.section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.mahayagna-media {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #fef6e8 0%, #fff0e0 100%);
}

.mahayagna-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mahayagna-media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.mahayagna-media-link {
    display: block;
    text-decoration: none;
}

.mahayagna-media-link:hover img {
    transform: scale(1.03);
}

/* Ensure no gaps between columns */
.row.g-0 {
    margin-left: 0;
    margin-right: 0;
}

.row.g-0>[class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .mahayagna-media {
        padding-bottom: 56.25%;
    }
}

@media (max-width: 576px) {
    .text-8 {
        font-size: 32px !important;
    }

    .text-4 {
        font-size: 16px !important;
    }
}

/* ======================================== */
/* COMMITTEE CAROUSEL SECTION - RECTANGLE CARDS */
/* ======================================== */

.committee-carousel {
    padding: 10px 0 20px 0;
    position: relative;
}

.committee-carousel .owl-stage-outer {
    overflow: visible;
}

/* Rectangle Card Styling */
.committee-card-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(203, 49, 2, 0.1);
    margin: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.committee-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(203, 49, 2, 0.15);
    border-color: rgba(203, 49, 2, 0.3);
}

.committee-card-item a {
    text-decoration: none;
    display: block;
}

.committee-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #fef6e8 0%, #fff0e0 100%);
}

.committee-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.committee-card-item:hover .committee-card-image img {
    transform: scale(1.05);
}

.committee-card-content {
    padding: 12px 12px 16px 12px;
    text-align: center;
    flex: 1;
}

.committee-card-name {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    line-height: 1.2;
}

.committee-card-position {
    font-size: 13px;
    font-weight: 500;
    display: block;
    line-height: 1.2;
}

/* Carousel Navigation Arrows - Positioned outside the cards */
.committee-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    left: 0;
    pointer-events: none;
    z-index: 20;
}

.committee-carousel .owl-nav button.owl-prev,
.committee-carousel .owl-nav button.owl-next {
    position: absolute;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #cb3102, #ff751f) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    pointer-events: auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 10;
    cursor: pointer;
    border: none;
    outline: none;
    top: 50%;
    transform: translateY(-50%);
}

.committee-carousel .owl-nav button.owl-prev {
    left: -25px;
}

.committee-carousel .owl-nav button.owl-next {
    right: -25px;
}

/* Only color change on hover - no transform or scaling */
.committee-carousel .owl-nav button.owl-prev:hover,
.committee-carousel .owl-nav button.owl-next:hover {
    background: #fff !important;
    color: #cb3102 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transform: translateY(-50%) !important;
}

/* Disabled arrow styling */
.committee-carousel .owl-nav button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Container for carousel to allow arrows to be visible outside */
.committee-carousel-container {
    position: relative;
    padding: 0 40px;
}

/* Responsive breakpoints for card sizes and arrow positions */
@media (min-width: 1600px) {
    .committee-card-image {
        height: 320px;
    }

    .committee-card-name {
        font-size: 20px;
    }

    .committee-card-position {
        font-size: 14px;
    }

    .committee-card-content {
        padding: 14px 14px 18px 14px;
    }

    .committee-carousel .owl-nav button.owl-prev {
        left: -30px;
    }

    .committee-carousel .owl-nav button.owl-next {
        right: -30px;
    }

    .committee-carousel-container {
        padding: 0 50px;
    }
}

@media (max-width: 1599px) and (min-width: 1400px) {
    .committee-card-image {
        height: 280px;
    }

    .committee-card-content {
        padding: 12px 12px 16px 12px;
    }

    .committee-carousel .owl-nav button.owl-prev {
        left: -25px;
    }

    .committee-carousel .owl-nav button.owl-next {
        right: -25px;
    }

    .committee-carousel-container {
        padding: 0 45px;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .committee-card-image {
        height: 260px;
    }

    .committee-card-name {
        font-size: 17px;
    }

    .committee-card-position {
        font-size: 12px;
    }

    .committee-card-content {
        padding: 10px 10px 14px 10px;
    }

    .committee-carousel .owl-nav button.owl-prev {
        left: -20px;
    }

    .committee-carousel .owl-nav button.owl-next {
        right: -20px;
    }

    .committee-carousel-container {
        padding: 0 40px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .committee-card-image {
        height: 240px;
    }

    .committee-card-name {
        font-size: 16px;
    }

    .committee-card-position {
        font-size: 12px;
    }

    .committee-card-content {
        padding: 10px 10px 14px 10px;
    }

    .committee-carousel .owl-nav button.owl-prev {
        left: -18px;
    }

    .committee-carousel .owl-nav button.owl-next {
        right: -18px;
    }

    .committee-carousel-container {
        padding: 0 35px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .committee-card-image {
        height: 220px;
    }

    .committee-card-name {
        font-size: 15px;
    }

    .committee-card-position {
        font-size: 11px;
    }

    .committee-card-content {
        padding: 8px 8px 12px 8px;
    }

    .committee-carousel .owl-nav button.owl-prev,
    .committee-carousel .owl-nav button.owl-next {
        width: 38px;
        height: 38px;
        font-size: 20px !important;
    }

    .committee-carousel .owl-nav button.owl-prev {
        left: -15px;
    }

    .committee-carousel .owl-nav button.owl-next {
        right: -15px;
    }

    .committee-carousel-container {
        padding: 0 30px;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .committee-card-image {
        height: 240px;
    }

    .committee-card-name {
        font-size: 16px;
    }

    .committee-card-position {
        font-size: 12px;
    }

    .committee-card-content {
        padding: 10px 10px 14px 10px;
    }

    .committee-carousel .owl-nav button.owl-prev,
    .committee-carousel .owl-nav button.owl-next {
        width: 35px;
        height: 35px;
        font-size: 18px !important;
    }

    .committee-carousel .owl-nav button.owl-prev {
        left: -12px;
    }

    .committee-carousel .owl-nav button.owl-next {
        right: -12px;
    }

    .committee-carousel-container {
        padding: 0 25px;
    }
}

@media (max-width: 575px) {
    .committee-card-image {
        height: 240px;
    }

    .committee-card-name {
        font-size: 15px;
    }

    .committee-card-position {
        font-size: 11px;
    }

    .committee-card-content {
        padding: 8px 8px 12px 8px;
    }

    .committee-carousel .owl-nav button.owl-prev,
    .committee-carousel .owl-nav button.owl-next {
        width: 32px;
        height: 32px;
        font-size: 16px !important;
    }

    .committee-carousel .owl-nav button.owl-prev {
        left: -10px;
    }

    .committee-carousel .owl-nav button.owl-next {
        right: -10px;
    }

    .committee-carousel-container {
        padding: 0 20px;
    }
}

/* Ambassador Section */
.ambassador-section .col-lg-4 img,
.ambassador-section .col-lg-3 img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .ambassador-section .col-lg-4 img {
        width: 100% !important;
        height: auto;
    }
}

/* Ambassador Section Images */
.ambassador-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #fef6e8 0%, #fff0e0 100%);
    padding: 10px;
    transition: all 0.3s ease;
}
.ambassador-image-wrapper.left-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(203, 49, 2, 0.1);
}
.ambassador-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* Right image – larger, no background */
.right-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* No background, no padding */
}
.right-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
}
.right-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(203, 49, 2, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .ambassador-image-wrapper,
    .right-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    .ambassador-content {
        text-align: center;
    }
    .ambassador-content .d-flex {
        justify-content: center;
    }
}

/* Fix Ambassador slide on mobile (carousel active slide) */
@media (max-width: 768px) {
    .hero-slide .container .row {
        flex-direction: column;
        text-align: center;
    }
    /* Left image – remove width:250% and adjust */
    .hero-slide .col-lg-4.text-center img {
        width: 80% !important;
        max-width: 280px;
        height: auto !important;
        object-fit: contain;
        margin: 0 auto;
    }
    /* Right image – ensure it scales */
    .hero-slide .col-lg-3.text-center img {
        width: 80% !important;
        max-width: 200px;
        height: auto !important;
        object-fit: contain;
        margin: 0 auto;
    }
    /* Center content spacing */
    .hero-slide .col-lg-5 {
        padding: 20px 15px;
    }
    .hero-slide .col-lg-5 .row {
        justify-content: center;
        gap: 10px;
    }
    .hero-slide .col-lg-5 .col-6 {
        text-align: center;
    }
    /* Reduce padding in hero slide */
    .hero-slide {
        padding: 30px 0 50px !important;
    }
}

/* Fix hero carousel on mobile */
@media (max-width: 768px) {
    .hero-carousel-section .hero-slide {
        padding: 30px 0 50px !important;
    }
    .hero-slide .container .row {
        flex-direction: column;
        text-align: center;
    }
    /* Left image */
    .hero-slide .col-lg-4.text-center img {
        width: 80% !important;
        max-width: 280px;
        height: auto !important;
        object-fit: contain;
        margin: 0 auto;
    }
    /* Right image */
    .hero-slide .col-lg-3.text-center img {
        width: 80% !important;
        max-width: 200px;
        height: auto !important;
        object-fit: contain;
        margin: 0 auto;
    }
    /* Center content spacing */
    .hero-slide .col-lg-5 {
        padding: 20px 15px;
    }
    /* Reduce icon row spacing */
    .hero-slide .row.mb-2 .col-6 {
        text-align: center;
    }
    /* Curve bottom adjustment */
    .hero-curve-bottom svg {
        height: 40px;
    }
}

.key-ank {
    text-decoration: none;
    color: #ff751f;
}

/* Centered, huge watermark background for Ambassador Voting Modal */
#ambassadorModal .modal-content {
    position: relative;
    overflow: hidden;
}

#ambassadorModal .modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/vote-modal-removebg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90% auto;   /* "huge" – adjust to 90% or 100% as needed */
    opacity: 0.12;               /* subtle watermark effect */
    pointer-events: none;
    z-index: 0;
}

/* Keep modal content above watermark */
#ambassadorModal .modal-header,
#ambassadorModal .modal-body {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Optional: even larger on desktop, adjust size on mobile */
@media (max-width: 576px) {
    #ambassadorModal .modal-content::after {
        background-size: 80% auto;  /* slightly smaller on mobile */
        opacity: 0.1;
    }
}