/* assets/css/style.css - Updated with blue, green, red palette (from logo) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Accurate palette from logo: blue (#1E64C8), green (#2E7D32), red (#D32F2F) */
    --blue: #1E64C8;        /* primary blue */
    --green: #2E7D32;        /* rich green */
    --red: #D32F2F;          /* accent red */
    --blue-light: #e5f0ff;
    --green-light: #e8f5e9;
    --red-light: #ffebee;
    --text-dark: #1E293B;
    --text-light: #F8FAFC;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --gray-mid: #6B7280;
    --shadow-sm: 0 10px 30px -10px rgba(30, 100, 200, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER ===== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(30, 100, 200, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background-color: rgba(255,255,255,0.9);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 52px;
    width: auto;
    border-radius: 8px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: var(--blue);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--green);
    font-weight: 600;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--red); /* red accent */
    transition: 0.25s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--bg-light);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    border: 1px solid rgba(30,100,200,0.1);
}

.lang-btn {
    background: none;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--gray-mid);
    transition: var(--transition);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
}

.lang-btn.active-lang {
    background: var(--blue);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--blue);
    cursor: pointer;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #0a1a34;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-animation {
    text-align: center;
    color: #fff;
}

.book {
    position: relative;
    width: 70px;
    height: 60px;
    margin: 0 auto 1rem;
    transform-origin: center;
    animation: book-pulse 1.2s ease-in-out infinite;
}

.book .cover,
.book .pages {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    top: 0;
    left: 0;
}

.book .cover {
    background: linear-gradient(135deg, #1e3a8a, #1e64c8);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transform-origin: left center;
    animation: cover-open 1.2s ease-in-out infinite;
}

.book .pages {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    border: 2px solid rgba(255,255,255,.2);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.book::after,
.book::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 40px;
    background: #f8fafc;
    top: 10px;
    right: -14px;
    border-radius: 3px;
    transform: rotate(14deg);
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

.book::before {
    width: 4px;
    height: 50px;
    right: -20px;
    top: 6px;
    transform: rotate(18deg);
    background: #cbd5e1;
}

.pen {
    width: 6px;
    height: 48px;
    background: linear-gradient(90deg, #eab308, #f97316);
    border-radius: 3px;
    position: absolute;
    left: 20px;
    bottom: -22px;
    transform: rotate(-40deg);
    box-shadow: 0 0 16px rgba(249,115,22,0.7);
    animation: pen-write 1.2s ease-in-out infinite;
}

.preloader-text {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #E0E7FF;
    font-weight: 700;
}

@keyframes cover-open {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-35deg); }
}

@keyframes book-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes pen-write {
    0%, 100% { transform: rotate(-40deg) translate(0, 0); }
    50% { transform: rotate(-40deg) translate(18px, -8px); }
}

/* ===== HERO (thicker overlay) ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.thick-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(0,0,0,0.75) 0%, rgba(0,30,60,0.8) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.hero-text-box {
    max-width: 750px;
    animation: fadeUp 1s ease;
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title span.accent {
    color: var(--red);
}

.hero-sub {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--red);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue);
}

.btn-outline-alt {
    border: 2px solid var(--green);
    color: var(--white);
    background: transparent;
}

.btn-outline-alt:hover {
    background: var(--green);
    color: white;
}

.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.7rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.5);
    transition: 0.3s;
    cursor: pointer;
}

.dot.active {
    width: 36px;
    background: var(--red);
}

/* ===== SECTIONS ===== */
.section {
    padding: 5.5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.6rem;
    color: var(--blue);
}

.divider {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--red));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* about */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.about-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    min-width: 0;
}

.about-image {
    min-width: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--green-light);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.about-image {
    width: 100%;
    max-width: 100%;
    display: block;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--green-light);
}

.about-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: baseline;
}

.stat {
    min-width: 120px;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--red);
    display: block;
}


.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--red);
    display: block;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--green-light);
}

/* programs */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.program-card {
    background: var(--white);
    padding: 2rem 1.8rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--blue), var(--green), var(--red)) 1;
    border-bottom-style: solid;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -10px rgba(30,100,200,0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2.2rem;
}

.card-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

/* why us grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    transition: 0.2s;
}

.why-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    margin-bottom: 0.5rem;
    color: var(--blue);
}

/* testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote {
    font-size: 2rem;
    color: var(--green);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.testimonial-card h4 {
    margin-top: 1.5rem;
    color: var(--blue);
}

.testimonial-card h4 span {
    font-size: 0.8rem;
    color: var(--gray-mid);
    font-weight: 400;
}

/* blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.2s;
}
.blog-card:hover { transform: scale(1.01); }
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
}
.card-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    font-weight: 700;
}
.blog-card h4 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: var(--blue);
}
.blog-news-filter {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.search-wrapper {
    position: relative;
    width: 300px;
}
.search-wrapper input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    font-size: 1rem;
}
.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-mid);
}
.filter-wrapper {
    position: relative;
    width: 220px;
}
.filter-wrapper select {
    width: 100%;
    padding: 0.9rem 2rem 0.9rem 1.5rem;
    border-radius: 60px;
    border: 1px solid #e2e8f0;
    appearance: none;
    background: white;
    font-size: 1rem;
}
.filter-wrapper i {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--blue);
}
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--gray-mid);
}

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info p {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.social-links a {
    color: var(--blue);
    font-size: 1.5rem;
    margin-right: 1.2rem;
    transition: color 0.2s;
}
.social-links a:hover { color: var(--red); }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-family: inherit;
}
.contact-form input:focus {
    border-color: var(--blue);
    outline: none;
}

/* ===== FOOTER (enhanced) ===== */
.main-footer {
    background: #0A1A2F; /* deep navy */
    color: var(--text-light);
    padding: 3.5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--red);
}

.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.7rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col p,
.footer-bottom p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.footer-col ul li a:hover {
    color: var(--red);
}
.footer-col p {
    color: #ccc;
    margin-bottom: 0.8rem;
}
.footer-logo {
    margin-bottom: 1rem;
    border-radius: 10px;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}
.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 40px 0 0 40px;
    outline: none;
}
.newsletter-form button {
    background: var(--red);
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 40px 40px 0;
    color: white;
    cursor: pointer;
}
.footer-social {
    margin-top: 1.5rem;
}
.footer-social a {
    color: #ccc;
    margin-right: 1rem;
    font-size: 1.2rem;
}
.footer-social a:hover { color: var(--red); }

.footer-bottom {
    border-top: 1px solid #1E3A5F;
    padding-top: 1.8rem;
    text-align: center;
    color: #aaa;
}
.footer-bottom .developer {
    margin-top: 0.8rem;
    font-size: 0.9rem;
}
.footer-bottom .developer a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}
.footer-bottom .developer a:hover {
    text-decoration: underline;
}

/* animations */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* added styles for updates */
/* ===== ADDITIONAL STYLES FOR WHATSAPP BUTTONS ===== */
.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25D366;
    transform: scale(1.05);
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

.btn-whatsapp-large {
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid #25D366;
}

.btn-whatsapp-large:hover {
    background: transparent;
    color: #25D366;
    transform: scale(1.05);
}

.btn-whatsapp-large i {
    font-size: 1.3rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #128C7E;
    color: white;
    transform: translateX(5px);
}

/* ===== FEATURED TESTIMONIAL SECTION ===== */
.featured-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.featured-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.featured-quote-icon {
    font-size: 3rem;
    color: var(--green);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.featured-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.featured-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar i {
    font-size: 2.5rem;
    color: var(--gray-mid);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.author-info p {
    color: var(--gray-mid);
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.author-info .position {
    font-weight: 600;
    color: var(--gray-dark);
}

.featured-video-btn {
    background: linear-gradient(135deg, var(--red), #dc2626);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    text-decoration: none;
}

.featured-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #dc2626, var(--red));
}

.featured-video-btn i {
    font-size: 1.2rem;
}

/* ===== VIDEO TESTIMONIALS SECTION ===== */
.video-testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: #1f2937;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -15px rgba(30, 100, 200, 0.2);
}

.video-card .video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.video-play-btn {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform 0.3s;
    z-index: 10;
}

.video-play-btn:hover {
    transform: scale(1.1);
    color: white;
}

.play-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.play-video-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
    color: var(--red);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.2rem;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.video-duration {
    font-size: 0.8rem;
    color: #9ca3af;
    display: inline-block;
    background: #f3f4f6;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: var(--red);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== COUNCIL SECTION STYLES ===== */
.council-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4fa 100%);
}

.council-subtitle {
    text-align: center;
    color: var(--gray-mid);
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.council-card {
    background: white;
    padding: 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(30, 100, 200, 0.1);
}

.council-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(30, 100, 200, 0.15);
}

.council-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.council-card h3 {
    font-size: 1.2rem;
    color: var(--blue);
    margin-bottom: 0.8rem;
}

.council-card p {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.council-card p:first-of-type {
    font-weight: 600;
    color: var(--green);
}

.council-mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(30, 100, 200, 0.05);
    border-radius: 30px;
    border-left: 4px solid var(--blue);
    border-right: 4px solid var(--red);
}

.council-mission p {
    color: #374151;
    line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced hover effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue) 0%, #1565c0 100%);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--gray-mid) 0%, #4b5563 100%);
}

/* Card hover effects */
.program-card,
.testimonial-card,
.why-card,
.about-card,
.blog-card,
.video-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.program-card::before,
.testimonial-card::before,
.why-card::before,
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.program-card:hover::before,
.testimonial-card:hover::before,
.why-card:hover::before,
.about-card:hover::before {
    left: 100%;
}

.program-card:hover,
.testimonial-card:hover,
.why-card:hover,
.about-card:hover,
.blog-card:hover,
.video-card {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Logo and navigation hover effects */
.logo-area {
    transition: transform 0.3s ease;
}

.logo-area:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blue);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--blue);
    transform: translateY(-1px);
}

/* Form input focus effects */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 100, 200, 0.1);
    transform: translateY(-1px);
}

/* Stats hover effects */
.stat-item {
    transition: all 0.4s ease;
    cursor: default;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.stat-number {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--blue);
    transform: scale(1.1);
}

/* Footer social links hover effects */
.footer-social a {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a:hover {
    transform: translateY(-3px) rotate(5deg);
    color: var(--blue);
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(30, 100, 200, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.footer-social a:hover::before {
    width: 40px;
    height: 40px;
}

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Loading shimmer effect */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced button styles */
.btn {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, #1e5ba8 100%);
    box-shadow: 0 4px 15px rgba(30, 100, 200, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gray-mid) 0%, #4b5563 100%);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.15);
}

/* Enhanced card styles */
.card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Interactive elements */
.interactive {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.interactive:hover {
    transform: scale(1.02);
}

.interactive:active {
    transform: scale(0.98);
}
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }
    
    .header-flex {
        height: 75px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .main-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .nav-links { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
    }
    
    .mobile-toggle { 
        display: block; 
        background: var(--blue);
        color: white;
        border: none;
        padding: 0.5rem;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1.2rem;
        transition: var(--transition);
    }
    
    .mobile-toggle:hover {
        background: var(--green);
        transform: scale(1.05);
    }
    
    .nav-links.mobile-open {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .lang-switcher {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-sub {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .featured-text {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .featured-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    .featured-video-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .video-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-testimonial {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-col ul {
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container { 
        padding: 0 0.8rem; 
    }
    
    .logo-text { 
        font-size: 1.2rem; 
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
    
    .hero-title { 
        font-size: 1.8rem; 
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .program-card h3 {
        font-size: 1.2rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .video-info h3 {
        font-size: 1rem;
    }
    
    .featured-quote {
        padding: 2rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}