/* ================= GLOBAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

html{
    scroll-behavior:smooth;
}

/* ================= WRAPPER ================= */

.site-wrapper{
    width:90%;
    max-width:1700px;
    margin:0 auto;
}

/* ================= HEADER ================= */
.header-left h1{
    font-family: "Playfair Display", serif;
}

.main-header{
    display:flex;
    font-size:x-large;
    justify-content:space-between;
    align-items:center;
    padding:15px 30px;
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    position:sticky;
    top:0;
    z-index:800;
}

.header-left{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo{
    height:100px;
}

.nav-links a{
    margin-left:25px;
    text-decoration:none;
    color:#182848;
    font-weight:700;
    font-size:x-large;
}

.nav-links a:hover{
    color:#4b6cb7;
}

/* ================= HERO ================= */

.hero-container{
    display:flex;
    flex-direction:column;   /* stack vertically */
    gap:20px;
    align-items:center;
}

.hero{
    width:100%;
}

.hero img{
    width:100%;
    height:600px;
    object-fit:cover;
    border-radius:10px;
}


/* ================= BEST RESULT ================= */

.best-result-section{
    text-align:center;
    padding:5px 20px;
}

.best-result-section h1{
    margin-bottom:20px;
}

.best-result-box{
    display:flex;
    justify-content:center;
}

.best-result-box img{
    width:520px;
    max-width:90%;
    border-radius:12px;
    box-shadow:0 0 12px rgba(0,0,0,0.25);
}


/* ================= RESULTS ================= */

.results{
    padding:40px;
}

.result-gallery{
    display:flex;
    gap:35px;
    margin-top:20px;
}

.result-gallery img{
    width:300%;
    border-radius:10px;
    box-shadow:0 0 8px rgba(0,0,0,0.2);
}

/* ================= TAGLINE ================= */

.tagline2{
    text-align:center;
    border-radius:25px;
    background:#367dee;
    color:#f7f9fb;
    padding:10px;
    font-size:250%;
}

/* ================= FEATURES ================= */

.features-section{
    display:flex;
    gap:40px;
    margin:40px 0;
}

.features-left{
    width:40%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.feature-box{
    background:#fdfdfe;
    padding:20px;
    text-align:center;
    font-size:30px;
    font-weight:600;
    border-radius:22px;
    border:2px solid #3d7ce8;
    transition:0.3s;
}

.feature-box .icon{
    width:80px;
    height:80px;
    object-fit:contain;
    margin:10px 0;
}

.feature-box:hover{
    background:#ffffff;
    box-shadow:0px 4px 12px rgba(0,0,0,0.1);
}

/* ================= MENTOR ================= */

.features-right{
    width:50%;
}

.mentor-box{
    background:#f9f9ff;
    padding:40px;
    border-radius:25px;
    border:2px solid #3d7ce8;
    display:flex;
    gap:30px;
    align-items:center;
}

.mentor-content{
    flex:1;
}

.mentor-box h2{
    margin-bottom:15px;
}

.mentor-photo{
    width:200px;
    height:400px;
    object-fit:cover;
    border:3px solid white;
    box-shadow:0px 3px 8px rgba(0,0,0,0.2);
    border-radius:10px;
}

/* ================= COURSES ================= */

.courses{
    padding:70px;
}

.course-container{
    display:flex;
    gap:35px;
    margin-top:20px;
    flex-wrap:wrap;
}

.course-box{
    background:white;
    width:38%;
    padding:25px;
    border-radius:12px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.course-box h3{
    margin-bottom:15px;
    color:#182848;
    font-size:1.5rem;
}

.course-box ul{
    list-style-type:disc;
    padding-left:20px;
    line-height:1.8;
    font-size:1.2rem;
}

/* ================= STUDY NOTES ================= */

.notes{
    padding:60px;
    background:#f7f9ff;
}

.notes h1{
    text-align:center;
    margin-bottom:10px;
}

.note-subtitle{
    text-align:center;
    margin-bottom:40px;
    color:#555;
}

/* Class box */

.notes-class{
    background:white;
    border-radius:10px;
    margin-bottom:20px;
    padding:15px;
    border:2px solid #3d7ce8;
}

.notes-class summary{
    font-size:1.5rem;
    font-weight:bold;
    cursor:pointer;
    padding:10px;
}

.subject{
    margin-top:10px;
    padding-left:15px;
}

.subject summary{
    font-size:1.2rem;
    font-weight:600;
    cursor:pointer;
    padding:6px;
}

.subject ul{
    list-style:none;
    padding-left:20px;
    margin-top:10px;
}

.subject li{
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    border-bottom:1px solid #eee;
}

.subject a{
    background:#3d7ce8;
    color:white;
    padding:5px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:0.9rem;
}

.subject a:hover{
    background:#1f50c3;
}

/* ================= ENQUIRY ================= */

.enquiry{
    padding:30px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.enquiry form{
    display:flex;
    flex-direction:column;
    gap:20px;
    width:100%;
    max-width:500px;
}

.enquiry input,
.enquiry textarea{
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:1.1rem;
}

.enquiry button{
    padding:18px;
    background:#4b6cb7;
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
}

.enquiry button:hover{
    background:#182848;
}

/* ================= CONTACT ================= */

.contact{
    padding:40px;
    background:#ffffff;
}

.contact-container{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
}

.contact-left,
.contact-right{
    width:48%;
}

.social-links{
    margin-top:10px;
    display:flex;
    gap:20px;
}

.social-links img{
    width:50px;
    height:50px;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

.social-links img:hover{
    transform:scale(1.1);
}

.address-link{
    color:#1a73e8;
    text-decoration:none;
    font-weight:600;
}

.address-link:hover{
    text-decoration:underline;
}




/* ================= MOBILE ================= */

@media(max-width:768px){

.site-wrapper{
    width:95%;
}

.main-header{
    flex-direction:column;
    gap:10px;
    text-align:center;
}

.logo{
    height:70px;
}

.nav-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.nav-links a{
    margin:0;
    font-size:1rem;
}

.hero-container{
    flex-direction:column;
}

.hero{
    width:100%;
}

.hero img{
    width:100%;
    height:auto;
}

.tagline2{
    font-size:1.4rem;
    padding:15px;
}

.features-section{
    flex-direction:column;
}

.features-left{
    width:100%;
    grid-template-columns:1fr;
}

.features-right{
    width:100%;
}

.mentor-box{
    flex-direction:column;
    text-align:center;
}

.mentor-photo{
    width:180px;
    height:300px;
    margin-top:20px;
}

.courses{
    padding:30px;
}

.course-container{
    flex-direction:column;
}

.course-box{
    width:100%;
}

.result-gallery{
    flex-direction:column;
}

.result-gallery img{
    width:100%;
}

.contact-container{
    flex-direction:column;
    gap:30px;
}

.contact-left,
.contact-right{
    width:100%;
    text-align:center;
}

.social-links{
    justify-content:center;
}
}