/* ---------- Design tokens ---------- */
    :root {
      --bg: #ffffff;
      --surface: #fff5ec;
      --surface-2: #faf7f2;
      --ink: #0e1430;
      --ink-soft: #4b5575;
      --muted: #5d667e;
      --line: #ece6db;
      --brand: #1d4ed8;
      --brand-dark: #1e40af;
      --accent: #c44100;
      --accent-soft: #ff8e4f;
      --cta: #c44100;
      --cta-dark: #a33300;
      --success: #1f9d6e;
      --shadow-sm: 0 1px 2px rgba(14, 20, 48, .04), 0 1px 3px rgba(14, 20, 48, .05);
      --shadow-md: 0 8px 24px rgba(14, 20, 48, .06), 0 2px 6px rgba(14, 20, 48, .04);
      --shadow-lg: 0 20px 50px rgba(14, 20, 48, .12);
      --radius: 14px;
      --radius-lg: 22px;
      --container: 1180px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      color: var(--ink-soft);
      background: var(--bg);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block
    }

    a {
      color: inherit;
      text-decoration: none
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
      line-height: 1.2;
      color: var(--ink)
    }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 20px
    }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 24px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 15px;
      border: 0;
      cursor: pointer;
      transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
      white-space: nowrap;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    .btn-primary {
      background: var(--cta);
      color: #fff;
      box-shadow: 0 10px 24px rgba(255, 106, 26, .30)
    }

    .btn-primary:hover {
      background: var(--cta-dark);
      transform: translateY(-1px);
      box-shadow: 0 12px 28px rgba(229, 90, 16, .38)
    }

    .btn-secondary {
      background: #fff;
      color: var(--brand);
      border: 1.5px solid var(--brand)
    }

    .btn-secondary:hover {
      background: var(--brand);
      color: #fff
    }

    .btn-block {
      width: 100%
    }

    .btn-sm {
      padding: 10px 18px;
      font-size: 14px
    }

    /* ---------- Header ---------- */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .92);
      backdrop-filter: saturate(140%) blur(10px);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      gap: 16px
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo img {
      height: 35px;
      width: auto
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px
    }

    .nav-links a {
      font-weight: 600;
      color: var(--ink-soft);
      font-size: 15px
    }

    .nav-links a:hover {
      color: var(--brand)
    }

    /* ---------- Breadcrumb ---------- */
    .breadcrumb {
      background: var(--surface-2);
      padding: 12px 0;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      border-bottom: 1px solid var(--line);
    }

    .breadcrumb a {
      color: var(--brand);
    }

    .breadcrumb span {
      margin: 0 8px;
    }

    /* ---------- Hero ---------- */
    .hero {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(900px 500px at 90% -10%, rgba(255, 138, 61, .22), transparent 60%),
        radial-gradient(800px 500px at 0% 100%, rgba(29, 78, 216, .10), transparent 60%),
        linear-gradient(180deg, #fff5ec 0%, #ffffff 100%);
      color: var(--ink);
      padding: 60px 0 80px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 50px;
      align-items: flex-start
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow-sm);
      padding: 10px 18px;
      border-radius: 999px;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: .5px;
      margin-bottom: 18px;
    }

    .eyebrow .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 0 4px rgba(31, 157, 110, .18)
    }

    .hero-brand {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 24px;
    }

    .college-logo-hero {
      width: 95px;
      height: 95px;
      border-radius: 16px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      box-shadow: var(--shadow-md);
      padding: 6px;
    }

    .college-logo-hero img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    .hero h1 {
      font-size: clamp(22px, 2.6vw, 34px);
      font-weight: 800;
      color: var(--ink);
      letter-spacing: -.5px;
      line-height: 1.15;
    }



    .hero h1 .accent {
      color: var(--cta);
    }

    .hero p.lede {
      margin-top: 18px;
      font-size: 16px;
      color: var(--ink-soft);
      max-width: 560px;
      line-height: 1.6;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 30px;
    }

    .info-tile {
      background: #fff;
      border: 1px solid var(--line);
      padding: 14px;
      border-radius: 12px;
      text-align: center;
      box-shadow: var(--shadow-sm);
    }

    .info-tile .lbl {
      font-size: 11px;
      color: var(--muted);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .5px
    }

    .info-tile .val {
      font-size: 16px;
      font-weight: 700;
      color: var(--ink);
      margin-top: 4px
    }

    .hero-card {
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      padding: 28px;
      color: var(--ink);
      position: sticky;
      top: 100px;
    }

    .hero-card h3 {
      font-size: 22px;
      margin-bottom: 6px
    }

    .hero-card p {
      color: var(--ink-soft);
      font-size: 14px;
      margin-bottom: 18px
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px
    }

    .field {
      margin-bottom: 12px
    }

    .field label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--ink-soft)
    }

    .field input,
    .field select {
      width: 100%;
      padding: 12px 14px;
      border: 1.5px solid var(--line);
      border-radius: 12px;
      font-size: 15px;
      font-family: inherit;
      color: var(--ink);
      background: #fff;
      transition: border .15s;
    }

    .field input:focus,
    .field select:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 4px rgba(29, 78, 216, .15)
    }

    /* ---------- Content blocks ---------- */
    .main-content {
      padding: 60px 0;
    }

    .content-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 50px;
      align-items: flex-start;
    }

    .content-grid > div {
      min-width: 0;
    }

    .college-profile h2 {
      font-size: 26px;
      margin-bottom: 18px;
      font-weight: 800;
    }

    .college-profile p {
      margin-bottom: 14px;
      line-height: 1.6;
    }

    .highlights-box {
      margin: 30px 0;
      padding: 24px;
      background: var(--surface-2);
      border-radius: var(--radius);
      border-left: 4px solid var(--cta);
    }

    .highlights-box h4 {
      font-size: 17px;
      margin-bottom: 14px;
    }

    .highlights-box ul {
      list-style: none;
      display: grid;
      gap: 10px;
    }

    .courses-section {
      margin-top: 40px;
    }

    .courses-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }

    .course-chip {
      background: rgba(255, 106, 26, .08);
      color: var(--cta);
      padding: 8px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255, 106, 26, .25);
      font-size: 13px;
      font-weight: 600;
    }

    .recruiter-pill {
      background: #f8fafc;
      border: 1.5px solid var(--line);
      border-radius: 99px;
      padding: 10px 20px;
      font-size: 14px;
      font-weight: 700;
      color: var(--ink);
      box-shadow: var(--shadow-sm);
      transition: all 0.2s ease;
      cursor: default;
    }
    .recruiter-pill:hover {
      background: var(--surface);
      border-color: var(--accent);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    /* ---------- Video Slider ---------- */
    .video-section {
      margin-top: 50px;
    }

    .slider-container {
      position: relative;
      width: 100%;
    }

    .v-slider {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      padding-bottom: 12px;
      margin-top: 16px;
      scroll-snap-type: x mandatory;
      width: 100%;
      max-width: 100%;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }

    .v-slider::-webkit-scrollbar {
      height: 6px;
    }

    .v-slider::-webkit-scrollbar-track {
      background: transparent;
    }

    .v-slider::-webkit-scrollbar-thumb {
      background: #d1d5db;
      border-radius: 10px;
    }

    .v-slider video {
      height: 260px;
      border-radius: 12px;
      flex-shrink: 0;
      background: #000;
      scroll-snap-align: start;
      object-fit: cover;
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #111;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      user-select: none;
      padding: 0;
      line-height: 1;
    }

    .slider-arrow:hover {
      background: rgba(255, 255, 255, 0.95);
      transform: translateY(-50%) scale(1.08);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
      color: var(--brand, #ff6a1a);
    }

    .slider-arrow:active {
      transform: translateY(-50%) scale(0.95);
    }

    .slider-arrow.prev {
      left: 10px;
    }

    .slider-arrow.next {
      right: 10px;
    }

    @media (max-width: 768px) {
      .slider-arrow {
        display: none;
      }
    }

    /* ---------- Gated Brochure ---------- */
    .gated-box {
      margin-top: 50px;
      padding: 30px;
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1.5px solid var(--line);
    }

    .gated-box h3 {
      font-size: 20px;
      margin-bottom: 8px;
    }

    .gated-box p {
      font-size: 14px;
      color: var(--ink-soft);
      margin-bottom: 18px;
    }

    /* ---------- Footer ---------- */
    footer {
      background: var(--surface-2);
      color: var(--ink-soft);
      padding: 50px 0 24px;
      border-top: 1px solid var(--line);
      margin-top: 80px;
    }

    .foot-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr 1.2fr 1fr;
      gap: 30px;
      margin-bottom: 30px
    }

    footer h4 {
      color: var(--ink);
      font-size: 15px;
      margin-bottom: 14px;
      text-transform: uppercase;
      letter-spacing: 1px
    }

    footer a {
      display: block;
      padding: 5px 0;
      font-size: 14px;
      color: var(--ink-soft)
    }

    footer a:hover {
      color: var(--cta)
    }

    .copyright {
      border-top: 1px solid var(--line);
      padding-top: 20px;
      text-align: center;
      font-size: 13px;
      color: var(--muted)
    }

    /* ---------- Floating WhatsApp ---------- */
    .whatsapp-float {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: var(--success);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
      z-index: 40;
      transition: transform .2s;
      border: 0;
      cursor: pointer;
    }

    .whatsapp-float:hover {
      transform: scale(1.08)
    }

    .whatsapp-float svg {
      width: 30px;
      height: 30px
    }

    /* Toast */
    .toast {
      position: fixed;
      bottom: 100px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--ink);
      color: #fff;
      padding: 14px 22px;
      border-radius: 12px;
      box-shadow: var(--shadow-lg);
      font-weight: 600;
      font-size: 14px;
      z-index: 200;
      opacity: 0;
      pointer-events: none;
      transition: all .3s;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0)
    }

    /* WABA Widget Customization */
    .wa-widget {
      position: fixed;
      bottom: 96px;
      right: 24px;
      width: 340px;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
      z-index: 100;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transform: translateY(20px);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .wa-widget.active {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .wa-header {
      background: #095e54;
      color: #fff;
      padding: 20px 20px;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .wa-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      flex-shrink: 0;
    }

    .wa-info h4 {
      color: #fff;
      font-size: 16px;
      margin-bottom: 3px;
    }

    .wa-info p {
      font-size: 13px;
      color: #d1f4ec;
    }

    .wa-body {
      background: #e5ddd5;
      padding: 20px;
      position: relative;
    }

    .wa-bubble {
      position: relative;
      background: #fff;
      padding: 12px 16px;
      border-radius: 0 12px 12px 12px;
      font-size: 14px;
      color: var(--ink);
      box-shadow: 0 1px 1px rgba(0,0,0,0.1);
      max-width: 85%;
      margin-bottom: 8px;
    }

    .wa-bubble::before {
      content: "";
      position: absolute;
      top: 0;
      left: -8px;
      width: 0;
      height: 0;
      border-top: 12px solid #fff;
      border-left: 12px solid transparent;
    }

    .wa-time {
      display: block;
      text-align: right;
      font-size: 11px;
      color: var(--muted);
      margin-top: 6px;
    }

    .wa-footer {
      padding: 16px 20px;
      background: #fff;
    }

    .wa-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      background: #25d366;
      color: #fff;
      padding: 12px;
      border-radius: 99px;
      font-weight: 700;
      font-size: 15px;
      text-decoration: none;
      transition: background 0.2s;
    }

    .wa-btn:hover {
      background: #128c7e;
    }

    /* Responsive */
    .form-grid-2col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    @media (max-width: 960px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }

      .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .hero-card {
        position: relative;
        top: 0;
      }

      .foot-grid {
        grid-template-columns: 1fr 1fr;
      }

      .nav-links {
        display: none;
      }

      .wa-widget {
        bottom: 160px;
        z-index: 100;
      }
    }

    @media (max-width: 600px) {
      .hero-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }
      .college-logo-hero {
        width: 85px;
        height: 85px;
        border-radius: 12px;
        padding: 6px;
      }
    }

    @media (max-width: 520px) {
      .form-row {
        grid-template-columns: 1fr;
      }

      .info-grid {
        grid-template-columns: 1fr;
      }

      .foot-grid {
        grid-template-columns: 1fr;
      }

      .wa-widget {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 160px;
      }

      .form-grid-2col {
        grid-template-columns: 1fr !important;
      }

      .modal-body {
        padding: 16px !important;
      }

      .modal-hero {
        padding: 16px !important;
      }

      .v-slider a, .v-slider video {
        width: 280px !important;
        height: 180px !important;
      }

      .gated-box {
        padding: 20px !important;
      }

      .hero-card {
        padding: 20px !important;
      }

      .logo img {
        height: 28px;
      }
    }

    @media (max-width: 768px) {
      .field input,
      .field select {
        font-size: 16px !important;
      }
    }

    /* External Backend Form compatibility & Success styling */
    .apply-card {
      background: #fff;
      padding: 35px;
      border-radius: 20px;
      max-width: 500px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .apply-card h3 {
      margin: 0 0 5px 0;
      color: #333;
    }
    .apply-card .sub {
      font-size: 13px;
      color: #666;
      margin-bottom: 25px;
    }
    .rendered-form {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    .form-group {
      width: 100%;
    }
    .form-group.field-mobile, .form-group.field-email, .form-group.field-state, .form-group.field-city {
      width: 48%;
    }
    .form-control {
      width: 100%;
      height: auto;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
    }
    .btn-submit:hover {
      background: #e55a10;
    }
    .form-note {
      text-align: center;
      font-size: 11px;
      margin-top: 15px;
      color: #888;
    }
    .alert {
      padding: 16px;
      border-radius: 12px;
      margin-top: 15px;
      font-size: 14px;
      line-height: 1.5;
    }
    .alert-success {
      background: #e6f6ec;
      border: 1px solid #b2ebd4;
      color: #0d5a3a;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 4px 12px rgba(13, 90, 58, 0.05);
      animation: fadeIn 0.4s ease-in-out;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    /* Timed Popup Overlay Classes */
    .modal-overlay.active {
      opacity: 1 !important;
      pointer-events: auto !important;
    }
    .modal-overlay.active .modal-content {
      transform: scale(1) !important;
    }
    .error-div {
      animation: fadeIn 0.2s ease-in-out;
    }

    /* Tabs Navigation styling */
    .tab-nav-container {
      background: #ffffff;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      position: sticky;
      top: 60px;
      z-index: 40;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    }
    .tab-nav-grid {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .tab-nav-grid::-webkit-scrollbar {
      display: none;
    }
    .tab-link {
      padding: 14px 4px;
      font-weight: 700;
      font-size: 14.5px;
      color: var(--ink-soft);
      border-bottom: 3px solid transparent;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .tab-link:hover {
      color: var(--brand);
    }
    .tab-link.active {
      color: var(--brand);
      border-color: var(--brand);
    }

    /* Tab visibility rules */
    body.tab-overview .tab-admission-only,
    body.tab-overview .tab-fees-only,
    body.tab-overview .tab-courses-only,
    body.tab-overview .tab-placements-only,
    body.tab-overview .tab-reviews-only {
      display: none !important;
    }

    body.tab-admission .tab-overview-only,
    body.tab-admission .tab-fees-only,
    body.tab-admission .tab-courses-only,
    body.tab-admission .tab-placements-only,
    body.tab-admission .tab-reviews-only {
      display: none !important;
    }

    body.tab-fees .tab-overview-only,
    body.tab-fees .tab-admission-only,
    body.tab-fees .tab-courses-only,
    body.tab-fees .tab-placements-only,
    body.tab-fees .tab-reviews-only {
      display: none !important;
    }

    body.tab-courses .tab-overview-only,
    body.tab-courses .tab-admission-only,
    body.tab-courses .tab-fees-only,
    body.tab-courses .tab-placements-only,
    body.tab-courses .tab-reviews-only {
      display: none !important;
    }

    body.tab-placements .tab-overview-only,
    body.tab-placements .tab-admission-only,
    body.tab-placements .tab-fees-only,
    body.tab-placements .tab-courses-only,
    body.tab-placements .tab-reviews-only {
      display: none !important;
    }

    body.tab-reviews .tab-overview-only,
    body.tab-reviews .tab-admission-only,
    body.tab-reviews .tab-fees-only,
    body.tab-reviews .tab-courses-only,
    body.tab-reviews .tab-placements-only {
      display: none !important;
    }

    /* Reviews section dynamic styling */
    .reviews-summary-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr 1fr;
      gap: 24px;
      margin-bottom: 40px;
      background: var(--surface-2);
      padding: 24px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
    }
    .review-card {
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .review-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md) !important;
    }
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(14, 20, 48, 0.65);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      padding: 16px;
    }
    .modal-overlay.active {
      display: flex;
    }
    @media (max-width: 768px) {
      .reviews-summary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .reviews-summary-grid > div:not(:last-child) {
        border-right: none !important;
        border-bottom: 1px solid var(--line);
        padding-right: 0 !important;
        padding-bottom: 16px;
      }
    }
  
/* Navigation header fix for laptops and smaller desktops to prevent wrapping and alignment issues */
.nav-links a {
  white-space: nowrap !important;
}
@media (min-width: 961px) and (max-width: 1280px) {
  .nav {
    padding: 10px 16px !important;
    gap: 10px !important;
  }
  .nav-links {
    gap: 12px !important;
  }
  .nav-links a {
    font-size: 13.5px !important;
  }
  .nav-cta {
    gap: 6px !important;
  }
  .nav-cta .btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
  .logo img {
    height: 28px !important;
  }
}

/* Mobile header overlapping overlay fix */
@media (max-width: 960px) {
  .nav-cta {
    display: none !important;
  }
}

@media (min-width: 961px) {
  .mobile-cta-group {
    display: none !important;
  }
}

/* ============ MERGED DROPDOWN & FOOTER LAYOUT STYLES ============ */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: 14px;
  padding: 24px;
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: block;
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr;
  gap: 24px;
}

.dropdown-col {
  text-align: left;
}

.dropdown-col h4 {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 6px;
}

.dropdown-col a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft) !important;
  padding: 6px 0;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.dropdown-col a:hover {
  color: var(--brand) !important;
  transform: translateX(3px);
}

/* Responsive adjustments for dropdown on mobile */
@media (max-width: 960px) {
  .dropdown-container {
    display: block;
    width: 100%;
    text-align: center;
  }
  .dropdown-trigger {
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  }
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 10px 0 0 10px !important;
    min-width: 100% !important;
    background: transparent !important;
  }
  .dropdown-menu-inner {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .dropdown-col h4 {
    border-bottom: 1px solid rgba(14,20,48,0.08) !important;
    color: var(--brand) !important;
    text-align: center;
  }
  .dropdown-col a {
    text-align: center;
    padding: 8px 0 !important;
    font-size: 14.5px !important;
  }
  .dropdown-col a:hover {
    transform: none !important;
  }
}





/* ============ Footer Dark SEO Megagrid ============ */
.footer-seo-megagrid {
  background: #0f172a;
  color: #f8fafc;
  padding: 60px 0;
  border-top: 1px solid #1e293b;
  text-align: left;
}
.seo-grid-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
}
.seo-grid-col {
  text-align: left;
}
.seo-grid-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #334155;
  padding-bottom: 6px;
}
.seo-grid-col a {
  display: block !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  padding: 4px 0 !important;
  font-weight: 500;
  transition: color 0.15s;
  white-space: normal;
  line-height: 1.4;
}
.seo-grid-col a:hover {
  color: #f97316 !important;
}

/* ============ Main Footer 5-Column Grid ============ */
footer {
  background: #fffcf8;
  color: var(--ink-soft);
  padding: 50px 0 24px;
  border-top: 1px solid var(--line);
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
}
footer h4 {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer a {
  display: block !important;
  padding: 5px 0 !important;
  font-size: 14px !important;
  color: var(--ink-soft) !important;
}
footer a:hover {
  color: var(--brand) !important;
}

@media (max-width: 1024px) {
  .seo-grid-container {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  footer .foot-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .seo-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  footer .foot-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 480px) {
  .seo-grid-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .seo-grid-col {
    text-align: center !important;
  }
  .seo-grid-col a {
    text-align: center !important;
  }
  footer .foot-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  footer .foot-grid div {
    text-align: center !important;
  }
  footer .foot-grid a {
    text-align: center !important;
  }
}
