/* Global Styles */
:root {
    --primary-color: #1d3c34;
    --secondary-color: #f9cd49;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #fff;
    --secondary-background: #f9f9f9;
    --border-color: #e0e0e0;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 5px;
    --purple-accent: #8e44ad;
    --orange-accent: #e67e22;
    --green-accent: #27ae60;
    --pink-accent: #e84393;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #e5b730;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-small:hover {
    background-color: #e5b730;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--text-color);
    padding: 10px 22px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Header */
header {
    background-color: #1a1a1a;
    color: var(--light-text);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.about-text h4 {
    margin: 1.5rem 0 0.5rem;
}

.about-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.about-text ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.about-text ul li:before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--secondary-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
    height: auto;
}

/* Principles Section */
.principles {
    padding: 5rem 0;
    background-color: #fff;
}

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

.principle-card {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

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

.principle-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.2);
}

.principle-card:nth-child(1) .principle-number {
    color: #a29bfe;
}

.principle-card:nth-child(2) .principle-number {
    color: #fd79a8;
}

.principle-card:nth-child(3) .principle-number {
    color: #fdcb6e;
}

.principle-card:nth-child(4) .principle-number {
    color: #55efc4;
}

.principle-card h3 {
    margin-bottom: 0.5rem;
}

.principle-card p {
    font-size: 0.95rem;
}

/* Courses Section */
.courses {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.courses h2 {
    color: var(--light-text);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: #fff;
    color: var(--text-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 1.5rem;
}

.course-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.course-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    position: relative;
}

.contact h2 {
    color: var(--light-text);
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.contact-info {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-form .btn {
    width: 100%;
}

.contact-image {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

/* Thank You Page */
.thank-you {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-content h1 {
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.thank-you-image {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.thank-you-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--light-text);
    padding: 2rem 0;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 1rem;
    color: var(--light-text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* Initially hidden, will be shown via JavaScript */
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.cookie-banner.show {
    display: flex;
}

.cookie-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
}

.cookie-content {
    flex-grow: 1;
}

.cookie-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.cookie-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}