/* =========================
   GLOBAL
========================= */

body{
    display:flex;
    flex-direction:column;
    min-height:100vh;
    font-family:Arial, sans-serif;
    overflow-x:hidden;
}

.content{
    flex:1;
}

img{
    max-width:100%;
}

h1,h2,h3,h4,h5,h6{
    font-weight:700;
}

p{
    line-height:1.8;
}

.card{
    border-radius:12px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 20px rgba(0,0,0,0.15);
}

/* =========================
   NAVBAR
========================= */

.navbar{
    padding:12px 0;
}

.navbar-brand{
    font-size:28px;
}

.nav-link{
    font-weight:500;
    margin-left:10px;
    transition:0.3s;
}

.nav-link:hover,
.nav-link.active{
    color:#ffc107 !important;
}

/* =========================
   FOOTER
========================= */

.footer-section{
    background:#111827;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:white;
    text-decoration:none;
    transition:0.3s;
}

.footer-links a:hover{
    color:#ffc107;
    padding-left:5px;
}

/* =========================
   HOME PAGE
========================= */

.carousel-img{
    height:550px;
    object-fit:cover;
}

.hero-title{
    font-size:55px;
    font-weight:700;
}

.hero-text{
    font-size:22px;
}

.course-card{
    border-radius:15px;
    overflow:hidden;
}

.course-card:hover{
    transform:translateY(-5px);
}

.course-img{
    height:220px;
    object-fit:cover;
}

.feature-card{
    border-radius:15px;
}

.feature-card i{
    transition:0.3s;
}

.feature-card:hover i{
    transform:scale(1.1);
}

/* =========================
   ABOUT PAGE
========================= */

.about-banner{
    background-size:cover;
    background-position:center;
    min-height:320px;
    position:relative;
}

.vm-card{
    border:2px solid orange;
    background:#23479c;
    border-radius:12px;
    position:relative;
    overflow:hidden;
    min-height:280px;
    height:100%;
}

.vm-card:hover{
    transform:translateY(-5px);
}

.vm-icon{
    position:absolute;
    top:0;
    left:50%;
    transform:translate(-50%, -50%);
    width:70px;
    height:70px;
    border-radius:50%;
    background:#23479c;
    border:2px solid orange;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
}

.vm-card:hover .vm-icon{
    transform:translate(-50%, -58%);
}

.vm-title{
    font-size:32px;
    font-weight:bold;
    letter-spacing:1px;
}

.vm-text{
    line-height:1.9;
    font-size:15px;
}

/* =========================
   COURSES PAGE
========================= */

.course-box{
    border-radius:15px;
    overflow:hidden;
    transition:0.3s;
}

.course-box:hover{
    transform:translateY(-5px);
}

.course-box .course-img{
    height:100%;
    min-height:320px;
    object-fit:cover;
}

.course-text{
    text-align:justify;
    line-height:1.9;
    font-size:17px;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-card{
    border-radius:15px;
}

.contact-card i{
    transition:0.3s;
}

.contact-card:hover i{
    transform:scale(1.1);
}

/* =========================
   BUTTONS
========================= */

.btn{
    border-radius:8px;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-2px);
}

/* =========================
   TABLET
========================= */

@media(max-width:992px){

    .carousel-img{
        height:450px;
    }

    .hero-title{
        font-size:42px;
    }

    .hero-text{
        font-size:18px;
    }

    .course-box .course-img{
        min-height:260px;
    }

    .vm-title{
        font-size:28px;
    }

}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .carousel-img{
        height:350px;
    }

    .hero-title{
        font-size:28px;
    }

    .hero-text{
        font-size:15px;
    }

    .carousel-caption{
        padding-bottom:40px;
    }

    .course-img{
        height:180px;
    }

    .course-box .course-img{
        min-height:220px;
    }

    .course-text{
        font-size:15px;
        line-height:1.7;
    }

.vm-card {
    border: 2px solid orange;
    background: #23479c;
    border-radius: 12px;
    position: relative;
    overflow: visible; /* CRITICAL: Must be visible, not hidden */
    min-height: 280px;
    height: 100%;
    margin-top: 40px; /* Pushes the box down so the icon has room */
}

.vm-card:hover {
    transform: translateY(-5px);
}

.vm-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #23479c;
    border: 2px solid orange;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10; /* CRITICAL: Forces the icon to stay on top */
}

    .vm-title{
        font-size:24px;
    }

    .vm-text{
        font-size:14px;
        line-height:1.8;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:576px){

    .carousel-img{
        height:300px;
    }

    .hero-title{
        font-size:24px;
    }

    .hero-text{
        font-size:14px;
    }

    .course-img{
        height:170px;
    }

    .course-box .course-img{
        min-height:200px;
    }

    .vm-card{
        padding:25px 15px !important;
    }

    .vm-title{
        font-size:22px;
    }

    .vm-text{
        font-size:13px;
        line-height:1.7;
    }

    .vm-icon{
        width:55px;
        height:55px;
    }

}

/* =========================================
   MULTI STEP FORM
========================================= */

.form-step{
    display:none;
}

.form-step.active{
    display:block;
}

.step-buttons{
    margin-top:40px;
}

.progress{
    height:12px;
    border-radius:20px;
    overflow:hidden;
}

.progress-bar{
    background:#0d6efd;
    transition:0.3s;
}

.step-title{
    color:#0d1b2a;
    font-weight:700;
}

/* =========================================
   For sticky footer in the bottom
========================================= */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.container-fluid {
    flex: 1;
}

/* =========================================
   PRINT STYLES (Clean Paper Documents)
========================================= */
@media print {
    /* 1. Hide the Header, Footer, and all Buttons */
    .navbar, 
    footer, 
    .footer-section, 
    .btn, 
    .no-print {
        display: none !important;
    }

    /* 2. Remove dark backgrounds and shadows to save printer ink */
    body {
        background: #fff !important;
        background-color: #fff !important;
    }
    
    .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }

    /* 3. Make sure the content stretches across the whole A4 paper */
    .container, 
    .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}