/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 80px;
    /* Adjust based on your header height */
}


:root {
    /* Color palette */
    --primary-color: #1e40af;
    --primary-dark: #172b6e;
    --primary-light: #3b5fd9;
    --accent-color: #facc15;
    --accent-dark: #e5b800;
    --accent-light: #fde047;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --dark: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 9999px;

    /* Box shadow */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Typography */
    --font-heading: "Poppins", serif;
    --font-body: "Poppins", sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: var(--font-body);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

p {
    margin-bottom: var(--spacing-md);
}

/* Section styling */
.section-heading {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    background-color: rgba(30, 64, 175, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius-full);
}

.section-desc {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
    gap: 0.5rem;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Add these button styles for the hero section */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

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

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

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

.announcement-bar p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.announcement-link {
    color: var(--accent-color);
    font-weight: 600;
    margin-left: 0.5rem;
}

.announcement-link:hover {
    text-decoration: underline;
}

.announcement-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.announcement-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Header styles */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.main-nav {
    margin-left: auto;
    margin-right: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

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

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

.nav-link.active {
    color: var(--primary-color);
}

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

.header-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.search-toggle,
.cart-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover,
.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background-color: var(--accent-color);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition-fast);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 10px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Campus Map Styles */
.campuses {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.campus-selector {
    margin-top: var(--spacing-lg);
}

.campus-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--white);
    color: var(--text-color);
    margin: 0 auto var(--spacing-lg);
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.campus-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.campus-map-container {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.campus-map {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7dd 100%);
    transition: all 0.8s ease;
}

/* Botswana Map SVG Background */
.botswana-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    transition: all 0.8s ease;
    z-index: 1;
}

.botswana-map.zoomed {
    width: 200%;
    height: 200%;
}

.botswana-outline {
    fill: #f8f9fa;
    stroke: var(--primary-color);
    stroke-width: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.botswana-regions {
    fill: #e9ecef;
    stroke: #dee2e6;
    stroke-width: 1;
    opacity: 0.7;
}

/* Map pins */
.map-pin {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transform: translate(-50%, -50%);
}

.map-pin::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
}

.map-pin:hover {
    transform: translate(-50%, -50%) scale(1.3);
    background-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.map-pin.active {
    background-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(250, 204, 21, 0.7);
    }

    70% {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(250, 204, 21, 0);
    }

    100% {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

/* Pin labels */
.pin-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    z-index: 20;
}

.pin-label::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--dark);
}

.map-pin:hover .pin-label,
.map-pin.active .pin-label {
    opacity: 1;
    visibility: visible;
}

/* Campus info popup */
.campus-info-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 400px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: var(--transition);
    z-index: 30;
    border: 1px solid #e5e7eb;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.campus-info-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.popup-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
}

.close-popup {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.close-popup:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.popup-content {
    padding: 1.5rem;
}

.popup-image {
    width: 100%;
    height: 150px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.popup-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.popup-details p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.popup-details strong {
    color: var(--text-color);
    font-weight: 600;
    min-width: 80px;
}

.popup-details span {
    color: var(--text-light);
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.popup-details .btn {
    margin-top: 1rem;
    width: 100%;
}

/* Zoom controls */
.map-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 25;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
}

.zoom-btn:hover {
    background-color: var(--light-bg);
    box-shadow: var(--shadow);
}

.reset-view-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.reset-view-btn:hover {
    background-color: var(--primary-dark);
}

/* Responsive campus map */
@media (max-width: 768px) {
    .campus-map {
        height: 500px;
    }

    .campus-info-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        z-index: 1000;
    }

    .campus-info-popup.active {
        transform: translate(-50%, -50%);
    }

    .campus-info-popup::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .map-controls {
        top: 10px;
        left: 10px;
    }

    .zoom-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .campus-map {
        height: 400px;
    }

    .map-pin {
        width: 20px;
        height: 20px;
    }

    .map-pin::before {
        width: 6px;
        height: 6px;
    }
}

/* Hero section */
.hero {
    position: relative;
    padding: 40px 0 80px;
    background-color: var(--primary-color);
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.hero-shape-2 {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.2) 0%, rgba(250, 204, 21, 0.1) 100%);
}

.hero-shape-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
}

.hero-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    width: 100%;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 1.25rem;
    flex-wrap: nowrap;
    margin-top: 2rem;
    justify-content: space-between;
    width: 100%;
}



.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-color);
}

.chart-value {
    font-weight: 700;
    color: var(--primary-color);
}

.chart-graphic {
    height: 40px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-card.featured {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-color: var(--accent-light);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.stat-card.featured .stat-icon {
    background-color: rgba(0, 0, 0, 0.15);
    color: var(--dark);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--white);
    line-height: 1.2;
}

.stat-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.stat-card.featured .stat-content h3,
.stat-card.featured .stat-content p {
    color: var(--dark);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM0 34v-4H4v4H0v2h4v4h2v-4h4v-2H0zM36 4V0h-2v4h-4v2h4v4h2V6h4V4h-4zM0 4V0H4v4H0v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.partners-section-hero {
    margin-top: 2rem;
    width: 60%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    margin-left: auto;
    margin-right: auto;
    order: 3;
    align-self: center;
}

.partners-section-hero .partners-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.partners-section-hero .partners-heading {
    flex: 0 0 20%;
    padding-right: var(--spacing-md);
}

.partners-section-hero .partners-heading h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.partners-section-hero .partners-logos {
    flex: 0 0 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.partners-section-hero .partner-logo {
    flex: 0 0 30%;
    max-width: 160px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: var(--spacing-xs);
    margin: 0;
}

.partners-section-hero .partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition);
}

.partners-section-hero .partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partners-section-hero .iso-certification {
    background-color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition);
}

.partners-section-hero .iso-certification:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partners-section-hero .iso-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: center;
}

/* Partner Logos Section */
.partner-logos-section,
.partners-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.partner-logos-wrapper {
    text-align: center;
}

.partner-heading h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    color: var(--dark);
}

.partner-logos-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-logo img,
.partner-logo svg {
    max-height: 100%;
    max-width: 120px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img,
.partner-logo:hover svg {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partners-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.partners-heading {
    flex: 0 0 25%;
    padding-right: var(--spacing-md);
}

.partners-heading h4 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--dark);
    font-weight: 600;
}

.partners-logos {
    flex: 0 0 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.partners-logos .partner-logo {
    flex: 0 0 18%;
    padding: var(--spacing-xs);
}

/* Categories Section */
.categories,
.categories-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
    max-width: 1200px;
    margin: 0 auto;
}

.even-bg {
    background:
        /* Soft blue/yellow gradient overlay */
        linear-gradient(135deg,
            rgba(100, 181, 246, 0.03) 0%,
            rgba(255, 213, 79, 0.03) 100%),
        /* Geometric grid pattern (very subtle) */
        repeating-linear-gradient(0deg,
            transparent,
            transparent 23px,
            rgba(25, 118, 210, 0.02) 23px,
            rgba(25, 118, 210, 0.02) 24px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 23px,
            rgba(255, 196, 0, 0.02) 23px,
            rgba(255, 196, 0, 0.02) 24px),
        /* Clean white base */
        #f8fafc;

    width: 100%;
    padding: 40px 0;
    background-attachment: fixed;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
}

.events-section {
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.categories-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-top: 15px;
    line-height: 1.1;
}

.events-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-top: 15px;
    line-height: 1.1;
}

.header-tag {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.browse-all-button,
.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.browse-all-button:hover,
.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.category-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.event-grid,
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.category-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    min-height: 160px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}



.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}



.category-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 64, 175, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}


.category-card:hover .category-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}



.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    flex-grow: 1;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    flex-grow: 1;
}

.category-meta {
    margin-bottom: var(--spacing-sm);
}

.category-meta span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(30, 64, 175, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-full);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.category-link:hover {
    gap: 0.75rem;
}



.event-meta {
    margin-bottom: var(--spacing-sm);
}

.event-meta span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(30, 64, 175, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-full);
}

.event-link:hover {
    gap: 0.75rem;
}

/* School Executive Section */
.school-executive {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.executive-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.executive-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    max-width: 300px;
    width: 100%;
}

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

.executive-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.executive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.executive-card:hover .executive-image img {
    transform: scale(1.05);
}

.executive-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(100%);
    transition: var(--transition);
}

.executive-card:hover .executive-social {
    transform: translateY(0);
}

.executive-content {
    padding: var(--spacing-md);
    text-align: center;
}

.executive-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.executive-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.executive-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.executive-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Gallery Section */
.gallery {
    padding: var(--spacing-xl) 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-full);
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery filter functionality */
.course-card.hidden {
    display: none;
}

/* Image Popup Modal */
.image-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.image-popup-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-popup-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image-display {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-popup-modal.active .popup-image-display {
    transform: scale(1);
}

.image-popup-close {
    position: absolute;
    top: -60px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
    font-size: 1.2rem;
}

.image-popup-close:hover {
    background: var(--white);
    transform: scale(1.1);
}

/* Team Section */
.team-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: white;
}

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

.team-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-top: 15px;
    line-height: 1.2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

.team-member {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.team-member.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.team-member.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.team-photo {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    transition: all 0.3s ease;
}

.team-member.featured .team-photo {
    border-color: rgba(255, 255, 255, 0.3);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-member.featured .team-social a {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.team-social a:hover {
    background: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.team-name,
.team-name-ceo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.team-name-ceo {
    color: white;
    font-size: 28px;
}

.team-title,
.team-title-ceo {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-title-ceo {
    color: var(--accent-color);
}

.team-bio,
.team-bio-ceo {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

.team-bio-ceo {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member.featured {
        transform: none;
    }

    .team-member.featured:hover {
        transform: translateY(-10px);
    }

    .team-photo {
        width: 150px;
        height: 150px;
    }

    .image-popup-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .team-header h2 {
        font-size: 32px;
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }

    .team-name,
    .team-name-ceo {
        font-size: 20px;
    }

    .team-name-ceo {
        font-size: 22px;
    }
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

/* Featured Courses */
.featured-courses {
    padding: var(--spacing-xl) 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.course-image {
    position: relative;
    height: 200px;
}

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

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
}

.course-content {
    padding: var(--spacing-md);
}

.course-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.course-title {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.course-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid #eee;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent-color);
}

.course-rating span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 0.25rem;
}

.course-price {
    font-weight: 700;
    color: var(--primary-color);
}

.courses-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}


/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.footer-logo-text span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-about {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.footer-social a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.social-icon {
    width: 18px;
    height: 18px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact svg {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.language-selector {
    color: rgba(255, 255, 255, 0.7);
}

.footer-credits {
    text-align: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-credits a {
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-credits a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    border: none;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: var(--primary-dark);
}



.popup-content {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    z-index: 10;
}

.popup-image {
    flex: 1;
    max-width: 40%;
}

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

.popup-text {
    flex: 1.5;
    padding: var(--spacing-lg);
}

.popup-text h3 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
}

.popup-text h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.popup-form {
    display: flex;
    margin-bottom: var(--spacing-sm);
}

.popup-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
    font-size: 1rem;
}

.popup-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.popup-privacy {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Pricing Section */
.pricing-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: white;
}

.offerings-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: white;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-top: 15px;
    line-height: 1.2;
}

.offerings-header {
    text-align: center;
    margin-bottom: 40px;
}

.offerings-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-top: 15px;
    line-height: 1.2;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.toggle-container {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    gap: 4px;
}

.toggle-option {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.toggle-option.active {
    background: white;
    color: #1f2937;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.offerings-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.offerings-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.offerings-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.offerings-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.2);
}

.offerings-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.card-header {
    padding: 40px 30px 30px;
    text-align: center;
}

.standard-card .card-header {
    background: var(--primary-color);
    color: gray;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.billing-info {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 30px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
}

.amount {
    font-size: 48px;
    font-weight: 800;
}

.period {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.8;
}

.purchase-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.basic-btn,
.premium-btn {
    background: #1f2937;
    color: white;
}

.basic-btn:hover,
.premium-btn:hover {
    background: #374151;
    transform: translateY(-2px);
}

.standard-btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.standard-btn:hover {
    background: rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.card-features {
    padding: 0 30px 40px;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #4b5563;
    position: relative;
    padding-left: 25px;
}

.standard-card .card-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: gray;
}

.card-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.standard-card .card-features li:before {
    color: white;
}

.card-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.offerings-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.footer-note {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* About Container Styles */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Flexible Supported Learning Styles */
.images-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}



.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    height: 300px;
    width: 100%;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.8);
}

.image-card:hover {
    transform: translateY(-5px);
}

/* Text container to center both elements together */
.text-overlay-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

/* Header text */
.overlay-text-header {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
    /* Space between header and subtext */
    width: 100%;
}

/* Subtext */
.overlay-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    max-width: 80%;
    margin: 0 auto;
}

.main-image {
    grid-row: span 2;
    height: 400px;
}

.story-image {
    height: 180px;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%236366f1" width="400" height="200"/></svg>');
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.story-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.collaboration-image {
    height: 200px;
    background: linear-gradient(45deg, #8b5cf6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.professional-learning {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.mentors-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.mentors-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: -8px;
    border: 3px solid white;
    background: linear-gradient(45deg, #f59e0b, #ef4444, #10b981, #3b82f6);
}

.avatar:nth-child(1) {
    background: #f59e0b;
}

.avatar:nth-child(2) {
    background: #06b6d4;
}

.avatar:nth-child(3) {
    background: #ef4444;
}

.avatar:nth-child(4) {
    background: #10b981;
}

.more-count {
    background: #374151;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mentors-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.mentors-info p {
    font-size: 14px;
    color: #6b7280;
}

.content-section {
    padding-left: 20px;
}

.main-title {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 30px;
    line-height: 1.1;
}

.description {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 50px;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    align-items: center;
    /* Center horizontally */
    text-align: center;
    /* Center text */
    gap: 10px;
    /* Space between elements */
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    /* Extra space below icon */
}

.icon-books {
    background: #e0f2fe;
    color: #0277bd;
}

.icon-star {
    background: #f3e5f5;
    color: #7b1fa2;
}

.icon-users {
    background: #e8f5e8;
    color: #2e7d32;
}

.icon-award {
    background: #fff3e0;
    color: #ef6c00;
}

.stat-content h3 {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.stat-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.5;
}

/* Gallery Styles */
.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-badge {
    display: inline-block;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.header-badge::before,
.header-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: #6b7280;
}

.header-badge::before {
    left: -70px;
}

.header-badge::after {
    right: -70px;
}

.gallery-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.underlined {
    position: relative;
    color: var(--primary-color);
}

.underlined::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.gallery-description {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.view-all-btn {
    display: block;
    margin: 0 auto;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--primary-dark);
}

/* Contact Section */
.contact-section {
    margin-top: 6rem;
    padding: 4rem 0;
    background: #f8fafc;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-left {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 85, 48, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-text {
    font-size: 0.95rem;
    color: #374151;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

.form-disclaimer {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.5;
}

.link {
    color: var(--primary-color);
    text-decoration: underline;
}

.link:hover {
    color: var(--primary-dark);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Navigation Buttons */
.top-nav {
    display: flex;
    gap: 20px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.nav-button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Main Footer Section */
.main-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.contact-btn:hover {
    border-bottom: 1px solid white;
}

.contact-btn::after {
    content: "→";
    font-size: 18px;
}


/* Bottom Footer */
.bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 50px;
    height: auto;
}

.logo {
    font-size: 32px;
    font-weight: 700;
}

.logo::before {
    margin-right: 10px;
    color: #4ade80;
}


.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Join Community banner */
.join-community {
    position: relative;
    background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/group.jpg-apAphMlViHZSbhdaeqgssCotSe147m.jpeg");
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.join-community::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.join-community-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.join-community h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.join-community p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.apply-btn {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Join Banner (gold section with blue button) */
.join-banner {
    background-color: #e5b800;
    color: white;
    padding: 0.875rem 0;
}

.join-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.join-banner-text h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: white;
}

.join-banner-text p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.apply-now-btn {
    background-color: #1e40af;
    color: white;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.apply-now-btn:hover {
    background-color: #172b6e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonial Carousel Styles with Fade Effect */
.testimonials-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: #f8fafc;
}

.testimonials-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.testimonials-description {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
    /* Add gradient mask for fade effect */
    mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.testimonial-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.testimonial-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
    background: transparent;
    color: var(--text-color);
    padding: 1.5rem;
    border-radius: 12px;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 2px solid var(--primary-color);
}

.testimonial-card:nth-child(even) {
    border-color: var(--accent-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-icon {
    display: none;
}

.testimonial-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.testimonial-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--text-color);
}

.testimonial-quote {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-light);
    flex-grow: 1;
}

.testimonial-author {
    margin-top: auto;
}

.guardian-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.child-name {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Gallery Container */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: white;
}

/* Responsive adjustments for testimonial carousel */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .main-footer {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }


    .contact-container {
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
    }

    .testimonial-carousel {
        /* Adjust fade effect for smaller screens */
        mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        -webkit-mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-title {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-title {
        font-size: 2.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .header-badge::before,
    .header-badge::after {
        width: 30px;
    }

    .header-badge::before {
        left: -50px;
    }

    .header-badge::after {
        right: -50px;
    }

    .top-nav {
        gap: 15px;
    }

    .nav-button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .main-footer {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bottom-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .join-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .join-banner-text h2 {
        font-size: 1.2rem;
    }

    .join-community h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 10px);
    }

    .testimonial-carousel {
        padding: 0 20px;
        /* Remove fade effect on very small screens */
        mask: none;
        -webkit-mask: none;
    }


    .join-banner-text h2 {
        font-size: 1rem;
    }

    .join-banner-text p {
        font-size: 0.75rem;
    }

    .apply-now-btn {
        padding: 6px 20px;
        font-size: 0.75rem;
    }
}

@media (min-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .hero-row {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .hero-image {
        max-width: 100%;
        order: -1;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .stat-card {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 200px;
    }

    .partners-section-hero {
        width: 90%;
    }

    .partners-section-hero .partners-container {
        flex-direction: column;
        text-align: center;
    }

    .partners-section-hero .partners-heading {
        flex: none;
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .partners-section-hero .partners-logos {
        flex: none;
        justify-content: center;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .announcement-bar .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .announcement-contact {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .stat-card {
        flex: 1 1 100%;
        min-width: auto;
    }

    .hero-stats {
        flex-direction: column;
    }

    .partners-section-hero .partner-logo {
        flex: 0 0 45%;
    }
}

/* Learn More Modal Styles */
.learn-more-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.learn-more-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Learn More Modal Styles */
.dawnbell-programs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.dawnbell-programs-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem 1rem;
    position: relative;
    border-bottom: 1px solid #eee;
}

.modal-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.dawn-bell-program-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.dawn-bell-program-modal-close:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.modal-body p:last-child {
    margin-bottom: 0;
}

/* Events Grid Updates */
.events-row-2 {
    display: contents;
}

.events-row-2.hidden {
    display: none;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-logo {
        width: 60px;
        height: 60px;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }
}



/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.footer-logo-text span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-about {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.footer-social a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}


.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact svg {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer-shape {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--light-bg);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@media (max-width: 576px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1rem;
        --spacing-md: 1rem;
        --spacing-sm: 0.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

/* Footer links */



.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-bottom a:hover {
    color: var(--accent-color);
}

@media (max-width: 992px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.5rem;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }



    .team-member.featured {
        order: -1;
        margin-bottom: var(--spacing-lg);
        max-width: 100%;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        max-width: 80%;
        margin-bottom: var(--spacing-md);
    }

    .announcement-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .cta-text {
        max-width: 100%;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input {
        border-radius: var(--border-radius);
        margin-bottom: var(--spacing-sm);
    }

    .form-group button {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1rem;
        --spacing-md: 1rem;
        --spacing-sm: 0.75rem;
    }

    .footer-links-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* Footer credit */
.footer-credit {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-credit a {
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--light-bg);
    padding: var(--spacing-xl) 0;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

.newsletter-text p {
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
}

@media (max-width: 992px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.5rem;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .newsletter-content {
        padding: var(--spacing-lg);
    }
}

/* Newsletter Form Styles */
.newsletter-form .input-button-group {
    display: flex;
    position: relative;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    height: 48px;
    font-size: 1rem;
    margin: 0;
    line-height: normal;
    box-sizing: border-box;
}

.newsletter-form .btn-primary {
    border-radius: 0 4px 4px 0;
    padding: 0 24px;
    height: 48px;
    margin: 0;
    border: 1px solid var(--primary-color);
    border-left: none;
    box-sizing: border-box;
    position: relative;
    top: 0;
    line-height: 1;
}

/* Fix vertical alignment in all browsers */
.newsletter-form .btn-primary::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-form .input-button-group {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form .btn-primary {
        width: 100%;
        border-radius: 4px;
        border: 1px solid #ddd;
    }

    .newsletter-form .btn-primary {
        margin-top: 8px;
    }
}

.white p {
    color: white;
}

.white h3 {
    color: white;
}

/* Mobile menu button styles */
.mobile-menu-btn {
    display: none;
    /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
    }

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

.event-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #3b82f6;
    cursor: pointer;
    max-width: 320px;
    margin: 0 auto;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-visual {
    height: 160px;
    position: relative;
    background: linear-gradient(135deg, #dbeafe 0%, #c7d2fe 100%);
    overflow: hidden;
}

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-participants {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participant-avatars {
    display: flex;
    margin-left: -8px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.participant-count {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.card-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.card-info p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.card-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.original-price {
    font-size: 14px;
    color: #9ca3af;
}

.enroll-button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.enroll-button:hover {
    background-color: #1d4ed8;
}

.hero-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
}

.stat-card.featured {
    background: #FFD700;
    color: #000;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-content h3 {
    font-size: 2.0rem;
    font-weight: bold;
    margin: 0 0 2px 0;
    line-height: 1;
}

.stat-content p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.stat-content.white h3,
.stat-content.white p {
    color: white;
}

.stat-card.featured .stat-content h3,
.stat-card.featured .stat-content p {
    color: #000;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    margin-top: 0;
    max-width: 50%;
    /* Responsive adjustments */
    min-width: 300px;
    /* Prevent from becoming too narrow */
}

.hero-image-main {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    object-fit: contain;
    max-height: 400px;
    /* Responsive adjustments */
    min-height: 200px;
    /* Prevent from becoming too small */
}

.hero-chart {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm);
    width: 180px;
    z-index: 4;
    /* Responsive adjustments */
    max-width: 40%;
    /* Prevent chart from being too wide on small screens */
}

/* Media queries for different screen sizes */
@media (max-width: 1024px) {
    .hero-image {
        max-width: 60%;
        /* Allow more width on tablets */
    }

    .hero-image-main {
        max-height: 350px;
    }

    .hero-chart {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 80%;
        /* Take more space on smaller tablets */
        margin: 0 auto;
        /* Center the hero image */
    }

    .hero-image-main {
        max-height: 300px;
    }

    .hero-chart {
        width: 140px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        max-width: 100%;
        /* Full width on mobile */
        min-width: auto;
        /* Remove minimum width constraint */
        padding: 0 var(--spacing-md);
        /* Add some side padding */
    }

    .hero-image-main {
        max-height: 250px;
        border-radius: var(--border-radius);
        /* Slightly smaller radius on mobile */
    }

    .hero-chart {
        width: 120px;
        top: 10px;
        right: 10px;
        padding: var(--spacing-xs);
    }
}