@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');
* {
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
}

:root {
    --primary: #1a5f7a;
    --secondary: #57cc99;
    --accent: #ff9a3c;
    --light: #f8f9fa;
    --dark: #2d3436;
    --gray: #6c757d;
    --border: #eaecf0;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn{
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--secondary);
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}
.btn:hover{
    background-color: var(--primary);
    transform: translateY(-2px);
}
.section-title-bar{
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}
.section-title-bar::after{
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
}
.section-subtitle {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-subtitle::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}
.section-title {
    color: var(--dark);
    line-height: 1.2;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
}
.image-overlay h3 {
    margin-bottom: 8px;
}

.image-overlay p {
    font-size: 0.95rem;
}

/* RIGHT CONTENT */
.about-content {
    flex: 1;
    padding: 20px 0;
}

/* MOBILE */
@media (max-width: 992px){
    .section-subtitle {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px){
    .section-subtitle {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px){
    .section-subtitle {
        font-size: 0.8rem;
    }
}
/* header TopB bar */
.top-bar{
    background-color: var(--primary);
    color: var(--light);
    padding: 5px 0;
    font-size: 0.9rem;
}

.top-bar .top-bar-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info{
    display: flex;
    gap: 20px;
}

.top-bar .contact-info{
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar .top-bar-btns{
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .btn{
    padding: 7px 10px;
    border-radius: 10px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease-in;
    border: none;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
}

.top-bar .btn-contact{
    background-color: var(--secondary);
    border: 1px solid var(--border);
    color: var(--light);
}

.top-bar .btn-download{
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.top-bar .btn:hover{
    transform: translateY(-2px);
}

.top-bar .btn-contact:hover{
    opacity: 0.9;
}

@media(max-width: 760px){
    .top-bar{
        display: none;
        
    }
}

/* NAVBAR */
.navbar {
    background-color: var(--light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: "Lobster Two", sans-serif;
}

.logo-text span {
    color: var(--secondary);
}

/* NAVIGATION */
.nav-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-items li {
    position: relative;
}
.nav-items a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav-items a:hover {
    color: var(--secondary);
}

.nav-items a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: 0.3s;
}

.nav-items a:hover::after {
    width: 100%;
}

/* MOBILE BUTTON */
.mobile-menu-btn{
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}
 /* ==================== HERO SECTION ==================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
}


/* HERO SLIDE */
.hero-slide {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
}


/* HERO IMAGE */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.20) 100%
        );

    z-index: 1;
}


/* HERO CONTENT */
.hero-content {
    position: absolute;

    left: 8%;
    top: 50%;

    transform: translateY(-50%);

    max-width: 720px;

    color: white;

    z-index: 3;
}


/* SMALL TITLE */
.hero-small-title {
    display: inline-block;

    padding: 9px 18px;

    margin-bottom: 18px;

    background: rgba(87, 204, 153, 0.18);

    border-left: 4px solid #57cc99;

    color: #57cc99;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.5px;

    border-radius: 4px;
}


/* MAIN TITLE */
.hero-content h1 {
    font-size: 62px;

    line-height: 1.08;

    margin: 0 0 20px;

    font-weight: 800;

    text-shadow:
        0 4px 15px rgba(0, 0, 0, 0.35);
}


/* COLOURED TITLE WORDS */
.hero-content h1 span {
    color: #57cc99;
}


/* DESCRIPTION */
.hero-content p {
    max-width: 650px;

    margin-bottom: 32px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 17px;

    line-height: 1.8;
}


/* ==================== HERO BUTTONS ==================== */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* ALL BUTTONS */
.hero-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-width: 165px;

    padding: 16px 25px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 800;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* APPLY BUTTON */
.apply-btn {
    background: linear-gradient(
        135deg,
        #ff9a3c,
        #ff6f00
    );

    color: white;

    box-shadow:
        0 10px 25px rgba(255, 122, 0, 0.30);
}


/* LEARN BUTTON */
.learn-btn {
    background: white;

    color: #1a5f7a;

    border: 2px solid white;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15);
}


/* BUTTON HOVER */
.hero-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.25);
}


/* APPLY HOVER */
.apply-btn:hover {
    background: #57cc99;

    color: white;
}


/* LEARN HOVER */
.learn-btn:hover {
    background: #1a5f7a;

    color: white;
}


/* BUTTON ICON */
.hero-btn i {
    font-size: 15px;
}


/* ==================== SLIDER ARROWS ==================== */

.hero-section .owl-nav button {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none !important;

    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.18) !important;

    color: white !important;

    font-size: 20px !important;

    display: flex !important;

    align-items: center;

    justify-content: center;

    transition: 0.3s ease;
}


.hero-section .owl-nav button:hover {
    background: #57cc99 !important;

    transform:
        translateY(-50%)
        scale(1.1);
}


.hero-section .owl-prev {
    left: 25px;

    position: absolute;
}


.hero-section .owl-next {
    right: 25px;

    position: absolute;
}


/* ==================== MOBILE ==================== */

@media (max-width: 992px) {

    .hero-section,
    .hero-slide {
        height: 650px;
    }

    .hero-content {
        left: 7%;
        right: 7%;
        max-width: 700px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

}


@media (max-width: 600px) {

    .hero-section,
    .hero-slide {
        height: 600px;
    }


    .hero-content {
        left: 6%;
        right: 6%;
        top: 48%;
    }


    .hero-small-title {
        font-size: 10px;
        padding: 7px 12px;
    }


    .hero-content h1 {
        font-size: 34px;
        line-height: 1.15;
    }


    .hero-content p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 25px;
    }


    .hero-buttons {
        gap: 10px;
    }


    .hero-btn {
        min-width: 140px;
        padding: 13px 17px;
        font-size: 13px;
    }


    .hero-section .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 15px !important;
    }


    .hero-section .owl-prev {
        left: 10px;
    }


    .hero-section .owl-next {
        right: 10px;
    }

}
/* ==========================================================
   MIDDLE SCHOOL ABOUT SECTION
   ========================================================== */

.about-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        #f5fbff 0%,
        #ffffff 50%,
        #f1fff8 100%
    );
    overflow: hidden;
}


/* Decorative background circle */
.about-section::before {
    content: "";
    position: absolute;

    width: 330px;
    height: 330px;

    left: -150px;
    top: -120px;

    background: #57cc99;
    border-radius: 50%;

    opacity: 0.10;
}


/* Decorative background circle */
.about-section::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    right: -130px;
    bottom: -130px;

    background: #1a5f7a;
    border-radius: 50%;

    opacity: 0.08;
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.about-section .container {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto;

    position: relative;
    z-index: 2;
}


/* ==========================================================
   MAIN LAYOUT
   ========================================================== */

.about-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* ==========================================================
   IMAGE AREA
   ========================================================== */

.image-container {
    position: relative;

    padding: 15px;

    border-radius: 30px;
}


/* Picture */
.about-image {
    display: block;

    width: 100%;
    height: 560px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow:
        0 25px 55px rgba(26, 95, 122, 0.20);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}


/* Slight zoom when cursor touches picture */
.image-container:hover .about-image {
    transform: scale(1.02);

    box-shadow:
        0 30px 65px rgba(26, 95, 122, 0.28);
}


/* ==========================================================
   SCHOOL ADDRESS
   ========================================================== */

.image-badge {
    position: absolute;

    top: 38px;
    left: -5px;

    display: flex;
    align-items: center;

    padding: 14px 24px;

    background: linear-gradient(
        135deg,
        #1a5f7a,
        #238ab0
    );

    color: white;

    font-size: 14px;
    font-weight: 700;

    border-radius:
        0
        30px
        30px
        0;

    box-shadow:
        0 10px 25px rgba(26, 95, 122, 0.25);

    z-index: 10;
}


/* Address icon */
.image-badge i {
    margin-right: 9px;

    color: #57cc99;

    font-size: 16px;
}


/* ==========================================================
   MISSION OVERLAY
   HIDDEN UNTIL CURSOR IS OVER THE IMAGE
   ========================================================== */

.image-overlay {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 35px;

    padding: 25px;

    border-radius: 20px;

    background: rgba(26, 95, 122, 0.96);

    backdrop-filter: blur(12px);

    color: white;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.20);


    /* HIDDEN */
    opacity: 0;

    visibility: hidden;

    transform: translateY(35px);

    pointer-events: none;


    /* Smooth appearance */
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.4s ease;

    z-index: 5;
}


/* ==========================================================
   SHOW MISSION WHEN CURSOR TOUCHES IMAGE
   ========================================================== */

.image-container:hover .image-overlay {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* ==========================================================
   MISSION TITLE
   ========================================================== */

.mission-title {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 12px;
}


/* Mission icon */
.mission-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ff9a3c;

    border-radius: 50%;

    color: white;

    font-size: 18px;
}


.mission-title h3 {
    margin: 0;

    font-size: 22px;

    color: white;
}


/* Mission text */
.image-overlay p {
    margin: 0;

    font-size: 14px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.93);
}


/* ==========================================================
   RIGHT SIDE CONTENT
   ========================================================== */

.about-content {
    position: relative;
}


/* Small title */
.section-subtitle {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color: #ff9a3c;

    font-size: 14px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.8px;
}


/* Little line */
.section-subtitle span {
    display: inline-block;

    width: 28px;
    height: 3px;

    background: #ff9a3c;

    border-radius: 10px;
}


/* Main heading */
.about-content h2 {
    margin-bottom: 20px;

    color: #2d3436;

    font-size: 42px;

    line-height: 1.2;

    font-weight: 800;
}


/* Heading highlighted word */
.about-content h2 span {
    color: #1a5f7a;
}


/* Paragraphs */
.about-content > p {
    margin-bottom: 16px;

    color: #667085;

    font-size: 15px;

    line-height: 1.9;
}


/* ==========================================================
   FEATURE CARD
   ========================================================== */

.feature-item {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-top: 18px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #edf0f2;

    border-radius: 17px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Hover feature */
.feature-item:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.09);
}


/* ==========================================================
   FEATURE ICON
   ========================================================== */

.feature-icon {
    min-width: 55px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: white;

    font-size: 20px;
}


/* Blue */
.academic-icon {
    background: linear-gradient(
        135deg,
        #1a5f7a,
        #238bb3
    );
}


/* Green */
.character-icon {
    background: linear-gradient(
        135deg,
        #57cc99,
        #2fb879
    );
}


/* Orange */
.practical-icon {
    background: linear-gradient(
        135deg,
        #ff9a3c,
        #ff761f
    );
}


/* Purple */
.leadership-icon {
    background: linear-gradient(
        135deg,
        #805ad5,
        #553c9a
    );
}


/* ==========================================================
   FEATURE TEXT
   ========================================================== */

.feature-content h3 {
    margin: 0 0 5px;

    color: #2d3436;

    font-size: 17px;

    font-weight: 700;
}


.feature-content p {
    margin: 0;

    color: #7a8490;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 992px) {

    .about-container {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .image-container {
        width: 100%;
        max-width: 700px;

        margin: 0 auto;
    }


    .about-content {
        max-width: 750px;

        margin: 0 auto;
    }


    .about-content h2 {
        font-size: 36px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .about-section {
        padding: 70px 0;
    }


    .about-section .container {
        width: 92%;
    }


    .about-image {
        height: 400px;

        border-radius: 20px;
    }


    .image-badge {
        top: 28px;

        padding: 11px 16px;

        font-size: 12px;
    }


    .image-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;

        padding: 20px;
    }


    .mission-title h3 {
        font-size: 18px;
    }


    .image-overlay p {
        font-size: 12px;
    }


    .about-content h2 {
        font-size: 29px;
    }


    .about-content > p {
        font-size: 14px;
    }


    .feature-item {
        padding: 15px;

        gap: 13px;
    }


    .feature-icon {
        min-width: 48px;

        width: 48px;
        height: 48px;

        font-size: 17px;
    }


    .feature-content h3 {
        font-size: 15px;
    }


    .feature-content p {
        font-size: 12px;
    }

}
/* course category section*/

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.courses-card {
    width: 100%;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    gap: 100px;
}
.courses-card:hover{
    transform: translateY(-4px);
    transition: all 0.4s ease;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-top: 80px;
}
.category-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.category-cards .category-icon{
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
}
.category-cards h3{
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}
.category-cards p{
    color: var(--gray);
    font-size: 0.9rem;
}
/* =========================================================
   HEADS OF THE SCHOOL
========================================================= */

.featured-courses {
    position: relative;

    padding: 110px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(87, 204, 153, 0.18),
            transparent 24%
        ),
        radial-gradient(
            circle at 95% 15%,
            rgba(255, 154, 60, 0.18),
            transparent 24%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(132, 94, 194, 0.14),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #eefaff,
            #ffffff,
            #f5fff9
        );
}


/* Decorative circles */

.featured-courses::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(87, 204, 153, 0.08);

    top: -130px;
    left: -100px;
}


.featured-courses::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background: rgba(255, 154, 60, 0.08);

    right: -100px;
    bottom: -100px;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.featured-courses .section-title-bar {
    position: relative;

    z-index: 2;

    text-align: center;

    margin-bottom: 65px;
}


.featured-courses .section-title {
    position: relative;

    display: inline-block;

    color: #1a5f7a;

    font-size: 42px;

    font-weight: 900;

    letter-spacing: 1px;

    margin: 0;
}


.featured-courses .section-title::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -15px;

    transform: translateX(-50%);

    width: 75px;
    height: 4px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #1a5f7a,
        #57cc99,
        #ff9a3c
    );
}


/* =========================================================
   COURSE GRID
========================================================= */

.featured-courses .courses-grid {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}


/* =========================================================
   SCHOOL HEAD CARD
========================================================= */
.heads-subtitle {
    display: block;

    color: #ff7a00;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;

    margin-bottom: 8px;
}

.heads-description {
    max-width: 600px;

    margin: 20px auto 0;

    color: #6c757d;

    font-size: 14px;

    line-height: 1.7;
}
.featured-courses .courses-card {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border-radius: 25px;

    border: 1px solid rgba(0,0,0,0.06);

    box-shadow:
        0 12px 30px rgba(26,95,122,0.08);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}


.featured-courses .courses-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 25px 50px rgba(26,95,122,0.15);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.featured-courses .card-header {
    position: relative;

    width: 100%;

    height: 330px;

    overflow: hidden;
}


.featured-courses .card-header img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.7s ease;
}


.featured-courses .courses-card:hover
.card-header img {
    transform: scale(1.08);
}


/* Image overlay */

.featured-courses .card-header::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(13,47,60,0.72),
            transparent 55%
        );

    pointer-events: none;
}


/* =========================================================
   CARD CATEGORY
========================================================= */

.featured-courses .card-category {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 3;

    padding: 9px 16px;

    border-radius: 50px;

    background: rgba(255,255,255,0.95);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;

    box-shadow:
        0 8px 18px rgba(0,0,0,0.12);
}


/* Individual category colours */

.featured-courses
.courses-card:nth-child(1)
.card-category {
    color: #1a5f7a;
}


.featured-courses
.courses-card:nth-child(2)
.card-category {
    color: #00a884;
}


.featured-courses
.courses-card:nth-child(3)
.card-category {
    color: #845ec2;
}


/* =========================================================
   CARD BODY
========================================================= */

.featured-courses .card-body {
    padding: 30px;
}


/* Name */

.featured-courses .card-body h3 {
    color: #2d3436;

    font-size: 21px;

    font-weight: 900;

    margin-bottom: 15px;

    line-height: 1.3;
}


/* Description */

.featured-courses .card-body > p {
    color: #6c757d;

    font-size: 13px;

    line-height: 1.8;

    min-height: 180px;

    margin-bottom: 22px;
}


/* =========================================================
   CARD DETAILS
========================================================= */

.featured-courses .card-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

    padding: 15px 0;

    border-top: 1px solid #edf1f3;

    border-bottom: 1px solid #edf1f3;

    margin-bottom: 18px;
}


.featured-courses .card-details span {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    color: #7b858a;

    font-size: 10px;

    text-align: center;
}


.featured-courses .card-details i {
    font-size: 15px;

    color: #57cc99;
}


/* Different icon colours */

.featured-courses
.courses-card:nth-child(1)
.card-details i {
    color: #1a5f7a;
}


.featured-courses
.courses-card:nth-child(2)
.card-details i {
    color: #57cc99;
}


.featured-courses
.courses-card:nth-child(3)
.card-details i {
    color: #845ec2;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.featured-courses .card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


/* Qualification */

.featured-courses .difficulty {
    padding: 7px 12px;

    border-radius: 50px;

    background: #f1f7f9;

    color: #1a5f7a;

    font-size: 10px;

    font-weight: 800;
}


/* Enroll */

.featured-courses .enroll-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 11px 18px;

    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #1a5f7a,
        #57cc99
    );

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    border: none;

    transition: all 0.3s ease;
}


.featured-courses
.courses-card:nth-child(2)
.enroll-btn {
    background: linear-gradient(
        135deg,
        #00a884,
        #57cc99
    );
}


.featured-courses
.courses-card:nth-child(3)
.enroll-btn {
    background: linear-gradient(
        135deg,
        #845ec2,
        #5f27cd
    );
}


.featured-courses .enroll-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 18px rgba(0,0,0,0.15);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1000px) {

    .featured-courses .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .featured-courses {
        padding: 75px 0;
    }

    .featured-courses .section-title {
        font-size: 30px;
    }

    .featured-courses .courses-grid {
        grid-template-columns: 1fr;
    }

    .featured-courses .card-header {
        height: 300px;
    }

    .featured-courses .card-body > p {
        min-height: auto;
    }

}
/* banner-wrapper */
.banner-wrapper{
    padding: 60px 40px;
    display: flex;
    justify-content: center;
}
.banner-wrapper .banner-hero{
    position: relative;
    width: 100%;
    height: 320px;
    background-image: url(file:///C:/Users/toyosi/Documents/markus-spiske-IFCloi6PYOA-unsplash.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 16px;
}
.banner-wrapper .overlay{
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
}
.banner-wrapper .content{
    position: relative;
    height: 100%;
    color: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.banner-wrapper .content h2{
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 25px;
}
.banner-wrapper .banner-btn{
    padding: 8px 25px;
    color: var(--light);
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 1px;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-btn i {
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: translateX(4px);
}
@media (max-width: 786px){
    .banner-wrapper .content h2{
        font-size: 22px;
    }
}

/* =========================================================
   BEAUTIFUL STUDENT TESTIMONIALS
========================================================= */

.student-testimonials {
    position: relative;

    padding: 110px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 5% 15%,
            rgba(87,204,153,0.18),
            transparent 23%
        ),
        radial-gradient(
            circle at 95% 10%,
            rgba(255,154,60,0.17),
            transparent 23%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(132,94,194,0.14),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #edfaff,
            #ffffff,
            #f4fff8
        );
}


/* =========================================================
   HEADING
========================================================= */

.testimonial-heading {
    max-width: 750px;

    margin: 0 auto 65px;

    text-align: center;
}


.testimonial-heading > span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 17px;

    border-radius: 50px;

    background: rgba(255,154,60,0.12);

    color: #f07800;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.testimonial-heading h2 {
    margin: 14px 0;

    font-size: 43px;

    font-weight: 900;

    background: linear-gradient(
        90deg,
        #1a5f7a,
        #57cc99,
        #845ec2,
        #ff9a3c
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.testimonial-heading p {
    color: #6c757d;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   TESTIMONIAL GRID
========================================================= */

.testimonial-cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}


/* =========================================================
   CARD
========================================================= */

.student-card {
    position: relative;

    padding: 35px 30px;

    background: rgba(255,255,255,0.96);

    border-radius: 25px;

    border: 1px solid rgba(0,0,0,0.05);

    box-shadow:
        0 12px 30px rgba(26,95,122,0.07);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.student-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 25px 50px rgba(26,95,122,0.14);
}


/* Colored top border */

.student-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #1a5f7a,
        #57cc99,
        #ff9a3c,
        #845ec2
    );
}


/* =========================================================
   PHOTO AREA
========================================================= */

.student-card-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    margin-bottom: 20px;
}


.student-photo {
    width: 90px;
    height: 90px;

    padding: 4px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #1a5f7a,
        #57cc99,
        #ff9a3c
    );

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12);
}


.student-photo img {
    width: 100%;
    height: 100%;

    display: block;

    border-radius: 50%;

    object-fit: cover;

    border: 3px solid #ffffff;
}


/* =========================================================
   QUOTE ICON
========================================================= */

.quote-circle {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(87,204,153,0.12);

    color: #57cc99;

    font-size: 18px;
}


/* =========================================================
   RATING
========================================================= */

.student-rating {
    margin-bottom: 17px;
}


.student-rating i {
    color: #ffb300;

    font-size: 14px;

    margin-right: 2px;
}


/* =========================================================
   MESSAGE
========================================================= */

.student-message {
    color: #6c757d;

    font-size: 14px;

    line-height: 1.85;

    margin-bottom: 25px;
}


/* =========================================================
   STUDENT NAME
========================================================= */

.student-name {
    padding-top: 17px;

    border-top: 1px solid #edf1f3;
}


.student-name h3 {
    color: #1a5f7a;

    font-size: 17px;

    margin-bottom: 3px;
}


.student-name span {
    color: #929ca1;

    font-size: 12px;

    font-weight: 600;
}


/* Different card colours */

.student-card:nth-child(2) .quote-circle {
    background: rgba(255,154,60,0.12);

    color: #ff9a3c;
}


.student-card:nth-child(3) .quote-circle {
    background: rgba(132,94,194,0.12);

    color: #845ec2;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .testimonial-cards {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .student-testimonials {
        padding: 75px 0;
    }

    .testimonial-heading h2 {
        font-size: 31px;
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
    }

    .student-card {
        padding: 30px 24px;
    }

}
/* =========================================
   PREMIUM FOOTER
========================================= */

.premium-footer {
    background: #102f3c;
    color: white;
    margin-top: 80px;
}

/* =========================================
   NEWSLETTER
========================================= */

.footer-newsletter {
    max-width: 1300px;
    margin: 0 auto;
    padding: 55px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter-content {
    max-width: 600px;
}

.newsletter-label {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-newsletter h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* NEWSLETTER FORM */

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;

    padding: 15px 18px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;

    background: rgba(255, 255, 255, 0.08);
    color: white;

    outline: none;
    border-radius: 8px 0 0 8px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    border: none;
    padding: 0 22px;

    background: var(--secondary);
    color: white;

    font-weight: 600;
    cursor: pointer;

    border-radius: 0 8px 8px 0;

    transition: all 0.3s ease;
}

.newsletter-form button i {
    margin-left: 8px;
}

.newsletter-form button:hover {
    background: var(--accent);
}

/* =========================================
   MAIN FOOTER
========================================= */

.footer-main {
    padding: 70px 20px;
}

.footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.5fr;
    gap: 60px;
}

/* =========================================
   BRAND
========================================= */

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: white;
    text-decoration: none;

    font-family: "Lobster Two", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-logo-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--secondary);
    color: white;

    font-family: "Inter", sans-serif;
}

.footer-logo small {
    display: block;
    color: var(--secondary);
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-top: 2px;
}

.footer-brand > p {
    margin-top: 20px;
    max-width: 350px;

    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* =========================================
   SOCIAL
========================================= */

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.footer-social a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;

    color: white;
    text-decoration: none;

    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-4px);
}

/* =========================================
   FOOTER COLUMNS
========================================= */

.footer-column h3 {
    position: relative;

    font-size: 1rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 35px;
    height: 2px;

    background: var(--secondary);
}

.footer-column ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column li a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 0.88rem;

    transition: all 0.3s ease;
}

.footer-column li a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

/* =========================================
   CONTACT
========================================= */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(87, 204, 153, 0.12);
    color: var(--secondary);

    border-radius: 8px;
}

.contact-item small {
    color: var(--secondary);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-wrapper {
    max-width: 1300px;
    margin: 0 auto;

    padding: 20px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom-wrapper p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.75rem;
}

.footer-legal a:hover {
    color: var(--secondary);
}

.developer-credit i {
    color: var(--accent);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .footer-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        max-width: 600px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .footer-newsletter {
        padding: 45px 20px;
    }

    .footer-newsletter h2 {
        font-size: 1.6rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 8px;
        min-height: 48px;
    }

    .footer-main {
        padding: 50px 20px;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

