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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ===== Color Palette ===== */
:root {
    --primary-teal: #1a7f7e;
    --primary-dark: #0f3d3c;
    --accent-gold: #d4af37;
    --accent-terracotta: #c97a5c;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --border-color: #e0e0e0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

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

/* ===== Navigation ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: #e5c158;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-teal);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-outline:hover {
    background-color: var(--primary-teal);
    color: var(--white);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background-color: #e5c158;
}

/* ===== Sections ===== */
section {
    padding: 80px 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* ===== About Section ===== */
.about {
    background-color: var(--light-gray);
}

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

.about-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 0.95rem;
    color: #666;
}

/* ===== Program Section ===== */
.program {
    background-color: var(--white);
}

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

.program-item {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--light-gray);
    transition: background-color 0.3s ease;
}

.program-item:hover {
    background-color: rgba(26, 127, 126, 0.1);
}

.program-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-item h3 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.program-item p {
    font-size: 0.95rem;
    color: #666;
}

/* ===== Pricing Section ===== */
.pricing {
    background-color: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--accent-gold);
    transform: scale(1.05);
}

.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-card h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.pricing-card .btn {
    width: 100%;
}

/* ===== Blog Section ===== */
.blog {
    background-color: var(--white);
}

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

.blog-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-card h3 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.blog-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--accent-gold);
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-teal);
}

.blog-cta {
    text-align: center;
}

/* ===== Newsletter Section ===== */
.newsletter {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--white);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--light-gray);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(26, 127, 126, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* ===== Social Section ===== */
.social-section {
    background-color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.social-section h3 {
    margin-bottom: 2rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
    min-width: 150px;
}

.social-x {
    background-color: #000;
}

.social-x:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.social-youtube {
    background-color: #ff0000;
}

.social-youtube:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ===== Success Message ===== */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: auto;
    }

    .social-buttons {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
    }

    section {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 50px 20px;
    }

    .about-grid,
    .program-grid,
    .pricing-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    section {
        padding: 40px 15px;
    }
}
