/*=========================================
GENERAL
=========================================*/

body{

    font-family:'Poppins',sans-serif;

    background:#f5f9fd;

    margin:0;

    padding:0;

}

/*=========================================
TOP HEADER
=========================================*/

.top-header{

    background:#edf8ff;

    border-bottom:1px solid #d9ecfb;

    padding:10px 0;

    font-size:14px;

    color:#444;

}

.top-header i{

    color:#0d6efd;

    margin-right:6px;

}

.top-header span{

    font-weight:500;

}

/*=========================================
NAVBAR
=========================================*/

.custom-navbar{

    background:linear-gradient(90deg,#0F172A,#1E3A8A,#0891B2);

    padding:15px 0;

    box-shadow:0 4px 15px rgba(0,0,0,.12);

}

.navbar-brand{

    font-size:32px;

}

.logo-red{

    color:#ff4d4d;

}

.logo-blue{

    color:#38bdf8;

}

.nav-link{

    color:#fff !important;

    margin-left:18px;

    font-weight:500;

    transition:.3s;

}

.nav-link:hover{

    color:#38bdf8 !important;

}

.nav-link.active{

    color:#38bdf8 !important;

}

/*=========================================
HERO SLIDER
=========================================*/

#hero-slider{

    width:100%;

    background:linear-gradient(
        90deg,
        #0F172A,
        #1E3A8A,
        #0891B2
    ) !important;

    position:relative;

    overflow:hidden;

}


/*=========================================
SLIDER ITEMS
=========================================*/

#hero-slider .carousel-item{

    min-height:620px;

    padding:80px 0;

    color:#ffffff;

}


/*=========================================
HERO CONTENT
=========================================*/

#hero-slider h5{

    color:#38BDF8 !important;

    font-weight:600;

    margin-bottom:20px;

}

#hero-slider h1{

    color:#ffffff !important;

    font-size:3.2rem;

    font-weight:700;

    line-height:1.2;

    margin-bottom:20px;

}

#hero-slider p{

    color:#ffffff !important;

    font-size:18px;

    line-height:1.8;

    max-width:600px;

    margin-bottom:30px;

}


/*=========================================
HERO BUTTONS
=========================================*/

#hero-slider .btn-warning{

    background:#FFB703;

    border-color:#FFB703;

    color:#0F172A;

    border-radius:50px;

    padding:12px 30px;

    font-weight:600;

}

#hero-slider .btn-warning:hover{

    background:#FFD166;

    border-color:#FFD166;

    color:#0F172A;

}

#hero-slider .btn-outline-light{

    border:2px solid #ffffff;

    color:#ffffff;

    border-radius:50px;

    padding:12px 30px;

    font-weight:600;

}

#hero-slider .btn-outline-light:hover{

    background:#ffffff;

    color:#1E3A8A;

}


/*=========================================
HERO IMAGE
=========================================*/

#hero-slider .hero-image{

    max-width:100%;

    max-height:480px;

    object-fit:contain;

}


/*=========================================
SLIDER INDICATORS
=========================================*/

#hero-slider .carousel-indicators{

    bottom:25px;

}

#hero-slider .carousel-indicators button{

    width:12px;

    height:12px;

    border-radius:50%;

    margin:0 5px;

}


/*=========================================
SLIDER ARROWS
=========================================*/

#hero-slider .carousel-control-prev,
#hero-slider .carousel-control-next{

    width:7%;

}

#hero-slider .carousel-control-prev-icon,
#hero-slider .carousel-control-next-icon{

    width:40px;

    height:40px;

}


/*=========================================
MOBILE
=========================================*/

@media(max-width:991px){

    #hero-slider .carousel-item{

        min-height:auto;

        padding:70px 0 90px;

    }

    #hero-slider h1{

        font-size:2.4rem;

    }

    #hero-slider p{

        font-size:16px;

    }

    #hero-slider .hero-image{

        max-height:350px;

        margin-top:40px;

    }

}

@media(max-width:576px){

    #hero-slider h1{

        font-size:2rem;

    }

    #hero-slider p{

        font-size:15px;

    }

    #hero-slider .btn{

        display:block;

        width:100%;

        margin-bottom:12px;

    }

}

/*=========================================
HERO SLIDER - FASTER MOVEMENT
=========================================*/

#hero-slider .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/*=========================================
LOGIN SECTION
=========================================*/

.login-section{

    background:#f8fbff;

    padding:80px 0;

}

.login-section h2{

    font-size:42px;

    font-weight:700;

    color:#0F172A;

}

.login-section p{

    color:#6b7280;

}

/*=========================================
LOGIN CARD
=========================================*/

.login-card{

    background:#ffffff;

    border-radius:20px;

    padding:50px 35px;

    text-align:center;

    box-shadow:0 15px 35px rgba(15,23,42,.08);

    transition:.35s;

    height:100%;

    border-top:5px solid #0891B2;

}

.login-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(15,23,42,.15);

}

.login-card i{

    font-size:70px;

    margin-bottom:20px;

}

.login-card h3{

    color:#0F172A;

    font-weight:700;

    margin-bottom:15px;

}

.login-card p{

    color:#6b7280;

    line-height:1.8;

    min-height:70px;

}

/*=========================================
BUTTONS
=========================================*/

.login-card .btn{

    border-radius:50px;

    padding:12px 35px;

    font-weight:600;

}

/* =========================================
   PART-8 : FEATURES SECTION
========================================= */

.features-section {
    width: 100%;
    padding: 70px 0;
    margin: 0;
    background: #f8fafc;
}


/* =========================================
   FEATURES HEADING
========================================= */

.features-heading {
    text-align: center;
    margin-bottom: 45px;
}

.features-badge {
    display: inline-block;
    padding: 9px 20px;
    margin-bottom: 14px;

    background: #e0f7fa;
    color: #0891b2;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;
}

.features-heading h2 {
    margin: 0 0 12px;

    color: #0f172a;

    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

.features-heading p {
    max-width: 700px;
    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   FEATURES GRID
========================================= */

.features-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    width: 100%;
}


/* =========================================
   FEATURE CARD
========================================= */

.feature-card {
    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    padding: 28px 24px;

    text-align: center;

    min-height: 230px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* =========================================
   CARD HOVER
========================================= */

.feature-card:hover {
    transform: translateY(-5px);

    border-color: #0891b2;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}


/* =========================================
   FEATURE ICON
========================================= */

.feature-icon {
    width: 72px;
    height: 72px;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
}


/* PNG ICON
   No background
*/

.feature-icon img {
    width: 64px;
    height: 64px;

    object-fit: contain;

    display: block;

    background: transparent;

    border: none;
}


/* =========================================
   FEATURE TITLE
========================================= */

.feature-card h3 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.3;
}


/* =========================================
   FEATURE DESCRIPTION
========================================= */

.feature-card p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;

    max-width: 330px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .features-section {
        padding: 60px 0;
    }

    .features-heading h2 {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .features-section {
        padding: 50px 15px;
    }

    .features-heading {
        margin-bottom: 35px;
    }

    .features-heading h2 {
        font-size: 26px;
    }

    .features-heading p {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .feature-card h3 {
        font-size: 19px;
    }

}

/* =========================================================
   PART-9 : STATISTICS SECTION
========================================================= */

.statistics-section {
    width: 100%;
    margin: 0;
    padding: 55px 0;
    box-sizing: border-box;

    background: linear-gradient(
        90deg,
        #0F172A 0%,
        #1E3A8A 50%,
        #0891B2 100%
    );

    color: #ffffff;
}


/* =========================================================
   STATISTICS CONTAINER
========================================================= */

.statistics-section .statistics-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 20px;

    box-sizing: border-box;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* =========================================================
   STATISTIC ITEM
========================================================= */

.statistics-section .stat-item {
    width: 100%;

    margin: 0;
    padding: 10px;

    box-sizing: border-box;

    text-align: center;

    color: #ffffff;
}


/* =========================================================
   ICON
========================================================= */

.statistics-section .stat-icon {
    width: 40px;
    height: 40px;

    margin: 0 auto 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   NUMBER
========================================================= */

.statistics-section .stat-number {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: 32px;
    font-weight: 700;

    line-height: 1.2;
}


/* =========================================================
   LABEL
========================================================= */

.statistics-section .stat-label {
    margin: 8px 0 0;
    padding: 0;

    color: #ffffff;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================================
   HOVER
========================================================= */

.statistics-section .stat-item {
    transition: transform 0.3s ease;
}

.statistics-section .stat-item:hover {
    transform: translateY(-4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .statistics-section {
        padding: 45px 0;
    }

    .statistics-section .statistics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .statistics-section {
        padding: 40px 0;
    }

    .statistics-section .statistics-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .statistics-section .stat-number {
        font-size: 28px;
    }

    .statistics-section .stat-label {
        font-size: 15px;
    }

}

/* =========================================
   PART-10 : CTA SECTION
========================================= */

.cta-section {
    width: 100%;
    margin: 0;
    padding: 75px 20px;

    box-sizing: border-box;

    background: #f8fafc;
}


/* =========================================
   CTA CONTAINER
========================================= */

.cta-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================
   CTA CONTENT
========================================= */

.cta-content {
    padding: 55px 40px;

    text-align: center;

    border-radius: 18px;

    background: linear-gradient(
        90deg,
        #0F172A 0%,
        #1E3A8A 50%,
        #0891B2 100%
    );

    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);

    color: #ffffff;
}


/* =========================================
   BADGE
========================================= */

.cta-badge {
    display: inline-block;

    margin-bottom: 18px;
    padding: 7px 18px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   HEADING
========================================= */

.cta-content h2 {
    margin: 0 auto 18px;

    max-width: 750px;

    color: #ffffff;

    font-size: 36px;
    font-weight: 700;

    line-height: 1.25;
}


/* =========================================
   DESCRIPTION
========================================= */

.cta-content p {
    max-width: 700px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.88);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================
   BUTTONS
========================================= */

.cta-buttons {
    margin-top: 30px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* =========================================
   COMMON BUTTON
========================================= */

.cta-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 155px;

    padding: 12px 24px;

    border-radius: 30px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: all 0.3s ease;

    box-sizing: border-box;
}


/* =========================================
   SCHOOL BUTTON
========================================= */

.cta-school-btn {
    background: #fbbf24;

    color: #0f172a;
}

.cta-school-btn:hover {
    background: #f59e0b;

    color: #0f172a;

    transform: translateY(-3px);
}


/* =========================================
   STUDENT BUTTON
========================================= */

.cta-student-btn {
    background: transparent;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.8);
}

.cta-student-btn:hover {
    background: #ffffff;

    color: #1E3A8A;

    transform: translateY(-3px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .cta-section {
        padding: 50px 15px;
    }

    .cta-content {
        padding: 45px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        max-width: 260px;
    }

}

/* =========================================
   PART-11 : FOOTER SECTION
========================================= */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 55px 20px 0;
    box-sizing: border-box;

    background: #0F172A;
    color: #ffffff;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;

    padding-bottom: 45px;
}

.footer-column h3 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 26px;
    font-weight: 700;
}

.footer-column h4 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 600;
}

.footer-column p {
    margin: 0;

    color: #cbd5e1;

    font-size: 14px;
    line-height: 1.8;
}

.footer-about-text {
    max-width: 350px;
}

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;

    text-decoration: none;

    font-size: 14px;

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-contact-item {
    margin-bottom: 12px !important;
}

.footer-contact-item i {
    margin-right: 8px;

    color: #38bdf8;
}

.footer-bottom {
    padding: 18px 0;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;

    color: #94a3b8;

    font-size: 13px;
}


/* =========================================
   FOOTER RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 30px;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

}


@media (max-width: 576px) {

    .site-footer {
        padding: 45px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column:first-child {
        grid-column: auto;
    }

    .footer-column h3 {
        font-size: 24px;
    }

    .footer-bottom {
        padding: 16px 0;
    }

}

/* =========================================
   MOBILE NAVBAR LOGIN BUTTONS - FINAL FIX
========================================= */

@media (max-width: 991px) {

    .custom-navbar #mainMenu .navbar-nav {
        width: 100%;
    }

    .custom-navbar #mainMenu .navbar-nav .nav-item {
        width: 100%;
    }

    /* School Login */

    .custom-navbar #mainMenu
    .navbar-nav .nav-item a[href="admin/login.php"] {

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;

        height: 46px !important;

        margin: 8px auto 0 !important;

        padding: 0 !important;

        box-sizing: border-box !important;

        text-align: center !important;

        border-radius: 6px !important;
    }


    /* Student Login */

    .custom-navbar #mainMenu
    .navbar-nav .nav-item a[href="student/login.php"] {

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;

        height: 46px !important;

        margin: 8px auto 0 !important;

        padding: 0 !important;

        box-sizing: border-box !important;

        text-align: center !important;

        border-radius: 6px !important;
    }

}