﻿
 

    /* PAGE HERO */
    .page-hero {
      background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1a4a8a 100%);
      position: relative;
      overflow: hidden;
      padding: 80px 0 70px;
    }

    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .page-hero-inner {
      position: relative;
      z-index: 1;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      font-size: 13px;
      color: rgba(255, 255, 255, .55);
    }

    .breadcrumb a {
      color: rgba(255, 255, 255, .7);
      transition: .2s;
    }

    .breadcrumb a:hover {
      color: var(--gold);
    }

    .breadcrumb .sep {
      color: rgba(255, 255, 255, .3);
    }

    .breadcrumb .current {
      color: var(--gold);
    }

    .page-hero h1 {
      margin: 0 0 16px;
      font-size: clamp(28px, 4vw, 46px);
      font-weight: 800;
      color: #fff;
      line-height: 1.15;
      max-width: 700px;
    }

    .page-hero p {
      margin: 0;
      font-size: 16px;
      color: rgba(255, 255, 255, .72);
      max-width: 560px;
      line-height: 1.65;
    }

    .hero-gold-bar {
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, var(--gold), var(--gold-deep));
      border-radius: 4px;
      margin: 20px 0;
    }

    /* PAGE HERO DECO */
    .hero-deco {
      position: absolute;
      right: -80px;
      top: 50%;
      transform: translateY(-50%);
      width: 420px;
      height: 420px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .06);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-deco::before {
      content: '';
      position: absolute;
      inset: 30px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .04);
    }

    .hero-deco::after {
      content: '';
      position: absolute;
      inset: 80px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .03);
    }

    @media(max-width:768px) {
      .hero-deco {
        display: none;
      }
    }

    /* CONTENT SECTION */
    .jms-section {
      padding: 80px 0;
    }

    .jms-grid {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 60px;
      align-items: start;
    }

    @media(max-width:900px) {
      .jms-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }

    /* INFO CARD */
    .jms-info-card {
      background: #fff;
      border-radius: 24px;
      padding: 36px;
      border: 1px solid var(--line);
      box-shadow: 0 8px 40px -12px rgba(8, 29, 69, .12);
      position: sticky;
      top: 90px;
    }

    .jms-logo-box {
      text-align: center;
      padding: 28px 0 24px;
      border-bottom: 1px solid var(--line);
      margin-bottom: 28px;
    }

    .jms-logo-box img {
      width: 160px;
      height: 160px;
      border-radius: 50%;
      object-fit: contain;
      margin: 0 auto 16px;
      border: 3px solid var(--line);
      padding: 12px;
    }

    .jms-logo-box h3 {
      margin: 0 0 6px;
      font-size: 18px;
      font-weight: 700;
      color: var(--navy-deep);
    }

    .jms-logo-box p {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
    }

    .jms-detail-row {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 18px;
    }

    .jms-detail-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: linear-gradient(135deg, #eef2fc, #d8e3fa);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .jms-detail-icon svg {
      color: var(--royal);
    }

    .jms-detail-text {
      font-size: 13.5px;
      line-height: 1.55;
      color: var(--ink);
    }

    .jms-detail-text b {
      display: block;
      font-weight: 700;
      color: var(--navy-deep);
      margin-bottom: 2px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .jms-visit-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 14px;
      border-radius: 12px;
      background: var(--gold);
      color: var(--navy-deep);
      font-weight: 700;
      font-size: 14px;
      margin-top: 24px;
      transition: .25s;
    }

    .jms-visit-btn:hover {
      background: var(--gold-deep);
      color: #fff;
    }

    /* MAIN CONTENT */
    .jms-main {
      min-width: 0;
    }

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11.5px;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--royal);
      margin-bottom: 14px;
    }

    .section-eyebrow::before {
      content: '';
      width: 28px;
      height: 2px;
      background: var(--gold);
      border-radius: 2px;
    }

    .jms-main h2 {
      margin: 0 0 8px;
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 800;
      color: var(--navy-deep);
      line-height: 1.2;
    }

    .jms-main .lead {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.7;
      margin: 0 0 36px;
    }

    /* Content blocks */
    .jms-content-block {
      background: #fff;
      border-radius: 20px;
      padding: 36px;
      border: 1px solid var(--line);
      box-shadow: 0 4px 24px -8px rgba(8, 29, 69, .08);
      margin-bottom: 28px;
    }

    .jms-content-block h3 {
      margin: 0 0 16px;
      font-size: 19px;
      font-weight: 700;
      color: var(--navy-deep);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .jms-content-block h3::before {
      content: '';
      width: 4px;
      height: 22px;
      background: linear-gradient(180deg, var(--gold), var(--royal));
      border-radius: 3px;
      flex-shrink: 0;
    }

    .jms-content-block p {
      margin: 0;
      font-size: 14.5px;
      line-height: 1.8;
      color: var(--muted);
    }

    .jms-content-block p+p {
      margin-top: 14px;
    }

    /* Milestone cards */
    .milestone-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-bottom: 28px;
    }

    @media(max-width:600px) {
      .milestone-grid {
        grid-template-columns: 1fr;
      }
    }

    .milestone-card {
      background: #fff;
      border-radius: 18px;
      padding: 24px 22px;
      border: 1px solid var(--line);
      box-shadow: 0 4px 20px -8px rgba(8, 29, 69, .08);
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .milestone-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--navy-deep), var(--royal));
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .milestone-icon svg {
      color: #fff;
    }

    .milestone-card h4 {
      margin: 0 0 6px;
      font-size: 14.5px;
      font-weight: 700;
      color: var(--navy-deep);
    }

    .milestone-card p {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.55;
    }

    /* Campuses */
    .campus-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 20px;
    }

    .campus-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 18px 20px;
      background: var(--cream);
      border-radius: 14px;
      border: 1px solid var(--line);
    }

    .campus-num {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--gold);
      color: var(--navy-deep);
      font-weight: 800;
      font-size: 13px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .campus-item h4 {
      margin: 0 0 4px;
      font-size: 14px;
      font-weight: 700;
      color: var(--navy-deep);
    }

    .campus-item p {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
    }

    /* FOOTER */
    footer {
      background: var(--navy-deep);
      color: #c3d4f5;
    }

    .footer-map {
      height: 220px;
      background: url('https://maps.googleapis.com/maps/api/staticmap?center=Multan&zoom=12&size=1240x220&style=feature:all|element:labels|visibility:off&key=') center/cover, linear-gradient(180deg, var(--navy-deep), #1a3a6a);
      opacity: .4;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1.4fr;
      gap: 56px;
      padding: 56px 24px 40px;
    }

    @media(max-width:900px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
      }
    }

    @media(max-width:600px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    footer h5 {
      margin: 0 0 20px;
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: .08em;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .foot-logos {
      display: flex;
      gap: 14px;
      margin-bottom: 18px;
    }

    .foot-logos img {
      height: 52px;
      width: auto;
      border-radius: 8px;
    }

    .about-text {
      font-size: 13.5px;
      line-height: 1.6;
      margin: 0 0 18px;
    }

    .foot-social {
      display: flex;
      gap: 10px;
    }

    .foot-social a {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, .07);
      transition: .25s;
    }

    .foot-social a:hover {
      background: var(--gold);
      color: var(--navy-deep);
    }

    .foot-links {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 9px;
    }

    .foot-links a {
      display: block;
      padding: 7px 0;
      font-size: 13.3px;
      color: #c2d1ef;
      transition: .25s;
    }

    .foot-links a:hover {
      color: var(--gold);
      /* padding-left: 6px; */
    }

    .contact-block {
      margin-bottom: 16px;
      font-size: 13.3px;
      line-height: 1.55;
      display: flex;
      gap: 10px;
    }

    .contact-block .ic-sm {
      color: var(--gold);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .contact-block b {
      display: block;
      color: #fff;
      font-size: 12px;
      letter-spacing: .04em;
      margin-bottom: 2px;
    }

    .contact-block span {
      color: #aabbdd;
    }

    .phones {
      color: #aabbdd;
      font-size: 12.5px;
    }

    .foot-bottom {
      text-align: center;
      padding: 18px 24px;
      border-top: 1px solid rgba(255, 255, 255, .07);
      font-size: 13px;
      color: rgba(255, 255, 255, .35);
    }

    .totop {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--gold);
      color: var(--navy-deep);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 14px 26px -8px rgba(0, 0, 0, .4);
      z-index: 200;
      opacity: 0;
      visibility: hidden;
      transform: translateY(12px);
      transition: .3s;
      font-weight: 700;
    }

    .totop.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }