/* ================================================================
   TRILLIUM EVENTS — SHARED RESPONSIVE STYLESHEET
   Applied to: home.html, About.html, Conferences.html, partner-with-us.html
   ================================================================ */

/* ----------------------------------------------------------------
   1. NAVBAR — Hamburger button to RIGHT SIDE on mobile
   ---------------------------------------------------------------- */
@media (max-width: 991px) {

  /* Container: logo on left, hamburger on right */
  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 16px !important;
  }

  .nav-menu-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-direction: row !important;
  }

  /* Push hamburger to far right */
  .menu-button.w-nav-button {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    margin-left: auto !important;
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    cursor: pointer !important;
  }

  /* Make the icon white (invert black to white) */
  .menu-button.w-nav-button .menu-icon,
  .menu-button.w-nav-button .w-icon-nav-menu {
    filter: invert(1) !important;
    -webkit-filter: invert(1) !important;
  }

  /* Brand/logo stays on the left */
  .brand-link.w-nav-brand {
    order: 1 !important;
    margin-right: auto !important;
  }

  /* Style the mobile nav menu — but DO NOT force display.
     Webflow JS controls show/hide via w--open class. */
  .nav-menu.w-nav-menu {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    top: 80px !important;
    padding: 20px 16px !important;
    background: rgba(7, 7, 7, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-direction: column !important;
    gap: 4px !important;
    /* NOTE: display is NOT set here — Webflow JS handles open/close */
  }

  /* When Webflow opens the menu (adds w--open), show as flex */
  .nav-menu.w-nav-menu.w--open {
    display: flex !important;
  }

  /* Each nav link item */
  .nav-link-holder {
    width: 100% !important;
  }

  .nav-link {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
  }
}

/* ----------------------------------------------------------------
   2. SERVICES DROPDOWN — Fully Responsive (Accordion Style)
   ---------------------------------------------------------------- */
@media (max-width: 991px) {

  /* Force the dropdown container to be full width */
  .nav-container .nav-dropdown,
  .nav-container .w-dropdown {
    position: static !important;
    width: 100% !important;
    display: block !important;
  }

  /* Dropdown Toggle Button */
  .nav-container .nav-dropdown-toggle,
  .nav-container .w-dropdown-toggle {
    width: 100% !important;
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 4px !important;
  }

  /* The actual Dropdown List Panel */
  .nav-container .services-dropdown-list,
  .nav-container .w-dropdown-list {
    position: relative !important;
    /* Switch to relative for inline flow */
    display: none;
    /* Webflow will add w--open */
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-top: none !important;
    border-radius: 0 0 16px 16px !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-top: -4px !important;
    backdrop-filter: none !important;
    /* faster on mobile */
  }

  .nav-container .services-dropdown-list.w--open {
    display: block !important;
  }

  /* Inner Grid Layout — FORCE SINGLE COLUMN ON MOBILE */
  .nav-container .services-grid,
  .nav-container .w-layout-grid.services-grid {
    display: block !important;
    /* Switch to block to ensure vertical stacking */
    width: 100% !important;
    padding: 10px 20px 30px !important;
  }

  .nav-container .nav-dropdown-column {
    width: 100% !important;
    display: block !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
  }

  /* Dropdown Headings */
  .nav-container .nav-dropdown-heading {
    color: #ff00cc !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    margin-top: 15px !important;
    opacity: 0.9;
    text-transform: uppercase !important;
  }

  .nav-container .nav-dropdown-column:first-child .nav-dropdown-heading {
    margin-top: 0 !important;
  }

  /* Dropdown Links — Clean Full Width */
  .nav-container .nav-dropdown-column .white-nav-link {
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 14px 10px !important;
    /* Added horizontal padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
  }

  .nav-container .nav-dropdown-column .white-nav-link:last-child {
    border-bottom: none !important;
  }
}

/* ----------------------------------------------------------------
   3. FOOTER — 2 Columns on Mobile/Tablet
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .footer-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px 24px !important;
  }

  /* Brand block: full width on tablet */
  .footer-content>.content {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  .footer-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px 16px !important;
  }

  /* Brand block: full width on mobile */
  .footer-content>.content {
    grid-column: 1 / -1 !important;
  }

  .footer-grid-content {
    width: 100% !important;
  }

  .footer-heading {
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 10px !important;
  }

  .footer-link {
    font-size: 13px !important;
    padding: 3px 0 !important;
  }

  /* Copyright row */
  .made-by-section {
    flex-direction: column !important;
    gap: 6px !important;
    text-align: center !important;
  }
}

/* ----------------------------------------------------------------
   4. ABOUT PAGE HERO SECTION — Responsive Fixes
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .about-hero-scroll-wrapper {
    height: auto !important;
    margin-top: -80px !important;
    /* Adjusted for mobile navbar floating */
    margin-bottom: 0 !important;
    z-index: 1 !important;
    overflow: visible !important;
    display: block !important;
  }

  .about-hero-minimal {
    position: relative !important;
    height: auto !important;
    min-height: 550px !important;
    padding: 160px 0 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #030303 !important;
  }

  .about-hero-glass-card {
    padding: 40px 24px !important;
    width: 92% !important;
    max-width: 540px !important;
    margin: 0 auto !important;
    transform: none !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
    animation: heroCardFadeIn 1s cubic-bezier(0.23, 1, 0.32, 1) forwards !important;
  }

  .about-hero-title {
    font-size: 56px !important;
    letter-spacing: -1.5px !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
  }

  .about-hero-breadcrumb {
    font-size: 13px !important;
    letter-spacing: 4px !important;
    margin-top: 20px !important;
    color: rgba(255, 255, 255, 0.5) !important;
  }

  .about-hero-breadcrumb span {
    margin: 0 15px !important;
    opacity: 0.4 !important;
  }

  /* Ensure grid background covers the whole area */
  .about-hero-grid-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.6 !important;
  }
}

@media (max-width: 767px) {
  .about-hero-minimal {
    min-height: 500px !important;
    padding: 150px 0 80px !important;
  }

  .about-hero-title {
    font-size: 48px !important;
  }

  .about-hero-glass-card {
    padding: 35px 20px !important;
  }
}

@media (max-width: 479px) {
  .about-hero-minimal {
    min-height: 420px !important;
    padding: 130px 0 60px !important;
  }

  .about-hero-title {
    font-size: 40px !important;
    letter-spacing: -1px !important;
  }

  .about-hero-glass-card {
    padding: 30px 15px !important;
    width: 95% !important;
  }

  .about-hero-breadcrumb {
    font-size: 11px !important;
    letter-spacing: 3px !important;
  }

  .about-hero-breadcrumb span {
    margin: 0 8px !important;
  }
}

/* ----------------------------------------------------------------
   5. PARTNER WITH US — Responsive Sections
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .partner-consolidated-stats {
    margin-bottom: 60px !important;
    padding: 0 15px !important;
  }

  .stats-premium-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 50px 0 !important;
    padding: 70px 20px !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .stats-premium-card > div[style*="width: 1px"] {
    display: none !important;
  }

  .stat-unit {
    width: 100% !important;
    padding: 0 10px !important;
    flex: none !important;
    text-align: center !important;
    position: relative !important;
  }

  .stat-unit .stat-value-about {
    font-size: 48px !important;
    margin-bottom: 10px !important;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.7)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
  }

  .stat-unit .stat-label-about {
    font-size: 11px !important;
    letter-spacing: 2px !important;
    opacity: 0.6 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
  }

  .services-offer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 80px !important;
  }

  .ideal-for-section > div[style*="grid-template-columns: 480px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .collaborations-section {
    padding: 0 20px !important;
  }

  .collab-minimal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 0 !important;
  }

  .collab-clean-card {
    height: 190px !important;
    border-radius: 12px !important;
  }

  .collab-logo-wrap {
    height: 120px !important;
    padding: 20px !important;
  }

  .collab-logo-wrap img {
    opacity: 0.8 !important;
    filter: grayscale(0.5) !important;
  }

  .collab-name-strip {
    font-size: 11px !important;
    padding-bottom: 15px !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }
  
  .partner-intro-split {
    grid-template-columns: 1fr !important;
    gap: 60px !important;
    margin-bottom: 80px !important;
  }

  .partner-intro-split .lineup-title {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .partner-intro-split h2 {
    font-size: 42px !important;
    text-align: center !important;
  }

  .partner-intro-split h2 span {
    font-size: 0.9em !important;
  }

  .partner-intro-split .lineup-title div[style*="width: 40px"] {
    margin: 0 auto 25px !important;
  }

  .partner-intro-split .lineup-title div[style*="border-left"] {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(255,0,204,0.1) !important;
    padding-top: 30px !important;
    margin-top: 30px !important;
    text-align: center !important;
  }

  .partner-visual-side {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
  }

  .partner-abstract-visual {
    height: 300px !important;
  }

  .partner-visual-side div[style*="position: absolute; top: -20px"] {
    top: -15px !important;
    right: -10px !important;
    padding: 10px 15px !important;
    transform: scale(0.9);
  }
}

@media (max-width: 767px) {
  .services-offer-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .collab-minimal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .offer-header-row h3 {
    font-size: 32px !important;
  }

  .partner-intro-split h2 {
    font-size: 34px !important;
  }

  .partner-abstract-visual div[style*="font-size: 36px"] {
    font-size: 26px !important;
  }

  .partner-intro-split .lineup-title p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 479px) {
  .stats-premium-card {
    grid-template-columns: 1fr 1fr !important; /* FORCED 2 COLUMNS ON MOBILE */
    gap: 40px 0 !important;
    padding: 60px 15px !important;
    border-radius: 28px !important;
  }

  .stat-unit .stat-value-about {
    font-size: 34px !important;
  }

  .stat-unit .stat-label-about {
    font-size: 9px !important;
    letter-spacing: 1.5px !important;
  }

  .partner-intro-split {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .collab-minimal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .offer-header-row h3 {
    font-size: 28px !important;
  }

  .offer-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }

  .offer-header-row .header-line {
    width: 60px !important;
    flex-grow: 0 !important;
    height: 2px !important;
  }
}

/* ----------------------------------------------------------------
   6. WHAT WE OFFER — Card Refinements
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .about-card {
    min-height: auto !important;
  }

  .about-card-inner {
    padding: 40px 30px !important;
  }
}

@media (max-width: 767px) {
  .about-card-inner {
    padding: 35px 25px !important;
    text-align: left !important;
  }

  .about-card-inner h3 {
    font-size: 22px !important;
    margin-bottom: 12px !important;
  }

  .about-card-inner p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .card-icon-box {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 25px !important;
  }

  .card-icon-box svg {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 479px) {
  .about-card-inner {
    padding: 30px 20px !important;
  }

  .about-card-inner h3 {
    font-size: 20px !important;
  }
}

/* ----------------------------------------------------------------
   7. ASSOCIATED COUNCILS — Responsive Refinements
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .councils-grid-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    padding: 0 15px !important;
  }

  .council-premium-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 20px !important;
    padding: 25px !important;
    justify-content: flex-start !important;
  }

  .councils-section .offer-header-row {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 20px !important;
    margin-bottom: 50px !important;
  }

  .councils-section .offer-header-row > div:first-child {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .councils-section .offer-header-row h3 {
    font-size: 38px !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }

  .councils-section .offer-header-row p {
    padding-left: 0 !important;
    font-size: 16px !important;
    max-width: 100% !important;
    opacity: 0.7 !important;
    text-align: center !important;
    margin-top: 10px !important;
  }
  
  .council-acronym {
    font-size: 20px !important;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 0, 204, 0.3) !important;
  }

  .branding-text-centered {
    padding: 0 20px !important;
    width: 100% !important;
  }

  .branding-text-centered p {
    font-size: 15px !important;
    max-width: 100% !important;
    padding: 0 !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 767px) {
  .councils-grid-container {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .council-premium-card {
    padding: 20px !important;
  }

  .council-full-name {
    font-size: 13px !important;
    opacity: 0.5 !important;
  }

  .branding-text-centered p {
    font-size: 14px !important;
  }
}

@media (max-width: 479px) {
  .councils-section .offer-header-row h3 {
    font-size: 32px !important;
    letter-spacing: -1px !important;
  }
  
  .council-premium-card {
    padding: 18px 15px !important;
    gap: 15px !important;
  }
}

/* ----------------------------------------------------------------
   8. GLOBAL REACH — Matrix Perspective Responsive
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .reach-command-center {
    height: auto !important;
    min-height: 500px !important;
    margin-top: 30px !important;
    padding: 80px 0 !important;
    background: radial-gradient(circle at center, rgba(51, 51, 255, 0.12) 0%, transparent 90%) !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
  }

  .reach-matrix-perspective {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    perspective: none !important;
    z-index: 5 !important;
  }

  .reach-hologram {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    z-index: 10 !important;
  }

  .reach-hologram.active {
    display: flex !important;
  }

  .hologram-pulse {
    width: 36px !important;
    height: 36px !important;
    background: var(--node-color) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 60px var(--node-color) !important;
    margin: 0 auto 50px !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }

  .hologram-pulse::after {
    inset: -18px !important;
    border-width: 2.5px !important;
    animation-duration: 1.5s !important;
  }

  .reach-hologram .hologram-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 280px !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    pointer-events: auto !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7) !important;
    background: rgba(8, 8, 8, 0.98) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    border-top: 5px solid var(--node-color) !important;
    backdrop-filter: blur(40px) !important;
    padding: 30px !important;
    border-radius: 28px !important;
    animation: hologramEpicPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    text-align: left !important;
  }

  @keyframes hologramEpicPop {
    from { opacity: 0; transform: translateY(40px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .hologram-tag {
    font-size: 11px !important;
    letter-spacing: 4px !important;
    margin-bottom: 12px !important;
  }

  .hologram-title {
    font-size: 28px !important;
    margin-bottom: 25px !important;
    line-height: 1.1 !important;
  }

  .hologram-stats {
    gap: 20px !important;
    padding-top: 20px !important;
  }

  .h-stat span {
    font-size: 18px !important;
  }

  .data-streams {
    display: none !important;
  }
  
  .reach-section-ultra {
    padding: 0 20px !important;
    margin-bottom: 100px !important;
  }
  
  .reach-title {
    font-size: 38px !important;
    margin-bottom: 15px !important;
  }
}

/* ----------------------------------------------------------------
   9. WHY PARTNER WITH US — Responsive Refinements (GLASS CARDS)
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .partner-grid-matrix {
    grid-template-columns: 1fr 1fr !important;
    padding-left: 0 !important;
    padding: 0 20px !important;
    gap: 25px !important;
    max-width: 100% !important;
  }
  
  .why-partner-section {
    padding: 0 !important;
    margin-bottom: 100px !important;
  }
  
  .why-partner-section .reach-header-row {
    padding: 0 25px !important;
    text-align: center !important;
    align-items: center !important;
    margin-bottom: 60px !important;
  }

  .partner-value-card {
    padding: 40px 30px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 24px !important;
    text-align: left !important;
    transition: all 0.4s ease !important;
  }

  .partner-value-card:active {
    background: rgba(51, 51, 255, 0.1) !important;
    border-color: rgba(51, 51, 255, 0.4) !important;
    transform: scale(0.98) !important;
  }

  .value-icon-wrap {
    width: 56px !important;
    height: 56px !important;
    background: rgba(51, 51, 255, 0.1) !important;
    border: 1px solid rgba(51, 51, 255, 0.2) !important;
    color: #fff !important;
    margin-bottom: 10px !important;
    box-shadow: 0 0 20px rgba(51, 51, 255, 0.2) !important;
  }

  .partner-value-card h4 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    color: #fff !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
  }

  .value-glow {
    position: absolute !important;
    bottom: -20px !important;
    right: -20px !important;
    width: 100px !important;
    height: 100px !important;
    background: radial-gradient(circle at center, rgba(51, 51, 255, 0.15), transparent 70%) !important;
    z-index: 0 !important;
  }
}

@media (max-width: 767px) {
  .partner-grid-matrix {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding: 0 20px !important;
  }
  
  .partner-value-card {
    padding: 35px 25px !important;
  }

  .partner-value-card h4 {
    font-size: 17px !important;
  }

  .why-partner-section .reach-header-row h3 {
    font-size: 32px !important;
  }
}

@media (max-width: 479px) {
  .partner-value-card {
    padding: 30px 20px !important;
  }

  .value-icon-wrap {
    width: 48px !important;
    height: 48px !important;
  }

  .partner-value-card h4 {
    font-size: 16px !important;
  }
}

/* ----------------------------------------------------------------
   10. FAQ & CONTACT — Responsive Refinements (GLASS DESIGN)
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .faq-contact-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 50px !important; /* Reduced gap */
    padding: 0 20px !important;
    margin-bottom: 60px !important; /* Reduced margin */
  }

  .faq-contact-section {
    padding: 60px 0 !important; /* Reduced section padding */
  }

  .about-section-premium {
    padding: 40px 0 !important; /* Reduced section padding */
  }

  .faq-content {
    width: 100% !important;
    text-align: center !important;
  }

  .faq-content .heading-title-premium {
    font-size: 42px !important;
    text-align: center !important;
    margin: 15px auto !important;
    letter-spacing: -2px !important;
    line-height: 1 !important;
  }

  .faq-content .heading-title-premium span {
    display: block !important;
    background: linear-gradient(to right, #fff, #ff00cc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 1.1em !important;
    margin-top: 5px !important;
  }

  .faq-content .heading-subtitle-pink {
    font-size: 11px !important;
    letter-spacing: 5px !important;
    display: inline-block !important;
    background: rgba(255, 0, 204, 0.1) !important;
    padding: 8px 16px !important;
    border-radius: 100px !important;
    border: 1px solid rgba(255, 0, 204, 0.2) !important;
  }

  .faq-content .cta-description {
    margin: 0 auto 45px !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    opacity: 0.5 !important;
  }

  .faq-accordion {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }

  .faq-item {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
  }

  .faq-item:hover {
    border-color: rgba(255, 0, 204, 0.3) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .faq-question {
    padding: 24px 22px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .faq-icon {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    background: rgba(255, 0, 204, 0.1) !important;
    border-radius: 50% !important;
    position: relative !important;
  }

  .faq-icon::before, .faq-icon::after {
    content: '' !important;
    position: absolute !important;
    background: #ff00cc !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .faq-icon::before { width: 10px !important; height: 2px !important; }
  .faq-icon::after { width: 2px !important; height: 10px !important; }

  .contact-form-side {
    width: 100% !important;
    padding: 0 !important;
  }

  .contact-form-premium {
    padding: 30px 25px !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    background: rgba(8, 8, 8, 0.6) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(35px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
    border-radius: 36px !important;
    box-shadow: 0 50px 120px rgba(0,0,0,0.7) !important;
    position: relative !important;
  }

  .contact-form-premium::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: 10% !important;
    right: 10% !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #ff00cc, transparent) !important;
  }

  .contact-form-premium .service-title-ai {
    font-size: 36px !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    letter-spacing: -1px !important;
  }

  .contact-form-premium p {
    text-align: center !important;
    margin-bottom: 20px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  .faq-content .heading-title-premium {
    font-size: 34px !important;
  }

  .faq-content .cta-description {
    font-size: 15px !important;
  }

  .form-group-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .form-group-row .form-input-premium {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .submit-btn-premium {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 16px !important;
    margin-top: 12px !important;
    background: linear-gradient(135deg, #ff00cc, #3333ff) !important;
    box-shadow: 0 10px 30px rgba(255, 0, 204, 0.3) !important;
  }

  .contact-form-premium {
    padding: 25px 20px !important;
  }

  .contact-form-premium .service-title-ai {
    font-size: 30px !important;
  }
}

@media (max-width: 479px) {
  .faq-content .heading-title-premium {
    font-size: 30px !important;
  }

  .faq-question {
    font-size: 15px !important;
    padding: 20px 18px !important;
  }

  .contact-form-premium {
    padding: 40px 20px !important;
    border-radius: 28px !important;
  }

  .faq-contact-container {
    gap: 40px !important;
  }

  .faq-contact-section {
    padding: 40px 0 !important;
  }

  .about-container {
    padding: 20px 15px !important;
  }

  .speaker-card-premium {
    width: 280px !important;
    height: 380px !important;
    border-radius: 20px !important;
  }

  .speaker-card-name {
    font-size: 20px !important;
  }

  .speaker-card-overlay {
    padding: 20px !important;
  }
}

/* ----------------------------------------------------------------
   11. CONFERENCES PAGE — What We Do & Process Grid
   ---------------------------------------------------------------- */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-bottom: 80px !important;
  }

  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    margin-bottom: 60px !important;
  }

  .gallery-title {
    font-size: 20px !important;
  }

  .gallery-content {
    padding: 20px 15px 15px !important;
  }

  .gallery-img-box {
    height: 200px !important;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .gallery-img-box {
    height: 220px !important;
  }

  .process-text-card {
    padding: 35px 25px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .process-image-card {
    height: 350px !important;
    order: -1 !important;
  }

  .process-text-card h3 {
    font-size: 28px !important;
    margin-bottom: 20px !important;
  }

  .process-text-card ul li {
    font-size: 15px !important;
    margin-bottom: 15px !important;
  }

  .conference-types-grid, .why-choose-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    margin-bottom: 60px !important;
  }

  .offer-header-row {
    margin-bottom: 30px !important;
  }
}

@media (max-width: 479px) {
  .gallery-grid {
    margin-bottom: 50px !important;
  }

  .gallery-img-box {
    height: 180px !important;
  }

  .conference-types-grid, .why-choose-grid {
    grid-template-columns: 1fr !important;
    margin-bottom: 50px !important;
  }

  .process-grid {
    margin-bottom: 50px !important;
  }

  .process-image-card {
    height: 250px !important;
  }

  .process-text-card h3 {
    font-size: 24px !important;
  }

  .process-text-card {
    padding: 30px 20px !important;
  }

  .process-text-card ul li {
    font-size: 14px !important;
  }

  .offer-header-row {
    margin-bottom: 25px !important;
  }
}

/* ================================================================
   HOME PAGE HERO — MOBILE RESPONSIVE FIX
   Collapses the 3-column Webflow hero into a single centered view.
   Only affects ≤767px. Desktop is untouched.
   ================================================================ */
@media (max-width: 767px) {

  /* Hero section: fill viewport, relative so children can be absolute */
  .home-hero-section {
    height: 100svh !important;
    min-height: 480px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* Background image: covers the full section, sits at bottom layer */
  .hero-bg-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
  }

  .home-hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: brightness(0.82) !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    transition: opacity 2s ease-in-out !important;
    z-index: 1 !important;
  }

  .home-hero-image.active {
    opacity: 1 !important;
    z-index: 2 !important;
  }

  /* Gradient overlay — slight darkening from bottom */
  .home-hero-gradient {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    opacity: 0.5 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%) !important;
  }

  /* Hide animated grid elements that cause lag on mobile */
  .hero-grid-wrapper,
  .hero-grid-holder,
  .hero-gradient-cursor,
  .hero-grid-gradient,
  .hero-grid-shapes {
    display: none !important;
  }

  /* Content layer: absolute, centered, above the image */
  .hero-container-sticky {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Collapse the 3-column Webflow grid into a single column, centered */
  .home-hero-section .container {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 24px !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .home-hero-section .w-layout-grid.grid-6-columns {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 0 !important;
    text-align: center !important;
  }

  /* Show 3rd hero column (Trillium text) on mobile, hide 1st & 2nd */
  .home-hero-section .hero-grid-content:nth-child(1),
  .home-hero-section .hero-grid-content:nth-child(2) {
    display: none !important;
  }

  .home-hero-section .hero-grid-content:nth-child(3) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    /* Override Webflow IX2 inline opacity/transform */
    opacity: 1 !important;
    transform: none !important;
    -webkit-transform: none !important;
    visibility: visible !important;
  }

  /* Force the Trillium content and title to always be visible */
  .hero-grid-content-3,
  .hero-grid-content-3 .hero-title {
    opacity: 1 !important;
    transform: none !important;
    -webkit-transform: none !important;
    visibility: visible !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    filter: none !important;
    animation: none !important;
    -webkit-animation: none !important;
    transition: opacity 0s, transform 0s !important;
  }

  /* Center the inner content blocks */
  .hero-content-1,
  .hero-grid-content-1,
  .hero-grid-content-3 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }


  /* Hero title — clean, crisp, no blur/wipe artifacts on refresh */
  .home-hero-section .hero-title {
    font-size: 36px !important;
    line-height: 1.15 !important;
    letter-spacing: -1px !important;
    text-align: center !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    filter: none !important;
    opacity: 1 !important;
    animation: none !important;
    -webkit-animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    will-change: auto !important;
    backdrop-filter: none !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6) !important;
  }

  /* Center the CTA button */
  .home-hero-section .hero-button-wrap {
    display: flex !important;
    justify-content: center !important;
    margin-top: 24px !important;
  }

  /* Hide gradient ghost content inside first column */
  .hero-grid-content-gradient {
    display: none !important;
  }

  /* Hide the big scrolling TRILLIUM-EVENTS marquee on mobile */
  .big-text-wrap,
  .two-lines-text-wrap {
    display: none !important;
  }

  /* Hide the bottom big button on mobile */
  .big-button-holder {
    display: none !important;
  }

  /* Scroll indicator — unnecessary on mobile */
  .scroll-down-anim {
    display: none !important;
  }
}
/* ── End of Mobile Hero Fix (max-width: 767px only) ── */

/* ================================================================
   TRILLIUM EVENTS — GLOBAL NAVIGATION HOVER FIX
   Bridges the physical gap between the dropdown toggle and the list
   to prevent the menu from disappearing prematurely.
   ================================================================ */
@media (min-width: 992px) {
  /* Override inline overflow: hidden !important using higher specificity */
  .nav-dropdown .services-dropdown-list,
  .nav-dropdown .events-dropdown-list {
    overflow: visible !important;
  }

  .services-dropdown-list::before,
  .events-dropdown-list::before {
    content: "" !important;
    position: absolute !important;
    top: -45px !important;
    left: 0 !important;
    right: 0 !important;
    height: 45px !important;
    background: transparent !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
  }
}

/* ================================================================
   TRILLIUM EVENTS — PREMIUM CHECKBOX CAPTCHA DESIGN
   ================================================================ */
.captcha-container-premium {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 10px 16px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.captcha-container-premium:hover {
  border-color: rgba(255, 0, 204, 0.3) !important;
  box-shadow: 0 4px 25px rgba(255, 0, 204, 0.1) !important;
}

.captcha-checkbox-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  cursor: pointer !important;
  user-select: none !important;
}

.captcha-checkbox-box {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.captcha-checkbox-input {
  position: absolute !important;
  opacity: 0 !important;
  cursor: pointer !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  margin: 0 !important;
}

.captcha-checkbox-custom {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 28px !important;
  height: 28px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.captcha-checkbox-wrapper:hover .captcha-checkbox-custom {
  border-color: #ff00cc !important;
  box-shadow: 0 0 10px rgba(255, 0, 204, 0.3) !important;
}

.captcha-checkbox-wrapper.loading .captcha-checkbox-custom {
  border-color: #ff00cc !important;
  border-top-color: transparent !important;
  animation: captcha-spin 0.8s linear infinite !important;
  border-radius: 50% !important;
  width: 22px !important;
  height: 22px !important;
  left: 3px !important;
  top: 3px !important;
}

.captcha-checkbox-wrapper.verified .captcha-checkbox-custom {
  border-color: #34c759 !important;
  background: rgba(52, 199, 89, 0.1) !important;
  box-shadow: 0 0 15px rgba(52, 199, 89, 0.3) !important;
}

.captcha-checkmark-svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #34c759 !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  fill: none !important;
  display: none !important;
}

.captcha-checkbox-wrapper.verified .captcha-checkmark-svg {
  display: block !important;
  animation: draw-check 0.4s ease-in-out forwards !important;
}

.captcha-label-premium {
  color: rgba(255, 255, 255, 0.8) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  transition: color 0.3s ease !important;
}

.captcha-checkbox-wrapper:hover .captcha-label-premium {
  color: #fff !important;
}

.captcha-lock-icon {
  color: rgba(255, 255, 255, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.3s ease !important;
}

.captcha-container-premium:hover .captcha-lock-icon {
  color: rgba(255, 0, 204, 0.6) !important;
  transform: scale(1.05) !important;
}

.captcha-feedback-message {
  font-size: 13px !important;
  margin-top: 10px !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  display: none;
  font-weight: 500 !important;
  animation: fadeIn 0.4s ease forwards !important;
}

.captcha-feedback-error {
  display: block !important;
  background: rgba(255, 59, 48, 0.1) !important;
  border: 1px solid rgba(255, 59, 48, 0.3) !important;
  color: #ff3b30 !important;
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.1) !important;
}

.captcha-feedback-success {
  display: block !important;
  background: rgba(52, 199, 89, 0.1) !important;
  border: 1px solid rgba(52, 199, 89, 0.3) !important;
  color: #34c759 !important;
  box-shadow: 0 0 15px rgba(52, 199, 89, 0.1) !important;
}

@keyframes captcha-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes draw-check {
  0% { stroke-dashoffset: 50; stroke-dasharray: 50; }
  100% { stroke-dashoffset: 0; stroke-dasharray: 50; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   GLOBAL COMPACT CONTACT FORM OVERRIDES (Applies to all pages)
   ================================================================ */
.contact-form-premium {
  padding: 30px 40px !important;
}
.contact-form-premium p {
  margin-bottom: 20px !important;
}
.form-group-row {
  gap: 15px !important;
  margin-bottom: 12px !important;
}
.form-input-premium {
  padding: 12px 20px !important;
  margin-bottom: 12px !important;
}
.contact-form-premium textarea {
  height: 90px !important;
}
.form-textarea-premium {
  height: 90px !important;
}
.submit-btn-premium {
  padding: 14px !important;
  margin-top: 12px !important;
}