@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
 --primary-color: #0284c7;
 --primary-dark: #0369a1;
 --secondary-color: #7dd3fc;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f0f9ff;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --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 Neue", Arial, sans-serif;
}

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

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

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-light);
 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(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}
.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* --- Header --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 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 {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 gap: 32px;
}
.nav-link {
 font-weight: 500;
 color: var(--text-dark);
 position: relative;
 padding: 8px 0;
}
.nav-link::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
 width: 100%;
}
.nav-actions { display: flex; align-items: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); }

/* --- Buttons --- */
.btn {
 display: inline-flex;
 padding: 12px 24px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 border: 2px solid transparent;
 transition: var(--transition);
 text-align: center;
}
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { border-color: var(--border-color); color: var(--text-dark); background: transparent; }
.btn-secondary:hover { background-color: var(--bg-light); border-color: var(--primary-color); color: var(--primary-dark); }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* --- Hero Section --- */
.page-hero { padding-top: 140px; padding-bottom: 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-copy .badge { display: inline-block; background: var(--bg-light); color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.hero-actions { display: flex; gap: 16px; margin-top: 2rem; }
.hero-trust { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* --- Sections --- */
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-label { display: inline-block; background: var(--primary-color); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.section-title { font-weight: 700; color: var(--text-dark); }
.section-subtitle { max-width: 600px; margin: 0 auto; color: var(--text-light); }
.page-header-section { padding: 120px 0 60px; text-align: center; background: var(--bg-light); }
.page-title { font-size: 2.8rem;}
.page-subtitle { font-size: 1.2rem; color: var(--text-light); max-width: 700px; margin: 1rem auto 0; }

/* --- Trusted By Section --- */
.trusted-by-section { padding: 40px 0; }
.trusted-by-title { font-size: 1rem; color: var(--text-muted); font-weight: 500; margin-bottom: 2rem; }
.logo-carousel { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 40px; }
.partner-logo { height: 32px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.partner-logo:hover { filter: grayscale(0); opacity: 1; }

/* --- Features Grid --- */
.grid-3 { display: grid; gap: 30px; }
.features-grid .feature-card { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition); }
.features-grid .feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-icon { display: inline-flex; justify-content: center; align-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg-light); margin-bottom: 1.5rem; }
.feature-icon svg { width: 32px; height: 32px; color: var(--primary-color); }
.feature-card h3 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-light); }

/* --- How It Works --- */
.how-it-works-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; position: relative; }
.how-it-works-step { padding: 1.5rem; }
.step-number { width: 50px; height: 50px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem; }
.how-it-works-container::before { content: ''; position: absolute; top: 25px; left: 15%; right: 15%; height: 2px; background: var(--border-color); border-style: dashed; z-index: -1; }

/* --- Testimonials --- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.testimonial-card { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.testimonial-text { font-size: 1.1rem; font-style: italic; color: var(--text-dark); margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-photo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.author-name { display: block; font-weight: 600; color: var(--text-dark); }
.author-title { font-size: 0.9rem; color: var(--text-muted); }

/* --- FAQ --- */
.faq-accordion { 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: 20px 0; font-size: 1.1rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary-color); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.faq-answer p { padding: 0 0 20px; color: var(--text-light); }

/* --- CTA Section --- */
.cta-section { padding: 80px 0; }
.cta-title { font-size: 2.2rem; color: var(--text-dark); }
.cta-subtitle { font-size: 1.2rem; color: var(--text-light); margin: 1rem 0 2rem; }

/* --- Courses Page --- */
.courses-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.course-card img { height: 200px; width: 100%; object-fit: cover; border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-category { font-size: 0.8rem; font-weight: 600; color: var(--primary-color); text-transform: uppercase; margin-bottom: 0.5rem; }
.card-title { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.75rem; }
.card-text { color: var(--text-light); flex-grow: 1; margin-bottom: 1.5rem; }
.card-button { align-self: flex-start; }

/* --- About Page --- */
.media-object { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.media-copy ul { padding-left: 20px; list-style: disc; margin-top: 1rem; }
.media-copy li { margin-bottom: 0.5rem; }
.media-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.team-section .section-header { margin-bottom: 60px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.team-member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; box-shadow: var(--shadow-md); }
.team-member h3 { font-size: 1.2rem; }
.team-role { font-size: 0.9rem; color: var(--primary-color); }

/* --- Contact Page --- */
.contact-page-grid { display: grid; grid-template-columns: 1fr; gap: 60px; }
.form-title, .details-title { font-size: 1.8rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
.form-control { width: 100%; padding: 14px 18px; font-size: 1rem; border: 1px solid var(--border-color); border-radius: var(--radius-md); transition: var(--transition); background: var(--bg-white); }
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.4); }
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group input { width: auto; }
.checkbox-group label { margin-bottom: 0; font-weight: normal; }
.contact-details-list { display: flex; flex-direction: column; gap: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail-icon { color: var(--primary-color); flex-shrink: 0; }
.contact-detail-icon svg { width: 24px; height: 24px; }
.contact-detail strong { display: block; font-weight: 600; color: var(--text-dark); }
.contact-detail span, .contact-detail a { color: var(--text-light); }
.map-container { width: 100%; height: 450px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 80px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- Thank You Page --- */
.thank-you-section { display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.thank-you-content { text-align: center; max-width: 600px; }
.thank-you-icon { color: var(--primary-color); margin-bottom: 1.5rem; }
.thank-you-icon svg { width: 80px; height: 80px; }

/* --- Legal Pages --- */
.legal-content .legal-text { max-width: 800px; margin: 0 auto; }
.legal-text h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; }
.legal-text p, .legal-text ul { margin-bottom: 1rem; color: var(--text-light); }
.legal-text ul { padding-left: 20px; list-style: disc; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.cookie-table th, .cookie-table td { border: 1px solid var(--border-color); padding: 12px; text-align: left; }
.cookie-table th { background: var(--bg-light); font-weight: 600; }

/* --- Footer --- */
.footer { background: var(--text-dark); color: #a9a9a9; padding: 60px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 1rem; display: inline-block; }
.footer-description { margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: white; background: rgba(255, 255, 255, 0.1); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--primary-color); }
.footer-social svg { width: 20px; height: 20px; }
.footer-heading { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: #a9a9a9; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 1rem; align-items: flex-start; }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--secondary-color); }
.footer-contact-item a { color: #a9a9a9; }
.footer-contact-item a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 30px; text-align: center; }
.footer-copyright { font-size: 0.9rem; color: #888; }

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

/* --- Form Validation --- */
.input-error { border-color: #dc2626 !important; }
.field-error { color: #dc2626; font-size: 0.85rem; margin-top: 4px; }
.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 1s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
 .hero-inner, .media-object { grid-template-columns: 1fr; }
 .hero-copy { text-align: center; }
 .hero-actions { justify-content: center; }
 .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
 .courses-grid, .how-it-works-container { grid-template-columns: 1fr; }
 .how-it-works-container::before { display: none; }
 .testimonial-grid { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
 .contact-page-grid { grid-template-columns: 1fr; }
}

@media (min-width: 992px) {
 .hero-inner { grid-template-columns: 1fr 1.2fr; }
 .media-object { grid-template-columns: 1fr 1fr; }
 .grid-3 { grid-template-columns: repeat(3, 1fr); }
 .testimonial-grid { grid-template-columns: 1fr 1fr; }
 .contact-page-grid { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 768px) {
 .nav-links { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: white; flex-direction: column; align-items: center; padding: 40px; gap: 20px; transition: left 0.3s ease; }
 .nav-links.active { left: 0; }
 .nav-toggle { display: block; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-column { text-align: center; }
 .footer-social { justify-content: center; }
 .form-row { grid-template-columns: 1fr; }
 .cookie-banner { flex-direction: column; text-align: center; }
}