* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
}

nav {
    background: #0b1f3a;
    color: white;
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
}

nav a:hover {
    color: #ffc107;
}

.hero {
    background: #eef4ff;
    padding: 90px 8%;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: #0b1f3a;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 25px;
    color: #1d5fa7;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #ffc107;
    color: #111;
    padding: 13px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

section {
    padding: 60px 8%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #0b1f3a;
    margin-bottom: 40px;
}

.courses {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.course {
    width: 220px;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    background: white;
}

.course h3 {
    color: #0b1f3a;
    margin-bottom: 12px;
}

.course p {
    font-size: 14px;
    margin-bottom: 20px;
}

.course button {
    background: #1d5fa7;
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 5px;
    cursor: pointer;
}

.about {
    background: #f5f7fa;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 17px;
}

.contact {
    text-align: center;
}

.contact p {
    margin: 10px 0;
}

footer {
    background: #0b1f3a;
    color: white;
    text-align: center;
    padding: 25px;
}

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 5px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .course {
        width: 100%;
        max-width: 350px;
    }
}/* ===== NEW HEADER ===== */

nav {
    background: #0b1f3a;
    color: white;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

.tagline {
    font-size: 13px;
    color: #ffc107;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffc107;
}

.enquire-btn {
    background: #ffc107;
    color: #111 !important;
    padding: 11px 20px;
    border-radius: 5px;
    font-weight: bold !important;
}

.enquire-btn:hover {
    background: #ffca2c;
    color: #111 !important;
}/* ===== HERO SECTION ===== */

.hero {
    min-height: 520px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 8%;
}

.hero-content {
    max-width: 900px;
}

.hero-small-title {
    color: #1d5fa7;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    color: #0b1f3a;
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-description {
    color: #333;
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .btn {
    background: #0b1f3a;
    color: white;
    padding: 15px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.hero .btn:hover {
    background: #1d5fa7;
}

.contact-btn {
    display: inline-block;
    border: 2px solid #0b1f3a;
    color: #0b1f3a;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.contact-btn:hover {
    background: #0b1f3a;
    color: white;
}/* ===== COURSES SECTION ===== */

.courses-section {
    background: #ffffff;
    text-align: center;
    padding: 80px 8%;
}

.section-subtitle {
    color: #e5a900;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.courses-section .section-title {
    color: #0b1f3a;
    font-size: 38px;
    margin-bottom: 15px;
}

.courses-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    color: #555;
    font-size: 17px;
}

.courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.course {
    width: 210px;
    min-height: 300px;
    padding: 30px 20px;
    background: white;
    border: 1px solid #e5e8ed;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;
    align-items: center;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.course:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef4ff;
    border-radius: 50%;

    font-size: 30px;

    margin-bottom: 20px;
}

.course h3 {
    color: #0b1f3a;
    font-size: 19px;
    margin-bottom: 12px;
}

.course p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;

    margin-bottom: 25px;
    flex-grow: 1;
}

.course-btn {
    display: inline-block;

    background: #0b1f3a;
    color: white;

    padding: 10px 18px;

    border-radius: 5px;

    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.course-btn:hover {
    background: #1d5fa7;
}/* ===== ABOUT SECTION ===== */

.about {
    background: #f5f7fa;
    padding: 80px 8%;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about .section-title {
    color: #0b1f3a;
    font-size: 38px;
    margin-bottom: 25px;
}

.about-text {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}/* ===== WHY CHOOSE US ===== */

.why-us {
    background: #ffffff;
    padding: 80px 8%;
    text-align: center;
}

.why-us .section-title {
    color: #0b1f3a;
    font-size: 38px;
    margin-bottom: 15px;
}

.why-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    color: #555;
    font-size: 17px;
}

.why-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.why-card {
    width: 230px;
    min-height: 250px;
    padding: 30px 20px;

    background: #f8faff;
    border: 1px solid #e3e8f0;
    border-radius: 10px;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.why-icon {
    font-size: 38px;
    margin-bottom: 18px;
}

.why-card h3 {
    color: #0b1f3a;
    font-size: 18px;
    margin-bottom: 12px;
}

.why-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}/* ===== FACULTY SECTION ===== */

.faculty-section {
    background: #f5f7fa;
    padding: 80px 8%;
    text-align: center;
}

.faculty-section .section-title {
    color: #0b1f3a;
    font-size: 38px;
    margin-bottom: 15px;
}

.faculty-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    color: #555;
    font-size: 17px;
}

.faculty-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.faculty-card {
    width: 340px;
    padding: 28px 25px;

    background: white;
    border: 1px solid #e3e8f0;
    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
}

.faculty-photo {
    width: 110px;
    height: 110px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eef4ff;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1d5fa7;
    font-size: 13px;
    font-weight: bold;
}

.faculty-card h3 {
    color: #0b1f3a;
    font-size: 20px;
    margin-bottom: 8px;
}

.faculty-subject {
    color: #1d5fa7;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 12px;
}

.faculty-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}
.faculty-details {
    text-align: left;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.faculty-details p {
    margin-bottom: 12px;
}
/* ===== CONTACT SECTION ===== */

.contact-section {
    background: #ffffff;
    padding: 80px 8%;
}

.contact-section .section-title {
    color: #0b1f3a;
    font-size: 38px;
    text-align: center;
    margin-bottom: 15px;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
    color: #555;
    font-size: 17px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;

    display: flex;
    gap: 50px;
    align-items: stretch;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-info {
    background: #0b1f3a;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 25px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: #d9e2ef;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item strong {
    color: #ffc107;
}

.contact-item span {
    color: white;
}

.contact-form {
    padding: 40px;
    background: #f5f7fa;
    border-radius: 10px;
}

.contact-form h3 {
    color: #0b1f3a;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 13px;
    margin-bottom: 15px;

    border: 1px solid #d5dbe3;
    border-radius: 5px;

    font-family: Arial, sans-serif;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;

    padding: 14px;

    background: #ffc107;
    color: #111;

    border: none;
    border-radius: 5px;

    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background: #e5a900;
}


/* ===== CONTACT MOBILE ===== */

@media (max-width: 700px) {

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        padding: 30px 25px;
    }
}/* ===== FOOTER ===== */

footer {
    background: #0b1f3a;
    color: white;
    padding: 60px 8% 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand,
.footer-links,
.footer-contact {
    flex: 1;
}

.footer-brand h2 {
    font-size: 25px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #ffc107;
    font-size: 14px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #d9e2ef;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: #ffc107;
}

.footer-contact p {
    color: #d9e2ef;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    max-width: 1100px;
    margin: 45px auto 0;

    padding-top: 20px;

    border-top: 1px solid #30435d;

    text-align: center;
}

.footer-bottom p {
    color: #aeb9c8;
    font-size: 13px;
}


/* ===== FOOTER MOBILE ===== */

@media (max-width: 700px) {

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

}/* ===== MOBILE NAVIGATION ===== */

.menu-toggle {
    display: none;

    background: transparent;
    border: none;

    color: white;
    font-size: 28px;

    cursor: pointer;
}


/* ===== MOBILE SCREEN ===== */

@media (max-width: 700px) {

    nav {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background: #0b1f3a;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 0;

        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 8%;
        text-align: center;
    }

    .nav-links .enquire-btn {
        margin: 8px 8%;
        text-align: center;
    }

}/* ===== WHATSAPP BUTTON ===== */

.whatsapp-btn {
    display: inline-block;

    background: #25D366;
    color: white;

    padding: 13px 20px;
    margin-bottom: 30px;

    border-radius: 5px;

    text-decoration: none;
    font-size: 13px;
    font-weight: bold;

    transition: transform 0.2s ease,
                opacity 0.2s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}/* ===== COURSE DETAILS ===== */

.course-details {
    display: none;

    position: relative;

    max-width: 800px;
    margin: 50px auto 0;

    padding: 40px;

    background: #f5f7fa;

    border: 1px solid #dce2ea;
    border-radius: 10px;

    text-align: left;
}

.course-details.show {
    display: block;
}

.course-details h2 {
    color: #0b1f3a;
    font-size: 30px;
    margin-bottom: 15px;
}

.course-details > p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.course-info h3 {
    color: #0b1f3a;
    margin-bottom: 12px;
}

.course-info ul {
    padding-left: 20px;
    color: #555;
    line-height: 1.8;
}

.close-course {
    position: absolute;

    top: 15px;
    right: 18px;

    border: none;
    background: transparent;

    color: #555;

    font-size: 28px;
    cursor: pointer;
}

.close-course:hover {
    color: #0b1f3a;
}

.course-enquire {
    display: inline-block;

    margin-top: 20px;

    padding: 12px 20px;

    background: #ffc107;
    color: #111;

    border-radius: 5px;

    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}/* ===== YOUTUBE SECTION ===== */

.youtube-section {
    background: #0b1f3a;
    padding: 35px 8%;
}

.youtube-content {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 25px;
}

.youtube-icon {
    width: 70px;
    height: 50px;

    background: #ff0000;
    color: white;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;
}

.youtube-text {
    flex: 1;
}

.youtube-text h2 {
    color: white;
    margin-bottom: 8px;
}

.youtube-text p {
    color: #d9e2ef;
    line-height: 1.5;
}

.youtube-btn {
    background: #ff0000;
    color: white;

    padding: 13px 20px;

    border-radius: 5px;

    text-decoration: none;
    font-weight: bold;
    font-size: 13px;

    white-space: nowrap;
}

.youtube-btn:hover {
    opacity: 0.85;
}


/* ===== YOUTUBE MOBILE ===== */

@media (max-width: 700px) {

    .youtube-content {
        flex-direction: column;
        text-align: center;
    }

    .youtube-btn {
        width: 100%;
        text-align: center;
    }

}/* ===== YOUTUBE VIDEOS ===== */

.youtube-videos {
    padding: 60px 8%;
    background: #ffffff;
    text-align: center;
}

.youtube-videos h2 {
    color: #0b1f3a;
    font-size: 28px;
    margin-bottom: 35px;
}

.video-grid {
    max-width: 1100px;
    margin: 0 auto 35px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card {
    background: #f5f7fa;
    border-radius: 8px;
    overflow: hidden;
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.view-youtube-btn {
    display: inline-block;

    background: #ff0000;
    color: white;

    padding: 13px 22px;

    border-radius: 5px;

    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}

.view-youtube-btn:hover {
    opacity: 0.85;
}


/* ===== YOUTUBE VIDEOS MOBILE ===== */

@media (max-width: 700px) {

    .video-grid {
        grid-template-columns: 1fr;
    }

}.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-placeholder {
    aspect-ratio: 16 / 9;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #e9edf2;

    transition: transform 0.2s ease;
}

.video-placeholder span {
    font-size: 42px;
    margin-bottom: 10px;
}

.video-placeholder p {
    font-weight: bold;
    margin: 0;
}

.video-placeholder:hover {
    transform: scale(1.02);
}.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}/* ===== DIRECTOR SECTION ===== */

.director-card {
    max-width: 1100px;
    margin: 40px auto 50px;

    display: grid;
    grid-template-columns: 1fr 300px 1.5fr;

    background: #ffffff;

    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}


/* Director introduction */

.director-intro {
    background: #0b1f3a;
    color: white;

    padding: 45px 35px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.director-label {
    color: #f5b400;

    font-size: 18px;
    font-weight: bold;

    letter-spacing: 1px;

    margin-bottom: 25px;
}

.director-quote {
    font-size: 23px;
    line-height: 1.5;
    font-style: italic;
}


/* Director photo */

.director-photo {
    background: #eef1f5;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    overflow: hidden;
}

.director-photo img {
    width: 100%;
    height: 100%;

    min-height: 320px;

    object-fit: cover;
    object-position: center center;
}


/* Director information */

.director-info {
    padding: 40px 35px;
}

.director-info h3 {
    color: #0b1f3a;

    font-size: 28px;

    margin-bottom: 5px;
}

.director-designation {
    color: #d49b00;

    font-size: 18px;
    font-weight: bold;

    margin-bottom: 20px;
}

.director-highlight {
    color: #333;

    margin-bottom: 20px;
}

.director-description {
    color: #555;

    line-height: 1.6;

    margin-bottom: 25px;
}


/* Director details */

.director-details {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 25px;

    border-top: 1px solid #ddd;

    padding-top: 20px;
}

.director-details strong {
    color: #0b1f3a;

    font-size: 15px;
}

.director-details p {
    color: #555;

    line-height: 1.7;

    font-size: 14px;
}


/* ===== DIRECTOR MOBILE ===== */

@media (max-width: 800px) {

    .director-card {
        grid-template-columns: 1fr;
    }

    .director-photo {
        order: -1;
        min-height: 0;
        aspect-ratio: 5 / 7;
    }

    .director-photo img {
        height: 100%;
        min-height: 0;
        object-position: center top;
    }

    .director-intro {
        padding: 35px 25px;
    }

    .director-info {
        padding: 30px 25px;
    }

    .director-details {
        grid-template-columns: 1fr;
    }

}/* ================================
   STUDY MATERIAL SECTION
================================ */

.study-material-section {
    background: #f5f7fa;
    padding: 80px 8%;
}

.study-material-section .section-title {
    color: #0b1f3a;
    font-size: 38px;
    text-align: center;
    margin-bottom: 15px;
}

.study-material-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    color: #555;
    font-size: 17px;
    text-align: center;
}

.study-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.study-category {
    background: white;
    padding: 30px;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.study-category h3 {
    color: #0b1f3a;
    font-size: 24px;
    margin-bottom: 20px;
}

.study-category > p {
    color: #666;
    font-size: 15px;
}

.study-material-card {
    background: #f8fafc;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    padding: 25px;
}

.study-material-card h4 {
    color: #0b1f3a;
    font-size: 21px;
    margin-bottom: 10px;
}

.material-name {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.material-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.material-description {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.material-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sample-btn,
.register-btn {
    border: none;
    padding: 11px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.sample-btn {
    background: #0b1f3a;
    color: white;
}

.register-btn {
    background: #d4a017;
    color: white;
}

.sample-btn:hover,
.register-btn:hover {
    opacity: 0.85;
}


/* Mobile */
@media (max-width: 768px) {

    .study-material-section {
        padding: 60px 5%;
    }

    .study-material-section .section-title {
        font-size: 30px;
    }

    .study-categories {
        grid-template-columns: 1fr;
    }

    .material-buttons {
        flex-direction: column;
    }

    .sample-btn,
    .register-btn {
        width: 100%;
    }
}/* ================================
   SAMPLE PREVIEW POPUP
================================ */

.sample-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sample-modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 35px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    border: none;
    background: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
}

.sample-modal-content h2 {
    color: #0b1f3a;
    margin-bottom: 8px;
    padding-right: 30px;
}

.sample-modal-content > h3 {
    color: #666;
    margin-bottom: 20px;
}

.sample-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.sample-meta span {
    background: #f1f4f8;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 13px;
    color: #333;
}

.preview-page {
    background: #fff;
    border: 1px solid #ddd;
    padding: 35px;
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-header {
    text-align: center;
    color: #0b1f3a;
}

.preview-page h3 {
    text-align: center;
    margin: 25px 0;
}

.locked-material {
    margin-top: 25px;
    padding: 25px;
    background: #f5f7fa;
    border-radius: 8px;
    text-align: center;
}

.locked-material h3 {
    color: #0b1f3a;
    margin-bottom: 10px;
}

.locked-material p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 600px) {

    .sample-modal-content {
        width: 95%;
        padding: 20px;
    }

    .preview-page {
        padding: 20px;
        font-size: 14px;
    }

    .sample-meta {
        flex-direction: column;
    }

}/* ==============================
   OTP REGISTRATION POPUP
   ============================== */

.otp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);

    align-items: center;
    justify-content: center;
}

.otp-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    text-align: left;
}

.otp-modal-content h2 {
    color: #0b1f3a;
    margin-bottom: 12px;
}

.otp-modal-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.otp-modal-content label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0b1f3a;
}

.otp-modal-content input {
    width: 100%;
    padding: 13px;
    margin-bottom: 15px;
    border: 1px solid #d5dbe3;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.otp-modal-content input:focus {
    outline: none;
    border-color: #0b1f3a;
}

.otp-button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 6px;
    background: #0b1f3a;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.otp-button:hover {
    opacity: 0.9;
}

.otp-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 30px;
    font-weight: bold;
    color: #777;
    cursor: pointer;
}

.otp-close:hover {
    color: #000;
}

#recaptcha-container {
    margin-bottom: 15px;
}

#otpMessage {
    margin-top: 15px;
    font-weight: 600;
}


/* MOBILE */
@media (max-width: 600px) {

    .otp-modal-content {
        width: 90%;
        padding: 25px;
    }

    .otp-modal-content h2 {
        font-size: 24px;
    }

}

.director-role-line {
  white-space: nowrap;
}

/* =====================================================
   PAPER & TYPEWRITER VISUAL REFRESH
   Keeps the existing HTML, content, interactions and links intact.
===================================================== */
:root {
    --paper: #fbfaf6;
    --paper-deep: #f2efe7;
    --ink: #1e2b49;
    --ink-soft: #536078;
    --line: rgba(30, 43, 73, .76);
    --accent: #d85b42;
    --coral: #d85b42;
    --accent-soft: #f3ddd5;
    --highlight: #f2e5a8;
    --shade: rgba(30, 43, 73, .09);
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--paper);
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(30, 43, 73, .055) 32px);
    color: var(--ink);
    font-family: "Courier Prime", "Courier New", Courier, monospace;
    line-height: 1.6;
}

body::before {
    display: none;
}

button,
input,
select,
textarea { font-family: inherit; }

section { scroll-margin-top: 88px; }

/* Header */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 76px;
    padding: 14px 8%;
    color: var(--ink);
    background: rgba(251, 250, 246, .94);
    border-bottom: 1.5px solid var(--line);
    backdrop-filter: blur(10px);
}

.logo-area { gap: 2px; }

.logo {
    color: var(--ink);
    font-size: clamp(1.2rem, 2.1vw, 1.65rem);
    letter-spacing: .06em;
}

.logo::before {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    content: "";
    background: var(--accent);
    border: 1px solid var(--ink);
    transform: rotate(45deg);
}

.tagline { color: var(--ink-soft); font-size: .7rem; letter-spacing: .03em; }
.nav-links { gap: clamp(12px, 2vw, 28px); }
.nav-links a {
    position: relative;
    margin: 0;
    padding: 5px 0;
    color: var(--ink);
    font-size: .78rem;
    font-weight: bold;
    letter-spacing: .04em;
}
.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .enquire-btn,
.nav-links .enquire-btn:hover {
    padding: 8px 12px;
    color: var(--ink);
    background: var(--highlight);
    border: 1.5px solid var(--ink);
    border-radius: 0;
}
.nav-links .enquire-btn::after { display: none; }
.menu-toggle { color: var(--ink); }

/* Hero and general headings */
.hero {
    min-height: min(620px, 78vh);
    padding: clamp(72px, 12vw, 138px) 8% clamp(74px, 11vw, 125px);
    text-align: left;
    background: transparent;
}
.hero-content { max-width: 1040px; margin: 0 auto; }
.hero-small-title,
.section-subtitle {
    color: var(--accent);
    font-size: .76rem;
    font-weight: bold;
    letter-spacing: .13em;
}
.hero h1 {
    max-width: 800px;
    margin: 12px 0 20px;
    color: var(--ink);
    font-size: clamp(3rem, 7.5vw, 6.2rem);
    line-height: .93;
    letter-spacing: .01em;
}
.hero-description { max-width: 620px; color: var(--ink-soft); font-size: clamp(.9rem, 1.6vw, 1.08rem); }
.hero-buttons { gap: 14px; align-items: center; }
.hero-buttons > a {
    display: inline-flex;
    box-sizing: border-box;
    width: 230px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding-right: 16px;
    padding-left: 16px;
    white-space: nowrap;
}
.btn,
.contact-btn,
.course-btn,
.course-enquire,
.sample-btn,
.register-btn,
.contact-form button,
.whatsapp-btn {
    border: 1.5px solid var(--ink) !important;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 var(--shade);
    font-size: .76rem;
    letter-spacing: .04em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn,
.course-enquire,
.contact-form button,
.register-btn { background: var(--highlight); color: var(--ink); }
.contact-btn,
.course-btn,
.sample-btn { background: var(--ink); color: var(--paper); }
.whatsapp-btn { background: #dcebd7; color: var(--ink); }
.btn:hover,
.contact-btn:hover,
.course-btn:hover,
.course-enquire:hover,
.sample-btn:hover,
.register-btn:hover,
.contact-form button:hover,
.whatsapp-btn:hover {
    opacity: 1;
    box-shadow: 1px 1px 0 var(--shade);
    transform: translate(2px, 2px);
}

.section-title,
.courses-section .section-title,
.about .section-title,
.why-us .section-title,
.faculty-section .section-title,
.contact-section .section-title,
.study-material-section .section-title {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.courses-intro,
.about-text,
.why-intro,
.faculty-intro,
.contact-intro,
.study-material-intro { color: var(--ink-soft); }

/* YouTube */
.youtube-section { padding: 28px 8%; background: var(--paper-deep); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.youtube-icon { color: var(--ink); background: var(--accent); border: 1.5px solid var(--ink); border-radius: 0; }
.youtube-text h2 { color: var(--ink); font-size: clamp(1.05rem, 2vw, 1.45rem); }
.youtube-text p { color: var(--ink-soft); }
.youtube-btn,
.view-youtube-btn { color: var(--paper); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 0; box-shadow: 3px 3px 0 var(--shade); }
.youtube-btn:hover,
.view-youtube-btn:hover { opacity: 1; background: var(--accent); color: var(--ink); }
.youtube-videos { background: transparent; }
.youtube-videos h2 { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.3rem); }
.video-card { border: 1.5px solid var(--line); border-radius: 0; background: rgba(255,255,255,.3); box-shadow: 5px 5px 0 var(--shade); }
.video-placeholder { color: var(--ink); background: var(--paper-deep); }
.video-placeholder span { color: var(--accent); filter: drop-shadow(1px 1px 0 var(--ink)); }
.video-placeholder:hover { background: var(--accent-soft); transform: none; }

/* Courses and material */
.courses-section,
.study-material-section,
.faculty-section { background: transparent; }
.course,
.why-card,
.faculty-card,
.study-category,
.study-material-card {
    border: 1.5px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,.32);
}
.course { width: 260px; padding: 28px 22px; }
.course:hover,
.why-card:hover,
.faculty-card:hover { background: var(--accent-soft); box-shadow: 4px 4px 0 var(--shade); transform: translate(-2px, -2px); }
.course-icon,
.why-icon { filter: grayscale(.25); }
.course h3,
.why-card h3,
.faculty-card h3,
.study-category h3,
.study-material-card h4 { color: var(--ink); }
.course p,
.why-card p,
.faculty-description,
.faculty-details,
.study-category > p,
.material-description,
.material-info { color: var(--ink-soft); }
.course-btn { padding: 10px 14px; }
.course-details { background: var(--paper-deep); border: 2px solid var(--line); border-radius: 0; box-shadow: 8px 8px 0 var(--shade); }
.course-details h2,
.course-info h3 { color: var(--ink); }
.course-details > p,
.course-info ul { color: var(--ink-soft); }
.close-course { color: var(--ink); }

.study-categories { max-width: 1160px; margin: 0 auto; }
.study-category { padding: 26px; }
.study-material-card { background: var(--paper-deep); }
.material-name { color: var(--ink); }

/* Informational sections */
.about { background: var(--paper-deep); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); text-align: left; }
.about-content { max-width: 840px; margin: 0 auto; }
.about .section-title { text-align: left; margin-bottom: 25px; }
.about-text { max-width: 760px; margin-bottom: 18px !important; font-size: 1rem; }
.why-us { background: transparent; }
.why-cards { gap: 18px; }
.why-card { width: 250px; min-height: 220px; padding: 25px 20px; }

/* Faculty */
.director-card { border: 2px solid var(--line); border-radius: 0; box-shadow: 8px 8px 0 var(--shade); background: var(--paper); }
.director-intro { background: var(--ink); color: var(--paper); }
.director-label { color: var(--highlight); }
.director-photo { background: var(--paper-deep); }
.director-info { background: var(--paper); }
.director-info h3,
.director-details strong { color: var(--ink); }
.director-designation { color: var(--accent); }
.director-highlight,
.director-description,
.director-details p { color: var(--ink-soft); }
.faculty-card { width: 330px; }
.faculty-photo { border: 1.5px solid var(--line); border-radius: 0; background: var(--paper-deep); color: var(--ink-soft); }
.faculty-photo img { border-radius: 0; }

/* Contact and footer */
.contact-section { background: var(--paper-deep); border-top: 1.5px solid var(--line); }
.contact-container { gap: 22px; }
.contact-info,
.contact-form { border: 1.5px solid var(--line); border-radius: 0; }
.contact-info { color: var(--ink); background: var(--ink); }
.contact-info h3,
.contact-info > p,
.contact-item span { color: var(--paper); }
.contact-item strong { color: var(--highlight); }
.contact-form { background: rgba(255,255,255,.38); }
.contact-form h3 { color: var(--ink); }
.contact-form input,
.contact-form select,
.contact-form textarea { color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 0; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
footer { background: var(--paper); color: var(--ink); border-top: 1.5px solid var(--line); }
.footer-brand h2,
.footer-links h3,
.footer-contact h3 { color: var(--ink); }
.footer-brand p { color: var(--accent); }
.footer-links a,
.footer-contact p,
.footer-bottom p { color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top-color: rgba(30, 43, 73, .3); }

/* Pop-up preview */
.sample-modal { background: rgba(30, 43, 73, .68); }
.sample-modal-content { color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 0; box-shadow: 8px 8px 0 rgba(0,0,0,.2); }
.sample-modal-content h2,
.preview-header,
.locked-material h3 { color: var(--ink); }
.sample-modal-content > h3,
.locked-material p { color: var(--ink-soft); }
.sample-meta span { color: var(--ink); background: var(--highlight); border: 1px solid var(--line); border-radius: 0; }
.preview-page { background: var(--paper); border: 1.5px solid var(--line); box-shadow: none; }
.locked-material { background: var(--paper-deep); border-radius: 0; border: 1.5px solid var(--line); }

@media (max-width: 700px) {
    nav { position: sticky; flex-direction: row; gap: 0; }
    .nav-links { background: var(--paper); border-bottom: 1.5px solid var(--line); }
    .nav-links a { color: var(--ink); }
    .nav-links .enquire-btn { margin: 8px 8%; }
    .hero { min-height: 0; padding: 82px 8% 78px; }
    .hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
    .courses-section,
    .study-material-section,
    .faculty-section,
    .contact-section,
    .why-us,
    .about { padding: 64px 7%; }
    .course { width: 100%; max-width: 460px; }
    .contact-container { gap: 18px; }
}

/* Compact expandable downloads for study-material cards. */
.material-downloads {
    margin-top: 20px;
    border-top: 1px solid rgba(30, 43, 73, .24);
}

.material-downloads summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0 2px;
    color: var(--ink);
    cursor: pointer;
    font-size: .76rem;
    font-weight: bold;
    letter-spacing: .04em;
    list-style: none;
}

.material-downloads summary::-webkit-details-marker { display: none; }
.material-downloads summary::after { content: "+"; color: var(--accent); font-size: 1.35rem; line-height: 1; }
.material-downloads[open] summary { padding-bottom: 11px; }
.material-downloads[open] summary::after { content: "−"; }
.material-downloads .material-buttons:first-of-type { margin-top: 0; }

@media (max-width: 768px) {
    .material-downloads .material-buttons { flex-direction: column; }
    .material-downloads .register-btn { width: 100%; }
}

/* YouTube thumbnails replace the former text-only video placeholders. */
.video-placeholder {
    position: relative;
    overflow: hidden;
    background: var(--paper-deep);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--paper);
    background: rgba(30, 43, 73, .18);
    opacity: 0;
    transition: opacity .25s ease;
}

.video-play {
    display: grid;
    width: 54px;
    height: 42px;
    padding-left: 3px;
    place-items: center;
    color: var(--ink);
    background: var(--accent);
    border: 1.5px solid var(--ink);
}

.video-overlay p {
    margin: 0;
    padding: 3px 8px;
    color: var(--paper);
    background: var(--ink);
    font-size: .72rem;
    font-weight: bold;
}

.video-link:hover .video-thumbnail,
.video-link:focus-visible .video-thumbnail { filter: brightness(.72); transform: scale(1.04); }
.video-link:hover .video-overlay,
.video-link:focus-visible .video-overlay { opacity: 1; }

@media (hover: none) {
    .video-overlay { opacity: 1; background: linear-gradient(transparent 44%, rgba(30,43,73,.75)); }
    .video-overlay p { margin-top: 58px; }
}

/* Header logo and type scale */
nav { min-height: 86px; }

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: clamp(1.45rem, 2.25vw, 1.9rem);
    line-height: 1;
    letter-spacing: .075em;
}

.logo::before {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 1px;
    content: "";
    background: var(--accent);
    border: 1px solid var(--ink);
    transform: rotate(45deg);
}

.tagline {
    margin-left: 27px;
    color: var(--ink-soft);
    font-size: .8rem;
    letter-spacing: .045em;
}

.nav-links {
    flex-wrap: nowrap;
}

.nav-links a {
    font-size: .86rem;
    letter-spacing: .055em;
    white-space: nowrap;
}

.nav-links .enquire-btn,
.nav-links .enquire-btn:hover {
    padding: 10px 14px;
    font-size: .8rem;
}

@media (max-width: 700px) {
    nav { min-height: 74px; }
    .logo { gap: 8px; font-size: 1.25rem; }
    .tagline { margin-left: 36px; font-size: .68rem; }
}

@media (min-width: 701px) and (max-width: 1220px) {
    nav { padding-right: 5%; padding-left: 5%; }
    .nav-links { gap: 13px; }
    .nav-links a { font-size: .76rem; }
    .nav-links .enquire-btn,
    .nav-links .enquire-btn:hover { padding: 8px 10px; font-size: .72rem; }
}

/* =====================================================
   EDITORIAL RHYTHM & DOCUMENT-STYLE DETAILS
===================================================== */
.courses-section,
.youtube-videos,
.why-us,
.faculty-section,
.study-material-section,
.contact-section {
    position: relative;
    padding-right: max(8%, calc((100% - 1160px) / 2));
    padding-left: max(8%, calc((100% - 1160px) / 2));
}

.courses-section,
.why-us,
.faculty-section,
.study-material-section,
.contact-section {
    border-top: 1.5px solid var(--line);
}

/* Gives existing labels and headings a concise editorial hierarchy. */
.courses-section .section-subtitle,
.why-us .section-subtitle,
.faculty-section .section-subtitle,
.contact-section .section-subtitle {
    display: inline-block;
    margin-bottom: 13px;
}

.courses-section .section-title,
.why-us .section-title,
.faculty-section .section-title,
.contact-section .section-title,
.study-material-section .section-title {
    position: relative;
    margin-bottom: 15px;
}

.courses-section .section-title::after,
.why-us .section-title::after,
.faculty-section .section-title::after,
.contact-section .section-title::after,
.study-material-section .section-title::after {
    display: inline-block;
    width: 46px;
    height: 2px;
    margin: 0 0 .2em 17px;
    content: "";
    background: var(--accent);
}

.courses-intro,
.why-intro,
.faculty-intro,
.contact-intro,
.study-material-intro {
    max-width: 660px;
    margin-bottom: 42px;
    font-size: .94rem;
}

/* Numbered reference-card details: no markup or wording changes required. */
.course,
.why-card,
.faculty-card,
.study-category {
    position: relative;
}

.course::before,
.why-card::before,
.faculty-card::before,
.study-category::before {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: bold;
    letter-spacing: .12em;
}

.course:nth-child(1)::before,
.why-card:nth-child(1)::before,
.faculty-card:nth-child(1)::before,
.study-category:nth-child(1)::before { content: "01"; }
.course:nth-child(2)::before,
.why-card:nth-child(2)::before,
.faculty-card:nth-child(2)::before,
.study-category:nth-child(2)::before { content: "02"; }
.course:nth-child(3)::before,
.why-card:nth-child(3)::before,
.faculty-card:nth-child(3)::before,
.study-category:nth-child(3)::before { content: "03"; }
.course:nth-child(4)::before,
.why-card:nth-child(4)::before,
.study-category:nth-child(4)::before { content: "04"; }
.course:nth-child(5)::before,
.study-category:nth-child(5)::before { content: "05"; }
.course:nth-child(6)::before,
.study-category:nth-child(6)::before { content: "06"; }

.course-icon,
.why-icon {
    margin-bottom: 10px;
    font-size: 2rem;
}

.course h3,
.why-card h3,
.faculty-card h3 { letter-spacing: -.025em; }

.course-btn,
.sample-btn,
.register-btn,
.course-enquire,
.contact-form button,
.whatsapp-btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }

.course-btn::after,
.sample-btn::after,
.register-btn::after,
.course-enquire::after,
.whatsapp-btn::after { content: "→"; }

.course-btn:hover::after,
.sample-btn:hover::after,
.register-btn:hover::after,
.course-enquire:hover::after,
.whatsapp-btn:hover::after { transform: translateX(3px); }

/* ===== ADRE COURSE LANDING PAGE ===== */
.course-page { background: var(--paper); color: var(--ink); }
.course-page-header { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.course-page-brand { color: var(--ink); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.course-page-header nav { position: static; min-height: 0; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 20px; background: transparent; color: var(--ink); }
.course-page-header nav a { color: var(--ink); text-decoration: none; font-size: .9rem; }
.course-page-login, .course-page-outline { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--ink); padding: 11px 15px; font-weight: 700; text-decoration: none; color: var(--ink); background: transparent; }
.course-page-login:hover, .course-page-outline:hover { background: var(--ink); color: var(--paper); }
.course-hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(64px, 11vw, 140px) 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(36px, 8vw, 110px); align-items: center; }
.course-hero h1 { color: var(--ink); font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .98; margin: 12px 0 24px; letter-spacing: -.06em; }
.course-hero-copy { max-width: 690px; font-size: 1.1rem; line-height: 1.8; color: var(--ink-soft); }
.course-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.course-status-note { margin-top: 18px; color: var(--ink-soft); font-size: .9rem; }
.course-summary { padding: 30px; background: var(--paper-deep); border: 2px solid var(--line); box-shadow: 9px 9px 0 var(--shade); }
.course-summary h2 { margin: 12px 0 24px; color: var(--ink); font-size: 1.5rem; line-height: 1.25; }
.course-summary dl { margin: 0; }
.course-summary dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.course-summary dt { font-weight: 700; color: var(--ink); }
.course-summary dd { margin: 6px 0 0; color: var(--ink-soft); }
.course-page-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(54px, 8vw, 100px) 0; }
.course-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.course-feature-grid article { padding: 28px; background: #fffdf8; border: 1px solid var(--line); }
.course-feature-grid span { color: var(--coral); font-weight: 700; }
.course-feature-grid h3 { color: var(--ink); margin: 40px 0 10px; font-size: 1.2rem; }
.course-feature-grid p, .course-page-faculty p { color: var(--ink-soft); line-height: 1.7; }
.course-page-paper { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-checklist { margin: 0; padding: 0; list-style: none; }
.course-checklist li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; }
.course-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.course-page-faculty { max-width: 780px; }
.course-page-faculty .course-page-outline { margin-top: 14px; }
.course-enrol { padding: clamp(50px, 8vw, 90px) max(20px, calc((100vw - 1100px) / 2)); background: var(--ink); color: var(--paper); }
.course-enrol .section-subtitle { color: var(--highlight); }
.course-enrol h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 10px 0; }
.course-enrol p { max-width: 650px; color: #e3e6ef; line-height: 1.7; }
.course-enrol .btn { background: var(--highlight); color: var(--ink); }
.course-enrol .course-page-outline { border-color: var(--paper); color: var(--paper); }
.course-enrol .course-page-outline:hover { background: var(--paper); color: var(--ink); }
.course-page-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0; display: flex; justify-content: space-between; color: var(--ink-soft); font-size: .9rem; }
.course-page-footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
.courses-page-hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(60px, 10vw, 120px) 0 48px; }
.courses-page-hero h1 { color: var(--ink); font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.06em; margin: 12px 0 20px; }
.courses-page-hero > p:last-child { max-width: 620px; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.75; }
.courses-page-grid { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-bottom: clamp(65px, 9vw, 115px); display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.courses-page-grid .course { width: auto; min-height: 270px; align-items: flex-start; }
.courses-page-grid .course h2 { color: var(--ink); font-size: 1.25rem; margin: 0 0 12px; }
.courses-page-grid .course .course-icon { margin-bottom: 22px; }
.materials-page-grid { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 clamp(65px, 9vw, 115px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.materials-page-grid .study-category { margin: 0; padding: 28px; background: var(--paper-deep); border: 1.5px solid var(--line); box-shadow: 5px 5px 0 var(--shade); }
.materials-page-grid .study-category h2 { color: var(--ink); font-size: 1.35rem; line-height: 1.3; margin: 10px 0; }
.materials-page-grid .study-category > p:not(.section-subtitle) { color: var(--ink-soft); line-height: 1.65; }
.materials-page-grid .material-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.materials-page-grid .register-btn { flex: 1 1 185px; text-align: center; }
.about-page-intro { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-page-intro h2 { color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.16; }
.about-page-intro p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.about-page-values { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-page-values article { padding: 24px; border: 1px solid var(--line); background: #fffdf8; }
.about-page-values span { color: var(--coral); font-weight: 700; }
.about-page-values h3 { margin: 32px 0 10px; color: var(--ink); font-size: 1.08rem; }
.about-page-values p { color: var(--ink-soft); line-height: 1.65; }
.about-page-team { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0; border-top: 1px solid var(--line); }
.about-page-team .section-title { text-align: left; margin: 8px 0 12px; }
.about-page-team .faculty-intro { max-width: 650px; color: var(--ink-soft); margin-bottom: 32px; }
.about-page-placeholder { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1.2rem; }
.about-page-faculty-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-page-grid { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 clamp(65px, 9vw, 115px); display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 24px; }
.contact-page-details, .contact-page-form { padding: clamp(26px, 4vw, 42px); border: 1.5px solid var(--line); box-shadow: 6px 6px 0 var(--shade); }
.contact-page-details { background: var(--ink); color: var(--paper); }
.contact-page-details h2 { margin: 10px 0; color: var(--paper); font-size: 2rem; }
.contact-page-details > p:not(.section-subtitle) { color: #e3e6ef; line-height: 1.7; }
.contact-page-details .section-subtitle { color: var(--highlight); }
.contact-page-details .whatsapp-btn { margin: 22px 0; background: #dcebd7; color: var(--ink); }
.contact-page-details dl { margin: 12px 0 0; }
.contact-page-details dl div { padding: 15px 0; border-top: 1px solid rgba(251,250,246,.25); }
.contact-page-details dt { color: var(--highlight); font-weight: 700; }
.contact-page-details dd { margin: 5px 0 0; color: var(--paper); }
.contact-page-details dd a { color: var(--paper); }
.contact-page-form { background: var(--paper-deep); }
.contact-page-form h2 { color: var(--ink); margin: 10px 0 22px; font-size: 2rem; }
.contact-page-form form { display: grid; gap: 15px; }
.contact-page-form label { display: grid; gap: 7px; color: var(--ink); font-weight: 700; font-size: .9rem; }
.contact-page-form label span { color: var(--ink-soft); font-weight: 400; }
.contact-page-form input, .contact-page-form select, .contact-page-form textarea { width: 100%; border: 1.5px solid var(--line); padding: 12px; color: var(--ink); background: var(--paper); font: inherit; }
.contact-page-form textarea { resize: vertical; }
.contact-page-form button { border: 1.5px solid var(--ink); padding: 13px; color: var(--ink); background: var(--highlight); box-shadow: 3px 3px 0 var(--shade); cursor: pointer; font: inherit; font-weight: 700; }
.contact-page-status { min-height: 1.4em; margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* ===== FREE PRACTICE ===== */
.practice-nav-link { color: var(--coral) !important; font-weight: 800 !important; }
.practice-hero-btn { display: inline-flex; box-sizing: border-box; min-height: 56px; align-items: center; justify-content: center; padding: 14px 18px; color: #fffaf3 !important; background: var(--coral) !important; border: 2px solid var(--coral) !important; font: inherit; font-weight: 800; line-height: 1; white-space: nowrap; text-decoration: none; box-shadow: none; transition: transform .18s ease, background .18s ease; }
.practice-hero-btn:hover { transform: translateY(-1px); background: #bd4935 !important; }
.practice-page-hero, .practice-catalog, .practice-future { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.practice-page-hero { padding: clamp(65px, 10vw, 120px) 0 54px; }
.practice-page-hero h1 { color: var(--ink); font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.06em; margin: 12px 0 20px; }
.practice-page-hero > p:last-of-type { max-width: 660px; color: var(--ink-soft); line-height: 1.75; font-size: 1.1rem; }
.practice-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.practice-steps span { border: 1px solid var(--line); padding: 10px 13px; background: #fffdf8; color: var(--ink-soft); font-size: .9rem; }
.practice-steps b { color: var(--coral); margin-right: 8px; }
.practice-catalog { padding: 56px 0 clamp(70px, 9vw, 115px); border-top: 1px solid var(--line); }
.practice-section-heading { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 30px; }
.practice-section-heading h2, .practice-future h2 { color: var(--ink); font-size: clamp(1.9rem, 4vw, 3.3rem); letter-spacing: -.045em; margin: 10px 0 0; }
.practice-section-heading > p { max-width: 370px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.practice-test-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.practice-test-card { min-height: 390px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; border: 1.5px solid var(--line); background: #fffdf8; box-shadow: 5px 5px 0 var(--shade); position: relative; }
.practice-card-number { position: absolute; top: 21px; right: 22px; color: var(--coral); font-weight: 800; font-size: .84rem; }
.practice-card-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--highlight); font-weight: 800; font-size: 1.15rem; margin-bottom: 28px; }
.practice-test-card h3 { color: var(--ink); font-size: 1.45rem; margin: 8px 0 12px; }
.practice-test-card > p:not(.section-subtitle) { color: var(--ink-soft); line-height: 1.65; margin: 0; }
.practice-card-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--ink-soft); font-size: .82rem; margin: 22px 0; }
.practice-card-meta span { padding-right: 12px; border-right: 1px solid var(--line); }
.practice-card-meta span:last-child { border: 0; }
.practice-test-card .course-btn { margin-top: auto; }
.practice-future { border-top: 1px solid var(--line); padding: clamp(60px, 9vw, 100px) 0; }
.practice-future > p:not(.section-subtitle) { color: var(--ink-soft); max-width: 620px; line-height: 1.75; }
.practice-future .course-page-outline { margin-top: 10px; }
.practice-back-link { display: inline-block; color: var(--ink); font-weight: 800; margin-bottom: 36px; text-decoration: none; }
.practice-back-link:hover { color: var(--coral); }

.practice-runner-page { min-height: 100vh; }
.practice-runner-header { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 max(20px, calc((100vw - 1180px) / 2)); border-bottom: 1.5px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.practice-timer { justify-self: center; min-width: 84px; padding: 9px 12px; text-align: center; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 800; background: var(--highlight); }
.practice-submit-top { justify-self: end; border: 1.5px solid var(--ink); background: var(--coral); color: #fffaf3; padding: 11px 15px; font: inherit; font-weight: 800; cursor: pointer; }
.practice-runner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(35px, 6vw, 72px) 0; display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: clamp(24px, 5vw, 70px); align-items: start; }
.practice-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--coral); font-size: .76rem; font-weight: 800; letter-spacing: .06em; }
.practice-breadcrumb span:not(:last-child)::after { content: '•'; margin-left: 8px; color: var(--line); }
.practice-question-card { margin-top: 22px; border: 1.5px solid var(--line); background: #fffdf8; padding: clamp(25px, 4vw, 46px); box-shadow: 7px 7px 0 var(--shade); }
.practice-passage { margin-top: 22px; padding: clamp(22px, 3vw, 34px); border: 1.5px solid var(--line); background: var(--paper-deep); }
.practice-passage p:not(.section-subtitle) { color: var(--ink-soft); line-height: 1.78; text-align: justify; text-justify: inter-word; text-indent: 2em; margin: 0 0 1em; }
.practice-passage p:last-child { margin-bottom: 0; }
.practice-question-count { color: var(--coral); font-size: .82rem; font-weight: 800; letter-spacing: .06em; }
.practice-question-card h1 { color: var(--ink); max-width: 780px; font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.35; margin: 15px 0 32px; }
.practice-statement-list { max-width: 780px; list-style: none; margin: -16px 0 32px; padding: 0; display: grid; gap: 11px; color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; }
.practice-statement-list li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 8px; align-items: start; }
.practice-statement-label { color: var(--coral); font-weight: 800; }
.practice-options { display: grid; gap: 10px; }
.practice-option { width: 100%; display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.practice-option:hover, .practice-option.selected { border-color: var(--ink); background: #eaf0ff; }
.practice-option.selected { box-shadow: inset 4px 0 0 var(--coral); }
.practice-option span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border: 1px solid currentColor; font-size: .8rem; font-weight: 800; }
.practice-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.practice-back, .practice-next { border: 1.5px solid var(--ink); padding: 12px 15px; font: inherit; font-weight: 800; cursor: pointer; }
.practice-back { background: transparent; color: var(--ink); }
.practice-back:disabled { opacity: .4; cursor: not-allowed; }
.practice-next { margin-left: auto; background: var(--ink); color: var(--paper); }
.practice-sidebar { padding: 23px; border: 1.5px solid var(--line); background: var(--paper-deep); position: sticky; top: 101px; }
.practice-sidebar h2 { color: var(--ink); margin: 8px 0 12px; font-size: 1.4rem; }
.practice-progress-copy { color: var(--ink-soft); font-size: .9rem; }
.practice-progress-copy b { color: var(--ink); }
.practice-progress { height: 8px; background: #ddd8cc; overflow: hidden; }
.practice-progress span { display: block; height: 100%; background: var(--coral); transition: width .2s ease; }
.practice-palette-label { margin: 26px 0 10px; color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.practice-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.practice-palette button { aspect-ratio: 1; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: .82rem; cursor: pointer; }
.practice-palette button.answered { background: #e4f0df; border-color: #55734e; }
.practice-palette button.current { outline: 2px solid var(--coral); outline-offset: 1px; }
.practice-submit { width: 100%; border: 1.5px solid var(--ink); background: var(--coral); color: #fffaf3; padding: 12px; margin-top: 24px; font: inherit; font-weight: 800; cursor: pointer; }
.practice-sidebar-note { color: var(--ink-soft); font-size: .8rem; line-height: 1.55; margin-bottom: 0; }
.practice-not-found { grid-column: 1 / -1; padding: 80px 0; }
.practice-not-found h1 { color: var(--ink); }
.practice-results { grid-column: 1 / -1; max-width: 860px; }
.practice-results h1 { color: var(--ink); font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.055em; margin: 10px 0 20px; }
.practice-score { display: inline-flex; align-items: baseline; gap: 9px; padding: 22px 26px; background: var(--ink); color: var(--paper); }
.practice-score b { color: var(--highlight); font-size: 3.2rem; line-height: 1; }
.practice-score span { font-size: 1rem; }
.practice-result-message { max-width: 580px; color: var(--ink-soft); line-height: 1.7; margin: 20px 0; }
.practice-result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.practice-result-actions button { cursor: pointer; font: inherit; }
.practice-review { margin-top: 64px; border-top: 1px solid var(--line); }
.practice-review h2 { color: var(--ink); font-size: 2rem; margin: 32px 0 18px; }
.practice-review-item { padding: 22px; border: 1px solid var(--line); border-left-width: 4px; background: #fffdf8; margin-top: 12px; }
.practice-review-item.correct { border-left-color: #55734e; }
.practice-review-item.incorrect { border-left-color: var(--coral); }
.practice-review-item > span { color: var(--coral); font-weight: 800; font-size: .82rem; }
.practice-review-item h3 { color: var(--ink); margin: 8px 0 14px; font-size: 1.08rem; line-height: 1.5; }
.practice-review-item .practice-statement-list { margin: -5px 0 14px; font-size: .98rem; gap: 5px; }
.practice-review-item .practice-statement-list li { grid-template-columns: 1.8rem minmax(0, 1fr); }
.practice-review-item p { color: var(--ink-soft); margin: 7px 0; line-height: 1.6; }
.practice-review-item p b { color: var(--ink); }
.practice-explanation { border-top: 1px solid var(--line); padding-top: 10px; }

@media (max-width: 720px) {
  .course-page-header { align-items: flex-start; flex-direction: column; }
  .course-page-header nav { flex-wrap: wrap; gap: 12px; }
  .course-hero, .course-page-paper { grid-template-columns: 1fr; }
  .course-feature-grid { grid-template-columns: 1fr; }
  .courses-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .materials-page-grid { grid-template-columns: 1fr; }
  .about-page-intro, .about-page-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .about-page-faculty-cards { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .practice-section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .practice-test-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-runner { grid-template-columns: 1fr; }
  .practice-sidebar { position: static; grid-row: 1; }
  .practice-runner-main { grid-row: 2; }
  .course-page-paper { gap: 28px; }
  .course-page-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 540px) {
  .courses-page-grid { grid-template-columns: 1fr; }
  .about-page-intro, .about-page-values { grid-template-columns: 1fr; }
  .course-page-header nav { gap: 10px; }
  .practice-test-grid { grid-template-columns: 1fr; }
  .practice-runner-header { grid-template-columns: 1fr auto; min-height: 70px; }
  .practice-runner-header .course-page-brand { font-size: 1rem; }
  .practice-timer { grid-column: 1; grid-row: 2; justify-self: start; margin-bottom: 12px; }
  .practice-submit-top { grid-column: 2; grid-row: 2; margin-bottom: 12px; }
  .practice-question-card { padding: 23px 18px; }
  .practice-actions { flex-wrap: wrap; }
}
}

/* Content rows echo a paper document rather than isolated glossy panels. */
.study-categories { gap: 18px; }
.study-category { box-shadow: 5px 5px 0 var(--shade); }
.study-material-card { margin-top: 8px; }
.study-material-card + .study-material-card { margin-top: 16px; }
.material-buttons { margin-top: 13px; }

.director-card { margin-top: 32px; }
.faculty-cards { gap: 18px; }
.faculty-card { text-align: left; }
.faculty-photo { margin: 0 0 20px; }
.faculty-subject { color: var(--accent); }

/* A compact faculty pair keeps the portraits and cards in a balanced proportion. */
.about-page-faculty-cards {
  width: min(680px, 100%);
  margin: 18px auto 0;
  gap: 18px;
}
.about-page-faculty-cards .faculty-card {
  width: auto;
  min-height: 610px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.about-page-faculty-cards .faculty-photo {
  width: 100%;
  height: 360px;
  margin: 0 0 24px;
  overflow: hidden;
}
.about-page-faculty-cards .faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-page-faculty-cards .faculty-card h3 { margin: 0 0 8px; }
.about-page-faculty-cards .faculty-description { flex: 1; }

@media (max-width: 720px) {
  .about-page-faculty-cards .faculty-card { min-height: 0; }
  .about-page-faculty-cards .faculty-photo { height: 360px; }
}

.contact-container { max-width: 1100px; }
.contact-info,
.contact-form { box-shadow: 5px 5px 0 var(--shade); }
.contact-item { padding-top: 14px; border-top: 1px solid rgba(251,250,246,.25); }
.contact-item:first-of-type { padding-top: 0; border-top: 0; }

@media (max-width: 700px) {
    .courses-section,
    .youtube-videos,
    .why-us,
    .faculty-section,
    .study-material-section,
    .contact-section {
        padding-right: 7%;
        padding-left: 7%;
    }

    .courses-section .section-title::after,
    .why-us .section-title::after,
    .faculty-section .section-title::after,
    .contact-section .section-title::after,
    .study-material-section .section-title::after { width: 29px; margin-left: 10px; }
}
