/* ===== CSS VARIABLES ===== */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --white: #ffffff;
    --black: #000000;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-600), var(--purple-600));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            #1e40af 0%,
            #2563eb 25%,
            #3b82f6 50%,
            #7c3aed 75%,
            #9333ea 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--primary-600);
    border-bottom: 2px solid var(--primary-600);
    transform: rotate(45deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
}

.btn-secondary:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-700);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-block {
    width: 100%;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 4rem 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-50), var(--purple-50));
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

.image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-100), var(--purple-100));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2xl);
}

.image-placeholder svg {
    width: 50%;
    height: 50%;
    color: var(--primary-300);
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-500), var(--purple-500));
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--gray-700);
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    padding: 6rem 0;
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: 24px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.program-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--purple-500));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card.featured {
    border-color: var(--primary-300);
    background: linear-gradient(135deg, var(--primary-50), var(--purple-50));
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.program-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-500), var(--purple-500));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 180px;
    left: 2rem;
    z-index: 10;
    box-shadow: var(--shadow-xl);
}

.program-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
    stroke-width: 2;
}

.program-content {
    padding: 2.5rem;
    padding-top: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.program-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-600);
    font-weight: 700;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.program-link:hover {
    gap: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--gray-50), var(--white));
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-info>p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-500), var(--purple-500));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
    stroke-width: 2;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.contact-item a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-600);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-500), var(--purple-500));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== CONTACT MAP ===== */
.contact-map {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.contact-map h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1e40af, #2563eb, #7c3aed);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-logo {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-400), var(--purple-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* ===== HERO GRID LAYOUT ===== */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== VIDEO SECTION ===== */
.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-container:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.play-button svg {
    width: 32px;
    height: 32px;
    color: var(--white);
    margin-left: 4px;
}

.video-label {
    margin-top: 1rem;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
}

.video-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.video-modal-close:hover {
    transform: scale(1.1);
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 6rem 0;
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-featured {
    grid-row: span 2;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-featured .blog-card-image {
    height: 400px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-featured .blog-card-title {
    font-size: 2rem;
}

.blog-card-excerpt {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-date,
.blog-card-reading-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--purple-600) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto 3rem;
    position: relative;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-200);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-100);
}

.testimonial-author h4 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: var(--white);
    color: var(--primary-600);
    transform: scale(1.1);
}

/* ===== HERO VIDEO STYLES ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-2xl);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: background 0.3s ease;
}

.video-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.play-button svg {
    width: 40px;
    height: 40px;
    margin-left: 5px;
}

.video-container:hover .play-button {
    transform: scale(1.1);
    background: var(--primary-600);
    color: var(--white);
}

.video-label {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-modal-close:hover {
    color: var(--primary-400);
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 6rem 0;
    background: var(--gray-50);
}

.featured-article {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-article-image {
    position: relative;
    overflow: hidden;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-article:hover .featured-article-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.featured-article-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.article-category,
.article-date,
.article-read-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
}

.article-category {
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
    padding: 0.75rem 2rem;
}

.btn-outline:hover {
    background: var(--primary-600);
    color: var(--white);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--primary-600);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-date svg {
    width: 16px;
    height: 16px;
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-read-time::before {
    content: '•';
    margin-right: 0.25rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.blog-author-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-author-mini img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-mini span {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

.blog-read-more {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-700);
}

.blog-cta {
    text-align: center;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--purple-600) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    color: var(--gray-900);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* ===== BLOG DETAIL PAGES ===== */
.blog-detail {
    padding: 8rem 0 4rem;
    background: var(--gray-50);
}

.blog-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.blog-detail-content {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-700);
}

.blog-detail-header {
    margin-bottom: 2rem;
}

.blog-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin: 1rem 0;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.blog-detail-image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail-body {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.125rem;
}

.blog-detail-body .lead {
    font-size: 1.35rem;
    color: var(--gray-800);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.blog-detail-body h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 2.5rem 0 1rem;
}

.blog-detail-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2rem 0 1rem;
}

.blog-detail-body p {
    margin-bottom: 1.5rem;
}

.blog-detail-body ul,
.blog-detail-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.blog-detail-body li {
    margin-bottom: 0.75rem;
}

.blog-detail-body blockquote {
    border-left: 4px solid var(--primary-600);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--primary-50);
    border-radius: 8px;
    font-style: italic;
}

.blog-cta-box {
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.blog-cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.blog-detail-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.blog-share h4 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-100);
    color: var(--primary-700);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-600);
    color: var(--white);
}

/* ===== BLOG SIDEBAR ===== */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.sidebar-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.recent-post:hover {
    transform: translateX(5px);
}

.recent-post img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 1rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-600);
}

.category-list span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.sidebar-section.cta-box {
    background: linear-gradient(135deg, var(--primary-600), var(--purple-600));
    color: var(--white);
}

.sidebar-section.cta-box h3 {
    color: var(--white);
}

.sidebar-section.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* ===== BLOG WITH SIDEBAR LAYOUT ===== */
.blog-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.blog-main-content {
    min-width: 0;
}

.blog-sidebar-home {
    position: sticky;
    top: 100px;
}

.featured-article {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-card {
    height: 100%;
}

.blog-author-mini {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .video-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-article-image {
        height: 300px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-with-sidebar {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar-home {
        position: static;
    }

    .blog-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-detail-content {
        padding: 2rem;
    }

    .blog-detail-title {
        font-size: 1.75rem;
    }

    .testimonial-content {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1.125rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .newsletter-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .quote-icon {
        font-size: 3rem;
    }

    .featured-article-content {
        padding: 2rem;
    }

    .article-title {
        font-size: 1.25rem;
    }

    .blog-detail-title {
        font-size: 1.5rem;
    }

    .blog-detail-body {
        font-size: 1rem;
    }

    .blog-detail-body .lead {
        font-size: 1.15rem;
    }

    .blog-detail-body h2 {
        font-size: 1.5rem;
    }

    .blog-detail-body h3 {
        font-size: 1.25rem;
    }

    .newsletter-text h2 {
        font-size: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }
}