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

:root {
 --primary-color: #2563eb; /* Blue 600 */
 --primary-dark: #1d4ed8; /* Blue 700 */
 --secondary-color: #0d9488; /* Teal 600 */
 --text-dark: #111827; /* Gray 900 */
 --text-light: #4b5563; /* Gray 600 */
 --text-muted: #6b7280; /* Gray 500 */
 --bg-light: #f9fafb; /* Gray 50 */
 --bg-white: #ffffff;
 --border-color: #e5e7eb; /* Gray 200 */
 --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;
}

/* --- BASE STYLES --- */
*, *::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-light);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.25;
 color: var(--text-dark);
 margin-bottom: 1rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER & NAVIGATION --- */
.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.98); }
.nav { height: 70px; 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; list-style: none; }
.nav-links a { font-weight: 500; color: var(--text-dark); position: relative; padding: 5px 0; }
.nav-links a::after {
 content: ''; position: absolute; bottom: 0; left: 0;
 width: 0; height: 2px; background-color: var(--primary-color); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; z-index: 1001;}
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--text-dark); margin: 6px 0; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* --- BUTTONS --- */
.btn {
 display: inline-block; padding: 12px 24px; font-size: 1rem; font-weight: 600;
 border-radius: var(--radius-md); cursor: pointer; transition: var(--transition);
 border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: white; }
.nav-cta { padding: 8px 16px; }

/* --- SECTIONS --- */
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-title { font-size: 2.5rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.page-header-section { padding: 120px 0 60px; text-align: center; background: var(--bg-light); }
.page-title { font-size: 3rem; margin-bottom: 0.5rem; }
.page-subtitle { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.badge {
 display: inline-block; background-color: var(--primary-color); color: #fff;
 padding: 6px 16px; border-radius: 20px; font-size: 0.85rem;
 font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* --- HERO SECTION --- */
.hero-section {
 padding: 140px 0 80px; overflow: hidden;
 background-color: var(--bg-light);
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero-content .hero-subtitle { font-size: 1.1rem; margin: 20px 0 30px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 30px; }
.hero-trust { font-size: 0.9rem; color: var(--text-muted);}
.hero-trust span { margin-right: 20px; }
.hero-visual { position: relative; }
.hero-mockup {
 border-radius: var(--radius-lg); overflow: hidden;
 box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
 border: 1px solid var(--border-color);
}
.floating-ui-element {
 position: absolute; background: white; padding: 10px 16px;
 border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
 font-size: 0.9rem; font-weight: 500; color: var(--text-dark);
 display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite;
}
.ui-1 { top: 10%; left: -15%; }
.ui-2 { bottom: 15%; right: -20%; animation-delay: -3s; }
.ui-3 { top: 40%; right: -10%; padding: 12px; border-radius: 50%; animation-delay: -1.5s; }
.ui-3 svg { width: 24px; height: 24px; color: var(--primary-color); }

@keyframes float {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-15px); }
}

/* --- TRUSTED BY SECTION --- */
.trusted-by-section { padding: 50px 0; background: #fff; text-align: center; }
.section-title-small { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; font-weight: 500; }
.logo-carousel { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 40px; }
.partner-logo { max-height: 35px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: var(--transition); }
.partner-logo:hover { filter: grayscale(0); opacity: 1; }

/* --- FEATURES GRID --- */
.features-grid { gap: 30px; }
.feature-card {
 background: var(--bg-white); padding: 30px; border-radius: var(--radius-lg); text-align: center;
 border: 1px solid var(--border-color); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
 display: inline-flex; align-items: center; justify-content: center;
 width: 50px; height: 50px; border-radius: var(--radius-md);
 background: var(--primary-color); color: white; margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }

/* --- HOW IT WORKS / STEPS --- */
.how-it-works-container { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; }
.step-card { text-align: center; padding: 20px; }
.step-number {
 display: inline-flex; justify-content: center; align-items: center;
 width: 40px; height: 40px; border-radius: 50%;
 background: var(--bg-white); border: 2px solid var(--primary-color);
 color: var(--primary-color); font-weight: 700; font-size: 1.2rem;
 margin-bottom: 16px;
}
.step-line { width: 100%; height: 2px; background: var(--border-color); }
.step-card .card-text { max-width: 250px; margin: 0 auto; }

/* --- PRICING SECTION --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card {
 background: white; border: 1px solid var(--border-color);
 border-radius: var(--radius-lg); padding: 40px; text-align: center; transition: var(--transition); position: relative;
}
.pricing-card.popular {
 border-color: var(--primary-color); transform: scale(1.05); box-shadow: var(--shadow-lg);
}
.popular-badge {
 position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
 background: var(--primary-color); color: white; padding: 5px 15px;
 border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.pricing-title { font-size: 1.2rem; text-transform: uppercase; color: var(--text-muted); }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--text-dark); margin: 1rem 0; }
.pricing-period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { margin-bottom: 2rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { margin-bottom: 10px; }
.pricing-features li::before { content: ''; color: var(--secondary-color); margin-right: 10px; }

/* --- TESTIMONIALS --- */
.testimonial-container { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
.testimonial-featured-card {
 background: var(--bg-light); padding: 40px; border-radius: var(--radius-lg); text-align: center;
}
.testimonial-photo {
 width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
 margin: 0 auto 20px; border: 4px solid white; box-shadow: var(--shadow-md);
}
.testimonial-text { font-size: 1.1rem; font-style: italic; margin-bottom: 20px; color: var(--text-dark); }
.testimonial-author { display: block; font-weight: 600; color: var(--text-dark); }
.testimonial-role { font-size: 0.9rem; color: var(--text-muted); }
.testimonial-grid { display: flex; flex-direction: column; gap: 20px; }
.testimonial-card {
 display: flex; align-items: center; gap: 15px; padding: 20px;
 background: white; border-radius: var(--radius-md); border: 1px solid var(--border-color);
}
.testimonial-photo-small { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author-small { font-weight: 600; font-size: 1rem; margin-bottom: 5px; }
.testimonial-text-small { font-size: 0.9rem; line-height: 1.4; margin: 0; }

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

/* --- CTA SECTION --- */
.cta-section {
 background: var(--primary-color);
 color: white; padding: 60px 0; text-align: center;
}
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-title { color: white; font-size: 2.2rem; }
.cta-text { opacity: 0.9; margin-bottom: 30px; }
.cta-section .btn-primary { background: white; color: var(--primary-color); }
.cta-section .btn-primary:hover { background: var(--bg-light); }

/* --- GRID, CARDS --- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
 background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
 transition: var(--transition); border: 1px solid var(--border-color); overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-image-top { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-category {
 font-size: 0.8rem; font-weight: 600; color: var(--primary-color);
 text-transform: uppercase; margin-bottom: 8px; display: block;
}
.card-title { font-size: 1.25rem; margin-bottom: 12px; color: var(--text-dark); }
.card-text { margin-bottom: 16px; flex-grow: 1; }

/* --- Courses Page --- */
.course-filter-bar { display: flex; gap: 20px; margin-bottom: 40px; }
.search-input {
 flex-grow: 1; padding: 12px 16px; border: 1px solid var(--border-color);
 border-radius: var(--radius-md); font-size: 1rem;
}
.filter-select {
 padding: 12px 16px; border: 1px solid var(--border-color);
 border-radius: var(--radius-md); font-size: 1rem; background: white;
}
.courses-grid { margin-bottom: 40px; }
.course-card { display: flex; flex-direction: column; }
.course-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.course-meta span { margin-right: 10px; }
.pagination { display: flex; justify-content: center; gap: 8px; }
.pagination a {
 padding: 8px 16px; border-radius: var(--radius-sm);
 color: var(--primary-color); text-decoration: none; transition: var(--transition);
}
.pagination a:hover { background: var(--bg-light); }
.pagination a.active { background: var(--primary-color); color: white; }

/* --- About Page --- */
.about-us-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-us-content p { margin-bottom: 1.5rem; }
.about-us-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.values-grid .value-card { background: white; border-left: 4px solid var(--primary-color); padding: 24px; border-radius: var(--radius-md); }
.team-grid { gap: 20px; }
.team-member { text-align: center; }
.team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; box-shadow: var(--shadow-md); }
.team-name { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-dark); }
.team-role { color: var(--text-muted); }

/* --- Contact Page --- */
.contact-page-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.section-title-small.text-left { text-align: left; }
.contact-form-container, .contact-info-container { }
.contact-info-item { display: flex; gap: 20px; margin-bottom: 25px; }
.contact-info-icon {
 flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center;
 justify-content: center; background: var(--bg-light); border-radius: 50%; color: var(--primary-color);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-item h4 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { margin: 0; color: var(--text-light); }
.map-section { padding-top: 0; }
.map-container { position: relative; width: 100%; height: 450px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { border: 0; width: 100%; height: 100%; }

/* --- FORMS --- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
 width: 100%; padding: 12px 16px; border: 1px solid var(--border-color);
 border-radius: var(--radius-md); font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none; border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group label { margin: 0; font-weight: 400; font-size: 0.9rem; }
.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; }
button[type="submit"] .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; }

/* --- FOOTER --- */
.footer {
 background: var(--text-dark); color: #a0aec0;
 padding: 60px 0 30px; margin-top: 60px;
}
.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: 16px; display: block; }
.footer-description { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.footer-heading { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #a0aec0; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--primary-color); }
.footer-contact-item a { color: #a0aec0; }
.footer-contact-item a:hover { color: white; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
 width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
 display: flex; align-items: center; justify-content: center; color: white;
}
.footer-social a:hover { background: var(--primary-color); }
.footer-bottom {
 border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px;
 text-align: center; font-size: 0.85rem; color: #718096;
}

/* --- LEGAL & MISC --- */
.legal-page { padding: 120px 0 60px; }
.legal-page h1, .legal-page h2 { border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-bottom: 20px; margin-top: 30px; }
.legal-page p, .legal-page ul { margin-bottom: 1.5rem; }
.legal-page ul { 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: 12px; text-align: left;
}
.cookie-table th { background-color: var(--bg-light); }
#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; z-index: 2000; gap: 20px;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--primary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
 .hero-container { grid-template-columns: 1fr; text-align: center; }
 .hero-content .hero-subtitle, .hero-actions { max-width: 100%; justify-content: center;}
 .hero-visual { display: none; }
 .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
 .pricing-grid { grid-template-columns: 1fr; }
 .pricing-card.popular { transform: scale(1); }
 .testimonial-container { grid-template-columns: 1fr; }
 .contact-page-container { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
 background: white; flex-direction: column; padding: 100px 30px 30px; gap: 20px;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 .nav-cta { display: none; }
 .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
 .how-it-works-container { grid-template-columns: 1fr; }
 .step-line { display: none; }
 #cookie-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-column { margin-bottom: 20px; }
 .footer-social { justify-content: center;}
 .footer-contact-item { justify-content: center; }
}