/* ==========================================
   My Online Tuition - NSW Landing Page
   ========================================== */

:root{
    --primary:#0B3D91;
    --secondary:#1E88E5;
    --accent:#F9A826;
    --light:#F5F8FC;
    --dark:#1D3557;
    --text:#555;
    --radius:18px;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.7;
}

section{
    padding:80px 0;
}

h1,h2,h3,h4,h5{
    color:var(--dark);
    font-weight:700;
}

.display-4{
    line-height:1.2;
}

p{
    font-size:1rem;
}

/* ================= NAVBAR ================= */

.navbar{
    transition:.3s;
}

.navbar-brand{
    font-weight:700;
    color:var(--primary)!important;
}

.nav-link{
    color:#444!important;
    font-weight:500;
    margin-left:15px;
}

.nav-link:hover{
    color:var(--primary)!important;
}

.btn-primary {
	color: #17a2b8;              
  background-color: #fff;       
  border: 2px solid #17a2b8;   
  font-weight: 500;
  padding: 7px 50px;
  border-radius: 6px;           
  transition: all 0.2s ease-in-out;
}

.btn-warning{
    background:var(--accent);
    border:none;
    border-radius:30px;
    padding:12px 28px;
    font-weight:600;
}

.btn-warning:hover{
    background:#ef9800;
}

.btn-outline-primary{
    border-radius:30px;
}

/* ================= HERO ================= */

.hero{
    background:linear-gradient(135deg,#F5F9FF,#FFFFFF);
}

.hero img{
    max-width:100%;
    border-radius:25px;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.badge{
    padding:10px 18px;
    border-radius:25px;
    font-size:.9rem;
}

/* ================= TRUST BAR ================= */

.bg-primary{
    background:var(--primary)!important;
}

/* ================= CARDS ================= */

.card{
    border:none;
    border-radius:var(--radius);
    transition:.3s;
    overflow:hidden;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.card-body{
    padding:35px;
}

.card i{
    color:var(--secondary);
}

/* ================= COURSE CARDS ================= */

.course-card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.course-card h4{
    color:var(--primary);
}

.course-card ul{
    list-style:none;
    padding:0;
}

.course-card li{
    padding:8px 0;
}

/* ================= TEACHER ================= */

.teacher-photo{
    width:260px;
    height:260px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid white;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* ================= TESTIMONIALS ================= */

.testimonial{
    background:white;
    border-radius:18px;
    padding:30px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.stars{
    color:#FFC107;
}

/* ================= FAQ ================= */

.accordion-button{
    font-weight:600;
}

.accordion-button:not(.collapsed){
    background:#EEF5FF;
    color:var(--primary);
}

/* ================= FORM ================= */

.form-control,
.form-select{

    border-radius:12px;
    padding:14px;
}

.form-control:focus,
.form-select:focus{

    border-color:var(--secondary);
    box-shadow:0 0 0 .2rem rgba(30,136,229,.2);
}

.submit-btn{

    width:100%;
    border-radius:30px;
    padding:15px;
    font-size:18px;
}

/* ================= FOOTER ================= */

footer{

    background:#0F2347;
    color:white;
    padding:30px 0;
}

footer a{

    color:white;
    text-decoration:none;
}

/* ================= WHATSAPP ================= */

.whatsapp{

    position:fixed;
    bottom:25px;
    right:25px;

    width:40px;
    height:40px;

    border-radius:50%;

    background:#25D366;

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    font-size:22px;

    text-decoration:none;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    z-index:999;
}

.whatsapp:hover{

    color:white;
    transform:scale(1.1);
}

/* ================= ANIMATIONS ================= */

.fade-up{

    opacity:0;
    transform:translateY(40px);
    transition:.8s;
}

.fade-up.show{

    opacity:1;
    transform:none;
}

/* ================= MOBILE ================= */

@media(max-width:991px){

    .display-4{

        font-size:2.3rem;
    }

    section{

        padding:60px 0;
    }

    .navbar-brand img{

        height:36px;
    }

    .hero{

        text-align:center;
    }

    .hero img{

        margin-top:40px;
    }

}

@media(max-width:576px){

    .display-4{

        font-size:1.9rem;
    }

    .btn-lg{

        width:100%;
        margin-bottom:15px;
    }

    .teacher-photo{

        width:180px;
        height:180px;
    }

}

.p-3{
	padding: 3rem;
}

.m-1{
	margin:1rem;
}

.ml-1{
	margin-left: 1rem;
}

.testimonial{

    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
    text-align:center;
    height:100%;
}

.testimonial:hover{

    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.stars{

    color:#FFC107;
    font-size:22px;
    letter-spacing:2px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    background-color:#0d6efd;
    border-radius:50%;
    padding:18px;
}

.wc-title{
	text-align:left;
    color:#0f172a;
    background:#f8fafc;
    border-left:4px solid #17a2b8;
    padding:12px 16px;
    border-radius:8px;
    margin-bottom:20px;
    font-size:18px;
    font-weight:600;
}