
/* GENERAL STYLING */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #0756b5;
    --dark-blue: #07336b;
    --light-blue: #eaf3ff;
    --white: #ffffff;
    --text: #334155;
}

body {
    color: var(--text);
    background: var(--white);
}

/* NAVIGATION */
header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 23px;
    font-weight: 800;
}

.logo small {
    display: block;
    font-size: 9px;
    letter-spacing: 1px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 1px;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .contact-btn {
    background: var(--primary);
    color: white;
    padding: 11px 20px;
    border-radius: 6px;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO SECTION */

.hero {
    min-height: 580px;
    display: flex;
    align-items: center;
    padding: 60px max(7%, calc((100% - 1200px) / 2));

    background:
        linear-gradient(
            90deg,
            rgba(3,35,82,0.93),
            rgba(4,67,137,0.55)
        ),
        url("/images/Striped Edulent Education Banner.png")
        center/cover no-repeat;

    color: white;
}


.hero-content {
    max-width: 650px;
}

.welcome, .section-tag {
    color: #3e91ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #72b7ff;
}

.hero-description {
    line-height: 1.9;
    margin-bottom: 30px;
    color: #e5efff;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: 0.3s;
}

.primary-btn {
    background: var(--primary);
    color: white;
}

.primary-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid white;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: var(--primary);
}

/* STATISTICS */
.stats {
    max-width: 1100px;
    margin: -35px auto 0;
    position: relative;
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 15px;
    text-align: center;
}

.stat-item h2 {
    font-size: 32px;
    color: var(--primary);
}

.stat-item p {
    font-size: 13px;
}

/* COMMON SECTION */
.section {
    padding: 90px 7%;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px;
}

.section-heading h2, .about-content h2 {
    font-size: 34px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 14px;
    line-height: 1.8;
}

/* ABOUT */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-image img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 12px;
}

.about-content p:not(.section-tag) {
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 14px;
}

/* COURSES */
.courses {
    background: var(--light-blue);
}

.course-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.course-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.course-card h3 {
    color: var(--dark-blue);
    margin-bottom: 12px;
    font-size: 18px;
}

.course-card p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.course-card a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
}

/* FACILITIES */
.facility-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.facility-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.facility-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

.facility-card:hover img {
    transform: scale(1.05);
}

.facility-card h3 {
    padding: 15px 18px 5px;
    color: var(--dark-blue);
}

.facility-card p {
    padding: 0 18px 20px;
    font-size: 13px;
    line-height: 1.7;
}

/* ADMISSION */
.admission {
    background: linear-gradient(120deg, #07336b, #0875d1);
    padding: 55px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    color: white;
}

.admission h2 {
    font-size: 30px;
    margin: 10px 0;
}

.admission p {
    font-size: 14px;
}

.admission-btn {
    background: white;
    color: var(--primary);
    padding: 14px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
}

/* CONTACT */

/* ADMISSIONS ENQUIRY / CONTACT */

.contact {
    background: #f8fbff;
}

.contact-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 60px;
}

/* LEFT CONTENT */

.contact-intro {
    padding: 12px 0;
}

.contact-intro h2 {
    color: #10243e;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.contact-description {
    max-width: 520px;
    color: #526276;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* THREE ENQUIRY STEPS */

.enquiry-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.enquiry-step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
}

.step-number {
    color: var(--dark-blue);
    font-size: 15px;
    font-weight: 700;
    padding-top: 1px;
}

.enquiry-step h3 {
    color: #172b45;
    font-size: 15px;
    margin-bottom: 6px;
}

.enquiry-step p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

/* ENQUIRY FORM CARD */

.enquiry-form-card {
    background: #ffffff;
    border: 1px solid #e1eaf4;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(15, 45, 80, 0.07);
}

.enquiry-form-title {
    color: #10243e;
    font-size: 21px;
    margin-bottom: 22px;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

/* FORM FIELDS */

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    color: #26384d;
    font-size: 13px;
    font-weight: 600;
}

.form-field label span,
.consent-option strong {
    color: #b4232f;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #d6e0eb;
    border-radius: 7px;
    background: #ffffff;
    color: #334155;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #94a3b8;
}

.form-field select {
    cursor: pointer;
}

.form-field textarea {
    min-height: 105px;
    resize: vertical;
}

/* INPUT FOCUS EFFECT */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7, 86, 181, 0.10);
}

/* CONSENT CHECKBOX */

.consent-option {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #475569;
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
}

.consent-option input {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

/* FORM BUTTONS */

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2px;
}

.form-actions .primary-btn {
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 13px 24px;
}

.clear-btn {
    border: 0;
    background: transparent;
    color: #526276;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 12px 4px;
}

.clear-btn:hover {
    color: var(--primary);
}

.form-message {
    min-height: 18px;
    color: var(--primary);
    font-size: 13px;
    line-height: 1.5;
}

/* FOOTER */
footer {
    background: #061f43;
    color: white;
    padding: 55px 7% 0;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-content h2, .footer-content h3 {
    margin-bottom: 18px;
}

.footer-content p, .footer-content a {
    font-size: 13px;
    line-height: 2;
    color: #c6d7ef;
}

.footer-content a {
    display: block;
    text-decoration: none;
}

.footer-content a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #29466b;
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #c6d7ef;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px;
        gap: 22px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.08);
    }

    .nav-links.active {
        display: flex;
    }

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

    .course-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats {
        margin: 20px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 500px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .course-container,
    .facility-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 6%;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 27px;
    }

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

    .admission h2 {
        font-size: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .enquiry-form-card {
        padding: 22px 18px;
    }

    .contact-intro h2 {
        font-size: 29px;
    }

    .form-actions {
        gap: 15px;
        flex-wrap: wrap;
    }

}

/* =================================
   ADDITIONAL MOBILE RESPONSIVENESS
================================= */

/* TABLETS */
@media (max-width: 900px) {

    .navbar {
        padding: 10px 20px;
    }

    .logo-icon {
        width: 65px;
        height: 65px;
    }

    .nav-links {
        top: 100%;
    }

    .hero {
        padding: 60px 6%;
        background-position: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .facility-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE PHONES */
@media (max-width: 600px) {

    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        padding: 8px 15px;
    }

    .logo {
        font-size: 19px;
        gap: 8px;
    }

    .logo-icon {
        width: 55px;
        height: 55px;
    }

    .logo small {
        font-size: 8px;
    }

    .menu-btn {
        font-size: 26px;
    }

    .nav-links {
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    .hero {
        min-height: 480px;
        padding: 45px 6%;
        background-position: center;
    }

    .hero h1 {
        font-size: clamp(32px, 9vw, 42px);
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .stats {
        margin: 20px 15px;
        padding: 22px 10px;
    }

    .stat-item h2 {
        font-size: 25px;
    }

    .stat-item p {
        font-size: 12px;
    }

    .section {
        padding: 50px 5%;
    }

    .about {
        gap: 25px;
    }

    .about-image img {
        height: 250px;
    }

    .course-container,
    .facility-container {
        grid-template-columns: 1fr;
    }

    .course-card {
        padding: 25px;
    }

    .facility-card img {
        height: 200px;
    }

    .admission {
        padding: 40px 6%;
        align-items: stretch;
    }

    .admission-btn {
        text-align: center;
        white-space: normal;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .enquiry-form-card {
        width: 100%;
        padding: 22px 16px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* VERY SMALL PHONES */
@media (max-width: 380px) {

    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .stats {
        margin: 15px 10px;
    }

    .stat-item h2 {
        font-size: 22px;
    }
}
