/* ===============================
   TESTIMONIAL CAROUSEL SECTION
   =============================== */

.carousel-section {
    position: relative;
    padding: 60px 0;
    z-index: 10;
    background: transparent; /* Ensure background shows through */
}

/* ===============================
   WRAPPER (HOLDS ARROWS)
   =============================== */

.carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 70px; /* Adjusted space for arrows */
}

/* ===============================
   TRACK
   =============================== */

.testimonial-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* ===============================
   SLIDE (GROUP)
   =============================== */

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* ===============================
   CARD BASE (Refactored to Glassmorphism)
   =============================== */

.testimonial-card {
    flex: 0 0 calc(25% - 18px);
    max-width: calc(25% - 18px);

    /* 🔥 GLASSMORPHISM EFFECT */
    background: white; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /*border: 1px solid rgba(255, 255, 255, 0.15);*/
    
    border-radius: 20px;
    padding: 30px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	max-height: fit-content !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    transition: all 0.5s ease;

    /* OUT-OF-FOCUS STATE */
    opacity: 0.3;
    filter: blur(3px);
    transform: scale(0.9);
}

/* ===============================
   ACTIVE SLIDE (FOCUS)
   =============================== */

.carousel-slide.actives .testimonial-card {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    border-color: #b0411b; /* Highlight active cards with your orange accent */
}

/* ===============================
   IMAGE (MEDIUM SIZE - 130px)
   =============================== */


.testimonial-card img {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    border: 3px solid #b0411b;
    
    /* 🔥 THE FACE FIX */
    object-fit: cover;        /* Keeps aspect ratio without stretching */
    object-position: center 5%; /* Moves the focus UP to capture the head/face */
    
    /* 🔥 CENTERING LOGIC */
    display: block;
    margin: 10px auto 15px;    /* Top: 40px, Left/Right: Auto, Bottom: 15px */
    
    background: rgba(255,255,255,0.1); /* Prevents "empty" look if image fails */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* ===============================
   TEXT (COLOR ADJUSTED FOR DARK BG)
   =============================== */

.testimonial-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 8px 0 4px;
    color: black !important; /* White text for readability */
}

.testimonial-card p {
    font-size: 12px !important;
    margin: 0;
    color: black; /* Soft accent color for designation */
    font-weight: 500 !important;
}

/* ===============================
   NAV BUTTONS (GLASS STYLE)
   =============================== */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #b0411b;
    border-color: #b0411b;
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

/* ===============================
   DOTS
   =============================== */

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #b0411b;
    transform: scale(1.3);
}

/* ===============================
   NEWS MODAL (REFACTORED FOR THEME)
   =============================== */

.news-modal-card {
    border-radius: 20px;
    background: rgba(15, 25, 40, 0.95); /* Deep space blue */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.news-modal-card .modal-header {
    background: #b0411b; /* Your accent orange */
    color: #fff;
    border-bottom: none;
    padding: 20px;
}

.news-modal-card .modal-body {
    background: transparent;
    color: #ffffff;
    padding: 25px;
}

.news-description {
    color: black;
	font-size:14px;
	
}
.modal-title{
  color: #fff !important;	
}
.news-date{
color: #fff !important;	
font-size:14px !important
	
}
/* ===============================
   CAROUSEL NAVIGATION (DOTS)
   =============================== */

.carousel-nav {
    margin-top: 30px; /* Increased spacing for better visual balance */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Using gap for precise spacing between dots */
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Effect */
.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Active State (The Pill Effect) */
.carousel-dot.active {
    background: #b0411b; /* Your Summit Orange Accent */
    width: 30px;        /* 🔥 Becomes a pill shape */
    border-radius: 6px; /* Adjusted radius for the pill */
    box-shadow: 0 0 12px rgba(176, 65, 27, 0.8); /* Glow effect */
    border-color: rgba(176, 65, 27, 0.5);
}
/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 991px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 575px) {
    .testimonial-card img {
        width: 110px; /* Slightly smaller on mobile to fit */
        height: 110px;
    }
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===============================
   FAQ ACCORDION STYLES
   =============================== */

.faq-accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    color: #fff;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(176, 65, 27, 0.1); /* Subtle orange hover */
}

/* The Arrow Icon */
.faq-icon {
    font-size: 18px;
    color: #b0411b;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer-content {
    padding: 20px 25px;
    font-size: 15px;
    line-height: 1.7;
    color: #ddd;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* State when open */
.faq-item.active {
    border-color: #b0411b;
    box-shadow: 0 5px 20px rgba(176, 65, 27, 0.2);
}

.faq-item.active .faq-icon {
    transform: rotate(180px); /* Arrow flips */
    content: "-";
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough to show content */
}

/* Styling for lists inside FAQ answers */
.faq-answer-content ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    list-style-type: circle;
}

.faq-answer-content li {
    margin-bottom: 8px;
    color: #efefef;
}

.faq-answer-content strong {
    color: #ff9d7d; /* Highlight "No Registration Fee" */
}

/* Specific styling for links inside FAQ */
.faq-answer-content a:hover {
    text-decoration: underline;
}
.section-title{

	font-size:30px !important;
	
}
/* video + text content  */

/* ===== HERO LAYOUT CONTROL ===== */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    width: 100%;
}

/* Desktop & Tablet */
.hero-text-col {
    width: 60%;
    /* change to 50% if needed */
}

.hero-video-col {
    width: 40%;
    display: flex;
    justify-content: center;
}

.hero-video-col video {
    width: 100%;
    max-width: inherit;
    border-radius: 14px;
    min-height: max-content;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }

    /* VIDEO FIRST */
    .hero-video-col {
        order: 1;
        width: 100%;
    }

    /* TEXT BELOW */
    .hero-text-col {
        order: 2;
        width: 100%;
        text-align: center;
    }

    .hero-video-col video {
        max-width: 100%;
    }
}
#event_news p{
    color:#fff !important;
    font-size: 18px !important;
}

.activity-date{
    color: gold;
    width: fit-content;
    padding: 5px 7px;
    border: 1px solid #fff;
    border-radius: 25px;
    margin-top: unset;
    font-size: 14px;
    

}