/* ==========================================================================
   HMS Masterclass - Update Stylesheet
   Featured on Podcasts Section
   ========================================================================== */

/* Podcast Section Container */
.podcast-section {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #0f172a 0%, #080d1a 100%);
    padding: 95px 0;
    overflow: hidden;
}

.podcast-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(239, 68, 68, 0.06) 50%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.podcast-section .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    padding-left: 48px;
    padding-right: 48px;
    margin: 0 auto;
}

/* Badge in Section Title */
.podcast-section-badge {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

/* Podcast Section Title Headers in Dark Mode */
.podcast-section .section-title h2 {
    color: #ffffff;
    font-size: 2.6rem;
}

.podcast-section .section-title p {
    color: #cbd5e1;
    font-size: 1.05rem;
}

/* Podcasts Grid - 3 Videos in 1 Single Row */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

/* Podcast Video Card Container */
.podcast-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.podcast-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.28), 0 0 30px rgba(239, 68, 68, 0.2);
}

/* Responsive Video Aspect Ratio (16:9) */
.podcast-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000000;
    overflow: hidden;
    border-radius: 20px;
}

/* Hide YouTube top channel header on hover by shifting iframe up */
.podcast-video-wrapper iframe {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 55px);
    border: 0;
    border-radius: 20px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .podcast-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .podcast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .podcast-video-wrapper iframe {
        top: -40px;
        height: calc(100% + 45px);
    }
}

/* ==========================================================================
   Student Video Reviews Section (YouTube Shorts & Instagram Reels)
   ========================================================================== */
.video-reviews-section {
    position: relative;
    background: radial-gradient(circle at 50% 100%, #0f172a 0%, #060a12 100%);
    padding: 90px 0;
    overflow: hidden;
}

.video-reviews-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(168, 85, 247, 0.08) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.video-reviews-section .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
}

/* Section Title Badge */
.video-section-badge {
    background: rgba(59, 130, 246, 0.12) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.video-reviews-section .section-title h2 {
    color: #ffffff;
    font-size: 2.6rem;
}

.video-reviews-section .section-title p {
    color: #cbd5e1;
    font-size: 1.05rem;
}

/* Slider Track Wrapper */
.video-slider-container {
    position: relative;
    margin-top: 36px;
    width: 100%;
    padding: 0 54px; /* Space on left & right sides for side navigation arrows */
    box-sizing: border-box;
}

.video-slider-track-wrap {
    overflow: hidden;
    width: 100%;
    padding: 12px 4px 24px 4px; /* padding for card hover glow shadow */
}

.video-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Side Navigation Arrows (Left & Right) on Desktop */
.video-nav-btn {
    position: absolute;
    top: 38%; /* Vertically centered on video cards on Desktop with equal top/bottom space */
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.video-nav-btn:hover {
    background: #3b82f6;
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.45);
}

.video-prev-btn {
    left: 0;
}

.video-next-btn {
    right: 0;
}

.video-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

/* Video Card Container */
.video-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    flex: 0 0 280px;
    min-width: 240px;
    opacity: 1 !important;
    visibility: visible !important;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.65);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.25);
}

/* 9:16 Vertical Video Frame Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* Exact 9:16 Aspect Ratio */
    background: #000000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

/* Instagram Embed Specific adjustment */
.video-wrapper.insta-wrapper iframe {
    background: #ffffff;
}

/* Responsive Breakpoints for Video Reviews Section */
@media (max-width: 1200px) {
    .video-reviews-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 768px) {
    .video-reviews-section {
        padding: 45px 0;
    }

    .video-reviews-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .video-reviews-section .section-title h2 {
        font-size: 2rem;
    }

    .video-slider-container {
        padding: 0 24px;
    }

    .video-slider-track {
        gap: 10px;
    }

    .video-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .video-prev-btn {
        left: -6px;
    }

    .video-next-btn {
        right: -6px;
    }

    .video-card {
        padding: 6px;
        border-radius: 14px;
    }
}

/* Bottom Controls Row */
.video-controls-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

@media (max-width: 576px) {
    .video-reviews-section .container {
        padding-left: 6px;
        padding-right: 6px;
    }

    .video-slider-container {
        padding: 0;
    }

    .video-slider-track {
        gap: 8px;
    }

    .video-card {
        padding: 4px;
        border-radius: 12px;
    }

    /* Flex row for bottom controls on mobile: Prev Arrow -- Dots -- Next Arrow */
    .video-controls-row {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        margin-top: 18px !important;
        position: relative !important;
        width: 100% !important;
    }

    .video-nav-btn {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
    }

    .video-nav-btn:hover, .video-nav-btn:active {
        transform: scale(1.08) !important;
        background: #3b82f6 !important;
    }

    .video-slider-dots {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* ==========================================================================
   HMS Office Nagpur Section
   ========================================================================== */
.office-section {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #0f172a 0%, #080d1a 100%);
    padding: 90px 0;
    overflow: hidden;
}

.office-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.office-section .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    padding-left: 48px;
    padding-right: 48px;
    margin: 0 auto;
}

/* Badge in Section Title */
.office-section-badge {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.office-section .section-title h2 {
    color: #ffffff;
    font-size: 2.6rem;
}

.office-section .section-title p {
    color: #cbd5e1;
    font-size: 1.05rem;
}

/* Office Videos Grid - 3 Videos */
.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

/* Office Video Card Container */
.office-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.office-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.7);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.25);
}

/* Responsive 16:9 Video Aspect Ratio */
.office-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000000;
    overflow: hidden;
    border-radius: 20px;
}

.office-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

/* Office Section Responsive Breakpoints */
@media (max-width: 1024px) {
    .office-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .office-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .office-section {
        padding: 55px 0;
    }

    .office-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .office-section .section-title h2 {
        font-size: 2rem;
    }

    .office-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Footer Mobile 2-Column Grid Layout Fix & No Overflow */
@media (max-width: 768px) {
    .footer {
        overflow-x: hidden;
    }

    .footer-grid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .footer-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .footer-social-links-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-social-link-item {
        padding: 8px 8px;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        overflow: hidden;
    }

    .footer-social-link-item > div {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .footer-social-icon-box {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        aspect-ratio: 1 / 1 !important;
        font-size: 0.82rem !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    .social-link-name {
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .social-link-handle {
        font-size: 0.68rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .footer-contact-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-item-link {
        padding: 8px 8px;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        overflow: hidden;
    }

    .contact-item-link > div {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .contact-icon-box {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        aspect-ratio: 1 / 1 !important;
        font-size: 0.82rem !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    .contact-lbl {
        font-size: 0.68rem;
        line-height: 1.2;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .contact-val {
        font-size: 0.74rem;
        line-height: 1.25;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Mobile Section Headings & Subheadings Proportional Scale Down */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 28px !important;
        padding: 0 8px;
    }

    .section-title h2,
    .podcast-section .section-title h2,
    .video-reviews-section .section-title h2,
    .office-section .section-title h2,
    .curriculum-section .section-title h2,
    .tools-section .section-title h2,
    .testimonials-section .section-title h2 {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        margin: 8px 0 10px !important;
        letter-spacing: -0.3px !important;
    }

    .section-title p,
    .podcast-section .section-title p,
    .video-reviews-section .section-title p,
    .office-section .section-title p,
    .curriculum-section .section-title p,
    .tools-section .section-title p,
    .testimonials-section .section-title p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    .section-title span,
    .podcast-badge,
    .video-section-badge,
    .office-badge {
        font-size: 0.74rem !important;
        padding: 4px 10px !important;
        margin-bottom: 4px !important;
    }
}

@media (max-width: 480px) {
    .section-title h2,
    .podcast-section .section-title h2,
    .video-reviews-section .section-title h2,
    .office-section .section-title h2 {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
    }

    .section-title p,
    .podcast-section .section-title p,
    .video-reviews-section .section-title p,
    .office-section .section-title p {
        font-size: 0.84rem !important;
    }
}

/* ==========================================================================
   Harshubh Mahesh Shah - Expert Profile Section
   ========================================================================== */
.expert-profile-section {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #0b1329 0%, #080d1a 100%);
    padding: 85px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.expert-profile-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(217, 119, 6, 0.08) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.expert-profile-section .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
}

.expert-profile-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

/* Badge Pill */
.expert-badge-pill {
    background: rgba(217, 119, 6, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* Name Header */
.expert-name {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

/* Subtitle */
.expert-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 22px;
    line-height: 1.35;
}

/* Bio Paragraph */
.expert-bio {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Highlights Grid */
.expert-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.expert-highlight-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.expert-highlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.highlight-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    flex-shrink: 0;
}

.highlight-icon-box.students-bg {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.highlight-icon-box.record-bg {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

.highlight-text {
    display: flex;
    flex-direction: column;
}

.highlight-val {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
}

.highlight-lbl {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}

.expert-profile-content {
    order: 2;
}

/* Media Column Left on Desktop */
.expert-profile-media {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expert-image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    padding: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.expert-img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(59, 130, 246, 0.15) 50%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.expert-portrait-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .expert-profile-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .expert-name {
        font-size: 2.3rem;
    }

    .expert-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 868px) {
    .expert-profile-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .expert-profile-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .expert-profile-content {
        order: 1;
        text-align: left;
    }

    .expert-profile-media {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .expert-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        margin: 0;
    }

    .expert-highlight-card {
        text-align: left;
    }

    .expert-image-card {
        max-width: 100%;
        width: 100%;
        padding: 5px;
        border-radius: 20px;
    }
}

@media (max-width: 576px) {
    .expert-profile-section {
        padding: 45px 0;
    }

    .expert-profile-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .expert-name {
        font-size: 1.85rem;
    }

    .expert-subtitle {
        font-size: 1rem;
    }

    .expert-bio {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .expert-highlights-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .highlight-val {
        white-space: normal;
    }

    .expert-image-card {
        padding: 4px;
        border-radius: 18px;
    }
}

/* ==========================================================================
   HMS Media & Events Highlights Slider Section
   ========================================================================== */
.events-slider-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0;
    overflow: hidden;
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
}

.events-slider-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(217, 119, 6, 0.06) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.events-slider-section .section-title h2 {
    color: #ffffff;
}

.events-slider-section .section-title p {
    color: #cbd5e1;
}

.events-slider-section .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.events-slider-container {
    position: relative;
    margin-top: 32px;
    width: 100%;
    padding: 0 44px;
    box-sizing: border-box;
}

.events-slider-track-wrap {
    overflow: hidden;
    width: 100%;
    padding: 12px 4px 20px 4px;
}

.events-slider-track {
    display: flex;
    gap: 28px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.events-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.events-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.65);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.25);
}

.events-img-wrapper {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #000000;
}

.events-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.events-controls-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
}

.events-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.events-nav-btn:hover {
    background: #3b82f6;
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.events-prev-btn {
    left: 0;
}

.events-next-btn {
    right: 0;
}

.events-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .events-slider-section {
        padding: 55px 0;
    }

    .events-slider-container {
        padding: 0 16px;
    }

    .events-slider-track {
        gap: 14px;
    }

    .events-card {
        padding: 8px;
        border-radius: 14px;
    }

    .events-controls-row {
        gap: 16px;
        margin-top: 18px;
    }

    .events-nav-btn {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}



