

  /* ---- UG Section Reset & Base ---- */
  .ug-root {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
  }

  /* ---- Animated Background ---- */
  .ug-hero {
    position: relative;
    padding: 30px 20px 80px;
    text-align: center;
    /* background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #ede9ff 70%, #f0f4ff 100%); */
    overflow: hidden;
  }

  .ug-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 700px 500px at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
      radial-gradient(ellipse 600px 400px at 80% 30%, rgba(139, 92, 246, 0.10) 0%, transparent 70%),
      radial-gradient(ellipse 400px 300px at 60% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .ug-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }

  .ug-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 24px;
  }

  .ug-hero h2 {
     max-width: 75rem;
      margin: 0 auto 16px;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    position: relative;
  }

  .ug-hero p {
    max-width: 75rem;
    margin: 0 auto 16px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    position: relative;
    text-align: justify;
  }

  .ug-hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 3px;
    margin: 32px auto 0;
  }

  /* ---- What Are UG Programmes ---- */
  .ug-what {
    background: #ffffff;
    padding: 30px 20px;
  }

  .ug-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .ug-section-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 12px;
  }

  .ug-section-title {
    text-align: center;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .ug-section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
    margin: 0 auto 48px;
  }

  .ug-what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .ug-what-text p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
    text-align: justify;
  }

  .ug-stat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ug-stat-card {
    background: linear-gradient(135deg, #f0f6ff, #f5f0ff);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .ug-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-color, linear-gradient(90deg, #3b82f6, #8b5cf6));
  }

  .ug-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.12);
  }

  .ug-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--card-color, linear-gradient(90deg, #3b82f6, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .ug-stat-label {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 4px;
    font-weight: 600;
  }

  /* ---- Why Choose ---- */
  .ug-why {
    background: #f8faff;
    padding: 30px 20px;
  }

  .ug-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
  }

  .ug-why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  .ug-why-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--why-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: 0;
  }

  .ug-why-card:hover::after {
    opacity: 1;
  }

  .ug-why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
  }

  .ug-why-card>* {
    position: relative;
    z-index: 1;
  }

  .ug-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    background: var(--why-icon-bg);
  }

  .ug-why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
  }

  .ug-why-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.7;
  }

  /* ---- Programmes ---- */
  .ug-programmes {
    background: #ffffff;
    padding: 30px 20px;
  }

  .ug-prog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 48px;
  }

  .ug-prog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .ug-prog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
  }

  .ug-prog-header {
    padding: 28px 28px 20px;
    background: var(--prog-header-bg);
    position: relative;
    overflow: hidden;
  }

  .ug-prog-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
  }

  .ug-prog-degree {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .ug-prog-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    position: relative;
  }

  .ug-prog-header-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
    opacity: 0.25;
  }

  .ug-prog-body {
    padding: 24px 28px 28px;
  }

  .ug-prog-body p {
    font-size: 0.9rem;
    text-align: justify;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 5px;
  }

  .ug-prog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
  }

  .ug-prog-tag {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
  }

  .ug-prog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--prog-accent);
    text-decoration: none;
    transition: gap 0.2s ease;
  }

  .ug-prog-link:hover {
    gap: 10px;
  }

  /* ---- Best Courses Guide ---- */
  .ug-guide {
    background: #f8faff;
    padding: 30px 20px;
  }

  .ug-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 48px;
  }

  .ug-guide-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--guide-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .ug-guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.1);
    border-color: var(--guide-color);
  }

  .ug-guide-card .guide-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
  }

  .ug-guide-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
  }

  .ug-guide-card p {
    font-size: 0.85rem;
    color: var(--guide-color);
    font-weight: 600;
  }

  /* ---- Admission Process ---- */
  .ug-admission {
    background: #ffffff;
      padding: 30px 20px;
  }

  .ug-admission-steps {
    display: flex;
    justify-content: center;
    gap: 0;
   
    flex-wrap: wrap;
  }

  .ug-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    padding: 0 10px;
  }

  .ug-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.2));
  }

  .ug-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--step-bg);
    border: 2px solid var(--step-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px var(--step-glow);
  }

  .ug-step h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
  }

  .ug-step p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
    font-weight: 500;
  }

  /* ---- Career & Campus ---- */
  .ug-career {
    background: #f8faff;
    padding: 30px 20px;
  }

  .ug-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
  }

  .ug-glass-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  }

  .ug-glass-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .ug-glass-box h3 span.box-icon {
    font-size: 1.4rem;
  }

  .ug-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .ug-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .ug-bullet-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bullet-color, #3b82f6);
    flex-shrink: 0;
    margin-top: 6px;
  }

  .ug-sector-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }

  .ug-sector-pill {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
  }

  /* ---- FAQ ---- */
  .ug-faq {
    background: #ffffff;
    padding: 30px 20px;
  }

  .ug-faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ug-faq-item {
    background: #f8faff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .ug-faq-q {
    padding: 22px 28px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .ug-faq-q .faq-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    color: #fff;
  }

  .ug-faq-a {
    padding: 0 28px 22px 74px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.75;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
  }

  /* ---- CTA ---- */
  .ug-cta {
    padding: 50px 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #ede9ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .ug-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
  }

  .ug-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
  }

  .ug-cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
  }

  .ug-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
  }

  .ug-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  }

  .ug-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #184ad2);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.4);
  }

  .ug-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
        background: linear-gradient(135deg, #002147, #002147);

    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .ug-btn-secondary:hover {
    background: rgba(#002147, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }

  /* Responsive */
  @media (max-width: 900px) {
    .ug-what-grid {
      grid-template-columns: 1fr;
    }

    .ug-two-col {
      grid-template-columns: 1fr;
    }

    .ug-admission-steps {
      justify-content: center;
    }

    .ug-step:not(:last-child)::after {
      display: none;
    }
  }

  @media (max-width: 600px) {
    .ug-stat-cards {
      grid-template-columns: 1fr 1fr;
    }

    .ug-prog-grid {
      grid-template-columns: 1fr;
    }

    .ug-guide-grid {
      grid-template-columns: 1fr 1fr;
    }

    .ug-hero {
      padding: 60px 16px 50px;
    }

    .ug-glass-box {
      padding: 24px 20px;
    }
  }
