/* Base settings */
html {
    font-size: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo h1 {
    margin-bottom: 1rem;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a.active,
nav ul li a:hover {
    color: #4CAF50;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background-color: #4CAF50;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #45a049;
}

/* Hero Section */
.hero {
    background-image: url('./img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0;
    background-color: rgba(0, 0, 0, 0.7); /* Fallback */
    position: relative;
}

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

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.hero p {
    margin-bottom: 3rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    text-align: center;
}

.benefits h2 {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.benefits p {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.benefit-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 35rem;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    color: #4CAF50;
}

/* Platform Section */
.platform {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.platform h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.platform p {
    margin-bottom: 2rem;
}

.platform-image {
    margin-top: 3rem;
    text-align: center;
}

/* Coaching Section */
.coaching {
    padding: 5rem 0;
}

.coaching h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.coaching ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.coaching li {
    margin-bottom: 2rem;
}

/* Programs Section */
.programs {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.programs h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.programs > p {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.program {
    background-color: #4CAF50;
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
}

.program h3 {
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Certificates Section */
.certificates {
    padding: 5rem 0;
}

.certificates h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.cert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.cert-text {
    flex: 1;
}

.cert-image {
    flex: 1;
    text-align: center;
}

/* Registration Section */
.registration {
    padding: 5rem 0;
    background-color: #f5f5f5;
    text-align: center;
}

.registration h2 {
    margin-bottom: 2rem;
}

.registration p {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

form {
    max-width: 50rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

input, textarea {
    width: 100%;
    padding: 1.2rem;
    border: 0.1rem solid #ddd;
    border-radius: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
}

/* Success Page */
.success-page {
    padding: 10rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-content h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.success-btn {
    font-size: 1.8rem;
    padding: 1.2rem 2.5rem;
    background-color: #e8f5e9;
    color: #333;
    border: 1px solid #c8e6c9;
    box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
}

.copyright {
    text-align: center;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 1.4rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -0.2rem 1rem rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 1000;
    display: none; /* Hidden by default, shown with JS */
    border: 1px solid #e0e0e0;
    border-radius: 1rem 1rem 0 0;
}

.cookie-popup.active {
    display: block;
}

.cookie-content {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cookie-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cookie-btn {
    min-width: 12rem;
    background-color: #e8f5e9;
    color: #333;
    border: 1px solid #c8e6c9;
    box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 2.4rem;
    cursor: pointer;
    display: none;
}

nav ul.mobile {
    display: none;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
}

nav ul.mobile.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 99;
}

nav ul.mobile li {
    margin: 1rem 0;
}

/* Media Queries */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .logo h1 {
        margin-bottom: 0;
    }
    
    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .program-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .program {
        flex: 1;
        min-width: 30rem;
    }
    
    .cert-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .cookie-content {
        flex-direction: row;
        text-align: left;
    }
    
    .cookie-icon {
        margin-right: 2rem;
        margin-bottom: 0;
    }
    
    .cookie-text {
        flex: 1;
    }
    
    .cookie-buttons {
        margin-left: 2rem;
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero h2 {
        font-size: 3.6rem;
    }
    
    .program-list {
        gap: 3rem;
    }
    
    nav ul li {
        margin: 0 1.5rem;
    }
}

@media (max-width: 767px) {
    .header-content {
        position: relative;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cert-image img {
        max-width: 80%;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
}