
  :root {
    --primary: #1a3c8f;
    --primary-light: #2554c7;
    --accent: #f97316;
    --accent2: #fbbf24;
    --bg: #f0f4ff;
    --white: #ffffff;
    --dark: #0f1d3a;
    --text: #334155;
    --muted: #64748b;
    --border: #e2e8f0;
    --success: #22c55e;
    --card: #ffffff;
    --shadow: 0 4px 32px rgba(26,60,143,0.10);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

  /* NAV */
  .top-bar {
    background: var(--dark);
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .top-bar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    padding: 7px 24px; gap: 10px;
  }
  .top-bar-social { display: flex; align-items: center; gap: 8px; }
  .top-bar-social a {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.75rem; text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .top-bar-social a:hover { background: var(--accent); transform: translateY(-1px); }

  nav {
    background: #ffffff;
    position: sticky; top: 0; z-index: 100;
    border-top: 4px solid var(--primary);
    box-shadow: 0 2px 12px rgba(26,60,143,0.10);
  }
  .nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 68px; gap: 12px;
  }
  .logo {
    font-family: 'Sora', sans-serif; font-weight: 900; font-size: 1rem;
    color: var(--primary); letter-spacing: 0.5px; text-decoration: none;
    display: flex; align-items: center; gap: 10px; line-height: 1.2;
    flex-shrink: 0;
  }
  .logo img {
    height: 46px; width: 46px; object-fit: contain; border-radius: 50%;
  }
  .logo-text { display: flex; flex-direction: column; }
  .logo span { color: var(--primary); display: block; }
  .nav-links { display: flex; align-items: center; gap: 6px; }
  .nav-links a {
    color: var(--primary); text-decoration: none; font-size: 0.82rem;
    font-weight: 700; transition: color 0.2s; padding: 6px 8px;
    border-radius: 6px; letter-spacing: 0.3px; white-space: nowrap;
    text-transform: uppercase;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--primary-light); background: #eff6ff; }
  .nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .nav-social-icons { display: flex; align-items: center; gap: 5px; margin-right: 6px; }
  .nav-social-link {
    width: 30px; height: 30px; border-radius: 50%;
    background: #f0f4ff; border: 1.5px solid #dbeafe;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 0.72rem; text-decoration: none;
    transition: all 0.2s;
  }
  .nav-social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); }
  .btn-login {
    border: 2px solid var(--primary); color: var(--primary); background: transparent;
    border-radius: 50px; padding: 7px 18px; font-size: 0.82rem; font-weight: 700;
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
    font-family: 'Sora', sans-serif;
  }
  .btn-login:hover { background: var(--primary); color: #fff; }
  .btn-register {
    background: var(--primary); color: #fff;
    border-radius: 50px; padding: 8px 20px; font-size: 0.82rem; font-weight: 700;
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
    font-family: 'Sora', sans-serif; border: 2px solid var(--primary);
  }
  .btn-register:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,60,143,0.25); }
  .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 6px;
  }
  .hamburger span {
    display: block; width: 22px; height: 2px; background: var(--primary);
    border-radius: 2px; transition: all 0.3s;
  }
  /* Mobile menu */
  @media (max-width: 1060px) {
    .nav-links { display: none; }
    .nav-social-icons { display: none; }
    .hamburger { display: flex; }
  }
  @media (max-width: 600px) {
    .btn-login { display: none; }
  }
  body.mobile-menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: #fff;
    padding: 16px 24px; gap: 4px;
    box-shadow: 0 8px 24px rgba(26,60,143,0.12);
    border-top: 1px solid #e2e8f0; z-index: 99;
  }

  /* HERO */
  .hero {
    background: linear-gradient(135deg, #0f1d3a 0%, #1a3c8f 60%, #2554c7 100%);
    padding: 80px 24px 100px;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute; right: -120px; top: -80px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero::after {
    content: ''; position: absolute; left: -60px; bottom: -80px;
    width: 350px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,84,199,0.3) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 60px; flex-wrap: wrap;
  }
  .hero-text { flex: 1; min-width: 280px; position: relative; z-index: 1; }
  .badge {
    display: inline-block; background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.4);
    color: var(--accent2); padding: 6px 16px; border-radius: 100px;
    font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.5px;
  }
  .hero h1 {
    font-family: 'Sora', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px;
    letter-spacing: -1px;
  }
  .hero h1 span { color: var(--accent2); }
  .hero p { color: #94a3b8; font-size: 1.08rem; line-height: 1.7; max-width: 520px; margin-bottom: 32px; }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .cta-primary {
    background: var(--accent); color: #fff; padding: 14px 32px;
    border-radius: 10px; font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: all 0.2s; display: inline-block;
    box-shadow: 0 4px 20px rgba(249,115,22,0.4);
  }
  .cta-primary:hover { background: #ea6c08; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,0.5); }
  .cta-secondary {
    background: rgba(255,255,255,0.1); color: #fff; padding: 14px 32px;
    border-radius: 10px; font-weight: 600; font-size: 1rem;
    text-decoration: none; border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s; display: inline-block; backdrop-filter: blur(8px);
  }
  .cta-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
  .hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
  .stat { text-align: left; }
  .stat-num { font-family: 'Sora', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--accent2); }
  .stat-label { color: #94a3b8; font-size: 0.82rem; font-weight: 500; margin-top: 2px; }

  /* ENQUIRY FORM BOX */
  .form-box {
    background: #fff; border-radius: 20px;
    padding: 40px 36px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    flex: 0 0 380px; min-width: 280px; position: relative; z-index: 1;
    animation: slideUp 0.6s ease both;
  }
  @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  .form-box h2 {
    font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 800;
    color: var(--dark); margin-bottom: 6px;
  }
  .form-box .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
  .form-group { margin-bottom: 16px; }
  .form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
    border-radius: 9px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
    color: var(--dark); background: #f8faff; transition: border 0.2s, box-shadow 0.2s;
    outline: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,84,199,0.12);
    background: #fff;
  }
  .form-group textarea { resize: vertical; min-height: 80px; }
  .form-row { display: flex; gap: 12px; }
  .form-row .form-group { flex: 1; }
  .submit-btn {
    width: 100%; background: var(--primary); color: #fff; border: none;
    border-radius: 10px; padding: 14px; font-size: 1rem; font-weight: 700;
    font-family: 'DM Sans', sans-serif; cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    margin-top: 4px; box-shadow: 0 4px 16px rgba(26,60,143,0.25);
  }
  .submit-btn:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,60,143,0.3); }
  .submit-btn:active { transform: none; }
  .privacy-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 12px; }

  /* SUCCESS */
  #success-msg {
    display: none; background: #f0fdf4; border: 1.5px solid #86efac;
    border-radius: 12px; padding: 20px; text-align: center; margin-top: 16px;
  }
  #success-msg .check { font-size: 2.5rem; margin-bottom: 8px; }
  #success-msg h3 { color: #15803d; font-family: 'Sora', sans-serif; font-size: 1.1rem; margin-bottom: 4px; }
  #success-msg p { color: #166534; font-size: 0.88rem; }

  /* FEATURES */
  .section { padding: 80px 24px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-title {
    text-align: center; margin-bottom: 12px;
  }
  .section-title h2 {
    font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800; color: var(--dark); letter-spacing: -0.5px;
  }
  .section-title h2 span { color: var(--primary-light); }
  .section-title p { color: var(--muted); font-size: 1.05rem; margin-top: 10px; }
  .divider {
    width: 56px; height: 4px; background: var(--accent);
    border-radius: 8px; margin: 18px auto 48px;
  }

  .features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
  .feature-card {
    background: var(--white); border-radius: 16px; padding: 32px 28px;
    box-shadow: var(--shadow); border: 1.5px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,60,143,0.15); }
  .feature-icon {
    width: 54px; height: 54px; border-radius: 14px; display: flex;
    align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px;
  }
  .fi-1 { background: #eff6ff; }
  .fi-2 { background: #fff7ed; }
  .fi-3 { background: #f0fdf4; }
  .fi-4 { background: #fdf4ff; }
  .fi-5 { background: #fff1f2; }
  .fi-6 { background: #f0f9ff; }
  .feature-card h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
  .feature-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

  /* EXAMS */
  .exams-section { background: var(--dark); padding: 80px 24px; }
  .exams-inner { max-width: 1200px; margin: 0 auto; }
  .exams-inner .section-title h2 { color: #fff; }
  .exams-inner .section-title p { color: #94a3b8; }
  .exams-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px; margin-top: 40px;
  }
  .exam-pill {
    background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 18px 16px; text-align: center;
    transition: all 0.2s; cursor: pointer;
  }
  .exam-pill:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
  .exam-pill .exam-icon { font-size: 1.8rem; margin-bottom: 8px; }
  .exam-pill span { color: #fff; font-size: 0.88rem; font-weight: 600; display: block; }

  /* ABOUT */
  .about-section { background: linear-gradient(135deg, #eff6ff 0%, #f0f4ff 100%); padding: 80px 24px; }
  .about-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
  .about-inner h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.5rem,4vw,2.2rem); font-weight: 800; color: var(--dark); margin-bottom: 20px; }
  .about-inner p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 780px; margin: 0 auto 16px; }

  /* TESTIMONIALS */
  .testi-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px; margin-top: 40px;
  }
  .testi-card {
    background: #fff; border-radius: 16px; padding: 28px;
    box-shadow: var(--shadow); border-left: 4px solid var(--accent);
  }
  .stars { color: var(--accent2); font-size: 1.1rem; margin-bottom: 12px; }
  .testi-card p { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
  .testi-author { display: flex; align-items: center; gap: 12px; }
  .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; color: #fff;
  }
  .av-1 { background: linear-gradient(135deg, #1a3c8f, #2554c7); }
  .av-2 { background: linear-gradient(135deg, #f97316, #fbbf24); }
  .av-3 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
  .testi-info strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--dark); }
  .testi-info span { font-size: 0.8rem; color: var(--muted); }

  /* CONTACT SECTION */
  .contact-section { padding: 80px 24px; background: #fff; }
  .contact-inner { max-width: 900px; margin: 0 auto; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
  @media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
  .contact-info h3 { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
  .contact-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
  .info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .info-icon { width: 42px; height: 42px; border-radius: 10px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
  .info-item strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); }
  .info-item span { font-size: 0.88rem; color: var(--muted); }
  .contact-form { background: var(--bg); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
  .contact-form h3 { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 20px; }

  /* FOOTER */
  footer { background: var(--dark); color: #94a3b8; padding: 60px 24px 32px; }
  .footer-inner { max-width: 1200px; margin: 0 auto; }
  .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
  @media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }
  .footer-brand .logo { font-size: 1.3rem; margin-bottom: 14px; display: inline-flex; }
  .footer-brand p { font-size: 0.9rem; line-height: 1.7; color: #64748b; }
  .footer-col h4 { font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
  .footer-col a { display: block; color: #64748b; text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--accent2); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 16px; font-size: 0.85rem; }
  .footer-bottom p { color: #475569; }
  .socials { display: flex; gap: 12px; }
  .social-btn {
    width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    cursor: pointer; transition: background 0.2s; text-decoration: none; color: #fff;
  }
  .social-btn:hover { background: var(--accent); }

  /* EAMCET DOWNLOAD BUTTON */
  .eamcet-banner {
    background: linear-gradient(90deg, #1a3c8f 0%, #f97316 100%);
    padding: 0; position: relative; overflow: hidden;
  }
  .eamcet-banner::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.04'%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");
    pointer-events: none;
  }
  .eamcet-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 24px; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1;
  }
  .eamcet-text { display: flex; align-items: center; gap: 16px; }
  .eamcet-icon {
    width: 52px; height: 52px; background: rgba(255,255,255,0.15);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; flex-shrink: 0; backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.25);
  }
  .eamcet-label strong {
    display: block; color: #fff; font-family: 'Sora', sans-serif;
    font-size: 1.05rem; font-weight: 800;
  }
  .eamcet-label span { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
  .eamcet-download-btn {
    background: #fff; color: #1a3c8f; border: none; border-radius: 12px;
    padding: 14px 32px; font-size: 1rem; font-weight: 800;
    font-family: 'Sora', sans-serif; cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    transition: all 0.2s; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    white-space: nowrap; letter-spacing: -0.3px;
  }
  .eamcet-download-btn:hover {
    background: #fbbf24; color: #0f1d3a;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  }
  .eamcet-download-btn .btn-icon { font-size: 1.2rem; }
  .pulse-ring {
    display: inline-block; position: relative;
  }
  .pulse-ring::after {
    content: ''; position: absolute; inset: -6px; border-radius: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    animation: pulseRing 2s ease-in-out infinite;
  }
  @keyframes pulseRing {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.06); }
  }

  /* MODAL OVERLAY */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(10,20,50,0.7); backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 20px;
  }
  .modal-overlay.open { display: flex; animation: fadeInOverlay 0.25s ease; }
  @keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }

  .modal {
    background: #fff; border-radius: 24px; width: 100%; max-width: 460px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3); overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
    position: relative;
  }
  @keyframes modalSlideUp { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }

  .modal-header {
    background: linear-gradient(135deg, #1a3c8f 0%, #2554c7 100%);
    padding: 28px 32px 24px; text-align: center; position: relative;
  }
  .modal-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 24px;
    background: #fff; border-radius: 24px 24px 0 0;
  }
  .modal-close {
    position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,0.15);
    border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%;
    font-size: 1.1rem; cursor: pointer; display: flex; align-items: center;
    justify-content: center; transition: background 0.2s; z-index: 2;
  }
  .modal-close:hover { background: rgba(255,255,255,0.3); }
  .modal-book-icon { font-size: 3rem; margin-bottom: 10px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }
  .modal-header h2 {
    font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 800;
    color: #fff; margin-bottom: 6px; position: relative; z-index: 1;
  }
  .modal-header p { color: rgba(255,255,255,0.8); font-size: 0.88rem; position: relative; z-index: 1; }

  .modal-body { padding: 8px 32px 32px; }
  .modal-step { }
  .modal-step label {
    display: block; font-size: 0.88rem; font-weight: 700; color: #0f1d3a;
    margin-bottom: 8px; margin-top: 20px;
  }
  .phone-input-wrap {
    display: flex; align-items: center; gap: 0;
    border: 2px solid #e2e8f0; border-radius: 12px; overflow: hidden;
    transition: border 0.2s, box-shadow 0.2s;
  }
  .phone-input-wrap:focus-within {
    border-color: #2554c7; box-shadow: 0 0 0 4px rgba(37,84,199,0.12);
  }
  .phone-prefix {
    background: #f0f4ff; padding: 0 14px; font-weight: 700; color: #1a3c8f;
    font-size: 0.95rem; height: 50px; display: flex; align-items: center;
    border-right: 2px solid #e2e8f0; white-space: nowrap;
    font-family: 'Sora', sans-serif;
  }
  #mobileInput {
    flex: 1; border: none; outline: none; padding: 0 14px;
    font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600;
    color: #0f1d3a; height: 50px; background: #fff; letter-spacing: 1px;
  }
  #mobileInput::placeholder { font-weight: 400; color: #94a3b8; letter-spacing: 0; }
  .modal-error {
    color: #ef4444; font-size: 0.82rem; font-weight: 600;
    margin-top: 8px; display: none; padding-left: 2px;
  }
  .get-link-btn {
    width: 100%; background: linear-gradient(135deg, #1a3c8f, #2554c7);
    color: #fff; border: none; border-radius: 12px; padding: 15px;
    font-size: 1rem; font-weight: 800; font-family: 'Sora', sans-serif;
    cursor: pointer; margin-top: 20px;
    transition: all 0.2s; box-shadow: 0 4px 20px rgba(26,60,143,0.3);
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .get-link-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,60,143,0.4); }
  .get-link-btn:active { transform: none; }

  /* Download revealed */
  .download-reveal {
    display: none; text-align: center; padding: 8px 0 4px;
    animation: revealIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  @keyframes revealIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
  .download-reveal .success-check {
    font-size: 3rem; margin-bottom: 10px; display: block;
  }
  .download-reveal h3 {
    font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 800;
    color: #0f1d3a; margin-bottom: 6px;
  }
  .download-reveal p { color: #64748b; font-size: 0.88rem; margin-bottom: 20px; line-height: 1.6; }
  .download-link-box {
    background: #f0f4ff; border: 2px dashed #2554c7; border-radius: 12px;
    padding: 14px 18px; margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px; word-break: break-all;
  }
  .download-link-box span { font-size: 0.82rem; color: #2554c7; font-weight: 600; flex: 1; }
  .copy-btn {
    background: #2554c7; color: #fff; border: none; border-radius: 8px;
    padding: 7px 14px; font-size: 0.8rem; font-weight: 700; cursor: pointer;
    font-family: 'DM Sans', sans-serif; white-space: nowrap; transition: background 0.2s;
  }
  .copy-btn:hover { background: #1a3c8f; }
  .actual-download-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff; border: none; border-radius: 12px; padding: 15px;
    font-size: 1rem; font-weight: 800; font-family: 'Sora', sans-serif;
    cursor: pointer; text-decoration: none;
    transition: all 0.2s; box-shadow: 0 4px 20px rgba(34,197,94,0.35);
  }
  .actual-download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34,197,94,0.45); }
  .mobile-tag {
    margin-top: 14px; font-size: 0.8rem; color: #94a3b8;
    display: flex; align-items: center; justify-content: center; gap: 5px;
  }

  /* SCROLL ANIMATIONS */
  .fade-up { opacity: 1; transform: none; }

  @media (max-width: 900px) {
    .hero-inner { flex-direction: column; }
    .form-box { flex: 0 0 auto; width: 100%; max-width: 480px; }
    .nav-links { display: none; }
  }
  @media (max-width: 480px) {
    .form-row { flex-direction: column; gap: 0; }
    .hero-stats { gap: 20px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

  /* ── EAMCET DOWNLOAD BUTTON ── */
  .eamcet-bar {
    background: linear-gradient(90deg, #0f1d3a 0%, #1a3c8f 50%, #0f1d3a 100%);
    border-bottom: 3px solid var(--accent);
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: center; gap: 18px;
    flex-wrap: wrap;
  }
  .eamcet-bar p {
    color: #cbd5e1; font-size: 0.95rem; font-weight: 500;
  }
  .eamcet-bar p strong { color: #fff; }
  .eamcet-dl-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #fff; border: none; border-radius: 10px;
    padding: 13px 28px; font-size: 1rem; font-weight: 800;
    font-family: 'Sora', sans-serif; cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(249,115,22,0.5);
    transition: transform 0.15s, box-shadow 0.15s;
    animation: pulse-glow 2.4s ease-in-out infinite;
    white-space: nowrap;
  }
  .eamcet-dl-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(249,115,22,0.65);
  }
  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(249,115,22,0.5); }
    50% { box-shadow: 0 6px 36px rgba(249,115,22,0.85); }
  }

  /* FLOATING STICKY BUTTON */
  .eamcet-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    display: none; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #fff; border: none; border-radius: 50px;
    padding: 14px 24px; font-size: 0.9rem; font-weight: 800;
    font-family: 'Sora', sans-serif; cursor: pointer;
    box-shadow: 0 6px 28px rgba(249,115,22,0.6);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.15s;
    opacity: 0; transform: translateY(16px);
    animation: float-bob 3s ease-in-out infinite;
  }
  .eamcet-float:hover { box-shadow: 0 10px 36px rgba(249,115,22,0.8); }
  @keyframes float-bob {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  /* ── MODAL OVERLAY ── */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(10,18,40,0.75); backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 20px;
  }
  .modal-overlay.open { display: flex; }
  .modal {
    background: #fff; border-radius: 22px;
    padding: 44px 40px; max-width: 460px; width: 100%;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    position: relative; animation: modalPop 0.3s cubic-bezier(.34,1.56,.64,1) both;
  }
  @keyframes modalPop {
    from { opacity:0; transform: scale(0.85) translateY(20px); }
    to   { opacity:1; transform: none; }
  }
  .modal-close {
    position: absolute; top: 16px; right: 18px;
    background: #f1f5f9; border: none; border-radius: 50%;
    width: 34px; height: 34px; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); transition: background 0.2s;
  }
  .modal-close:hover { background: #e2e8f0; color: var(--dark); }

  .modal-icon { font-size: 3rem; text-align: center; margin-bottom: 10px; }
  .modal h2 {
    font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 800;
    color: var(--dark); text-align: center; margin-bottom: 6px;
  }
  .modal .modal-sub {
    color: var(--muted); font-size: 0.9rem; text-align: center;
    margin-bottom: 28px; line-height: 1.6;
  }

  /* step 1 - phone input */
  #step-phone { }
  .phone-input-wrap {
    display: flex; border: 2px solid var(--border); border-radius: 12px;
    overflow: hidden; transition: border 0.2s;
  }
  .phone-input-wrap:focus-within { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,84,199,0.12); }
  .phone-prefix {
    background: #f0f4ff; padding: 13px 14px; font-weight: 700;
    color: var(--primary); font-size: 1rem; border-right: 2px solid var(--border);
    white-space: nowrap; display: flex; align-items: center; gap: 4px;
  }
  #mobile-input {
    border: none; outline: none; flex: 1; padding: 13px 14px;
    font-family: 'DM Sans', sans-serif; font-size: 1.05rem; color: var(--dark);
    background: #fff; letter-spacing: 1px;
  }
  .phone-error {
    color: #ef4444; font-size: 0.82rem; margin-top: 8px;
    display: none; font-weight: 500;
  }
  .phone-error.show { display: block; }
  .modal-submit-btn {
    width: 100%; margin-top: 20px;
    background: linear-gradient(135deg, #1a3c8f, #2554c7);
    color: #fff; border: none; border-radius: 11px;
    padding: 15px; font-size: 1rem; font-weight: 700;
    font-family: 'Sora', sans-serif; cursor: pointer;
    box-shadow: 0 4px 18px rgba(26,60,143,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .modal-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(26,60,143,0.4); }
  .modal-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 12px; }

  /* step 2 - link reveal */
  #step-link { display: none; }
  .link-reveal-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #86efac; border-radius: 14px;
    padding: 24px; text-align: center; margin-bottom: 20px;
  }
  .link-reveal-box .tick { font-size: 2.5rem; margin-bottom: 10px; }
  .link-reveal-box h3 {
    font-family: 'Sora', sans-serif; color: #15803d;
    font-size: 1.05rem; font-weight: 800; margin-bottom: 6px;
  }
  .link-reveal-box p { color: #166534; font-size: 0.88rem; margin-bottom: 16px; }
  .download-link-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #16a34a; color: #fff; text-decoration: none;
    border-radius: 10px; padding: 13px 28px; font-weight: 700;
    font-family: 'Sora', sans-serif; font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(22,163,74,0.35);
    transition: background 0.2s, transform 0.15s;
  }
  .download-link-btn:hover { background: #15803d; transform: translateY(-1px); }
  .mobile-confirm { color: var(--muted); font-size: 0.82rem; margin-top: 10px; }
  .mobile-confirm strong { color: var(--dark); }


.uc-card:hover { transform:translateY(-5px)!important; box-shadow:0 10px 32px rgba(26,60,143,0.15)!important; border-color:#1a3c8f!important; }
.uc-card:hover span { color:#1a3c8f!important; }
@media(max-width:900px){ #upcoming-exams .grid-6 { grid-template-columns:repeat(3,1fr)!important; } }
@media(max-width:560px){ #upcoming-exams .grid-6 { grid-template-columns:repeat(2,1fr)!important; } }
