:root {
 --primary-color: #1e40af; /* Deep Blue */
 --primary-dark: #1e3a8a;
 --secondary-color: #16a34a; /* Vibrant green */
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Base Reset & Typography */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}
html { scroll-behavior: smooth; }
body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.6;
 color: var(--text-dark);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.2;
 color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 0.5em; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
p { margin-bottom: 1rem; color: var(--text-light); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* Header & Navigation */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, 0.95); }
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; color: var(--text-dark); padding: 8px 0; position: relative; }
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 6px 0; transition: var(--transition); }

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 12px 24px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 1px solid transparent;
 text-align: center;
}
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: white; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* Sections */
main { padding-top: 80px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.badge {
 display: inline-block;
 padding: 6px 16px;
 font-size: 0.85rem;
 font-weight: 600;
 border-radius: var(--radius-lg);
 background-color: var(--primary-color);
 color: white;
 margin-bottom: 1rem;
}
.page-header-section {
 background-color: var(--primary-dark);
 color: white;
 padding: 60px 0;
 text-align: center;
}
.page-header-section h1 { color: white; }
.page-header-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

/* Hero Section */
.hero-section {
 padding: 80px 0;
 background: linear-gradient(to right, var(--bg-light) 60%, var(--primary-color) 40%);
}
.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 40px;
}
.hero-content h1 { font-weight: 800; }
.hero-content p { font-size: 1.1rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.hero-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}

/* Trusted By Section */
.trusted-by-section { padding: 40px 0; background-color: var(--bg-light); text-align: center;}
.trusted-by-title { margin-bottom: 2rem; font-size: 1rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;}
.logos-container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 2rem; }
.partner-logo { height: 30px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: var(--transition); }
.partner-logo:hover { filter: grayscale(0); opacity: 1; }

/* Grid & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
 background: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-lg);
 text-align: center;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
 display: inline-flex;
 padding: 1rem;
 background: var(--primary-color);
 color: white;
 border-radius: 50%;
 margin-bottom: 1rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.25rem; }

/* Timeline */
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-container::after { content: ''; position: absolute; width: 2px; background-color: var(--border-color); top: 0; bottom: 0; left: 35px; }
.timeline-step { position: relative; margin-bottom: 40px; padding-left: 80px; }
.timeline-number {
 position: absolute;
 left: 0;
 top: 0;
 width: 70px;
 height: 70px;
 background-color: var(--primary-color);
 color: white;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 font-weight: 700;
 z-index: 1;
 border: 5px solid var(--bg-white);
}
.timeline-step:last-child { margin-bottom: 0; }

/* Pricing Cards */
.pricing-card {
 background: white;
 padding: 2.5rem 2rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 text-align: center;
 position: relative;
 border: 2px solid var(--border-color);
}
.pricing-card.popular { border-color: var(--primary-color); }
.popular-badge {
 position: absolute;
 top: -15px;
 left: 50%;
 transform: translateX(-50%);
 background: var(--primary-color);
 color: white;
 font-size: 0.8rem;
 font-weight: 600;
 padding: 6px 14px;
 border-radius: var(--radius-lg);
}
.pricing-card h3 { font-size: 1.4rem; }
.pricing-card-desc { margin: 1.5rem 0; color: var(--text-light); min-height: 100px;}

/* Testimonials */
.testimonial-section { display: flex; justify-content: center;}
.testimonial-card {
 background-color: var(--bg-light);
 border-left: 4px solid var(--primary-color);
 padding: 2rem;
 border-radius: var(--radius-md);
 max-width: 700px;
 text-align: center;
}
.testimonial-avatar {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 margin: 0 auto 1rem;
}
.testimonial-card blockquote { font-size: 1.2rem; font-style: italic; margin-bottom: 1.5rem; color: var(--text-dark); }
.testimonial-card cite { font-style: normal; }
.testimonial-card cite span { display: block; color: var(--text-muted); font-size: 0.9rem; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question {
 width: 100%;
 background: none;
 border: none;
 text-align: left;
 padding: 1.5rem 0;
 font-size: 1.1rem;
 font-weight: 600;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.faq-icon { width: 20px; height: 20px; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding-bottom: 1.5rem; }

/* CTA Section */
.cta-section {
 background: var(--primary-dark);
 padding: 60px 0;
 text-align: center;
 color: white;
}
.cta-section h2 { color: white; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; }

/* Footer */
.footer {
 background: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 16px; display: block; }
.footer-description { font-size: 0.9rem; line-height: 1.6; }
.footer-heading { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-contact a, .footer-contact p { color: #a0aec0; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover, .footer-contact a:hover { color: white; }
.footer-bottom { border-top: 1px solid #4a5568; padding-top: 30px; text-align: center; font-size: 0.85rem; }
.footer-hours { margin-top: 1rem; font-size: 0.9rem; line-height: 1.5; }

/* Courses Page */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card.course-card { display: flex; flex-direction: column; }
.card-image { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-badge { align-self: flex-start; background-color: var(--secondary-color); font-size: 0.75rem; }
.card-title { margin-top: 0.5rem; font-size: 1.2rem; }
.card-text { flex-grow: 1; margin-bottom: 1.5rem; }

/* About Page */
.media-object { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.team-grid { gap: 2rem; }
.team-member-card {
 text-align: center;
 background: white;
 padding: 2rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 1rem;
 object-fit: cover;
 border: 4px solid white;
 box-shadow: var(--shadow-md);
}
.team-role { color: var(--primary-color); font-weight: 600; }

/* Contact Page */
.contact-page-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info-block h2, .contact-form-block h2 { margin-bottom: 2rem; }
.contact-detail-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-detail-item svg { width: 24px; height: 24px; color: var(--primary-color); flex-shrink: 0; margin-top: 2px;}
.contact-detail-item strong { display: block; margin-bottom: 0.25rem; font-weight: 600; }
.contact-detail-item p, .contact-detail-item a { margin: 0; }
.map-section { margin-top: 80px; }
.map-container { position: relative; padding-bottom: 50%; height: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Forms */
.form-vertical .form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; }
.form-control {
 width: 100%;
 padding: 14px;
 font-size: 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background: white;
}
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.5rem; }
.checkbox-group label { font-weight: 400; font-size: 0.9rem; }
.checkbox-group input { margin-top: 4px; }
.input-error { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important; }
.field-error { color: #dc2626; font-size: 0.85rem; margin-top: 4px; animation: fadeIn 0.3s ease; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Legal Pages */
.legal-page { padding: 80px 0; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { margin-bottom: 1rem; }
.legal-page h2 { margin-top: 2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.legal-page p, .legal-page ul li { margin-bottom: 1rem; }
.legal-page ul { list-style: disc; padding-left: 20px; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.cookie-table th, .cookie-table td { border: 1px solid var(--border-color); padding: 0.75rem; text-align: left; }
.cookie-table th { background: var(--bg-light); }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: white;
 padding: 1rem;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 z-index: 2000;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: white; text-decoration: underline; }
.cookie-actions { display: flex; gap: 1rem; }

/* Responsive */
@media (max-width: 992px) {
 .grid-3, .courses-grid { grid-template-columns: repeat(2, 1fr); }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .hero-container, .media-object { grid-template-columns: 1fr; }
 .hero-section { background: var(--bg-light);}
 .hero-content { text-align: center; }
 .hero-content p { margin-left: auto; margin-right: auto; }
 .hero-actions { justify-content: center; }
 .contact-page-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: absolute;
 top: 80px;
 left: 0;
 right: 0;
 background: white;
 flex-direction: column;
 padding: 20px;
 gap: 16px;
 box-shadow: var(--shadow-md);
 display: none;
 border-top: 1px solid var(--border-color);
 }
 .nav-links.active { display: flex; }
 .grid-3, .courses-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; }
 .cookie-banner { flex-direction: column; text-align: center; }
}