/* Desktop Dropdown Hover & Styling */
@media (min-width: 992px) {


    .navbar-custom .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}

@media (max-width: 1024px) {
    .hamburger-btn {
        display: inline-block;
    }

    .desktop-nav {
        display: none !important;
    }

    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }
}

@media screen and (min-width: 1441px) and (max-width: 1601px) {
    .orbit-wrapper {
        width: 330px;
        height: 330px;
    }

    .orbit-item {
        margin-left: -71px;
    }

    .orbit-label {
        font-size: 0.6rem;
    }
}

@media screen and (min-width: 1239px) and (max-width: 1440px) {
    .orbit-wrapper {
        width: 330px;
        height: 330px;
    }

    .orbit-item {
        margin-left: -71px;
    }

    .orbit-label {
        font-size: 0.6rem;
    }

    .orbit-item:nth-child(7) {
        transform: rotate(288deg) translateY(-145px) rotate(-288deg);
    }

    .orbit-item:nth-child(6) {
        transform: rotate(216deg) translateY(-150px) rotate(-216deg);
    }

    .orbit-item:nth-child(5) {
        transform: rotate(144deg) translateY(-144px) rotate(-144deg);
        margin-left: -20px;
    }

    .orbit-item:nth-child(4) {
        margin-top: -21px;
    }

    .orbit-item:nth-child(3) {
        transform: rotate(0deg) translateY(-166px) rotate(0deg);
        margin-left: -50px;
    }
}

@media (max-width: 991.98px) {
    .partner-logo-box {
        width: 36% !important;
    }
}

@media (max-width: 425px) {
    .partner-logo-box {
        width: 45% !important;
    }
}

@media screen and (min-width: 1441px) and (max-width: 1601px) {
    .committee-wheel {
        width: 420px;
    }
}

@media screen and (min-width: 1239px) and (max-width: 1440px) {
    .committee-wheel {
        width: 420px;
    }

    .committee-center h4 {
        font-size: clamp(0.85rem, 2vw, 1.1rem);
    }
}

@media(max-width:600px) {
    .hero-swiper .swiper-slide {
        align-items: end !important;
    }

    .committee-container {
        scale: 0.8;
    }

    .infographic-container {
        scale: 0.69 !important;
    }

}

@media (max-width: 991.98px) {
    .newsletter-row-custom {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        border-radius: 30px 0 0 0;
    }

    .newsletter-heading-custom {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .newsletter-form-custom {
        width: 100%;
    }
}

/* RESPONSIVE */


/* iPad Air" Landscape */
@media only screen and (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {

    /* iPad Air" landscape styles */
    .hero-swiper {
        min-height: auto;
        max-height: 565px;
    }
}

@media only screen and (min-width: 834px) and (max-width: 1194px) and (orientation: landscape) {
    .navbar .container {
        max-width: 100% !important;
    }
}


/* iPad Pro 12.9" Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {

    /* iPad Pro 12.9" landscape styles */
    .hero-swiper {
        min-height: auto;
        max-height: 470px;
    }
}


@media (max-width: 991.98px) {
    .hero-swiper {
        height: 30vh;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-swiper {
        height: 60vh;
        min-height: auto;
        /*min-height: 400px;*/
    }

    .hero-swiper .swiper-slide::before {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%);
    }

    .hero-slide-content {
        /*padding: 40px 30px;*/
        padding: 10px 30px;
    }

    .hero-nav-wrapper {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 0.5rem !important;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 0.5rem !important;
    }

    .hero-eyebrow {
        margin-bottom: 1rem !important;
    }

    .about-section,
    .services-section,
    .why-join-section,
    .opportunities-section,
    .events-section,
    .news-section,
    .cta-section {
        padding: 60px 0;
    }

    .counter-section {
        padding: 70px 0;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .partners-master-swiper {
        padding: 10px 10px 50px;
    }

    .partners-master-swiper .swiper-button-next,
    .partners-master-swiper .swiper-button-prev {
        display: none;
    }

    .sc-number {
        font-size: 2.6rem;
    }

    .testimonial-card {
        height: auto;
        min-height: auto;
        overflow: hidden;
        overflow-y: hidden;
    }
}

@media (max-width: 575.98px) {
    .hero-swiper {
        /*height: 540px;*/
        height: 190px;
    }

    .hero-eyebrow {
        font-size: 0.45rem;
    }

    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem !important;
    }

    .hero-eyebrow {
        margin-bottom: 1rem !important;
    }

    .hero-nav-wrapper {
        right: 15px;
        bottom: 15px;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .btn-eu-blue {
        font-size: 0.85rem;
        padding: 12px 12px;
    }

    .btn-outline-light-custom {
        font-size: 0.85rem;
        padding: 12px 12px;
    }

    .event-meta-new {
        font-size: 0.78rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .gateway-section {
        padding: 60px 0;
    }

    .gateway-heading {
        font-size: 1.8rem;
    }

    .gateway-quote-icon {
        font-size: 60px;
    }

    .gateway-circle--top-left {
        width: 300px;
        height: 300px;
    }

    .gateway-circle--bottom-right {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .quote-banner {
        min-height: 240px;
    }

    .quote-banner.hero-title {
        font-size: 36px;
    }

    .quote-banner .quote-marks {
        font-size: 64px;
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
    .quote-banner {
        min-height: 200px;
    }

    .quote-banner .hero-content {
        padding: 30px 15px;
    }

    .quote-banner .hero-title {
        font-size: 28px;
        line-height: 1.4;
    }

    .quote-banner .hero-subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .quote-banner .quote-marks {
        font-size: 48px;
        margin-bottom: 10px;
    }

    .quote-banner .divider-line {
        width: 50px;
    }

    .scroll-icon {
        right: 20px !important;
        bottom: 20px !important;
    }

    .inner-banner-breadcrumb {
        display: block;
    }
}

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
    .quote-banner {
        min-height: 180px;
    }

    .quote-banner .hero-title {
        font-size: 22px;
    }

    .quote-banner .hero-subtitle {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .quote-banner .quote-marks {
        font-size: 40px;
    }

    .quote-banner .hero-divider {
        margin-top: 20px;
    }

    .quote-banner .divider-line {
        width: 40px;
        height: 1px;
    }

    .quote-banner .divider-dots span {
        width: 5px;
        height: 5px;
    }

    .orbit-wrapper {
        width: 280px !important;
        height: 280px !important;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .quote-banner .hero-title {
        font-size: 18px;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .quote-banner {
        /* Use higher quality image if available */
        /* background-image: url('banner@2x.jpg'); */
    }
}

/* ============================================
   NEWSLETTER PAGE - RESPONSIVE (moved from newsletter.html inline <style>)
   ============================================ */


@media (max-width: 991.98px) {
    .newsletter-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .newsletter-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile tab scroll */
@media (max-width: 575.98px) {
    .newsletter-tabs-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .newsletter-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    .newsletter-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        min-width: max-content;
        padding: 0 4px;
    }

    .newsletter-tabs .nav-link {
        padding: 8px 22px;
        font-size: 0.78rem;
        white-space: nowrap;
    }
}

/* ============================================================ 
   MOVED FROM STYLE.CSS 
   ============================================================ */

@media (max-width: 991px) {
    .report-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .report-card-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .report-card {
        padding: 55px 25px 35px;
    }
}

@media (max-width: 991px) {
    .ar-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ar-gratitude-card {
        padding: 30px;
    }

    .ar-gate-card {
        padding: 30px;
    }
}

@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: "\F285";
        font-family: "bootstrap-icons";
        position: absolute;
        top: 48px;
        right: -16px;
        color: rgba(0, 51, 153, 0.3);
        font-size: 1.2rem;
        z-index: 2;
    }
}

@media (max-width: 991px) {
    .fact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mvr-grid,
    .value-grid,
    .benefit-grid,
    .service-grid,
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-timeline::before {
        left: 22px;
    }

    .benefit-item,
    .benefit-item:nth-child(odd),
    .benefit-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .benefit-item:nth-child(odd) .benefit-marker,
    .benefit-item:nth-child(even) .benefit-marker {
        left: 0;
        right: auto;
    }

    .benefit-item:nth-child(odd) .benefit-content::after,
    .benefit-item:nth-child(even) .benefit-content::after {
        left: -18px;
        right: auto;
        border-right-color: var(--page-card);
        border-left-color: transparent;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-insight {
        grid-template-columns: 1fr;
    }

    .featured-insight .featured-media {
        min-height: 240px;
    }

    .about-intro-aside {
        margin-top: 30px;
    }

    .article-sidebar {
        position: static;
        margin-top: 40px;
    }

    .renewal-card {
        padding: 40px 28px;
    }

    .renewal-actions {
        flex-direction: column;
        gap: 16px;
    }

    .renewal-or {
        order: -1;
    }

    .fee-table-wrap,
    .contact-info-box,
    .info-contact-card {
        padding: 28px 22px;
    }
}

@media (max-width: 575px) {
    .page-section {
        padding: 56px 0;
    }

    .benefits-timeline::before {
        left: 18px;
    }

    .benefit-item:nth-child(odd),
    .benefit-item:nth-child(even) {
        padding-left: 50px;
    }

    .benefit-marker {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    .benefit-content {
        padding: 24px 22px;
    }

    .fact-grid,
    .mvr-grid,
    .value-grid,
    .benefit-grid,
    .service-grid,
    .contact-info-grid,
    .cat-grid,
    .card-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 30px 22px;
    }

    .featured-insight .featured-body {
        padding: 32px 26px;
    }

    .page-banner-content {
        padding: 50px 0;
    }

    .renewal-card {
        padding: 32px 22px;
    }

    .renewal-actions .btn-eu-blue {
        min-width: 100%;
    }

    .fee-table-wrap,
    .contact-info-box,
    .info-contact-card {
        padding: 24px 18px;
    }

    .fee-table thead th,
    .fee-table tbody td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .testimonial-text {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .members-cta-strip {
        padding: 36px 28px;
        text-align: center;
        justify-content: center;
    }

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

/* ============================================================
   MEMBERSHIP BENEFITS (uniform bracket-icon cards) & HELP DESK
   — RESPONSIVE — MOVED FROM STYLE.CSS
   ============================================================ */
@media (max-width: 991px) {
    .mb-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 22px;
    }

    .mb-benefits-section {
        padding: 70px 0;
    }

    .mb-benefits-card {
        padding: 42px 26px 28px;
    }

    .helpdesk-card {
        padding: 30px 5px;
    }
    .helpdesk-avatar
    {
    width: 40px!important;
    height: 40px!important;
    font-size: 1rem;
    }
    .helpdesk-contacts li{font-size: 0.7rem;}
}

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

    .mb-benefits-section {
        padding: 54px 0;
    }

    .mb-benefits-card {
        padding: 40px 24px 26px;
    }

    .mb-benefits-subtitle {
        font-size: 0.95rem;
    }

    .helpdesk-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 22px;
        gap: 16px;
    }

    .helpdesk-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}