:root {
 --primary-color: #1e3a8a; /* Professional Blue */
 --primary-dark: #1e293b;
 --secondary-color: #3b82f6; 
 --accent-color: #60a5fa;
 --text-dark: #1a1a1a;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f0f5ff;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --radius-sm: 8px;
 --radius-md: 12px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
 --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);
 --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;
 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 {
 font-weight: 700;
 color: var(--text-dark);
 line-height: 1.2;
}

p {
 margin-bottom: 1rem;
}

a {
 color: var(--secondary-color);
 text-decoration: none;
 transition: var(--transition);
}

a:hover {
 color: var(--primary-color);
}

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

/* Header & Navigation */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}

.header.scrolled {
 box-shadow: var(--shadow-md);
}

.nav {
 height: 70px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--primary-color);
}

.nav-menu {
 display: flex;
}

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

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

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

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

.nav-toggle {
 display: none;
 cursor: pointer;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 margin: 5px 0;
 background-color: var(--text-dark);
 transition: var(--transition);
}

/* Hero Section */
.hero {
 position: relative;
 min-height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 background-size: cover;
 background-position: center;
 text-align: center;
 padding: 100px 0;
 color: white;
}

.hero::before {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: rgba(30, 58, 138, 0.7); /* primary-color with opacity */
}

.hero-content {
 position: relative;
 z-index: 2;
 max-width: 800px;
}

.hero-title {
 font-size: clamp(2.5rem, 5vw, 3.5rem);
 color: white;
 margin-bottom: 1rem;
}

.hero-subtitle {
 font-size: 1.25rem;
 color: rgba(255, 255, 255, 0.9);
 margin-bottom: 2rem;
}

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

/* Sections */
.section {
 padding: 80px 0;
}

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

.section-label {
 display: inline-block;
 background-color: var(--accent-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.8rem;
 font-weight: 700;
 text-transform: uppercase;
 margin-bottom: 1rem;
}

.section-title {
 font-size: clamp(1.8rem, 4vw, 2.8rem);
 margin-bottom: 1rem;
}

.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-muted);
}

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

.section-cta {
 text-align: center;
 margin-top: 40px;
}

/* Buttons */
.btn {
 display: inline-block;
 font-weight: 600;
 padding: 0.8rem 1.8rem;
 border-radius: var(--radius-sm);
 border: 2px solid transparent;
 transition: var(--transition);
 cursor: pointer;
 text-align: center;
}

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

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

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

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: white;
 transform: translateY(-2px);
}

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

.btn-white:hover {
 background-color: var(--bg-light);
 color: var(--primary-dark);
}

/* Cards */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 2rem;
}

.card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
 height: 100%;
}

.card-img {
 width: 100%;
 aspect-ratio: 16/10;
 object-fit: cover;
}

.card-body {
 padding: 1.5rem;
}

.card-title {
 font-size: 1.25rem;
 margin-bottom: 0.75rem;
}

.card-text {
 font-size: 1rem;
 color: var(--text-muted);
}

/* Interactive Card */
.interactive-card {
 position: relative;
 perspective: 1000px;
}
.card-front, .card-back {
 position: absolute;
 width: 100%;
 height: 100%;
 backface-visibility: hidden;
 transition: transform 0.6s ease;
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
}
.interactive-card .card-front {
 transform: rotateY(0);
}
.interactive-card .card-back {
 transform: rotateY(180deg);
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 padding: 1.5rem;
 text-align: center;
 background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
 color: white;
}
.card-back h3, .card-back p {
 color: white;
}
.interactive-card:hover .card-front {
 transform: rotateY(-180deg);
}
.interactive-card:hover .card-back {
 transform: rotateY(0);
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}
.media-object.reversed {
 grid-template-columns: 1fr 1fr;
}
.media-object.reversed .media-visual {
 order: 2;
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 height: auto;
 object-fit:cover;
 max-height: 400px;
}

.checkmark-list {
 list-style: none;
 padding-left: 0;
 margin-top: 1.5rem;
 margin-bottom: 2rem;
}
.checkmark-list li {
 padding-left: 2rem;
 position: relative;
 margin-bottom: 0.75rem;
}
.checkmark-list li::before {
 content: '';
 position: absolute;
 left: 0;
 color: var(--primary-color);
 font-weight: bold;
 font-size: 1.2rem;
}

/* Footer */
.footer {
 background-color: var(--primary-dark);
 color: #a0aec0;
 padding: 60px 0 30px;
 margin-top: 60px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 margin-bottom: 2rem;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: white;
 margin-bottom: 1rem;
 display: block;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.footer-links {
 list-style: none;
}
.footer-links li {
 margin-bottom: 0.75rem;
}
.footer-links a {
 color: #a0aec0;
}
.footer-links a:hover {
 color: white;
 padding-left: 5px;
}
.footer-contact {
 list-style: none;
}
.footer-contact li {
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
 margin-bottom: 1rem;
}
.footer-contact svg {
 width: 20px;
 height: 20px;
 flex-shrink: 0;
 margin-top: 2px;
 color: var(--accent-color);
}
.footer-contact a {
 color: #a0aec0;
}
.footer-contact a:hover {
 color: white;
}
.footer-social {
 display: flex;
 gap: 1rem;
 margin-top: 1.5rem;
}
.footer-social a {
 color: white;
 background-color: 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-color: var(--secondary-color);
 transform: translateY(-3px);
}
.footer-social svg {
 width: 20px;
 height: 20px;
}
.footer-newsletter-form {
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
}
.footer-newsletter-form input {
 padding: 0.8rem;
 border: 1px solid #4a5568;
 background-color: #2d3748;
 color: white;
 border-radius: var(--radius-sm);
}
.footer-secondary {
 padding-top: 2rem;
 margin-top: 2rem;
 border-top: 1px solid #4a5568;
 display: flex;
 justify-content: space-between;
 gap: 2rem;
 flex-wrap: wrap;
}
.footer-bottom {
 border-top: 1px solid #4a5568;
 padding-top: 1.5rem;
 text-align: center;
 font-size: 0.9rem;
 margin-top: 2rem;
}

/* Stats Section */
.stats-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
}
.stat-card {
 text-align: center;
 padding: 2rem;
 background: var(--bg-light);
 border-radius: var(--radius-lg);
}
.stat-icon {
 font-size: 2.5rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
 width: 60px;
 height: 60px;
 margin-left: auto;
 margin-right: auto;
 background: white;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: var(--shadow-md);
}
.stat-icon svg {
 width: 32px;
 height: 32px;
}
.stat-number {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.stat-caption {
 color: var(--text-muted);
}

/* Testimonials */
.testimonial-carousel-container {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.testimonial-carousel {
 display: flex;
 overflow: hidden;
}
.testimonial-slide {
 min-width: 100%;
 transition: transform 0.5s ease;
 display: none;
}
.testimonial-slide.active { display: block; }
.testimonial-card {
 background-color: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 text-align: center;
}
.testimonial-avatar {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem;
 border: 4px solid var(--bg-light);
}
.testimonial-card blockquote {
 font-size: 1.1rem;
 font-style: italic;
 color: var(--text-muted);
 margin-bottom: 1rem;
 border: none;
}
.testimonial-card cite {
 font-weight: 600;
 color: var(--text-dark);
}
.carousel-nav {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 width: 100%;
 display: flex;
 justify-content: space-between;
 padding: 0 1rem;
}
.carousel-nav button {
 background-color: white;
 border: none;
 border-radius: 50%;
 width: 40px;
 height: 40px;
 box-shadow: var(--shadow-md);
 cursor: pointer;
 font-size: 1.5rem;
 color: var(--primary-color);
}
.carousel-nav button:hover { background-color: var(--bg-light); }

/* Blog Cards */
.blog-card {
 background: white;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 display: flex;
 flex-direction: column;
 transition: var(--transition);
}
.blog-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.blog-card-img {
 width: 100%;
 aspect-ratio: 16 / 9;
 object-fit: cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-card-body {
 padding: 1.5rem;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.blog-card-category {
 font-size: 0.8rem;
 font-weight: 600;
 color: var(--secondary-color);
 margin-bottom: 0.5rem;
 text-transform: uppercase;
}
.blog-card-title {
 font-size: 1.2rem;
 margin-bottom: 0.5rem;
}
.blog-card-excerpt {
 color: var(--text-muted);
 flex-grow: 1;
 margin-bottom: 1rem;
}
.read-more-link {
 font-weight: 600;
 color: var(--primary-color);
 align-self: flex-start;
}
.read-more-link:hover { text-decoration: underline; }

/* CTA Section */
.cta-section {
 background-color: var(--primary-color);
 background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
 color: white;
 padding: 80px 0;
 text-align: center;
}
.cta-title {
 color: white;
 font-size: 2.2rem;
 margin-bottom: 1rem;
}
.cta-text {
 color: rgba(255, 255, 255, 0.8);
 max-width: 600px;
 margin: 0 auto 2rem;
}
.cta-buttons {
 display: flex;
 gap: 1rem;
 justify-content: center;
}
.cta-buttons .btn-primary {
 background-color: white;
 color: var(--primary-color);
}
.cta-buttons .btn-secondary {
 border-color: white;
 color: white;
}
.cta-buttons .btn-secondary:hover {
 background-color: white;
 color: var(--primary-color);
}

/* Page Specific */
.page-header-section {
 padding: 100px 0 60px;
 background-color: var(--bg-light);
 text-align: center;
}
.page-title { font-size: 2.5rem; }
.page-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 1rem auto 0; }
.legal-content { max-width: 800px; margin: 0 auto;}
.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }

.value-card {
 background: white;
 padding: 2rem;
 border-radius: var(--radius-lg);
 text-align: center;
 box-shadow: var(--shadow-md);
}
.value-card h3 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 0.5rem;}

.team-card {
 text-align: center;
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1.5rem;
 box-shadow: var(--shadow-lg);
}
.team-name { font-size: 1.3rem; }
.team-title { font-weight: 600; color: var(--secondary-color); margin-bottom: 0.5rem; }
.team-bio { font-size: 0.9rem; color: var(--text-muted); }

.course-list { display: flex; flex-direction: column; gap: 2rem;}
.course-card {
 display: grid;
 grid-template-columns: 300px 1fr;
 gap: 2rem;
 background: white;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 transition: all 0.3s ease;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-card-img { width: 100%; height: 100%; object-fit: cover; }
.course-card-body { padding: 2rem; display: flex; flex-direction: column; }
.course-category { text-transform: uppercase; font-weight: 600; color: var(--secondary-color); font-size: 0.8rem; margin-bottom: 0.5rem; }
.course-title { font-size: 1.5rem; }
.course-description { margin-bottom: auto; }
.course-meta { display: flex; gap: 1rem; font-size: 0.9rem; color: var(--text-muted); margin: 1.5rem 0; }
.course-meta span { background: var(--bg-light); padding: 5px 10px; border-radius: 5px; }

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 4px;
 background-color: var(--border-color);
 top: 0;
 bottom: 0;
 left: 50%;
 margin-left: -2px;
}
.timeline-item {
 padding: 10px 40px;
 position: relative;
 width: 50%;
}
.timeline-item:nth-child(odd) {
 left: 0;
 text-align: right;
}
.timeline-item:nth-child(even) {
 left: 50%;
}
.timeline-dot {
 content: '';
 position: absolute;
 width: 20px;
 height: 20px;
 background-color: white;
 border: 4px solid var(--primary-color);
 top: 25px;
 border-radius: 50%;
 z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot {
 right: -10px;
}
.timeline-item:nth-child(even) .timeline-dot {
 left: -10px;
}
.timeline-content {
 padding: 20px 30px;
 background-color: white;
 position: relative;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.contact-info-wrapper h2 { margin-bottom: 2rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-info-icon { background: var(--bg-light); color: var(--primary-color); width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0;}
.contact-info-icon svg { width: 24px; height: 24px;}
.contact-info-item h3 { font-size: 1.1rem; margin-bottom: 0.2rem;}
.contact-info-item p { margin: 0; }
.map-section { margin-top: 50px; height: 450px; }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-control {
 width: 100%;
 padding: 0.9rem;
 border-radius: var(--radius-sm);
 border: 1px solid var(--border-color);
 transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); }
.btn-block { width: 100%; }
.form-check { display: flex; align-items: center; gap: 0.5rem; }
.form-check-label { margin-bottom: 0; font-size: 0.9rem;}

.cookie-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.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 {
 display: none;
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--primary-dark);
 color: white;
 padding: 1rem 1.5rem;
 justify-content: space-between;
 align-items: center;
 z-index: 1001;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
 gap: 1rem;
 flex-wrap: wrap;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; }
.cookie-buttons button { padding: 0.5rem 1rem; border-radius: var(--radius-sm); border: none; cursor: pointer; }
.cookie-buttons button:first-child { background: var(--secondary-color); color: white; }
.cookie-buttons button:last-child { background: #4a5568;}

/* Responsive */
@media screen and (max-width: 992px) {
 .grid-3 { grid-template-columns: 1fr 1fr; }
 .media-object, .media-object.reversed { grid-template-columns: 1fr; }
 .media-object .media-visual {
 order: 1;
 }
 .media-object .media-body {
 order: 2;
 }
 .course-card { grid-template-columns: 1fr; }
 .contact-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
 .nav-menu {
 position: fixed;
 top: 70px;
 left: -100%;
 width: 100%;
 height: calc(100vh - 70px);
 background-color: white;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 transition: left 0.4s ease;
 }
 .nav-menu.active {
 left: 0;
 }
 .nav-links {
 flex-direction: column;
 gap: 2rem;
 }
 .nav-link { font-size: 1.2rem; }
 .nav-toggle {
 display: block;
 }
 .grid-3 { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; }
 .timeline::after { left: 31px; }
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
 .timeline-item:nth-child(even) { left: 0; }
 .timeline-item:nth-child(odd) .timeline-dot,
 .timeline-item:nth-child(even) .timeline-dot {
 left: 21px;
 }
}