﻿*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.6;
    color:#222;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

header{
    background:#fff;
    padding:15px 0;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    position:sticky;
    top:0;
    z-index:100;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    width:100px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    text-decoration:none;
    color:#111;
    font-weight:bold;
    transition:0.3s;
}

nav a:hover{
    color:#c61c2f;
}

.hero{
    background:
    linear-gradient(rgba(0,0,0,0.65),
    rgba(0,0,0,0.65)),
    url("https://images.unsplash.com/photo-1555597673-b21d5c935865?q=80&w=1600");
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
    padding:120px 20px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:15px;
}

.hero p{
    font-size:1.4rem;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    background:#c61c2f;
    color:white;
    padding:14px 30px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#9d1624;
}

.section{
    padding:80px 0;
}

.section h2{
    text-align:center;
    margin-bottom:40px;
    color:#c61c2f;
    font-size:2.2rem;
}

.grey{
    background:#f5f5f5;
}

.instructor-card{
    max-width:800px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.instructor-card h3{
    font-size:2rem;
    margin-bottom:10px;
}

.title{
    color:#c61c2f;
    font-weight:bold;
    margin-bottom:20px;
}

.timetable{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.day-card{
    background:white;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.day-card h3{
    color:#c61c2f;
    margin-bottom:10px;
}

.day-card h4{
    margin-bottom:15px;
}

.school-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.school-card{
    background:white;
    padding:30px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.contact{
    text-align:center;
}

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:25px;
}

@media(max-width:768px){

    header .container{
        flex-direction:column;
    }

    nav ul{
        margin-top:15px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:2.5rem;
    }
}

.instructor-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    max-width:1200px;
    margin:auto;
}

.instructor-image{
    flex:1;
    text-align:center;
}

.instructor-image img{
    max-width:450px;
    width:100%;
    height:auto;
}

.instructor-content{
    flex:1;
}

.instructor-content h3{
    font-size:3rem;
    margin-bottom:10px;
}

.instructor-content .title{
    color:#c61c2f;
    font-weight:bold;
    font-size:1.3rem;
    margin-bottom:25px;
}

.instructor-content p{
    margin-bottom:18px;
    font-size:1.05rem;
    line-height:1.8;
}

@media (max-width:900px){

    .instructor-wrapper{
        flex-direction:column;
        text-align:center;
    }

    .instructor-image img{
        max-width:320px;
    }

    .instructor-content h3{
        font-size:2.2rem;
    }

}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-logos img {
    height: 80px;
    width: auto;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

.footer-logos img:hover {
    transform: scale(1.08);
}

@media (max-width: 600px) {
    .footer-logos img {
        height: 60px;
    }
}
