/* ===== CSS Reset & Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --background: hsl(210, 33%, 98%);
    --foreground: hsl(210, 50%, 10%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(210, 50%, 10%);
    --primary: hsl(210, 80%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(185, 60%, 45%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --muted: hsl(210, 20%, 94%);
    --muted-foreground: hsl(210, 20%, 40%);
    --accent: hsl(185, 70%, 40%);
    --accent-foreground: hsl(0, 0%, 100%);
    --border: hsl(210, 30%, 88%);

    /* Custom YYI Colors */
    --yyi-navy: hsl(210, 80%, 20%);
    --yyi-navy-light: hsl(210, 70%, 30%);
    --yyi-teal: hsl(185, 60%, 45%);
    --yyi-teal-light: hsl(185, 50%, 60%);
    --yyi-warm: hsl(35, 90%, 55%);
    --yyi-warm-light: hsl(35, 80%, 70%);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(210, 80%, 20%) 0%, hsl(210, 70%, 30%) 50%, hsl(185, 60%, 45%) 100%);
    --gradient-section: linear-gradient(180deg, hsl(210, 33%, 98%) 0%, hsl(210, 30%, 95%) 100%);

    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsla(210, 80%, 20%, 0.1);
    --shadow-card: 0 8px 30px -8px hsla(210, 80%, 20%, 0.12);

    /* Border Radius */
    --radius: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Font Families */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none !important;
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Section Base ===== */
.section {
    padding: 6rem 0;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-label-light {
    color: var(--secondary);
}

.section-title {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== Text Utilities ===== */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-white {
    color: white;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(210, 80%, 20%);
    transform: translateY(-2px);
}

.btn-hero {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 9999px;
}

.btn-hero:hover {
    background-color: var(--yyi-teal-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.btn-hero-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 9999px;
}

.btn-hero-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-cta {
    background: linear-gradient(135deg, var(--yyi-warm) 0%, hsl(35, 85%, 50%) 100%);
    color: white;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px var(--yyi-warm);
}

.btn-full {
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease, transform 0.3s ease;
    padding: 1.25rem 0;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    padding: 0.75rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.logo-text {
    display: none;
}

@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-foreground);
    transition: color 0.3s ease;
}

.header.scrolled .logo-title {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.header.scrolled .logo-subtitle {
    color: var(--muted-foreground);
}

/* Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--primary-foreground);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

.header.scrolled .nav-link {
    color: var(--foreground);
}

.header.scrolled .nav-link:hover {
    color: var(--secondary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-icon,
.close-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-foreground);
    transition: color 0.3s ease;
}

.header.scrolled .menu-icon,
.header.scrolled .close-icon {
    color: var(--foreground);
}

/* Mobile Navigation - Full Screen Overlay */
/* Mobile Navigation - Shadcn Sheet Style */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    /* High z-index behind sheet */
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: block !important;
    /* Override display: none to allow fade out */
    visibility: hidden;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    /* Standard sidebar width */
    max-width: 85%;
    background-color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1002;
    /* On top of overlay */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Shadcn ease */
    border-left: 1px solid var(--border);
}

.nav-mobile.hidden {
    transform: translateX(100%);
    display: flex !important;
    /* Keep layout active */
    pointer-events: none;
    /* Visibility handled by transform being off-screen */
}

/* Sheet Header */
.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.sheet-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--foreground);
}

.sheet-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    /* rounded-md */
    color: var(--muted-foreground);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-close-btn:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

.sheet-close-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Sheet Content */
.sheet-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

/* Links - Ghost Button Style */
.nav-link-mobile {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 500;
    color: var(--foreground);
    padding: 0.75rem 0.75rem;
    border-radius: 0.375rem;
    /* rounded-md */
    transition: all 0.2s;
    text-align: left;
    display: block;
    border: none;
}

.nav-link-mobile:hover {
    background-color: var(--muted);
    color: var(--foreground);
    padding-left: 0.75rem;
    /* No shake on hover */
}

.nav-link-mobile::after {
    display: none;
}

/* Button inside mobile menu */
.nav-mobile .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.85;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 35, 66, 0.5), transparent);
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 3s ease-in-out infinite;
}

.floating-circle-1 {
    top: 25%;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(45, 180, 178, 0.2);
}

.floating-circle-2 {
    bottom: 25%;
    right: 2.5rem;
    width: 12rem;
    height: 12rem;
    background-color: rgba(45, 180, 178, 0.2);
    animation-delay: 1s;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 6rem;
    padding-bottom: 4rem;
    text-align: center;
}

.hero-inner {
    max-width: 56rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;
}

.heart-icon {
    width: 1rem;
    height: 1rem;
    color: var(--yyi-warm);
}

.hero-badge span {
    color: var(--primary-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.trust-indicators {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    font-weight: 600;
}

.trust-separator {
    display: none;
}

@media (min-width: 640px) {
    .trust-separator {
        display: block;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-wheel {
    width: 0.375rem;
    height: 0.75rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 9999px;
}

/* ===== About Section ===== */
.about {
    background: var(--gradient-section);
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content .section-text {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: rgba(45, 180, 178, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.feature-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-logo-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 20px 40px rgba(20, 53, 92, 0.3));
}

/* Decorative ring elements */
.about-decorative-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(45, 180, 178, 0.2);
}

.about-ring-1 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 4s ease-in-out infinite;
}

.about-ring-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(20, 53, 92, 0.15);
    animation: pulse-ring 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.about-decorative-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 180, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
}

@keyframes pulse-ring {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* ===== Programmes Section ===== */
.programmes {
    background-color: var(--background);
}

.programmes-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .programmes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .programmes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.programme-card {
    background-color: var(--card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.programme-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.programme-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.programme-card:hover .programme-icon {
    transform: scale(1.1);
}

.programme-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.icon-secondary {
    background-color: rgba(45, 180, 178, 0.1);
}

.icon-secondary svg {
    color: var(--secondary);
}

.icon-primary {
    background-color: rgba(20, 53, 92, 0.1);
}

.icon-primary svg {
    color: var(--primary);
}

.icon-warm {
    background-color: rgba(233, 163, 70, 0.2);
}

.icon-warm svg {
    color: var(--yyi-warm);
}

.icon-accent {
    background-color: rgba(45, 180, 178, 0.1);
}

.icon-accent svg {
    color: var(--accent);
}

.programme-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.programme-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ===== Impact Section ===== */
.impact {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.impact-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.impact-blob-1 {
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background-color: var(--secondary);
}

.impact-blob-2 {
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: var(--yyi-teal);
}

.impact-content {
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(45, 180, 178, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stat-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--secondary);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-foreground);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial {
    margin-top: 5rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: 2rem 3rem;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 3rem;
    }
}

.testimonial-quote {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--primary-foreground);
    text-align: center;
    font-weight: 500;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    text-align: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ===== Get Involved Section ===== */
.get-involved {
    background-color: var(--background);
}

.opportunities-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.opportunity-card {
    position: relative;
    background-color: var(--card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.opportunity-card:hover {
    box-shadow: var(--shadow-card);
}

.opportunity-card .opportunity-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.opportunity-secondary .opportunity-accent {
    background-color: var(--secondary);
}

.opportunity-primary .opportunity-accent {
    background-color: var(--primary);
}

.opportunity-warm .opportunity-accent {
    background-color: var(--yyi-warm);
}

.opportunity-accent-card .opportunity-accent {
    background-color: var(--accent);
}

.opportunity-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.opportunity-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.opportunity-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.opportunity-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.trust-banner {
    margin-top: 5rem;
    background: var(--gradient-hero);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .trust-banner {
        padding: 4rem;
    }
}

/* Add subtle texture overlay */
.trust-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at top right, rgba(45, 180, 178, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(20, 53, 92, 0.2), transparent 40%);
    pointer-events: none;
}

.trust-banner-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.trust-banner-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
    position: relative;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trust-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--yyi-warm);
}


/* ===== Contact Section ===== */
.contact-section {
    background: var(--gradient-section);
}

.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Centered Contact Info Layout (without form) */
.contact-info-centered {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .contact-info-centered {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--yyi-navy-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-card-content h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contact-card-content p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-card-content a {
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: var(--secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--foreground);
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 53, 92, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.footer .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    border-radius: var(--radius);
}

.footer-logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    display: block;
}

.footer-logo-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary-foreground);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-list svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--secondary);
    margin-top: 0.125rem;
}

.footer-contact-list span,
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list a:hover {
    color: var(--primary-foreground);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-foreground);
}


.text-gradient {
    background: linear-gradient(135deg, var(--yyi-navy) 0%, var(--yyi-teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-hero {
    background: linear-gradient(135deg, var(--yyi-teal-light) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Animation delays */
.hero-title {
    animation-delay: 0.1s;
}

.hero-description {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.3s;
}

.trust-indicators {
    animation-delay: 0.4s;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}


.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===== Policy Pages ===== */
.policy-page {
    padding-top: 8rem;
    min-height: 100vh;
    background: var(--gradient-section);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.policy-updated {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.policy-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section p {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section ul li {
    color: var(--muted-foreground);
    padding: 0.25rem 0;
    line-height: 1.6;
}

.policy-section a {
    color: var(--secondary);
    text-decoration: underline;
}

.policy-section a:hover {
    color: var(--primary);
}

.policy-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .policy-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .policy-title {
        font-size: 1.75rem;
    }

    .policy-section h2 {
        font-size: 1.25rem;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--yyi-navy-light) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(20, 53, 92, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--yyi-teal) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 180, 178, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 640px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .back-to-top svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ===== Skip to Content Link (Accessibility) ===== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 1rem;
}

/* ===== Focus Styles (Accessibility) ===== */
*:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}