@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* Vibrant Palette */
    --teal: #008080;
    --teal-light: #4DB6AC;
    --coral: #FF7F50;
    --coral-light: #FFAB91;
    --yellow: #F4D03F;
    --cream: #F9F9F9;
    --white: #FFFFFF;
    --dark: #2C3E50;

    /* Semantic Colors */
    --primary: var(--teal);
    --accent: var(--coral);
    --highlight: var(--yellow);
    --bg-body: var(--cream);
    --bg-card: var(--white);
    --text-main: var(--dark);
    --text-light: var(--white);

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-body);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.bg-primary {
    background-color: var(--primary);
    color: white;
}

.bg-accent {
    background-color: var(--accent);
    color: white;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: #FF6347;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins';
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s, transform 8s;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.8), rgba(255, 127, 80, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-text {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Stats Counter */
.stats-section {
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: var(--cream);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border-bottom: 4px solid var(--primary);
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    font-family: 'Poppins';
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(244, 208, 63, 0.4);
    color: var(--dark);
}

/* Quote/Testimonial Carousel */
.testimonial-section {
    background: var(--primary);
    color: white;
    overflow: hidden;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.testimonial-slide {
    display: none;
    animation: slideIn 0.8s ease-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-size: 2rem;
    font-family: 'Poppins';
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.nav-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Floating Shapes */
.shape {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    animation: float 10s infinite ease-in-out;
}

.shape-circle {
    width: 300px;
    height: 300px;
    background: var(--yellow);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}

.shape-blob {
    width: 400px;
    height: 400px;
    background: var(--teal);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    bottom: -100px;
    left: -100px;
    animation-duration: 15s;
}

/* Flip Cards (Programs) */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flip-card-front {
    background: var(--white);
}

.flip-card-back {
    background: var(--yellow);
    color: var(--dark);
    transform: rotateY(180deg);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}