    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    :root {
        --navy: #0a1628;
        --navy-mid: #112240;
        --blue: #1a4a8a;
        --accent: #e8a020;
        --accent-light: #f5c85a;
        --gold: #c9922a;
        --white: #ffffff;
        --off-white: #f7f5f0;
        --text: #1c1c2e;
        --text-muted: #5a6478;
        --border: #d9d5cc;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'DM Sans', sans-serif;
        background: var(--off-white);
        color: var(--text);
        line-height: 1.6;
    }

    /* HEADER */
    /* Header */
    header {
        text-align: center;
        padding: 20px 0px 0;
        line-height: 1.4;
    }

    header h1 {
        font-size: 20px;
        font-weight: bolder;
        margin: 0;
    }

    header h2 {
        font-size: 18px;
        margin: 0px 0 15px;
        font-weight: bolder !important;
    }

    /* Blue line below header */
    .header-line {
        background-color: #05173b;
        height: 45px;
        width: 100%;
    }


    /* HERO */
    .hero {
        background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, #0d3060 100%);
        padding: 60px 20px 50px;
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 70% 50%, rgba(232, 160, 32, 0.12) 0%, transparent 60%);
    }

    .hero::after {
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        font-family: 'Playfair Display', serif;
        font-size: 220px;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.04);
        pointer-events: none;
        line-height: 1;
    }

    .hero-inner {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        text-align: center;
        z-index: 1;
        align-items: center;
    }

    .hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(232, 160, 32, 0.2);
        border: 1px solid rgba(232, 160, 32, 0.4);
        border-radius: 50px;
        padding: 5px 14px;
        font-size: 12px;
        font-weight: 600;
        color: var(--accent-light);
        letter-spacing: 0.8px;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .hero-tag::before {
        content: '●';
        font-size: 8px;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.3;
        }
    }

    .hero h1 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(28px, 4vw, 50px);
        color: var(--white);
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero h1 em {
        font-style: normal;
        color: var(--accent-light);
    }

    .hero-left p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.75;
    }

    /* MAIN */
    .main {
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 20px 80px;
    }

    .section-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--gold);
        margin-bottom: 10px;
    }

    .section-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(22px, 3vw, 34px);
        line-height: 1.25;
        color: var(--navy);
        margin-bottom: 16px;
    }

    /* INTRO */
    .intro-grid {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 40px;
        margin-bottom: 60px;
        align-items: start;
    }

    .intro-text {
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 14px;
    }

    .info-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 26px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .info-card h3 {
        font-family: 'Playfair Display', serif;
        font-size: 16px;
        margin-bottom: 16px;
        color: var(--navy);
        padding-bottom: 12px;
        border-bottom: 2px solid var(--off-white);
    }

    .info-list {
        list-style: none;
    }

    .info-list li {
        display: flex;
        gap: 10px;
        font-size: 13px;
        color: var(--text-muted);
        padding: 8px 0;
        border-bottom: 1px solid var(--off-white);
    }

    .info-list li:last-child {
        border-bottom: none;
    }

    .info-list li strong {
        color: var(--text);
        font-weight: 600;
        min-width: 110px;
    }


    .cuetpg-section{
padding:60px 0;
}

.container{
max-width:1100px;
margin:auto;
padding:0 20px;
}

.cuet-text{
font-size:16px;
line-height:1.7;
margin-bottom:18px;
color:#333;
}

.sub-heading{
margin-top:35px;
margin-bottom:15px;
font-size:22px;
}

.table-responsive{
overflow-x:auto;
}

.exam-table{
width:100%;
border-collapse:collapse;
font-size:15px;
}

.exam-table th,
.exam-table td{
border:1px solid #ddd;
padding:10px;
text-align:left;
}

.exam-table th{
background:#f5f5f5;
}

.subject-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
gap:10px;
margin-top:10px;
}

.subject-grid span{
background:#f4f6fb;
padding:8px 12px;
border-radius:6px;
font-size:14px;
}

.benefit-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:15px;
}

.benefit-card{
background:#f8f9ff;
padding:18px;
border-radius:10px;
}

.question-block ul{
margin-bottom:15px;
}

.prep-steps{
padding-left:18px;
line-height:1.7;
}


    /* PAPERS */
    .papers-section {
        margin-bottom: 60px;
    }

    .papers-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 28px;
    }

    .filter-tabs {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .filter-tab {
        padding: 7px 16px;
        border-radius: 50px;
        border: 1.5px solid var(--border);
        background: var(--white);
        font-size: 13px;
        font-weight: 500;
        color: var(--text-muted);
        cursor: pointer;
        transition: all 0.2s;
    }

    .filter-tab:hover,
    .filter-tab.active {
        border-color: var(--blue);
        background: var(--blue);
        color: var(--white);
    }

    .papers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 22px;
    }

    .paper-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
        transition: transform 0.25s, box-shadow 0.25s;
    }

    .paper-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(10, 22, 40, 0.12);
    }

    .paper-card-top {
        background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
        padding: 20px 22px 16px;
        position: relative;
        overflow: hidden;
    }

    .paper-card-top::after {
        content: '';
        position: absolute;
        right: -20px;
        top: -20px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
    }

    .paper-year-badge {
        display: inline-block;
        background: var(--accent);
        color: var(--navy);
        font-size: 11px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 50px;
        margin-bottom: 9px;
    }

    .paper-card-top h3 {
        color: var(--white);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.35;
    }

    .paper-card-body {
        padding: 16px 22px 20px;
    }

    .paper-meta {
        display: flex;
        gap: 16px;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }

    .paper-meta-item {
        font-size: 12px;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .paper-meta-item svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

    .paper-tags {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 16px;
    }

    .paper-tag {
        background: var(--off-white);
        border: 1px solid var(--border);
        color: var(--text-muted);
        font-size: 11.5px;
        padding: 3px 9px;
        border-radius: 50px;
        font-weight: 500;
    }

    .download-btn {
        width: 100%;
        background: var(--navy);
        color: var(--white);
        border: none;
        cursor: pointer;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 13.5px;
        font-weight: 600;
        font-family: 'DM Sans', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s;
    }

    .download-btn:hover {
        background: var(--blue);
    }

    .download-btn svg {
        width: 15px;
        height: 15px;
    }

    /* MODAL */
    .modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(10, 22, 40, 0.65);
        backdrop-filter: blur(6px);
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .modal-overlay.open {
        display: flex;
        animation: fadeIn 0.2s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .modal {
        background: var(--white);
        border-radius: 18px;
        margin: 10px;
        width: 100%;
        max-width: 520px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
        animation: slideUp 0.3s cubic-bezier(.2, .8, .3, 1);
    }

    @keyframes slideUp {
        from {
            transform: translateY(30px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .modal-header {
        background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
        padding: 28px 30px 22px;
        border-radius: 18px 18px 0 0;
        position: relative;
    }

    .modal-header-tag {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--accent-light);
        margin-bottom: 6px;
    }

    .modal-header h2 {
        font-family: 'Playfair Display', serif;
        color: var(--white);
        font-size: 20px;
        line-height: 1.3;
    }

    .modal-header p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 13px;
        margin-top: 5px;
    }

    .modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        cursor: pointer;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 17px;
        transition: background 0.2s;
    }

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .modal-body {
        padding: 26px 28px;
    }

    /* SHARED FORM */
    .form-error.error {
        background: #fff3f3;
        border: 1px solid #f5c2c2;
        color: #c0392b;
        border-radius: 8px;
        padding: 10px 14px;
        font-size: 13px;
        margin-bottom: 16px;
        display: none;
    }

    .form-error.error:not(:empty) {
        display: block;
    }

    .form-row {
        margin-bottom: 15px;
    }

    .form-row label {
        display: block;
        font-size: 12.5px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 6px;
    }

    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row input[type="tel"] {
        width: 100%;
        padding: 10px 13px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        font-family: 'DM Sans', sans-serif;
        font-size: 13.5px;
        color: var(--text);
        background: #fafafa;
        transition: border-color 0.2s, box-shadow 0.2s;
        outline: none;
    }

    .form-row input:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(26, 74, 138, 0.1);
        background: var(--white);
    }


    
    .form-submit-btn {
        width: 100%;
        background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
        color: var(--white);
        border: none;
        cursor: pointer;
        padding: 13px 20px;
        border-radius: 10px;
        font-size: 14.5px;
        font-weight: 700;
        font-family: 'DM Sans', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s;
        margin-top: 4px;
    }

    .form-submit-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(26, 74, 138, 0.3);
    }

    .form-submit-btn svg {
        width: 16px;
        height: 16px;
    }

    .form-privacy {
        font-size: 11px;
        margin-top: 10px;
        text-align: center;
        color: var(--text-muted);
        line-height: 1.5;
    }

    .form-privacy a {
        color: var(--blue);
    }

    /* WHY */
    .why-section {
        margin-bottom: 60px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
        margin-top: 28px;
    }

    .feature-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 22px 20px;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #eef4ff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 14px;
        color: var(--blue);
    }

    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-card h4 {
        font-size: 14.5px;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 7px;
    }

    .feature-card p {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.65;
    }

    /* FAQ */
    .faq-section {
        margin-bottom: 60px;
    }

    .faq-list {
        margin-top: 26px;
    }

    .faq-item {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 10px;
        margin-bottom: 9px;
        overflow: hidden;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
        font-weight: 600;
        color: var(--navy);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .faq-question::after {
        content: '+';
        font-size: 20px;
        color: var(--text-muted);
        flex-shrink: 0;
    }

    .faq-item.open .faq-question::after {
        content: '−';
        color: var(--blue);
    }

    .faq-answer {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        font-size: 13.5px;
        color: var(--text-muted);
        line-height: 1.75;
    }

    .faq-item.open .faq-answer {
        max-height: 200px;
        padding: 0 20px 15px;
    }

    /* FOOTER */
    footer {
        background: var(--navy);
        color: rgba(255, 255, 255, 0.55);
        padding: 32px 20px;
        text-align: center;
    }

    footer p {
        font-size: 13px;
        margin-bottom: 5px;
    }

    footer a {
        color: var(--accent-light);
        text-decoration: none;
    }

    /* RESPONSIVE */
    @media (max-width: 960px) {
        .hero-inner {
            grid-template-columns: 1fr;
        }

        .hero::after {
            display: none;
        }
    }

    @media (max-width: 768px) {
        nav {
            display: none;
        }

        .hero {
            padding: 40px 20px 36px;
        }

        .hero-stats {
            gap: 18px;
        }

        .intro-grid {
            grid-template-columns: 1fr;
        }

        .papers-header {
            flex-direction: column;
            align-items: flex-start;
        }



        .modal-overlay {
            padding: 0;
        }

        .modal-header {
            padding: 20px 22px 18px;
            border-radius: 14px 14px 0 0;
        }

        .modal-body {
            padding: 20px 22px;
        }
    }




        .multi-select-wrapper {
        position: relative;
    }

    .multi-select-input {
        min-height: 42px;
        padding: 7px 32px 7px 13px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        background: #fafafa;
        cursor: pointer;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        align-items: center;
        font-size: 13.5px;
        color: var(--text-muted);
        transition: border-color 0.2s;
        position: relative;
    }

    .multi-select-input::after {
        content: '▾';
        position: absolute;
        right: 12px;
        color: var(--text-muted);
        font-size: 12px;
    }

    .multi-select-input:hover,
    .multi-select-input.open {
        border-color: var(--blue);
    }

    .multi-select-dropdown {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: var(--white);
        border: 1.5px solid var(--blue);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 200;
        display: none;
        max-height: 200px;
        overflow-y: auto;
    }

    .multi-select-dropdown.open {
        display: block;
    }

    .multi-select-dropdown ul {
        list-style: none;
        padding: 6px 0;
    }

    .multi-select-dropdown li {
        padding: 9px 14px;
        font-size: 13px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: background 0.15s;
    }

    .multi-select-dropdown li:hover {
        background: var(--off-white);
    }

    .multi-select-dropdown li.selected {
        background: #eef4ff;
        color: var(--blue);
        font-weight: 600;
    }

    .multi-select-dropdown li::before {
        content: '';
        width: 15px;
        height: 15px;
        border: 1.5px solid var(--border);
        border-radius: 4px;
        flex-shrink: 0;
        display: inline-flex;
    }

    .multi-select-dropdown li.selected::before {
        background: var(--blue);
        border-color: var(--blue);
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l4 4 6-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    }

        .multi-select-input .tag {
      background: #005baa;
      color: #fff;
      padding: 3px 8px;
      border-radius: 3px;
      font-size: 12px;
      display: flex;
      align-items: center;
    }

    .multi-select-input .tag span {
      margin-left: 6px;
      cursor: pointer;
    }

    .city-wrapper {
  position: relative;
  overflow: visible !important;
}

/* Dropdown box */
.city-dropdown {
  display: none;
  position: absolute;
  bottom: 100%; /* directly below input */
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Group headers */
.city-dropdown .group-header {
  background: #c0bdbd;
  font-weight: 600;
  font-size: 13px;
  color: #555;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 2; /* makes header stick on scroll */
}

/* City options */
.city-dropdown .city-option {
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.city-dropdown .city-option:last-child {
  border-bottom: none;
}

/* Hover effect */
.city-dropdown .city-option:hover {
  background: #f0f8ff;
  color: #0066cc;
}