/* style.css - Final Professional Version */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0056b3;  /* QBO Blue */
    --secondary: #28a745; /* Brand Green */
    --dark: #0f172a;
    --light: #f1f5f9;
    --accent: #ffc107;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 15px 0;
}
.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 10px;
    font-size: 16px;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}
.btn-enroll {
    background: var(--secondary);
    color: white !important;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}
.btn-enroll:hover { background: #218838; transform: translateY(-2px); }

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0, 30, 60, 0.85), rgba(0, 30, 60, 0.85)), 
                url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 160px 0 100px 0;
    position: relative;
}

/* --- Page Header (For sub-pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title p { color: #666; max-width: 600px; margin: 0 auto; }

/* --- Cards --- */
.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
    border-bottom: 5px solid var(--primary);
}
.feature-card:hover { transform: translateY(-10px); }

.course-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}
.course-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.course-header { background: var(--primary); color: white; padding: 20px; text-align: center; }

/* --- Mentor Image --- */
.mentor-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}
.whatsapp-float:hover { background-color: #1ebd57; color: white; transform: scale(1.1); }

/* --- Footer --- */
footer {
    background: #111;
    color: #ddd;
    padding: 70px 0 20px 0;
    margin-top: 80px;
}
.footer-links a { color: #999; text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.social-icons a { width: 40px; height: 40px; background: #333; color: white; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; text-decoration: none; }
.social-icons a:hover { background: var(--secondary); }

/* --- Carousel Reviews --- */
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 15px;
    text-align: center;
    font-style: italic;
}
.review-author { font-weight: bold; color: var(--primary); margin-top: 15px; font-style: normal; }