@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --accent: #facc15;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --bg-alt: #f0fdfa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.08);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.10);
    --shadow-lg: 0 20px 40px rgb(0 0 0 / 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 20px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.30);
}

.btn-outline {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    padding: 14px 24px;
    border: 2px solid var(--primary);
    border-radius: 50px;
}

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

.btn-cta-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-cta-white:hover {
    background: var(--accent);
    color: var(--text-main);
}

.btn-cta-outline-white {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-cta-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
}

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

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background:
        radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.07), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.07), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(13, 148, 136, 0.15);
}

.hero-stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(13, 148, 136, 0.2);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 520px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    animation: float 6s ease-in-out infinite;
}

/* Hero Floating Badges */
.hero-badge,
.hero-badge-2 {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-badge {
    bottom: 30px;
    left: -20px;
}

.hero-badge-2 {
    top: 30px;
    right: -20px;
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
    flex-shrink: 0;
}

.badge-icon-teal {
    background: var(--primary);
    color: var(--white);
}

.badge-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

.badge-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    background: var(--primary);
    padding: 14px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.marquee-track span i {
    color: var(--accent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-img-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-img-card i {
    font-size: 2rem;
    color: var(--accent);
}

.about-img-card h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.about-img-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.about-years-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.years-num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.years-label {
    font-size: 0.55rem;
    text-align: center;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-list li i {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(13, 148, 136, 0.06);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
}

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

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

.program-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white);
}

.program-body {
    padding: 1.75rem;
}

.program-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(13, 148, 136, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.program-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.program-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

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

.program-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-desc {
    opacity: 0.85;
    font-size: 0.95rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 148, 136, 0.07);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-featured {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.03);
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 0.9rem;
}

.testimonial-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.75rem;
}

.testimonial-featured p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-featured h4 {
    color: var(--white);
}

.testimonial-featured .testimonial-author span {
    color: rgba(255, 255, 255, 0.75);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 60%, #134e4a 100%);
    padding: 90px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #0a1628;
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
}

.footer-logo-wrap i {
    color: var(--accent);
}

.footer-logo-wrap em {
    color: var(--accent);
    font-style: normal;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin: 1rem 0 1.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links-col ul li {
    margin-bottom: 0.7rem;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links-col ul li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   RESPONSIVE — MEDIUM (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }

    .hero-badge {
        bottom: 20px;
        left: 10px;
    }

    .hero-badge-2 {
        top: 20px;
        right: 10px;
    }

    .about-image-col {
        padding: 30px;
    }

    .about-img-card {
        right: 0;
    }

    .about-years-badge {
        left: 0;
    }

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

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-featured {
        transform: none;
    }

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

    .cta-text p {
        margin: 0 auto;
    }

    .cta-actions {
        justify-content: center;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        box-shadow: var(--shadow-md);
        gap: 1rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

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

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .features-grid-6 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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