/* ==========================================
   SURFI TUTOR PAGE
   SurvivalFinnish.com
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f9fc;
    color:#1f2937;
    line-height:1.6;
}

/* =========================
NAVBAR
========================= */

.navbar{
    width:90%;
    max-width:1250px;
    margin:auto;
    padding:22px 0;

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.logo{
    font-size:1.6rem;
    font-weight:700;
    color:#004aad;
}

.logo span{
    color:#0f172a;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:35px;
}

.navbar ul li a{
    text-decoration:none;
    color:#374151;
    font-weight:500;
    transition:.3s;
}

.navbar ul li a:hover{
    color:#004aad;
}

/* =========================
BUTTONS
========================= */

.primary-btn,
.secondary-btn,
.nav-btn,
.profile-btn{

    text-decoration:none;
    display:inline-block;
    transition:.35s;
    cursor:pointer;
}

.primary-btn{

    background:linear-gradient(135deg,#005bea,#008cff);

    color:white;

    padding:14px 28px;

    border-radius:50px;

    font-weight:600;

    box-shadow:0 12px 25px rgba(0,90,255,.25);
}

.primary-btn:hover{

    transform:translateY(-4px);

}

.secondary-btn{

    border:2px solid #005bea;

    color:#005bea;

    padding:13px 26px;

    border-radius:50px;

    margin-left:15px;

    font-weight:600;
}

.secondary-btn:hover{

    background:#005bea;

    color:white;

}

.nav-btn{

    background:#005bea;

    color:white;

    padding:12px 24px;

    border-radius:40px;
}

/* =========================
HERO
========================= */

.hero{

    padding-bottom:80px;

    background:
    linear-gradient(180deg,#eef6ff,#ffffff);

}

.hero-content{

    width:90%;
    max-width:1250px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 420px;

    gap:60px;

    align-items:center;

    padding-top:70px;

}

.badge{

    display:inline-block;

    background:#dbeafe;

    color:#004aad;

    padding:10px 18px;

    border-radius:40px;

    margin-bottom:25px;

    font-weight:600;

}

.hero h1{

    font-size:3.7rem;

    line-height:1.15;

    margin-bottom:25px;

}

.hero h1 span{

    color:#005bea;

}

.hero p{

    font-size:1.15rem;

    max-width:620px;

    color:#555;

}

.hero-buttons{

    margin-top:40px;

}

.hero-card{

    background:white;

    padding:45px;

    border-radius:35px;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

    text-align:center;

}

.circle{

    width:95px;

    height:95px;

    border-radius:50%;

    background:#005bea;

    color:white;

    font-size:2rem;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto auto 25px;

}

/* =========================
SECTIONS
========================= */

section{

    width:90%;

    max-width:1250px;

    margin:90px auto;

}

.section-title{

    text-align:center;

    margin-bottom:55px;

}

.section-title h2{

    font-size:2.3rem;

    margin-bottom:12px;

}

.section-title p{

    color:#666;

}

/* =========================
CAPSULE CARDS
========================= */

.why-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.capsule-card{

    background:white;

    border-radius:35px;

    padding:45px 35px;

    text-align:center;

    box-shadow:0 18px 35px rgba(0,0,0,.06);

    transition:.35s;

    position:relative;

}

.capsule-card:hover{

    transform:translateY(-10px);

    box-shadow:0 28px 55px rgba(0,74,173,.15);

}

/* skateboard / capsule bottom */

.capsule-card::after{

    content:"";

    width:70px;

    height:10px;

    background:#005bea;

    position:absolute;

    bottom:-5px;

    left:50%;

    transform:translateX(-50%);

    border-radius:50px;

}

.icon{

    font-size:3rem;

    margin-bottom:20px;

}

/* =========================
PACKAGE CHIPS
========================= */

.package-list{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.package-list span{

    background:white;

    padding:14px 22px;

    border-radius:40px;

    font-weight:600;

    box-shadow:0 8px 18px rgba(0,0,0,.06);

}

/* =========================
TEACHERS
========================= */

.teacher-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.teacher-card{

    background:white;

    border-radius:40px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 15px 30px rgba(0,0,0,.06);

}

.teacher-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(0,74,173,.18);

}

.teacher-photo{

    width:140px;

    height:140px;

    border-radius:50%;

    overflow:hidden;

    margin:auto;

    margin-bottom:20px;

    border:5px solid #dbeafe;

}

.teacher-photo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.teacher-card h3{

    margin-bottom:8px;

    font-size:1.5rem;

}

.city{

    color:#666;

    margin-bottom:10px;

}

.verified{

    color:#005bea;

    font-weight:600;

    margin-bottom:18px;

}

.teacher-tags{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:10px;

    margin:20px 0;

}

.teacher-tags span{

    background:#eef6ff;

    color:#005bea;

    padding:8px 14px;

    border-radius:30px;

    font-size:.9rem;

}

.profile-btn{

    background:#005bea;

    color:white;

    padding:12px 22px;

    border-radius:40px;

    margin-top:10px;

}

.join-card{

    background:linear-gradient(145deg,#005bea,#008cff);

    color:white;

}

.join-card p{

    color:white;

}

.join-icon{

    font-size:3rem;

    margin-bottom:20px;

}

/* =========================
APPLY SECTION
========================= */

.apply-box{

    background:white;

    border-radius:40px;

    padding:70px 40px;

    text-align:center;

    box-shadow:0 20px 40px rgba(0,0,0,.06);

}

.apply-box h2{

    margin-bottom:15px;

}

.apply-box p{

    max-width:650px;

    margin:auto auto 35px;

    color:#666;

}

/* =========================
FOOTER
========================= */

footer{

    background:#0f172a;

    color:white;

    text-align:center;

    padding:70px 20px;

}

footer p{

    opacity:.8;

    margin-top:10px;

}

/* =========================
RESPONSIVE
========================= */

@media(max-width:991px){

.hero-content{

grid-template-columns:1fr;

text-align:center;

}

.hero p{

margin:auto;

}

.why-grid{

grid-template-columns:1fr;

}

.navbar{

justify-content:center;

gap:20px;

}

.navbar ul{

flex-wrap:wrap;

justify-content:center;

}

}

@media(max-width:768px){

.hero h1{

font-size:2.5rem;

}

.hero-buttons{

display:flex;

flex-direction:column;

gap:15px;

}

.secondary-btn{

margin-left:0;

}

.teacher-grid{

grid-template-columns:1fr;

}

.hero-card{

padding:35px;

}

.section-title h2{

font-size:1.9rem;

}

}