@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;
 --bg-light: #f0f9ff;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', sans-serif;
}

/* --- BASE & TYPOGRAPHY --- */
*, *::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-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.2;
}

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);
}

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 1.5rem;
 padding-right: 1.5rem;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

.section {
 padding: 80px 0;
}

.bg-light {
 background-color: var(--bg-light);
}

.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 50px;
}

.section-title {
 margin-bottom: 1rem;
}

.section-subtitle {
 font-size: 1.1rem;
}

.badge {
 display: inline-block;
 padding: 6px 16px;
 background-color: var(--secondary-color);
 color: var(--primary-dark);
 font-weight: 600;
 font-size: 0.9rem;
 border-radius: 999px;
 margin-bottom: 1rem;
}

/* --- HEADER & NAVIGATION --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}

.header.scrolled {
 background-color: rgba(255, 255, 255, 0.98);
 box-shadow: var(--shadow-md);
}

.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);
 display: flex;
 align-items: center;
}

.nav-logo:hover {
 color: var(--primary-color);
}

.nav-menu {
 display: flex;
}

.nav-list {
 display: flex;
 align-items: center;
 list-style: none;
 gap: 2rem;
}

.nav-link {
 color: var(--text-light);
 font-weight: 500;
 padding: 0.5rem 0;
 position: relative;
}

.nav-link::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
 color: var(--text-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
 width: 100%;
}

.nav-actions {
 display: flex;
 align-items: center;
 gap: 1rem;
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 width: 24px;
 height: 24px;
 position: relative;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 100%;
 height: 2px;
 background-color: var(--text-dark);
 border-radius: 2px;
 transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
 position: absolute;
 left: 0;
}

.nav-toggle span:nth-child(1) { top: 5px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 17px; }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

/* --- BUTTONS --- */
.btn {
 display: inline-block;
 padding: 12px 24px;
 font-weight: 600;
 font-size: 1rem;
 border-radius: var(--radius-md);
 cursor: pointer;
 text-align: center;
 transition: var(--transition);
 border: 2px solid transparent;
}

.btn-primary {
 background-color: var(--primary-color);
 color: #fff;
}

.btn-primary:hover {
 background-color: var(--primary-dark);
 color: #fff;
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}

.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: #fff;
}

/* --- HERO SECTION --- */
.hero-section {
 padding-top: 140px;
 padding-bottom: 80px;
 background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-container {
 display: grid;
 grid-template-columns: 1fr;
 align-items: center;
 gap: 3rem;
}

.hero-title {
 margin-bottom: 1.5rem;
}

.hero-description {
 font-size: 1.1rem;
 max-width: 600px;
 margin-bottom: 2rem;
}

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

.hero-visual {
 position: relative;
}

.hero-image {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}

.floating-ui-element {
 position: absolute;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(5px);
 padding: 10px 15px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-md);
 font-size: 0.9rem;
 font-weight: 500;
 display: flex;
 align-items: center;
 gap: 8px;
 animation: float 5s ease-in-out infinite;
}

#float1 { top: 20%; left: -10%; }
#float2 { bottom: 20%; right: -10%; animation-delay: -2.5s; }

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

/* --- TRUSTED BY SECTION --- */
.trusted-by-section {
 padding: 40px 0;
 text-align: center;
}

.trusted-by-title {
 font-size: 1rem;
 font-weight: 500;
 color: var(--text-light);
 margin-bottom: 2rem;
}

.logos-container {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 2.5rem;
}

.partner-logo {
 height: 30px;
 max-width: 120px;
 object-fit: contain;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}

.partner-logo:hover {
 filter: grayscale(0%);
 opacity: 1;
}

/* --- GRID & CARDS --- */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 1.5rem;
}

.feature-card {
 background-color: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-lg);
 text-align: center;
 transition: var(--transition);
 box-shadow: var(--shadow-sm);
}

.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}

.feature-icon {
 width: 50px;
 height: 50px;
 margin: 0 auto 1.5rem;
 background-color: var(--secondary-color);
 color: var(--primary-color);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title { margin-bottom: 0.5rem; }

/* --- PROCESS SECTION --- */
.process-container {
 position: relative;
}
.process-steps {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 2rem;
 position: relative;
}
.process-steps::before {
 content: '';
 position: absolute;
 top: 25px;
 left: 15%;
 right: 15%;
 height: 2px;
 background-color: var(--border-color);
 border-style: dashed;
}
.process-step {
 text-align: center;
 position: relative;
 z-index: 1;
}
.step-number {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 1rem;
 border: 4px solid var(--bg-white);
}
.step-title { margin-bottom: 0.5rem; }

/* --- COURSE CATEGORY CARD --- */
.course-category-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.course-category-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.course-category-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.course-category-content {
 padding: 1.5rem;
}
.course-category-content h3 { margin-bottom: 0.5rem; }
.course-category-content p { margin-bottom: 1rem; }

/* --- TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonial-card {
 background-color: var(--bg-light);
 padding: 2rem;
 border-radius: var(--radius-lg);
 border-left: 4px solid var(--primary-color);
}
.testimonial-author-image {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 1rem;
}
.testimonial-text {
 font-style: italic;
 margin-bottom: 1.5rem;
 color: var(--text-dark);
}
.testimonial-author-name { font-weight: 600; color: var(--text-dark); }
.testimonial-author-role { font-size: 0.9rem; }

/* --- FAQ SECTION --- */
.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;
 color: var(--text-dark);
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.faq-question:hover { color: var(--primary-color); }
.faq-icon {
 transition: var(--transition);
}
.faq-item.active .faq-icon {
 transform: rotate(180deg);
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out;
}
.faq-answer p { padding-bottom: 1.5rem; }
.faq-item.active .faq-answer { max-height: 200px; }

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

/* --- FOOTER --- */
.footer {
 background-color: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 20px;
 margin-top: 50px;
}
.footer a { color: #a0aec0; }
.footer a:hover { color: var(--secondary-color); }
.footer-container { display: flex; flex-direction: column; }
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 2rem;
 margin-bottom: 2rem;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: #fff;
 margin-bottom: 1rem;
 display: inline-block;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: #fff;
 margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-contact-item { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; align-items: flex-start; }
.footer-contact-item svg { margin-top: 4px; flex-shrink: 0; }
.footer-extra-info { margin-bottom: 2rem; border-top: 1px solid #4a5568; padding-top: 2rem; }
.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding-top: 1.5rem;
 border-top: 1px solid #4a5568;
 font-size: 0.9rem;
}
.footer-social-links { display: flex; gap: 1rem; }

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 992px) {
 .grid-3, .testimonial-grid { grid-template-columns: 1fr; }
 .hero-container { grid-template-columns: 1fr; text-align: center; }
 .hero-buttons { justify-content: center; }
 #float1, #float2 { display: none; }
 .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
 .process-steps::before { display: none; }
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
 .nav-menu {
 position: fixed;
 top: 0;
 right: -100%;
 width: 100%;
 height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 transition: right 0.4s ease-in-out;
 z-index: 1000;
 }
 .nav-menu.active { right: 0; }
 .nav-list { flex-direction: column; gap: 2.5rem; }
 .nav-link { font-size: 1.5rem; }
 .nav-toggle { display: block; z-index: 1001; }
 .nav-actions .btn { display: none; }
 .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- PAGE-SPECIFIC STYLES --- */
.page-header-section {
 padding: 140px 0 60px;
 background-color: var(--bg-light);
 text-align: center;
}
.page-subtitle { max-width: 700px; margin: 1rem auto 0; font-size: 1.1rem; }
.course-section { margin-bottom: 60px; }
.course-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-card-image { width: 100%; height: 200px; object-fit: cover; }
.course-card-content { padding: 1.5rem; }
.course-card-content h3 { margin-bottom: 0.5rem; }
.course-card-content p { margin-bottom: 1.5rem; }
.about-us-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-us-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.value-card { background-color: var(--bg-light); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.team-member { text-align: center; }
.team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; box-shadow: var(--shadow-md); }
.contact-page-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.map-container { margin: 40px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.thank-you-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.thank-you-icon { color: var(--primary-color); margin-bottom: 1.5rem; }
.legal-content h3 { margin: 2rem 0 1rem; }
.legal-content ul { margin: 1rem 0 1rem 1.5rem; }
.cookie-table {
 width: 100%;
 margin: 2rem 0;
 border-collapse: collapse;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 0.75rem;
 text-align: left;
}
.cookie-table th { background-color: var(--bg-light); }

/* --- FORM STYLING --- */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--text-dark); }
.form-control {
 width: 100%;
 padding: 12px 16px;
 font-size: 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background-color: var(--bg-white);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}
.checkbox-group { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-group input { width: auto; }
.checkbox-group label { margin-bottom: 0; }
.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 0.8s linear infinite;
 margin-right: 8px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }

/* Responsive Adjustments for specific complex layouts */
@media (max-width: 992px) {
 .about-us-container { grid-template-columns: 1fr; }
 .about-us-image { order: -1; }
 .contact-page-container { grid-template-columns: 1fr; }
}

/* COOKIE BANNER */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 width: 100%;
 background-color: var(--text-dark);
 color: white;
 padding: 1rem;
 display: none;
 justify-content: center;
 align-items: center;
 gap: 1.5rem;
 flex-wrap: wrap;
 z-index: 2000;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
#cookie-banner div { display: flex; gap: 1rem; }
@media(max-width: 600px) {
 #cookie-banner { flex-direction: column; }
}