:root {
    --primary-color: #0056B3;
    --accent-color: #28A745;
    --accent-color-hover: #218838;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #343A40;
    --text-light: #FFFFFF;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-width: 1200px;
    --spacing-unit: 8px;
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--spacing-unit); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: calc(var(--spacing-unit) * 2); }
a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-color-hover); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

section {
    padding: clamp(60px, 10vw, 100px) 0;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--bg-white);
    padding: calc(var(--spacing-unit) * 2) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}
.logo:hover { color: var(--primary-color); }
.nav-links { display: flex; gap: calc(var(--spacing-unit) * 4); }
.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    padding: var(--spacing-unit) 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent-color); }

/* --- Buttons --- */
.cta-button {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5);
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cta-button:hover { background-color: var(--accent-color-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3); }

.cta-button-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5);
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}
.cta-button-secondary:hover { background-color: var(--primary-color); color: var(--text-light); }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}
.header-cta { display: block; }

/* --- Hero Section --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--text-light);
    padding: calc(var(--spacing-unit) * 5) 0;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 44, 89, 0.6);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-content h1 { color: var(--text-light); margin-bottom: calc(var(--spacing-unit) * 3); }
.hero-content p { font-size: 1.25rem; opacity: 0.9; margin-bottom: calc(var(--spacing-unit) * 4); }
.page-header { background-color: var(--primary-color); color: var(--text-light); text-align: center; padding: 80px 0; }
.page-header h1 { color: var(--text-light); }
.page-header p { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto; }

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: calc(var(--spacing-unit) * 6); }
.section-header h2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Features Section --- */
.features-section { background-color: var(--bg-light); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}
.feature-card {
    background: var(--bg-white);
    padding: calc(var(--spacing-unit) * 4);
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.feature-card h3 { color: var(--primary-color); margin-bottom: var(--spacing-unit); }

/* --- Services Home Section --- */
.services-section-home { background-color: var(--bg-white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}
.service-card-home {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.service-card-home img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.service-card-home h3 { padding: 20px 20px 10px; color: var(--primary-color);}
.service-card-home p { padding: 0 20px; flex-grow: 1; }
.learn-more-link {
    display: block;
    padding: 20px;
    font-weight: bold;
    color: var(--accent-color);
}

/* --- About Home Section --- */
.about-home-section { background-color: var(--bg-light); }
.about-home-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
    align-items: center;
}
.about-home-image img { border-radius: 12px; box-shadow: var(--shadow); }
.about-home-content h2 { margin-bottom: calc(var(--spacing-unit) * 3); }
.about-home-content p strong { color: var(--primary-color); }

/* --- Testimonials Section --- */
.testimonials-section { background-color: var(--bg-white); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}
.testimonial-card {
    background: var(--bg-light);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 12px;
    text-align: center;
}
.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto calc(var(--spacing-unit) * 2);
    border: 3px solid var(--accent-color);
}
.testimonial-card p { font-style: italic; color: var(--text-dark); margin-bottom: calc(var(--spacing-unit) * 2); }
.testimonial-card h4 { color: var(--primary-color); margin-bottom: 0; }
.testimonial-card span { font-size: 0.9rem; color: var(--text-muted); }

/* --- Partners Section --- */
.partners-section { background-color: var(--bg-light); }
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-unit) * 8);
}
.partners-grid i {
    font-size: 3rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.partners-grid i:hover { color: var(--primary-color); }

/* --- Final CTA --- */
.final-cta-section { background-color: var(--primary-color); color: var(--text-light); }
.final-cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.final-cta-content h2 { color: var(--text-light); }
.final-cta-content p { color: rgba(255,255,255,0.9); margin-bottom: calc(var(--spacing-unit) * 4); }
.final-cta-content .cta-button { background-color: var(--bg-white); color: var(--primary-color); }
.final-cta-content .cta-button:hover { background-color: var(--bg-light); }

/* --- Footer --- */
.main-footer {
    background-color: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: calc(var(--spacing-unit) * 8) 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 6);
}
.footer-column h3, .footer-column h4 { color: var(--text-light); margin-bottom: calc(var(--spacing-unit) * 3); }
.footer-column.footer-about h3{ font-family: var(--font-heading); font-size: 1.8rem; }
.footer-column ul { display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * 1.5); }
.footer-column a { color: rgba(255,255,255,0.7); }
.footer-column a:hover { color: var(--text-light); }
.footer-column p { font-size: 0.95rem; line-height: 1.6; }
.footer-column p i { color: var(--accent-color); margin-right: calc(var(--spacing-unit) * 1); width: 20px; text-align: center; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: calc(var(--spacing-unit) * 3) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}
.footer-bottom p { font-size: 0.9rem; margin: 0; }
.social-icons { display: flex; gap: calc(var(--spacing-unit) * 2); }
.social-icons a {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}
.social-icons a:hover { color: var(--text-light); background-color: var(--accent-color); border-color: var(--accent-color);}


/* --- About Page --- */
.story-section { background-color: var(--bg-white); }
.story-content { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--spacing-unit) * 6); align-items: center; }
.story-image img { border-radius: 12px; box-shadow: var(--shadow); }

.mission-values-section { background-color: var(--bg-light); }
.mission-block { text-align: center; max-width: 800px; margin: 0 auto calc(var(--spacing-unit) * 6); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: calc(var(--spacing-unit) * 4); }
.value-card { background: var(--bg-white); padding: calc(var(--spacing-unit) * 4); text-align: center; border-radius: 12px; box-shadow: var(--shadow); }
.value-icon { font-size: 2rem; color: var(--accent-color); margin-bottom: var(--spacing-unit); }

.team-section { background-color: var(--bg-white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: calc(var(--spacing-unit) * 4); }
.team-member-card { text-align: center; }
.team-member-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; margin-bottom: calc(var(--spacing-unit) * 2); }
.team-member-card .role { color: var(--text-muted); font-weight: bold; margin-bottom: var(--spacing-unit); }
.team-member-card .bio { font-size: 0.95rem; }

.numbers-section { background: linear-gradient(to right, var(--accent-color), var(--primary-color)); color: var(--text-light); }
.numbers-section .section-header h2, .numbers-section .section-header p { color: var(--text-light); }
.numbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: calc(var(--spacing-unit) * 4); text-align: center; }
.number-item .number { font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; display: block; line-height: 1; }
.number-item p { font-size: 1.1rem; opacity: 0.9; margin: 0; }

/* --- Services Page --- */
.course-catalog-section { background-color: var(--bg-light); }
.courses-grid { display: grid; grid-template-columns: 1fr; gap: calc(var(--spacing-unit) * 5); }
.course-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 350px 1fr;
    overflow: hidden;
}
.course-card-image img { width: 100%; height: 100%; object-fit: cover; }
.course-card-content { padding: calc(var(--spacing-unit) * 4); display: flex; flex-direction: column; }
.course-card-content h3 { margin-bottom: var(--spacing-unit); }
.course-card-content .level { display: inline-block; background: var(--accent-color); color: var(--text-light); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; margin-bottom: calc(var(--spacing-unit) * 2); }
.course-card-content p { flex-grow: 1; }
.course-card-content ul { list-style: none; margin-bottom: calc(var(--spacing-unit) * 3); }
.course-card-content ul li { margin-bottom: var(--spacing-unit); }
.course-card-content ul li i { color: var(--accent-color); margin-right: var(--spacing-unit); }

/* --- FAQ Section --- */
.faq-section { background-color: var(--bg-white); }
.faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--spacing-unit); }
.faq-item { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.faq-question {
    width: 100%;
    background: var(--bg-light);
    border: none;
    padding: calc(var(--spacing-unit) * 2.5);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i { transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p { padding: 0 calc(var(--spacing-unit) * 2.5); margin: 0; }
.faq-item.active .faq-answer { padding: calc(var(--spacing-unit) * 2.5); }

/* --- Contact Page --- */
.contact-section { background-color: var(--bg-light); }
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
}
.contact-form-wrapper h2, .contact-info-wrapper h2 { margin-bottom: calc(var(--spacing-unit) * 3); }
.form-group { margin-bottom: calc(var(--spacing-unit) * 2.5); }
.form-group label { display: block; margin-bottom: var(--spacing-unit); font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--accent-color); border-color: transparent; }
.contact-info-item { display: flex; align-items: flex-start; gap: calc(var(--spacing-unit) * 2); margin-bottom: calc(var(--spacing-unit) * 3); }
.contact-info-item i { font-size: 1.5rem; color: var(--accent-color); margin-top: 5px; width: 30px; text-align: center; }
.contact-info-item h3 { margin-bottom: 5px; font-size: 1.2rem; }
.contact-info-item p { margin-bottom: 0; }
.contact-info-item a { color: var(--text-dark); }
.contact-info-item a:hover { color: var(--accent-color); }
.map-section { padding-top: 0; }
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- Privacy/Text Content Page --- */
.privacy-content-section { background-color: var(--bg-white); }
.text-content { max-width: 800px; }
.text-content h2 { margin: calc(var(--spacing-unit) * 4) 0 calc(var(--spacing-unit) * 2); }
.text-content ul { list-style: disc; padding-left: 20px; }
.text-content li { margin-bottom: var(--spacing-unit); }

/* --- Thank You Page --- */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.1);
}
.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}
.thank-you-section h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.thank-you-section p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 30px; }

/* --- Other Utilities --- */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: none;
    z-index: 999;
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.95);
    color: var(--text-light);
    padding: calc(var(--spacing-unit) * 2);
    z-index: 9999;
    display: none;
    align-items: center;
    backdrop-filter: blur(5px);
}
.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}
.cookie-container p { margin: 0; }
.cookie-container a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: calc(var(--spacing-unit) * 2); }
.cookie-button-accept { background: var(--accent-color); color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; }
.cookie-button-decline { background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted); padding: 10px 20px; border-radius: 5px; cursor: pointer; } 

/* --- Responsive --- */
@media (max-width: 1024px) {
    .header-cta { display: none; }
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 4);
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { left: 0; }
    .mobile-menu-toggle { display: block; }

    .about-home-container { grid-template-columns: 1fr; }
    .course-card { grid-template-columns: 1fr; }
    .course-card-image { height: 250px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .footer-bottom { flex-direction: column; gap: var(--spacing-unit) * 2; }
    .story-content { grid-template-columns: 1fr; }
    .cookie-container { flex-direction: column; text-align: center; }
    .map-container { height: 350px; }
}