/*
Theme Name: SkillsPlus
Theme URI: https://skillsplus.mu
Author: SkillsPlus Training Centre
Description: Executive one-page WordPress theme for SkillsPlus Training Centre
Version: 1.0
*/

:root {
    --primary:#0b2545;
    --secondary:#133c73;
    --accent:#4cc9f0;
    --light:#f4f8fb;
    --dark:#1c1c1c;
}

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

html { scroll-behavior:smooth; }

body {
    color:var(--dark);
    line-height:1.7;
}

/* NAV */
nav {
    position:fixed;
    top:0;
    width:100%;
    background:#fff;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
    z-index:1000;
}
nav ul {
    display:flex;
    justify-content:center;
    padding:15px;
    list-style:none;
}
nav li { margin:0 18px; }
nav a {
    text-decoration:none;
    font-weight:600;
    color:var(--primary);
}

/* HERO */
header {
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:white;
    padding:160px 10% 120px;
}
header h1 { font-size:3.2rem; }
header p {
    max-width:720px;
    margin-top:20px;
    font-size:1.15rem;
}
header a {
    display:inline-block;
    margin-top:35px;
    background:var(--accent);
    color:var(--primary);
    padding:15px 32px;
    border-radius:6px;
    font-weight:600;
    text-decoration:none;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 160px 10% 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.hero-content h1 {
    font-size: 3.2rem;
}

.hero-content p {
    margin-top: 20px;
    max-width: 600px;
    font-size: 1.15rem;
}

.hero-content a {
    display: inline-block;
    margin-top: 35px;
    background: var(--accent);
    color: var(--primary);
    padding: 15px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.hero-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media(max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-video {
        margin-top: 40px;
    }
}


/* SECTIONS */
section {
    padding:90px 10%;
    opacity:0;
    transform:translateY(40px);
    transition:0.8s ease;
}
section.visible {
    opacity:1;
    transform:none;
}
section h2 {
    font-size:2.4rem;
    margin-bottom:20px;
    color: white;
}
section p { max-width:900px; }

/* FEATURES */
.features {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}
.box {
    background:var(--light);
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

/* TRAINER */
.trainer {
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:40px;
}
.card {
    background:var(--light);
    padding:30px;
    border-radius:12px;
}

/* COURSES */
.courses {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}
.course {
    background:white;
    border-left:6px solid var(--accent);
    padding:25px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

/* CONTACT */
.contact {
    background:linear-gradient(135deg,var(--secondary),var(--primary));
    color:white;
}
.contact input, .contact textarea {
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:none;
    border-radius:6px;
}
.contact button {
    background:var(--accent);
    color:var(--primary);
    border:none;
    padding:14px 30px;
    font-weight:600;
    border-radius:6px;
}

/* FOOTER */
footer {
    background:#081a33;
    color:#ffffff;
    text-align:center;
    padding:30px;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color:#ffffff;
}


@media(max-width:768px){
    header h1 { font-size:2.3rem; }
    .trainer { grid-template-columns:1fr; }
}
