:root {
    --primary-900: #05163A;
    --primary-700: #0F49A4;
    --primary-500: #1E63CE;
    --primary-300: #6AA2FF;
    --accent-red-600: #B51224;
    --accent-red-500: #E0202C;
    --accent-red-300: #F45B6A;
    --neutral-50: #F5F7FF;
    --neutral-100: #EAF0FF;
    --neutral-500: #5C6A88;
    --neutral-700: #1F2740;
    --shadow-soft: 0 24px 48px -30px rgba(15, 73, 164, 0.5);
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--neutral-700);
    background: var(--neutral-50);
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 73, 164, 0.08);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--primary-700);
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: white;
    border: 3px solid rgba(15, 73, 164, 0.12);
    display: grid;
    place-items: center;
    box-shadow: 0 18px 32px -18px rgba(15, 73, 164, 0.6);
    overflow: hidden;
}

.brand-logo img {
    width: 46px;
    height: 46px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-name {
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(32, 52, 107, 0.7);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red-500), var(--primary-500));
    color: white;
    box-shadow: 0 18px 30px -16px rgba(224, 32, 44, 0.45);
}

.btn-outline {
    border: 1px solid rgba(224, 32, 44, 0.25);
    color: var(--accent-red-600);
    background: rgba(255, 255, 255, 0.92);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 32px -18px rgba(15, 73, 164, 0.35);
}

.hero {
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(106, 162, 255, 0.22), transparent 55%),
                linear-gradient(165deg, rgba(15, 73, 164, 0.92), rgba(224, 32, 44, 0.88)),
                url('https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1600&q=70') center/cover;
    color: white;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 73, 164, 0.7), rgba(224, 32, 44, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem 1.5rem 4.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.hero-text .subline {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-highlight {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    backdrop-filter: blur(12px);
}

.hero-highlight span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(224, 32, 44, 0.28), rgba(15, 73, 164, 0.32));
    font-size: 1.5rem;
}

.card-hero {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid rgba(224, 32, 44, 0.12);
    box-shadow: 0 26px 56px -38px rgba(224, 32, 44, 0.45);
}

.card-hero h3 {
    color: var(--primary-700);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card-hero ul {
    display: grid;
    gap: 0.75rem;
    color: var(--neutral-700);
}

section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--primary-700);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: var(--neutral-500);
    max-width: 700px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 45px -38px rgba(15, 73, 164, 0.45);
    border: 1px solid rgba(15, 73, 164, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px -35px rgba(10, 46, 115, 0.45);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(224, 32, 44, 0.15), rgba(30, 99, 206, 0.2));
    color: var(--primary-700);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.scholarship {
    background: linear-gradient(125deg, rgba(15, 73, 164, 0.08), rgba(224, 32, 44, 0.1));
    border-radius: 28px;
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.scholarship .highlight {
    font-size: 1.1rem;
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
}

.scholarship .badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(224, 32, 44, 0.15), rgba(15, 73, 164, 0.25));
    color: var(--primary-700);
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.scholarship ul {
    display: grid;
    gap: 0.75rem;
    color: var(--neutral-500);
}

.scholarship .cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.hostel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.hostel-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 73, 164, 0.1);
    box-shadow: 0 22px 52px -38px rgba(15, 73, 164, 0.45);
}

.hostel-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(224, 32, 44, 0.16), rgba(15, 73, 164, 0.22));
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    color: var(--primary-700);
    margin-bottom: 1.25rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.testimonial {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(15, 73, 164, 0.1);
    box-shadow: 0 24px 60px -42px rgba(224, 32, 44, 0.32);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial .name {
    font-weight: 700;
    color: var(--primary-700);
}

.testimonial .tag {
    font-size: 0.85rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stats-card {
    background: linear-gradient(140deg, var(--primary-700), var(--accent-red-500));
    color: white;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

.stats-card hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.stats-card .strong {
    font-weight: 600;
}

.form-section {
    background: white;
    box-shadow: 0 28px 60px -42px rgba(224, 32, 44, 0.38);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.form-section h3 {
    color: var(--primary-700);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-section p {
    color: var(--neutral-500);
    margin-bottom: 1.5rem;
}

.panel-list {
    display: grid;
    gap: 1rem;
}

.panel {
    background: rgba(23, 118, 210, 0.08);
    color: var(--primary-700);
}

.panel:nth-of-type(2) {
    background: rgba(46, 197, 206, 0.1);
}

.lead-form {
    display: grid;
    gap: 1.5rem;
}

.flash-messages {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.flash {
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 12px 24px -18px rgba(15, 73, 164, 0.4);
}

.flash.success {
    background: rgba(46, 197, 106, 0.18);
    border: 1px solid rgba(46, 197, 106, 0.35);
    color: #166534;
}

.flash.error {
    background: rgba(224, 32, 44, 0.12);
    border: 1px solid rgba(224, 32, 44, 0.35);
    color: var(--accent-red-600);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: var(--neutral-700);
}

input,
select {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 73, 164, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent-red-500);
    box-shadow: 0 0 0 4px rgba(224, 32, 44, 0.12);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
}

.consent {
    font-size: 0.85rem;
    color: var(--neutral-500);
    text-align: center;
}

.map iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 55px -36px rgba(10, 46, 115, 0.4);
}

footer {
    background: linear-gradient(135deg, var(--primary-900), #0B285E);
    color: rgba(255, 255, 255, 0.88);
    padding: 3rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

footer h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-inner ul {
    display: grid;
    gap: 0.5rem;
}

.footer-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.footer-cta .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.footer-cta .btn-primary {
    box-shadow: 0 18px 30px -16px rgba(224, 32, 44, 0.45);
}

footer .copyright {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
}

.floating-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    color: white;
    font-weight: 600;
    box-shadow: 0 20px 40px -20px rgba(10, 46, 115, 0.65);
    transition: transform 0.2s ease;
}

.floating-cta a:hover {
    transform: translateY(-4px);
}

.floating-cta .apply {
    background: linear-gradient(135deg, var(--accent-red-500), var(--primary-500));
}

.floating-cta .whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.scroll-indicator span {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, 12px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }

    .hero-content {
        padding-top: 4.5rem;
        padding-bottom: 4rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 4rem 1.25rem;
    }

    .scholarship {
        padding: 2.5rem;
    }

    .form-section {
        padding: 2.5rem 2rem;
    }

    .floating-cta {
        right: 16px;
        bottom: 20px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-logo img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 520px) {
    .brand-tagline {
        display: none;
    }

    .floating-cta a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .hero-cta .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}
/* MOBILE HERO ULTRA COMPACT */
@media (max-width: 768px) {

  .hero-content{
    padding-top: 0.8rem !important;
    padding-bottom: 2.5rem !important;
  }

  .hero .badge{
    margin-top: 0 !important;
    margin-bottom: 8px !important;
  }

  .hero h1{
    margin-top: 5px !important;
    font-size: 2rem;
    line-height: 2.3rem;
  }

}
/* Reduce hero vertical height */
.hero{
  min-height: unset !important;
  padding-bottom: 60px !important;
}

/* Pull the Integrated Learning box upward */
.hero .feature-box{
  margin-top: -50px !important;
}

/* Mobile extra tightening */
@media (max-width:768px){
  .hero{
    padding-bottom: 35px !important;
  }

  .hero .feature-box{
    margin-top: -20px !important;
  }
}
/* Reduce hero bottom height on mobile */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 20px !important;
    min-height: auto !important;
  }

  /* Move white card upward */
  .feature-box {
    margin-top: -60px !important;
    margin-bottom: 10px !important;
  }

  /* Reduce padding inside card */
  .feature-box {
    padding: 22px 20px !important;
  }

  /* Hide SCROLL indicator (wasting space) */
  .scroll-indicator,
  .scroll-text {
    display: none !important;
  }
}
@media (max-width:768px){

/* Kill hero height */
.hero,
.hero-section,
.hero-wrapper,
.section-hero{
    min-height:auto !important;
    height:auto !important;
    padding-bottom:10px !important;
    margin-bottom:0 !important;
}

/* Pull the white card up */
.feature-box,
.integrated-box,
.white-card{
    margin-top:-120px !important;
    margin-bottom:0 !important;
}

/* Reduce padding inside card */
.feature-box{
    padding:20px 18px !important;
}

/* Remove any fake spacers */
.scroll,
.scroll-indicator,
.scroll-down,
.hero-scroll,
.scroll-text{
    display:none !important;
}

/* Kill any empty div spacing */
.hero *:empty{
    display:none !important;
}
}

