/* ==============================
   GENERAL STYLES
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #ffffff;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}


/* ==============================
   HEADER
================================= */

.header {
    background: #071a3d;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo span {
    color: #f7941d;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 18px;
}

.navbar a {
    color: white;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a {
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

.navbar a:hover {
    color: #f7941d;
}

.menu-btn {
    display: none;
    border: none;
    background: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}


/* ==============================
   HERO
================================= */

.hero {
    background: linear-gradient(
        135deg,
        #071a3d,
        #0d3475
        );

    color: white;
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    max-width: 650px;
}

.welcome {
    color: #f7941d;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #f7941d;
    display: block;
}

.hero-text > p:not(.welcome) {
    font-size: 18px;
    max-width: 600px;
    color: #e3e8f2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn {
    background: #f7941d;
    color: white;
}

.primary-btn:hover {
    background: #d97908;
}

.secondary-btn {
    border: 2px solid white;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: #071a3d;
}

.hero-card {
    background: white;
    color: #222;
    padding: 40px 30px;
    border-radius: 12px;
    width: 330px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.computer-icon {
    font-size: 65px;
    margin-bottom: 15px;
}

.hero-card h2 {
    color: #071a3d;
    margin-bottom: 10px;
}


/* ==============================
   SECTION HEADING
================================= */

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading p {
    color: #f7941d;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-heading h2 {
    color: #071a3d;
    font-size: 36px;
}


/* ==============================
   ABOUT
================================= */

.about {
    padding: 90px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    color: #071a3d;
    font-size: 25px;
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 15px;
}

.about-box {
    background: #f4f7fb;
    padding: 35px;
    border-left: 5px solid #f7941d;
    border-radius: 8px;
}


/* ==============================
   COURSES
================================= */

.courses {
    background: #f4f7fb;
    padding: 90px 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.course-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.course-card h3 {
    color: #071a3d;
    margin-bottom: 10px;
}


/* ==============================
   WHY US
================================= */

.why-us {
    padding: 90px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature {
    padding: 25px;
    background: #071a3d;
    color: white;
    border-radius: 8px;
}

.feature h3 {
    color: #f7941d;
    margin-bottom: 10px;
}


/* ==============================
   SERVICES
================================= */

.services {
    background: #f4f7fb;
    padding: 90px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service {
    background: white;
    padding: 25px;
    text-align: center;
    font-weight: bold;
    color: #071a3d;
    border-radius: 8px;
    border-bottom: 4px solid #f7941d;
}


/* ==============================
   CALL TO ACTION
================================= */

.cta {
    background: #071a3d;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 25px;
}


/* ==============================
   CONTACT
================================= */

.contact {
    padding: 90px 0;
}

.contact-info {
    max-width: 650px;
    margin: auto;
    background: #f4f7fb;
    padding: 35px;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 15px;
}


/* ==============================
   FOOTER
================================= */

.footer {
    background: #04112a;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer h3 {
    color: #f7941d;
    margin-bottom: 10px;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    color: #aeb8c9;
}


/* ==============================
   MOBILE RESPONSIVENESS
================================= */

@media (max-width: 1050px) {

    .navbar {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #071a3d;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .navbar.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-card {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 29px;
    }
    /* ==============================
   ENROLLMENT
================================= */

.enrollment {
    padding: 70px 0;
    background: #f7941d;
}

.enrollment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.enrollment-label {
    font-weight: bold;
    color: #071a3d;
    margin-bottom: 5px;
}

.enrollment h2 {
    font-size: 40px;
    color: #071a3d;
    margin-bottom: 10px;
}

.enrollment p:not(.enrollment-label) {
    max-width: 650px;
    color: #17243a;
}

.enrollment .primary-btn {
    background: #071a3d;
    white-space: nowrap;
}

.enrollment .primary-btn:hover {
    background: #0d3475;
}

@media (max-width: 600px) {

    .enrollment-content {
        flex-direction: column;
        text-align: center;
    }

}

}
/* ==============================
   COURSE DETAILS
================================= */

.section-description {
    max-width: 700px;
    margin: 15px auto 0;
    color: #666;
}

.course-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card ul {
    list-style: none;
    margin: 15px 0 20px;
}

.course-card li {
    margin-bottom: 8px;
    color: #555;
}

.course-card li::before {
    content: "✓";
    color: #f7941d;
    font-weight: bold;
    margin-right: 8px;
}

.course-btn {
    display: inline-block;
    margin-top: auto;
    padding-top: 15px;
    color: #071a3d;
    font-weight: bold;
    border-top: 1px solid #eee;
}

.course-btn:hover {
    color: #f7941d;
}
/* ==============================
   ENROLLMENT FORM
================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.enrollment-form,
.contact-details {
    background: #f4f7fb;
    padding: 35px;
    border-radius: 10px;
}

.enrollment-form h3,
.contact-details h3 {
    color: #071a3d;
    font-size: 24px;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
    color: #071a3d;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d4d9e2;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f7941d;
}

.form-group textarea {
    resize: vertical;
}

.contact-details {
    border-top: 5px solid #f7941d;
}

.contact-item {
    margin-top: 25px;
}

.contact-item strong {
    color: #071a3d;
}

.contact-item p {
    margin-top: 5px;
    color: #555;
}

.whatsapp-btn {
    display: block;
    margin-top: 30px;
    text-align: center;
    background: #168a45;
    color: white;
}

.whatsapp-btn:hover {
    background: #106b35;
}


/* Mobile */

@media (max-width: 800px) {

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}
/* ==============================
   GALLERY
================================= */

.gallery {
    padding: 90px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #071a3d;
    min-height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px 18px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );
    color: white;
}

.gallery-caption h3 {
    color: #f7941d;
    margin-bottom: 3px;
}

.gallery-caption p {
    font-size: 14px;
}


/* Gallery on tablets */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Gallery on phones */

@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 280px;
    }

}
/* ==============================
   GALLERY LIGHTBOX
================================= */

.gallery-item {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover {
    color: #f7941d;
}
/* ==============================
   ABOUT SECTION
================================= */

.about-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h3 {
    color: #071a3d;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
}

.about-highlight {
    background: #071a3d;
    color: white;
    padding: 40px 25px;
    text-align: center;
    border-radius: 12px;
    border-bottom: 5px solid #f7941d;
}

.about-highlight img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 20px;
}

.about-highlight h3 {
    color: #f7941d;
    font-size: 22px;
    margin-bottom: 8px;
}

.about-highlight p {
    color: #dce3ef;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-card {
    padding: 30px;
    background: #f4f7fb;
    border-radius: 10px;
    border-top: 4px solid #f7941d;
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-card-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.about-card h3 {
    color: #071a3d;
    margin-bottom: 10px;
}

.about-card p {
    color: #555;
}


/* Responsive About */

@media (max-width: 800px) {

    .about-main {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

}
/* ==============================
   TESTIMONIALS
================================= */

.testimonials {
    padding: 90px 0;
    background: #f4f7fb;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    position: relative;
    background: white;
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.quote {
    font-size: 60px;
    line-height: 0.7;
    color: #f7941d;
    font-weight: bold;
    margin-bottom: 20px;
}

.testimonial-card > p {
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
}

.student {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.student-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #071a3d;
    color: #f7941d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.student h3 {
    color: #071a3d;
    font-size: 16px;
}

.student span {
    color: #777;
    font-size: 13px;
}

@media (max-width: 900px) {

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

}
/* ==============================
   HERO HIGHLIGHTS
================================= */

.hero-highlights {
    display: flex;
    gap: 35px;
    margin-top: 40px;
}

.hero-highlight {
    display: flex;
    flex-direction: column;
}

.hero-highlight strong {
    color: #f7941d;
    font-size: 23px;
}

.hero-highlight span {
    color: #dce3ef;
    font-size: 14px;
}


/* ==============================
   HERO VISUAL
================================= */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-card {
    width: 350px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-logo-card img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    margin-bottom: 15px;
}

.hero-logo-card h2 {
    color: #071a3d;
    font-size: 24px;
    margin-bottom: 5px;
}

.hero-logo-card p {
    color: #f7941d;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-line {
    width: 60px;
    height: 3px;
    background: #f7941d;
    margin: 0 auto 15px;
}

.hero-logo-card span {
    color: #666;
    font-size: 14px;
}


/* ==============================
   HERO MOBILE
================================= */

@media (max-width: 900px) {

    .hero-highlights {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

}


@media (max-width: 600px) {

    .hero-highlights {
        gap: 20px;
    }

    .hero-highlight strong {
        font-size: 18px;
    }

    .hero-logo-card {
        width: 100%;
        max-width: 350px;
    }

}
/* ==============================
   COURSE MODAL
================================= */

.course-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.course-modal.active {
    display: flex;
}

.course-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.course-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: none;
    background: none;
    color: #555;
    font-size: 35px;
    cursor: pointer;
}

.course-modal-close:hover {
    color: #f7941d;
}

.course-modal-icon {
    font-size: 55px;
    margin-bottom: 10px;
}

.course-modal-content h2 {
    color: #071a3d;
    font-size: 30px;
    margin-bottom: 15px;
}

.course-modal-content > p {
    color: #555;
    margin-bottom: 25px;
}

.course-modal-content h3 {
    color: #071a3d;
    margin-bottom: 12px;
}

.course-modal-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.course-modal-content li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.course-modal-content li::before {
    content: "✓";
    color: #f7941d;
    font-weight: bold;
    margin-right: 10px;
}

@media (max-width: 600px) {

    .course-modal-content {
        padding: 30px 22px;
    }

    .course-modal-content h2 {
        font-size: 25px;
    }

}
/* ==============================
   FLOATING WHATSAPP
================================= */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background: #168a45;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    z-index: 1500;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}
.course-btn {
    display: inline-block;
    width: fit-content;
    margin-top: auto;
    padding: 12px 0;
    border: none;
    background: none;
    color: #071a3d;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-top: 1px solid #eee;
}

.course-btn:hover {
    color: #f7941d;
}