/* YEGEDER - Navy Blue Theme */
/* Color Palette: #0d173a (primary navy), #152447, #1e3a6e, #3d5a80, #eff3f4 */

:root {
    --primary-purple: #152447;
    --primary-pink: #1e3a6e;
    --dark-blue: #0d173a;
    --dark-blue-light: #152447;
    --dark-blue-soft: #1e3a6e;
    --sky-blue: #3d5a80;
    --accent-blue: #4a6fa5;
    --lime-green: #3d5a80;
    --light-grey: #eff3f4;
    --section-muted: #f4f6f9;
    --white: #ffffff;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #0d173a 0%, #1e3a6e 100%);
    --gradient-secondary: linear-gradient(135deg, #152447 0%, #3d5a80 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(13, 23, 58, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--dark-blue-soft);
}

.header-top {
    background: var(--dark-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.header-top-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    min-width: 0;
}

.header-top-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    line-height: 1.4;
}

.header-top-item i {
    font-size: 14px;
    opacity: 0.95;
}

.header-top-item--static {
    color: rgba(255, 255, 255, 0.95);
}

.header-top-item:hover {
    color: rgba(255, 255, 255, 0.82);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-top-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-social a,
.header-top-action {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    background: transparent;
    font-size: 13px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-top-social .social-link {
    border: none;
    color: var(--white);
}

.header-top-social .social-link--facebook {
    background: #1877f2;
}

.header-top-social .social-link--twitter {
    background: #1da1f2;
}

.header-top-social .social-link--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.header-top-social .social-link--linkedin {
    background: #0a66c2;
}

.header-top-social .social-link--youtube {
    background: #ff0000;
}

.header-top-social .social-link:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.header-top-social .social-link--facebook:hover {
    background: #166fe0;
}

.header-top-social .social-link--twitter:hover {
    background: #1a94da;
}

.header-top-social .social-link--linkedin:hover {
    background: #0959a8;
}

.header-top-social .social-link--youtube:hover {
    background: #e60000;
}

.header-top-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-1px);
}

.header-top-menu-btn {
    display: none;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--white);
    text-decoration: none;
    margin-right: 0;
}

.header-top .social-icons a {
    margin-left: 6px;
    font-size: 18px;
}

.header-top .social-icons {
    gap: 6px;
    align-items: center;
}

.header-top .social-icons .elearning-label {
    color: white;
    font-weight: 600;
    margin-right: 10px;
    font-size: 14px;
    text-decoration: none;
}

.header-main {
    padding: 15px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.header-main .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.header-main nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-blue);
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px;
        max-width: 200px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
    position: relative;
}

.nav-menu a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 6px;
}

.nav-menu a:hover {
    color: var(--primary-pink);
}

.nav-menu li.has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 12px;
}

.nav-submenu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 300px;
    background: white;
    border: 1px solid rgba(13, 23, 58, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(13, 23, 58, 0.15);
    display: none;
    padding: 12px 0;
    z-index: 1000;
}

.nav-submenu li {
    width: 100%;
    padding: 0 20px;
}

.nav-submenu a {
    width: 100%;
    padding: 8px 0;
    font-weight: 500;
}

.nav-submenu .nav-submenu {
    top: 0;
    left: 100%;
}

.nav-menu li:hover > .nav-submenu {
    display: block;
}

.login-icon {
    font-size: 24px;
    color: var(--dark-blue);
    margin-right: 15px;
    text-decoration: none;
}

.login-icon:hover {
    color: var(--primary-pink);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(13, 23, 58, 0.1);
    background: white;
    margin-right: 15px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-blue);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 23, 58, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}

body.menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.language-selector {
    position: relative;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
    color: var(--white);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 23, 58, 0.25);
}

.btn-secondary {
    background: var(--sky-blue);
    color: var(--white);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--sky-blue);
    color: var(--sky-blue);
}

.btn-outline:hover {
    background: var(--sky-blue);
    color: var(--white);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 23, 58, 0.42) 0%, rgba(21, 36, 71, 0.28) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.slide-tag {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.slide-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.slide-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--accent-blue);
    width: 30px;
    border-radius: 6px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--sky-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(13, 23, 58, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(13, 23, 58, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 23, 58, 0.18);
    border-color: var(--sky-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13, 23, 58, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(13, 23, 58, 0.25);
}

.feature-card h3 {
    font-size: 24px;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.feature-card a {
    color: var(--sky-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feature-card a:hover {
    color: var(--primary-pink);
}

/* Feature card color accents */
.feature-card:nth-child(1) {
    border-top: 4px solid var(--dark-blue);
    box-shadow: 0 12px 30px rgba(13, 23, 58, 0.12);
}

.feature-card:nth-child(1) .feature-icon {
    background: var(--gradient-primary);
    box-shadow: 0 10px 25px rgba(13, 23, 58, 0.2);
}

.feature-card:nth-child(1) a {
    color: var(--dark-blue-soft);
}

.feature-card:nth-child(2) {
    border-top: 4px solid var(--primary-purple);
    box-shadow: 0 12px 30px rgba(13, 23, 58, 0.12);
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 10px 25px rgba(13, 23, 58, 0.2);
}

.feature-card:nth-child(2) a {
    color: var(--primary-purple);
}

.feature-card:nth-child(3) {
    border-top: 4px solid var(--sky-blue);
    box-shadow: 0 12px 30px rgba(13, 23, 58, 0.12);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--sky-blue), var(--accent-blue));
    box-shadow: 0 10px 25px rgba(13, 23, 58, 0.2);
}

.feature-card:nth-child(3) a {
    color: var(--sky-blue);
}

.feature-card:nth-child(4) {
    border-top: 4px solid var(--dark-blue-soft);
    box-shadow: 0 12px 30px rgba(13, 23, 58, 0.12);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, var(--dark-blue-soft), var(--sky-blue));
    box-shadow: 0 10px 25px rgba(13, 23, 58, 0.2);
}

.feature-card:nth-child(4) a {
    color: var(--dark-blue-soft);
}

/* Events Section */
.events-section {
    background: var(--light-grey);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(13, 23, 58, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(234, 0, 112, 0.4);
    border-color: var(--primary-pink);
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.event-card:hover::after {
    transform: scaleX(1);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 25px;
}

.event-date {
    color: var(--primary-pink);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-card h3 {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.event-card p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

/* News/Blog Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(13, 23, 58, 0.15);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(234, 0, 112, 0.3);
    border-color: var(--primary-pink);
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--sky-blue);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-card h3 {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.news-card p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

/* Auth Pages */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 191, 242, 0.08) 0%, rgba(0, 247, 82, 0.08) 100%);
    padding: 60px 0;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.auth-side-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(13, 23, 58, 0.12);
}

.auth-side-info .badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(77, 9, 137, 0.1);
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.auth-side-info h2 {
    color: var(--dark-blue);
    font-size: 34px;
    margin-bottom: 15px;
}

.auth-side-info p {
    color: #4b5563;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.auth-side-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-side-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    font-weight: 600;
}

.auth-side-info li i {
    color: var(--primary-pink);
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(13, 23, 58, 0.18);
}

.auth-card-header h3 {
    margin: 0;
    font-size: 28px;
    color: var(--dark-blue);
}

.auth-card-header p {
    margin-top: 8px;
    color: #6b7280;
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 500;
}

.alert-error {
    background: rgba(234, 0, 112, 0.08);
    color: #b4235a;
}

.alert-success {
    background: rgba(0, 247, 82, 0.1);
    color: #0f9d58;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.input-with-icon {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    gap: 10px;
    transition: border 0.2s, box-shadow 0.2s;
}

.input-with-icon input {
    border: none;
    flex: 1;
    font-size: 16px;
    font-family: inherit;
}

.input-with-icon:focus-within {
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(0, 191, 242, 0.15);
}

.auth-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
}

.auth-form-actions a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

.btn-gradient {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    box-shadow: 0 15px 30px rgba(234, 0, 112, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
}

.auth-footer a {
    color: var(--primary-pink);
    font-weight: 600;
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    color: #ffffff;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icons .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 17px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.social-icons .social-link--facebook {
    background: #1877f2;
}

.social-icons .social-link--twitter {
    background: #1da1f2;
}

.social-icons .social-link--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons .social-link--linkedin {
    background: #0a66c2;
}

.social-icons .social-link--youtube {
    background: #ff0000;
}

.social-icons .social-link:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        font-size: 12px;
        padding: 8px 0;
    }

    .header-top-left {
        gap: 8px 14px;
    }

    .header-top-item span {
        max-width: 100%;
    }

    .header-top-menu-btn {
        display: inline-flex;
    }

    .header-main .mobile-menu-toggle {
        display: none !important;
    }

    .header-main {
        padding: 10px 0;
    }

    .header-main .container {
        gap: 8px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo {
        min-width: 0;
        flex: 1 1 auto;
    }

    .logo-img {
        height: 40px;
        max-width: 170px;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-right: 0;
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
    }

    .header-actions {
        margin-left: 0;
        gap: 8px;
        flex: 0 0 auto;
        min-width: 0;
    }

    .language-selector select {
        max-width: 120px;
        height: 40px;
        padding: 0 8px;
        font-size: 14px;
    }

    .login-icon {
        margin-right: 0;
        font-size: 22px;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background: white;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 75px);
        padding: 30px;
        border-radius: 0 0 0 24px;
        box-shadow: -15px 0 40px rgba(13, 23, 58, 0.2);
        z-index: 950;
    }

    body.menu-open .nav-menu {
        right: 0;
    }

    .nav-menu li .nav-submenu {
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 5px 0 5px 15px;
        display: none;
    }

    .nav-menu li.has-children.open > .nav-submenu {
        display: block;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .features-grid,
    .events-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Project Overview responsive */
    .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .section > .container > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child > div {
        width: 300px !important;
        height: 300px !important;
    }
    
    /* Education curricula responsive */
    .section > .container > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .auth-side-info {
        padding: 25px;
    }

    .auth-form-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 24px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .hero-slider {
        height: 400px;
    }
}

/* Statistics Section */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.stat-item {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.news-card,
.event-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Module stepped learning (module.php) — LMS-style outline */
.module-toc-details {
    margin-bottom: 16px;
    border: 1px solid #e0e4ea;
    border-radius: 10px;
    overflow: hidden;
    background: #fafbfc;
}

.module-toc-unit {
    list-style: none;
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--dark-blue);
    background: #eef1f5;
    border-bottom: 1px solid #dde2e8;
}

.module-toc-unit::-webkit-details-marker {
    display: none;
}

.module-toc-unit::before {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    margin-right: 10px;
    font-size: 0.75rem;
    color: #889;
    transition: transform 0.2s;
}

.module-toc-details[open] > .module-toc-unit::before {
    transform: rotate(-180deg);
}

.module-toc-unit-inner {
    background: #fff;
}

.module-toc-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.module-toc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #edf0f4;
    transition: background 0.12s;
}

.module-toc-row:nth-child(even) {
    background: #f8f9fb;
}

.module-toc-row:hover {
    background: #f0edf5;
}

.module-toc-row:last-child {
    border-bottom: none;
}

.module-toc-row-num {
    flex: 0 0 28px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-purple);
    text-align: center;
}

.module-toc-row-icon {
    flex: 0 0 28px;
    text-align: center;
    font-size: 1.15rem;
}

.module-toc-row.is-lesson .module-toc-row-icon {
    color: #2e9d5c;
}

.module-toc-row.is-activity .module-toc-row-icon {
    color: #e67e22;
}

.module-toc-row-link {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
}

.module-toc-row-link:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

.module-toc-row-link.is-current {
    color: var(--primary-purple);
}

.module-toc-row-badge {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    white-space: nowrap;
}

.module-toc-inline-link {
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: none;
}

.module-toc-inline-link:hover {
    text-decoration: underline;
}

.module-step-nav .btn {
    min-width: 120px;
    justify-content: center;
}

/* Homepage - YEGEDER layout */
.home-section-white {
    background: var(--white);
}

.home-section-muted {
    background: var(--section-muted);
}

.home-section-navy {
    background: var(--dark-blue);
    color: var(--white);
}

.home-section-title h2 {
    color: var(--dark-blue);
}

.home-section-navy .home-section-title h2,
.home-section-navy .section-title h2 {
    color: var(--white);
}

.home-section-subtitle {
    color: var(--sky-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.home-about-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.home-about-media {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
}

.home-about-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(13, 23, 58, 0.2);
    border: 8px solid rgba(13, 23, 58, 0.08);
}

.home-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-about-content {
    flex: 2 1 380px;
}

.home-about-content h2 {
    font-size: 40px;
    line-height: 1.2;
    color: var(--dark-blue);
    margin-bottom: 18px;
}

.home-about-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    max-width: 650px;
}

.home-opportunity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-opportunity-card {
    background: var(--dark-blue);
    color: var(--white);
    padding: 70px 50px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.home-opportunity-card.alt {
    background: var(--dark-blue-light);
}

.home-opportunity-card h3 {
    font-size: 34px;
    line-height: 1.2;
}

.home-opportunity-card p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    line-height: 1.8;
}

.home-stats-section {
    background: var(--section-muted);
    color: var(--dark-blue);
    padding: 70px 0;
    position: relative;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.home-stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.home-stat-label {
    font-size: 18px;
    color: var(--sky-blue);
}

.home-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px;
    align-items: center;
}

.home-partner-logo {
    background: var(--white);
    border: 1px solid rgba(13, 23, 58, 0.08);
    border-radius: 12px;
    padding: 20px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(13, 23, 58, 0.06);
}

.home-partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.news-card {
    border: 1px solid rgba(13, 23, 58, 0.08) !important;
}

.news-card .news-image.placeholder {
    background: var(--gradient-secondary);
}

.event-card {
    border: 1px solid rgba(13, 23, 58, 0.08) !important;
}

.event-card .event-image.placeholder {
    background: var(--gradient-secondary);
}

@media (max-width: 768px) {
    .home-opportunity-grid {
        grid-template-columns: 1fr;
    }

    .home-opportunity-card {
        padding: 50px 28px;
    }

    .home-about-content h2 {
        font-size: 32px;
    }
}

/* Our Team page */
.team-page {
    background: var(--white);
    padding-top: 50px;
    padding-bottom: 80px;
}

.team-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-page-header h1 {
    color: var(--dark-blue);
    font-size: 42px;
    margin-bottom: 14px;
}

.team-page-header p {
    color: #64748b;
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
}

.team-card {
    text-align: center;
    padding: 10px 12px 24px;
}

.team-card-photo {
    width: 170px;
    height: 170px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(13, 23, 58, 0.08);
    box-shadow: 0 12px 30px rgba(13, 23, 58, 0.12);
    background: var(--section-muted);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.team-card-photo:hover {
    border-color: rgba(74, 111, 165, 0.35);
    box-shadow: 0 16px 36px rgba(13, 23, 58, 0.18);
}

.team-card-photo:hover img {
    transform: scale(1.14);
}

.team-card-photo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky-blue);
    font-size: 42px;
}

.team-card-name {
    color: var(--dark-blue);
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-card-title {
    color: var(--dark-blue-soft);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

.team-card-institution {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.team-card-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark-blue);
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s ease;
}

.team-card-linkedin:hover {
    background: var(--dark-blue-soft);
}

.team-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 18px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-page-header h1 {
        font-size: 32px;
    }
}

/* Board of Directors page */
.board-page {
    background: var(--white);
    padding-top: 50px;
    padding-bottom: 80px;
}

.board-page-header {
    margin-bottom: 40px;
}

.board-page-header h1 {
    color: var(--dark-blue);
    font-size: 42px;
    font-weight: 700;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 40px;
}

.board-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.board-card-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 22px;
    border: 4px solid rgba(13, 23, 58, 0.08);
    box-shadow: 0 14px 34px rgba(13, 23, 58, 0.12);
    background: var(--section-muted);
    flex-shrink: 0;
}

.board-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-card-photo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky-blue);
    font-size: 48px;
}

.board-card-body {
    width: 100%;
    max-width: 520px;
}

.board-card-name {
    color: var(--dark-blue);
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 8px;
    font-weight: 700;
}

.board-card-role {
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.board-card-bio {
    color: #555;
    font-size: 15px;
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 14px;
}

.board-card-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark-blue);
    color: var(--white);
    text-decoration: none;
}

.board-card-linkedin:hover {
    background: var(--dark-blue-soft);
}

.board-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 18px;
}

@media (max-width: 900px) {
    .board-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .board-page-header h1 {
        font-size: 32px;
    }
}

/* Contact page */
.contact-page {
    background: var(--white);
}

.contact-hero {
    position: relative;
    background: #000;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
    padding: 72px 20px 120px;
}

.contact-hero h1 {
    color: var(--white);
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
}

.contact-hero-art {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    z-index: 1;
    pointer-events: none;
}

.contact-hero-wave {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-cards-section {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 24px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.contact-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(13, 23, 58, 0.12);
    padding: 42px 28px 36px;
    text-align: center;
}

.contact-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 4px;
    font-size: 30px;
}

.contact-card-icon--email {
    color: #e85d75;
}

.contact-card-icon--address {
    color: #2fbf9b;
}

.contact-card-icon--phone {
    color: #4a8fe7;
}

.contact-card h3 {
    color: var(--dark-blue);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.25;
}

.contact-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.contact-card a {
    color: inherit;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--accent-blue);
}

.contact-form-section {
    padding: 56px 0 88px;
    background: var(--white);
}

.contact-form-wrap {
    max-width: 760px;
}

.contact-form-eyebrow {
    color: #e85d75;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form-section h2 {
    color: var(--dark-blue);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 36px;
}

.contact-alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 15px;
}

.contact-alert--success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.contact-alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.contact-form {
    display: grid;
    gap: 22px;
}

.contact-form-field label {
    display: block;
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--dark-blue);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.15);
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-submit-btn {
    align-self: start;
    border: none;
    border-radius: 4px;
    background: #2f3542;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 16px 34px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .contact-hero-inner {
        padding-bottom: 100px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        min-height: 220px;
    }

    .contact-hero-inner {
        padding: 48px 20px 88px;
    }

    .contact-cards-section {
        margin-top: 0;
        padding-top: 32px;
    }

    .contact-card {
        padding: 32px 22px 28px;
    }

    .contact-form-section {
        padding: 40px 0 64px;
    }
}

/* Shared page hero (About, 404, etc.) */
.page-hero,
.about-hero {
    position: relative;
    background: #eceef3;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-inner,
.about-hero-inner {
    position: relative;
    z-index: 2;
    padding: 64px 20px 110px;
}

.page-hero h1,
.about-hero h1 {
    color: #1f2937;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
}

.page-hero-art,
.about-hero-art {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.page-hero-people,
.about-hero-people {
    width: 100%;
    height: 100%;
    display: block;
}

/* 404 page */
.not-found-page {
    background: var(--white);
}

.not-found-content {
    padding: 48px 0 80px;
}

.not-found-inner {
    max-width: 640px;
    text-align: center;
}

.not-found-code {
    color: var(--dark-blue);
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 16px;
    opacity: 0.15;
}

.not-found-message {
    color: #5b6474;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.not-found-home-btn {
    display: inline-flex;
}

@media (max-width: 576px) {
    .page-hero,
    .about-hero {
        min-height: 220px;
    }

    .page-hero-inner,
    .about-hero-inner {
        padding: 48px 20px 92px;
    }

    .not-found-content {
        padding: 36px 0 64px;
    }
}

/* About page */
.about-page {
    background: var(--white);
}

.about-intro {
    padding: 56px 0 24px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
}

.about-eyebrow {
    color: #e85d75;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 18px;
}

.about-intro-text {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.85;
    margin: 0;
}

.about-intro-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-intro-map {
    position: absolute;
    inset: 8% 4%;
    background:
        radial-gradient(circle at 30% 40%, rgba(91, 140, 255, 0.12), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(47, 214, 200, 0.1), transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cpath fill='%23d7dce5' d='M120 180c40-30 90-20 120 10s70 40 110 20 80-10 110 20 60 50 100 30 70-30 110 0 50 40 90 20v120H80V180zm40 40c20 10 40 0 50-10s30-10 50 10 40 20 60 0 40-20 70 0 30 20 60 10 40-10 60 10v60H160v-80z'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.85;
}

.about-intro-logo {
    position: relative;
    z-index: 1;
    max-width: min(100%, 340px);
    height: auto;
    filter: drop-shadow(0 18px 36px rgba(13, 23, 58, 0.12));
}

.about-pillars {
    padding: 24px 0 72px;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.about-pillar {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 14px 42px rgba(13, 23, 58, 0.1);
    padding: 34px 28px 32px;
    min-height: 100%;
}

.about-pillar-number {
    display: block;
    font-size: clamp(52px, 5vw, 72px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 18px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.about-pillar--mission .about-pillar-number {
    background-image: linear-gradient(135deg, #ff6b9d, #e85d75);
}

.about-pillar--vision .about-pillar-number {
    background-image: linear-gradient(135deg, #5b8cff, #4a8fe7);
}

.about-pillar--goals .about-pillar-number {
    background-image: linear-gradient(135deg, #2fd6c8, #2fbf9b);
}

.about-pillar h2 {
    color: var(--dark-blue);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 18px;
}

.about-pillar-list {
    margin: 0;
    padding-left: 18px;
    color: #5b6474;
    font-size: 15px;
    line-height: 1.75;
}

.about-pillar-list li + li {
    margin-top: 10px;
}

.about-video {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.about-video-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.45), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(91, 140, 255, 0.5), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(47, 214, 200, 0.35), transparent 45%),
        linear-gradient(135deg, #1a2f6b 0%, #0d173a 55%, #162447 100%);
}

.about-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 23, 58, 0.62);
}

.about-video-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 72px 20px;
}

.about-video-inner h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin: 0 0 28px;
}

.about-video-banner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.about-video-erasmus {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.about-video-hashtag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    background: linear-gradient(90deg, #ff6b9d, #ffd84d, #2fd6c8, #5b8cff);
    color: var(--dark-blue);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.about-video-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #ff0000;
    color: var(--white);
    font-size: 38px;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-video-play:hover {
    transform: scale(1.06);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
    color: var(--white);
}

.about-video-play--static {
    cursor: default;
}

@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-intro-visual {
        min-height: 260px;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-intro {
        padding-top: 40px;
    }

    .about-pillar {
        padding: 28px 22px 26px;
    }

    .about-video {
        min-height: 360px;
    }

    .about-video-inner {
        padding: 56px 20px;
    }
}

body.search-open {
    overflow: hidden;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 96px 20px 20px;
}

.site-search-overlay[hidden] {
    display: none;
}

.site-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 23, 58, 0.72);
    backdrop-filter: blur(4px);
}

.site-search-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(13, 23, 58, 0.28);
    padding: 28px 28px 32px;
}

.site-search-dialog h2 {
    color: var(--dark-blue);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 18px;
}

.site-search-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #eef1f7;
    color: var(--dark-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s ease;
}

.site-search-close:hover {
    background: #dfe5f0;
}

.site-search-form,
.search-page-form {
    display: flex;
    gap: 10px;
}

.site-search-form input[type="search"],
.search-page-form input[type="search"] {
    flex: 1;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--dark-blue);
}

.site-search-form input[type="search"]:focus,
.search-page-form input[type="search"]:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.15);
}

.site-search-submit,
.search-page-submit {
    border: none;
    border-radius: 8px;
    background: var(--dark-blue);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    padding: 0 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.site-search-submit:hover,
.search-page-submit:hover {
    background: #162447;
}

.search-page {
    padding-top: 24px;
    padding-bottom: 72px;
}

.search-page-header {
    max-width: 760px;
    margin-bottom: 32px;
}

.search-page-header h1 {
    color: var(--dark-blue);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 22px;
}

.search-page-message,
.search-page-summary {
    color: #5b6474;
    font-size: 16px;
    margin-bottom: 24px;
}

.search-results {
    display: grid;
    gap: 18px;
}

.search-result-card {
    background: var(--white);
    border: 1px solid #e5e8f2;
    border-radius: 10px;
    padding: 22px 24px;
    box-shadow: 0 8px 24px rgba(13, 23, 58, 0.06);
}

.search-result-type {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.search-result-card h2 {
    font-size: 22px;
    margin: 0 0 10px;
    line-height: 1.3;
}

.search-result-card h2 a {
    color: var(--dark-blue);
    text-decoration: none;
}

.search-result-card h2 a:hover {
    color: var(--accent-blue);
}

.search-result-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 576px) {
    .site-search-overlay {
        padding-top: 72px;
    }

    .site-search-form,
    .search-page-form {
        flex-direction: column;
    }

    .site-search-submit,
    .search-page-submit {
        justify-content: center;
        padding: 14px 20px;
    }
}

/* Projects pages */
.projects-page {
    padding-top: 24px;
    padding-bottom: 72px;
}

.projects-page-header h1 {
    color: var(--dark-blue);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.15;
}

.projects-empty {
    color: #5b6474;
    font-size: 16px;
}

.project-accordion {
    display: grid;
    gap: 0;
    border-top: 1px solid #dfe5f0;
}

.project-accordion-item {
    border-bottom: 1px solid #dfe5f0;
}

.project-accordion-header {
    width: 100%;
    border: none;
    background: linear-gradient(172deg, #020381 0%, #2874fc 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, filter 0.2s ease;
}

.project-accordion-item.is-open .project-accordion-header,
.project-accordion-header:hover {
    background: #1949d4;
    filter: brightness(1.03);
}

.project-accordion-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.45;
}

.project-accordion-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.project-accordion-icon-open,
.project-accordion-icon-close {
    display: none;
}

.project-accordion-item:not(.is-open) .project-accordion-icon-open {
    display: inline-block;
}

.project-accordion-item.is-open .project-accordion-icon-close {
    display: inline-block;
}

.project-accordion-body {
    background: var(--white);
    border: 1px solid #275cf6;
    border-top: none;
}

.project-accordion-content {
    padding: 22px 24px 26px;
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}

.project-accordion-content p {
    margin: 0;
}

.project-accordion-content strong {
    color: var(--dark-blue);
    font-weight: 700;
}

.project-accordion-content a {
    color: var(--accent-blue);
    word-break: break-word;
}


/* Courses page (YEGEDER style) */
.courses-page {
    background: #fff;
}

.courses-intro-section {
    padding: 48px 0 12px;
}

.courses-intro blockquote {
    margin: 0;
    padding: 28px 32px;
    background: #f7f8fb;
    border-left: 4px solid var(--primary-purple, #c44dff);
    border-radius: 4px;
}

.courses-intro blockquote p {
    margin: 0 0 12px;
    line-height: 1.75;
    color: #333;
}

.courses-intro blockquote p:last-child {
    margin-bottom: 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.course-card {
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(13, 23, 58, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(13, 23, 58, 0.1);
}

.course-card-media {
    display: block;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #5b8cff, #c44dff);
}

.course-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-card-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 42px;
}

.course-card-body {
    padding: 22px 22px 24px;
}

.course-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6b7280;
}

.course-card-meta i {
    margin-right: 4px;
    color: #f14d5d;
}

.course-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.course-card-title a {
    color: var(--dark-blue, #0d173a);
    text-decoration: none;
}

.course-card-title a:hover {
    color: #f14d5d;
}

.course-card-excerpt {
    margin: 0 0 16px;
    color: #666;
    line-height: 1.65;
    font-size: 15px;
}

.course-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f14d5d;
    font-weight: 600;
    text-decoration: none;
}

.course-card-link:hover {
    color: var(--dark-blue, #0d173a);
}

.courses-empty {
    text-align: center;
    color: #666;
    padding: 48px 0;
}

/* Course detail */
.course-detail-page {
    padding: 28px 0 72px;
    background: #fff;
}

.course-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #6b7280;
}

.course-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.course-breadcrumb a:hover {
    color: #f14d5d;
}

.course-breadcrumb-sep {
    color: #c5cad3;
}

.course-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.course-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 24px;
}

.course-detail-meta-item {
    font-size: 14px;
    color: #4b5563;
}

.course-detail-meta-item i {
    color: #f14d5d;
    margin-right: 6px;
}

.course-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eceef3;
    margin-bottom: 0;
}

.course-tab-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.course-tab-btn.is-active {
    color: #f14d5d;
    border-bottom-color: #f14d5d;
}

.course-tab-panel {
    display: none;
    padding: 28px 0 0;
}

.course-tab-panel.is-active {
    display: block;
}

.course-rich-content {
    line-height: 1.8;
    color: #444;
}

.course-rich-content p,
.course-curriculum-content p {
    margin-bottom: 14px;
}

.course-rich-content ul,
.course-curriculum-content ul {
    margin: 0 0 16px 1.2rem;
}

.course-rich-content strong {
    color: #111827;
}

.course-curriculum-content .course-section__title,
.course-curriculum-content .lp-course-curriculum__title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin: 18px 0 8px;
    color: var(--dark-blue, #0d173a);
}

.course-curriculum-content .course-section__description {
    color: #555;
    line-height: 1.7;
    margin-top: 6px;
}

.course-curriculum-content .course-section__bullets {
    list-style: disc;
    margin: 8px 0 0 1.2rem;
    padding: 0;
}

.course-curriculum-content .course-section__bullets li {
    margin-bottom: 6px;
}

.course-curriculum-content .course-section__bullets li:last-child {
    margin-bottom: 0;
}

.course-curriculum-content .course-sections {
    list-style: none;
    margin: 0;
    padding: 0;
}

.course-curriculum-content .course-section {
    border: 1px solid #eceef3;
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}

.course-curriculum-content .course-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: #f8f9fc;
}

.course-curriculum-content .course-section-info {
    flex: 1;
}

.course-curriculum-content .course-curriculum-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceef3;
}

.course-curriculum-content .course-curriculum-info__left {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #6b7280;
    font-size: 14px;
}

.course-curriculum-content .course-curriculum-info__right,
.course-curriculum-content .lp-hidden {
    display: none !important;
}

.course-curriculum-content .section-toggle {
    display: none;
}

.course-curriculum-empty {
    padding: 20px;
    background: #f3f6ff;
    border-radius: 6px;
    color: #4b5563;
}

.course-sidebar-card {
    position: sticky;
    top: 24px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 23, 58, 0.08);
    background: #fff;
}

.course-sidebar-image img {
    display: block;
    width: 100%;
    height: auto;
}

.course-sidebar-price {
    padding: 18px 20px 0;
    font-size: 22px;
    font-weight: 700;
    color: #16a34a;
}

.course-sidebar-actions {
    padding: 18px 20px 22px;
}

.course-start-btn {
    width: 100%;
    justify-content: center;
    background: #f14d5d;
    border-color: #f14d5d;
}

.course-start-btn:hover {
    background: #d93f4f;
    border-color: #d93f4f;
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .course-detail-layout {
        grid-template-columns: 1fr;
    }

    .course-sidebar-card {
        position: static;
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .courses-intro blockquote {
        padding: 20px 18px;
    }

    .course-tab-btn {
        flex: 1;
        padding: 12px 10px;
        font-size: 15px;
    }

    .project-accordion-header {
        padding: 16px 18px;
    }

    .project-accordion-label {
        font-size: 14px;
    }

    .project-accordion-content {
        padding: 18px 18px 22px;
    }
}

