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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Button Styles */
.btn-primary {
    background: #5A9B8E;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #4A8B7E;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #5A9B8E;
    padding: 12px 24px;
    border: 2px solid #5A9B8E;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5A9B8E;
    color: white;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 350px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-popup h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.cookie-popup p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    flex: 1;
    padding: 8px 16px;
    font-size: 14px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #5A9B8E;
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #5A9B8E;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content h4 {
    color: #5A9B8E;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

/* Compass Section */
.compass-section {
    padding: 80px 0;
    background: white;
}

.compass-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.compass-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.compass-text p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

.compass-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.courses-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.course-number {
    width: 60px;
    height: 60px;
    background: #5A9B8E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #5A9B8E;
}

.course-card p {
    color: #666;
    line-height: 1.6;
}

/* Investment Section */
.investment-section {
    padding: 80px 0;
    background: white;
}

.investment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.investment-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.investment-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.investment-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.blog-intro {
    text-align: center;
    font-size: 16px;
    margin-bottom: 50px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #5A9B8E;
    line-height: 1.3;
}

.blog-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-date {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #5A9B8E;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-text p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
}

.contact-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus {
    outline: none;
    border-color: #5A9B8E;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #5A9B8E;
}

.footer-info p {
    margin-bottom: 5px;
    color: #ccc;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #5A9B8E;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .compass-content,
    .investment-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials h2,
    .courses-section h2,
    .blog-section h2 {
        font-size: 28px;
    }

    .contact-text h2,
    .compass-text h2,
    .investment-text h2 {
        font-size: 28px;
    }

    .testimonials-grid,
    .courses-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .cookie-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .testimonials,
    .compass-section,
    .courses-section,
    .investment-section,
    .blog-section,
    .contact-section {
        padding: 60px 0;
    }

    .testimonial-card,
    .course-card,
    .blog-card {
        padding: 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for elements on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}