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

:root {
    --primary: #6c5ce7;
    --primary-dark: #5b4ecc;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --text: #333333;
    --radius: 10px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
}

/* Header */
header {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
}

/* Hero Section */
.hero {
    background:  url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.hero h2 {
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 40px;
}

/* About Section */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
}

.about > p {
    max-width: 800px;
    margin: 0 auto 50px;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.value-card {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.icon {
    margin-bottom: 15px;
}

.icon img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

/* Investment Approach */
.investment-approach {
    padding: 80px 0;
}

.approach-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.approach-image {
    flex: 1;
    min-width: 300px;
}

.approach-content {
    flex: 1;
    min-width: 300px;
}

.approach-content h3 {
    margin-top: 20px;
}

.approach-content h3:first-child {
    margin-top: 0;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.team > p {
    max-width: 700px;
    margin: 0 auto 50px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-member img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
}

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

.course {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background-color: var(--primary-dark);
    border-radius: var(--radius);
    overflow: hidden;
}

.course-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.course-content {
    flex: 2;
    padding: 30px;
}

.course-details {
    opacity: 0.8;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

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

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
    flex: 1;
    max-width: 500px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 15px;
}

form {
    max-width: 500px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 15px;
}

input, button {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-family: 'Poppins', sans-serif;
}

button[type="submit"] {
    background-color: #5046bf;
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 30px;
}

button[type="submit"]:hover {
    background-color: #4238a7;
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
}

.social-links img {
    width: 18px;
    height: 18px;
}

.thank-section {
    text-align: center;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
}

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

.cookie-content h3 {
    text-align: center;
    margin-bottom: 15px;
}

.cookie-content p {
    text-align: center;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-buttons button {
    max-width: 200px;
    padding: 12px 20px;
}

#acceptCookies {
    background-color: var(--white);
    color: var(--primary);
}

#declineCookies {
    background-color: transparent;
    border: 1px solid var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    .approach-wrapper {
        flex-direction: column;
    }
    
    .approach-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .values-grid, .team-grid {
        gap: 15px;
    }
    
    .value-card, .team-member {
        min-width: calc(50% - 15px);
    }
    
    .course {
        flex-direction: column;
    }
    
    .course-image {
        max-width: 100%;
    }
    
    .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .value-card, .team-member {
        min-width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        max-width: 100%;
    }
}

.main-section {
    padding: 80px 0;
}

.main-section h2 {
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}