/* Reset and Base (unchanged) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    line-height: 1.6;
    background-color: #0a0e17;
}

h1, h2, h3, h4, p {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 64px;
    font-weight: 600;
}

h2 {
    font-size: 36px;
    font-weight: 500;
}

h3 {
    font-size: 24px;
    font-weight: 400;
}

p {
    font-size: 16px;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Menu (unchanged) */
.menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: url('http://www.callumhall.co.uk/wp-content/uploads/2025/03/menu-button.png') center/contain no-repeat;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease;
}

.menu-toggle.active {
    transform: scale(1.2);
}

.site-menu {
    position: fixed;
    right: -200px;
    top: 0;
    width: 200px;
    height: 100%;
    background: #1a1e2a;
    padding: 60px 20px 20px;
    text-align: center;
    transition: right 0.3s ease, background 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.site-menu.active {
    right: 0;
}

.site-menu:hover {
    background: #22273b;
}

.site-menu ul {
    list-style: none;
}

.site-menu li {
    margin: 20px 0;
}

.site-menu a {
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    display: block;
    padding: 10px;
    transition: color 0.3s ease;
}

.site-menu a:hover {
    color: #3f2254;
}

@media (min-width: 769px) {
    .site-menu {
        width: 15%;
        right: -15%;
    }
    .site-menu.active {
        right: 0;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Scales to cover while maintaining aspect ratio */
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.logo {
    position: absolute;
    top: 65%;
    max-width: 340px;
    height: auto;
    z-index: 2;
}

.top-buttons {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    gap: 20px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 15px;
}

.additional-text {
    margin: 20px 0;
    font-size: 16px;
}

.additional-text strong {
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease-in-out;
    border-radius: 0 !important; /* Sharp edges, override Bootstrap */
}

.btn-primary, .btn-secondary {
    padding: 15px 35px !important; /* 100% larger for top buttons */
    border: 2px solid #4e8599 !important; /* Peterson's blue */
    background: transparent !important;
    color: #fff !important;
    border-radius: 0 !important; /* Ensure sharp edges */
}

.btn-primary:hover, .btn-secondary:hover {
    background: #4e8599 !important; /* Fill with gold on hover */
    color: #fff !important;
}

/* Buttons in other sections (e.g., course grid, course library) */
.course-grid .btn, .course-library .btn, .hero-content .btn {
    padding: 10px 20px !important; /* Smaller for other sections */
    border: 2px solid #4e8599 !important;
    background: transparent;
    color: #fff !important;
    border-radius: 0 !important; /* Sharp edges */
}

.course-grid .btn:hover, .course-library .btn:hover, .hero-content .btn:hover {
    background: #4e8599 !important;
    color: #fff !important;
}

/* Featured Courses */
.featured-courses {
    padding: 60px 0;
    background: #0a0e17;
}

.featured-courses h2 {
    text-align: center;
    margin-bottom: 40px;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.course-card {
    background: #1a1e2a;
    border-radius: 10px;
    overflow: hidden;
}

.course-card img {
    width: 100%;
    height: auto;
}

.course-card h3 {
    margin: 20px;
}

.course-card p {
    margin: 0 20px 20px;
}

.course-card .btn {
    display: block;
    margin: 0 auto 20px;
    text-align: center;
}

/* Course Library */
.course-library {
    padding: 60px 0;
    background: #0a0e17;
}

.course-library h2, .course-library p {
    text-align: center;
    margin-bottom: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.video-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.course-library .btn {
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: #0a0e17;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial {
    background: #1a1e2a;
    padding: 20px;
    border-radius: 10px;
}

.testimonial p {
    font-size: 14px;
}

.testimonial .author {
    font-weight: 500;
    margin-top: 10px;
}

/* Lecturers */
.lecturers {
    padding: 60px 0;
    background: #0a0e17;
}

.lecturers h2, .lecturers p {
    text-align: center;
    margin-bottom: 20px;
}

.lecturer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lecturer-card {
    text-align: center;
}

.lecturer-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.lecturer-card p {
    margin-top: 10px;
    font-weight: 500;
}

/* FAQ */
.faq {
    padding: 60px 0;
    background: #0a0e17;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    background: #1a1e2a;
    color: #fff;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.accordion-header:hover {
    background: #22273b;
}

.accordion-content {
    display: none;
    background: #1a1e2a;
    padding: 15px;
    border-top: 1px solid #333;
}

.accordion-content.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .top-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .course-grid, .video-grid, .testimonial-grid, .lecturer-grid {
        grid-template-columns: 1fr;
    }
    .hero-image {
        object-fit: cover;
        height: 100vh; /* Ensure it fills mobile viewport */
    }
}