                                                                                                                            * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background: #0b1c2d;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid gold;   /* added */
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.7));
    transform: scale(1.05);
}

.logo-icon {
    font-size: 28px;
    margin-right: 10px;
    color: gold;
}

.logo-main {
    font-size: 26px;
    font-weight: bold;
    display: block;
}

.logo-sub {
    font-size: 11px;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.nav-menu a {
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: gold;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
}

.btn-primary {
    background: gold;
    color: black !important;
    padding: 6px 12px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 20px;
    background: #0b1c2d;
    color: white;
    margin-top: 40px;
}

/* Mobile */
@media (max-width: 768px) {

    .nav-menu {
        display: none;
        flex-direction: column;
        background: #0b1c2d;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}    
/* Layout Sections */

.hero {
    background: #0b1c2d;
    color: white;
    padding: 20px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: white;
    color: #0b1c2d;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
}

.section {
    padding: 70px 20px;
}

.section.light {
    background: #f4f6f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.card-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.cta {
    background: gold;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 30px;
    }

    .card-grid {
        flex-direction: column;
    }
}    
.logo-img {
    height: 85px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
}     
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 80px;   /* increased */
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-size: 32px;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 14px;
    color: gold;
    letter-spacing: 1.5px;
}

/* Mobile adjustment */
@media (max-width: 768px) {

    .logo-img {
        height: 60px;
    }

    .brand-main {
        font-size: 22px;
    }

    .brand-sub {
        font-size: 11px;
    }
}    
.form-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.form-input:focus {
    border-color: gold;
    outline: none;
}

form button {
    margin-top: 10px;
}    
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid gold;
    color: gold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}    
/* Course Cards */
.course-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.course-box {
    flex: 1;
    min-width: 280px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.course-box h3 {
    margin-bottom: 10px;
}

.course-box p {
    margin-bottom: 15px;
}

.course-tag {
    font-size: 12px;
    font-weight: bold;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.tag-free {
    background: green;
}

.tag-premium {
    background: gold;
    color: black;
}    
/* Chess colors */
.white-1e1d7 {
    background-color: #ffffff !important;
}

.black-3c85d {
    background-color: #2e7d32 !important;
}    
/* Headings */
h2 {
    color: #0b1c2d; /* deep navy */
    font-weight: 700;
}

/* Paragraph text */
p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

/* Highlight text */
.highlight {
    color: gold;
    font-weight: bold;
}

/* Section background contrast */
.section:nth-child(even) {
    background: #f8f9fa;
}
.btn-primary {
    background: gold;
    color: black;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
}    
/* ===== PREMIUM UI THEME ===== */

body {
    font-family: 'Poppins', sans-serif;
}

/* Headings */
h1, h2, h3 {
    color: #0b1c2d;
    font-weight: 700;
}

/* Gradient highlight */
.highlight {
    background: linear-gradient(45deg, gold, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sections */
.section {
    padding: 70px 20px;
}

/* Alternate background */
.section:nth-child(even) {
    background: #f8f9fa;
}

/* Card style */
.course-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, gold, #ffcc00);
    color: black;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Navbar enhancement */
.navbar {
    background: #0b1c2d;
    color: white;
}

.nav-menu a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: gold;
}

/* Logo text */
.brand-main {
    font-size: 20px;
    font-weight: bold;
    color: gold;
}

.brand-sub {
    font-size: 12px;
    color: #ddd;
}

/* Table */
table td, table th {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Smooth animations */
* {
    transition: all 0.2s ease-in-out;
}    /* ===== HERO FIX (FINAL) ===== */

.hero {
    background: #0b1c2d;
    color: white;
    padding: 70px 20px;   /* FIXED spacing */
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: white;
}

.hero p {
    color: #ddd;          /* FIXED visibility */
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-buttons {
    margin-top: 15px;
}

/* Prevent global paragraph override inside hero */
.hero p {
    color: #ddd !important;
}

/* Fix CTA spacing */
.section {
    padding: 60px 20px;
}

/* Ensure buttons clickable */
.btn-primary {
    position: relative;
    z-index: 2;
    cursor: pointer;
}    

/* ============================= */
/* 🎬 SCROLL ANIMATIONS */
/* ============================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================= */
/* 📱 MOBILE UI IMPROVEMENT */
/* ============================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero h1 {
        font-size: 26px !important;
    }

    .hero p {
        font-size: 14px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .course-grid {
        grid-template-columns: 1fr !important;
    }

    .course-box {
        margin-bottom: 15px;
    }
}

/* ============================= */
/* ⭐ TESTIMONIALS SECTION */
/* ============================= */

.testimonials {
    background: #f8f9fa;
    padding: 60px 20px;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-card strong {
    display: block;
    margin-top: 10px;
    color: #0b1c2d;
}

/* ============================= */
/* 💰 STICKY CTA (CONVERSION BOOST) */
/* ============================= */

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, gold, #ffcc00);
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    animation: pulse 2s infinite;
}

.sticky-cta a {
    color: black;
    text-decoration: none;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ============================= */
/* ✨ PREMIUM MICRO INTERACTIONS */
/* ============================= */

.course-box:hover,
.card:hover {
    transform: translateY(-6px) scale(1.02);
}

/* Button polish */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* ============================= */
/* 🎯 BETTER SPACING */
/* ============================= */

.section {
    padding: 70px 20px;
}

h2 {
    margin-bottom: 15px;
}

/* ============================= */
/* 🧠 ENGAGEMENT BOOST */
/* ============================= */

.hero h1 {
    letter-spacing: 0.5px;
}

.hero p {
    max-width: 650px;
    margin: auto;
}    