/* ============================================================
   YSLI Website - Main Stylesheet
   Youth Sports Leadership Institute
   ============================================================ */

/* CSS Variables - Design Tokens */
:root {
    --primary: #4A3228;
    --primary-light: #6B4423;
    --secondary: #E9C46A;
    --secondary-light: #F4D58D;
    --accent: #F77F00;
    --accent-light: #FF9F43;
    --white: #FDFCF8;
    --cream: #F4F1DE;
    --light-warm: #FAF8F3;
    --text-dark: #3D2B1F;
    --text-muted: #8B7355;
    --text-light: #A69076;
    --border: #E8E0D0;
    --border-light: #F0EBE0;
    --green-warm: #6A994E;
    --green-light: #8BC34A;
    --shadow-sm: 0 4px 15px rgba(92, 61, 46, 0.08);
    --shadow-md: 0 8px 25px rgba(92, 61, 46, 0.12);
    --shadow-lg: 0 15px 40px rgba(92, 61, 46, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; background: var(--white); font-size: clamp(1rem, 2.5vw, 1.05rem); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; font-weight: 700; line-height: 1.15; color: var(--primary); }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }
p { line-height: 1.7; color: var(--text-muted); }
a { transition: all 0.3s ease; text-decoration: none; }

/* Accessibility - Skip Link */
.skip-link { position: absolute; top: -100px; left: 0; background: var(--primary); color: var(--white); padding: 12px 24px; z-index: 9999; font-weight: 600; border-radius: 0 0 12px 0; transition: top 0.3s ease; }
.skip-link:focus { top: 0; outline: 3px solid var(--accent); outline-offset: 2px; }

/* Accessibility - Focus States */
:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Page Loading Progress Bar */
.page-loader { position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 9999; background: transparent; }
.loader-progress { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 50%, var(--accent) 100%); transition: width 0.3s ease; }
.page-loader.complete { opacity: 0; transition: opacity 0.5s ease; }

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(253, 252, 248, 0.95); backdrop-filter: blur(20px); z-index: 1000; box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.navbar.scrolled { background: rgba(253, 252, 248, 0.98); box-shadow: var(--shadow-md); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; height: 90px; transition: height 0.4s ease; }
.navbar.scrolled .nav-container { height: 75px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon { width: 52px; height: 52px; background: var(--cream); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: 'Lora', serif; font-weight: 700; font-size: 24px; color: var(--primary); border: 2px solid var(--secondary); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.logo:hover .logo-icon { background: var(--accent); transform: rotate(8deg) scale(1.08); border-color: var(--accent); }
.logo-text { font-family: 'Lora', serif; font-weight: 700; font-size: 20px; color: var(--primary); }
.logo-text span { display: block; font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 400; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.nav-menu { display: flex; list-style: none; gap: 8px; align-items: center; }
.nav-menu a { color: var(--text-dark); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 18px; border-radius: 12px; transition: all 0.3s ease; position: relative; }
.nav-menu a::before { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--accent); transform: translateX(-50%); transition: width 0.3s ease; }
.nav-menu a:hover { background: var(--cream); color: var(--primary); }
.nav-menu a:hover::before { width: 60%; }
.nav-menu a.active { background: var(--cream); color: var(--primary); }
.nav-menu a.active::before { width: 60%; }
.nav-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important; color: var(--white) !important; padding: 12px 28px !important; font-weight: 600 !important; border-radius: 24px !important; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; box-shadow: var(--shadow-sm) !important; }
.nav-cta:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%) !important; transform: translateY(-3px) scale(1.02) !important; box-shadow: 0 12px 28px rgba(247, 127, 0, 0.35) !important; }
.mobile-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--primary); z-index: 101; }
.nav-menu.active { display: flex !important; }

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes skeleton-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-left { animation: slideLeft 0.7s ease-out forwards; }
.animate-slide-right { animation: slideRight 0.7s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 40px 80px; background: var(--light-warm); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: var(--secondary); opacity: 0.15; border-radius: 50%; filter: blur(80px); }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: var(--accent); opacity: 0.1; border-radius: 50%; filter: blur(60px); }
.hero-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--cream); padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 500; color: var(--primary); margin-bottom: 32px; border: 1px solid var(--border); }
.hero-badge .dot { width: 8px; height: 8px; background: var(--green-warm); border-radius: 50%; animation: pulse-dot 2s infinite; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--primary); margin-bottom: 28px; line-height: 1.15; font-weight: 700; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 30%, var(--accent) 60%, var(--secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; }
.hero-content h1::after { content: attr(data-text); position: absolute; top: 0; left: 0; z-index: -1; background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: blur(8px); opacity: 0.4; }
.hero-content h1 em { font-style: italic; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; }
.hero-content p { font-size: clamp(1rem, 2.5vw, 1.125rem); color: var(--text-muted); margin-bottom: 40px; max-width: 500px; line-height: 1.8; font-weight: 400; }
.hero-buttons { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 30px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: none; position: relative; overflow: hidden; flex-direction: column; align-items: flex-start; padding: 18px 32px; }
.btn::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.2); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; }
.btn:active::after { width: 300px; height: 300px; }
.btn-badge { font-size: 11px; font-weight: 500; color: var(--secondary); background: rgba(233, 196, 106, 0.2); padding: 4px 10px; border-radius: 12px; margin-top: 6px; }
.btn-arrow { font-size: 18px; transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px rgba(247, 127, 0, 0.3); }
.btn-primary:hover .btn-badge { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--border); flex-direction: row; align-items: center; }
.btn-secondary:hover { background: var(--cream); border-color: var(--accent); color: var(--accent); transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-sm); }

/* Hero Image */
.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: 30px; box-shadow: 0 30px 60px rgba(92, 61, 46, 0.15); display: block; }
.hero-image::before { content: ''; position: absolute; top: 30px; left: -30px; width: 100%; height: 100%; border: 3px solid var(--secondary); border-radius: 30px; z-index: -1; opacity: 0.6; }

/* Carousel */
.carousel-container { position: relative; width: 100%; height: auto; background: #3d2a1d; overflow: hidden; border-radius: 30px; box-shadow: 0 30px 60px rgba(92, 61, 46, 0.15); display: flex; align-items: center; justify-content: center; min-height: 400px; }
.carousel-slide { display: none; width: 100%; animation: fadeIn 0.8s ease-in-out; }
.carousel-slide.active { display: block; }
.carousel-slide img, .carousel-img { width: 100%; height: auto; max-height: 600px; object-fit: contain; border-radius: 30px; display: block; margin: 0 auto; transition: opacity 0.5s ease; }
.lazy-load { opacity: 0; }
.lazy-load.loaded { opacity: 1; }
.carousel-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid var(--secondary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: skeleton-spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.carousel-container.loading::before { opacity: 1; }
.carousel-indicators { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.carousel-indicator { width: 12px; height: 12px; background: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; border: 2px solid rgba(92, 61, 46, 0.3); }
.carousel-indicator.active { background: var(--secondary); border-color: var(--primary); transform: scale(1.2); }
.carousel-indicator:hover { background: var(--cream); }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; z-index: 10; padding: 0 10px; }
.carousel-btn { width: 44px; height: 44px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(92, 61, 46, 0.2); border: none; font-size: 18px; color: var(--primary); }
.carousel-btn:hover { background: var(--secondary); transform: scale(1.1); }

/* Floating Card */
.hero-floating-card { position: absolute; bottom: -20px; left: -40px; background: var(--white); padding: 24px 28px; border-radius: 20px; box-shadow: 0 20px 40px rgba(92, 61, 46, 0.12); display: flex; align-items: center; gap: 16px; border: 1px solid var(--border); z-index: 20; }
.floating-icon { width: 50px; height: 50px; background: var(--cream); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.floating-text strong { display: block; font-family: 'Lora', serif; font-size: 18px; color: var(--primary); }
.floating-text span { font-size: 13px; color: var(--text-muted); }

/* Sections */
.section { padding: 100px 40px; }
.section-container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 16px; display: inline-block; padding: 6px 16px; background: var(--cream); border-radius: 20px; }
.section-title { font-size: 44px; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.section-subtitle { font-size: 18px; color: var(--text-muted); line-height: 1.8; }

/* Mission Section */
.mission { background: var(--white); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission-image { position: relative; }
.mission-image img { width: 100%; border-radius: 24px; display: block; box-shadow: 0 20px 40px rgba(92, 61, 46, 0.1); }
.mission-image::after { content: ''; position: absolute; bottom: -20px; right: -20px; width: 80%; height: 80%; background: var(--cream); border-radius: 24px; z-index: -1; }
.mission-content h2 { font-size: 40px; color: var(--primary); margin-bottom: 28px; }
.mission-content p { font-size: 17px; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }
.mission-quote { background: var(--cream); padding: 28px 32px; border-radius: 20px; border-left: 4px solid var(--secondary); margin: 32px 0; }
.mission-quote p { font-family: 'Lora', serif; font-style: italic; font-size: 18px; color: var(--primary); margin-bottom: 0; line-height: 1.7; }
.mission-quote .quote-author { font-family: 'Poppins', sans-serif; font-style: normal; font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 12px; display: block; }
.values-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.value-pill { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--light-warm); border-radius: 16px; transition: all 0.3s ease; }
.value-pill:hover { background: var(--cream); transform: translateX(5px); }
.value-pill .icon { font-size: 20px; }
.value-pill span { font-weight: 600; font-size: 15px; color: var(--primary); }

/* Programs Section */
.programs { background: var(--light-warm); position: relative; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.program-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid var(--border-light); }
.program-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.program-card:hover .program-visual { transform: scale(1.05); }
.program-visual { height: 220px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); display: flex; align-items: center; justify-content: center; font-size: 56px; position: relative; overflow: hidden; transition: transform 0.5s ease; }
.program-visual::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: var(--white); clip-path: ellipse(70% 100% at 50% 100%); }
.program-body { padding: 32px; }
.program-body h3 { font-size: 22px; color: var(--primary); margin-bottom: 14px; }
.program-body p { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.program-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 20px; background: var(--cream); border-radius: 20px; transition: all 0.4s ease; }
.program-link:hover { background: var(--accent); color: var(--white); gap: 14px; transform: translateX(5px); }

/* Impact Section */
.impact { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.impact::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; border: 1px solid rgba(233, 196, 106, 0.1); border-radius: 50%; }
.impact .section-title { color: var(--white); }
.impact .section-label { background: rgba(255, 255, 255, 0.1); color: var(--secondary); }
.impact .section-subtitle { color: rgba(255, 255, 255, 0.6); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.impact-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px 30px; text-align: center; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(10px); }
.impact-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-8px) scale(1.02); border-color: var(--accent); }
.impact-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-light) 100%); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 20px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 8px 20px rgba(233, 196, 106, 0.3); }
.impact-card:hover .impact-icon { transform: scale(1.15) rotate(-8deg); box-shadow: 0 15px 35px rgba(247, 127, 0, 0.4); }
.impact-number { font-family: 'Lora', serif; font-size: 42px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; display: block; }
.impact-title { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }

/* Trust Elements - Partners & Testimonials */
.trust { background: var(--light-warm); }
.partners-section { margin-bottom: 80px; }
.partners-title, .testimonials-title { font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--primary); margin-bottom: 40px; text-align: center; }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.partner-logo { background: var(--white); border-radius: 16px; padding: 24px 16px; text-align: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid var(--border-light); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.partner-logo:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.partner-icon { font-size: 32px; transition: transform 0.3s ease; }
.partner-logo:hover .partner-icon { transform: scale(1.15); }
.partner-logo span { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--white); border-radius: 24px; padding: 32px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid var(--border-light); position: relative; }
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.testimonial-card::before { content: '"'; position: absolute; top: 20px; left: 24px; font-size: 48px; color: var(--secondary); opacity: 0.3; font-family: 'Lora', serif; }
.testimonial-content p { font-size: 15px; line-height: 1.8; color: var(--text-dark); margin-bottom: 24px; padding-top: 30px; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar { width: 48px; height: 48px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.author-info strong { display: block; font-size: 14px; color: var(--primary); }
.author-info span { font-size: 12px; color: var(--text-muted); }
.testimonial-rating { margin-top: 16px; font-size: 14px; }

/* Join Section */
.join { background: var(--white); }
.join-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.join-card { background: var(--light-warm); border-radius: 24px; padding: 40px; display: flex; gap: 24px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; }
.join-card:hover { background: var(--white); border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.join-icon { width: 60px; height: 60px; min-width: 60px; background: var(--cream); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.join-card:hover .join-icon { background: var(--accent); transform: rotate(15deg) scale(1.1); }
.join-content h3 { font-size: 22px; color: var(--primary); margin-bottom: 12px; }
.join-content p { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.join-btn { display: inline-block; padding: 12px 28px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); text-decoration: none; border-radius: 24px; font-weight: 600; font-size: 14px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-sm); }
.join-btn:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(247, 127, 0, 0.3); }

/* News Section */
.news { background: var(--light-warm); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: var(--white); border-radius: 24px; overflow: hidden; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.news-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.news-card:hover .news-image { transform: scale(1.05); }
.news-image { height: 200px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); position: relative; overflow: hidden; transition: transform 0.5s ease; }
.news-date-tag { position: absolute; top: 20px; left: 20px; background: rgba(255, 255, 255, 0.95); padding: 8px 16px; border-radius: 12px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; color: var(--primary); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); backdrop-filter: blur(10px); }
.news-body { padding: 32px; }
.news-category { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 12px; display: inline-block; padding: 4px 12px; background: var(--cream); border-radius: 8px; }
.news-body h3 { font-size: 20px; color: var(--primary); margin-bottom: 14px; line-height: 1.4; }
.news-body p { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.read-more { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.4s ease; padding: 8px 16px; border-radius: 16px; }
.read-more:hover { color: var(--accent); gap: 14px; background: var(--cream); transform: translateX(5px); }

/* CTA Section */
.cta-section { background: var(--cream); padding: 100px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: var(--secondary); opacity: 0.2; border-radius: 50%; filter: blur(60px); }
.cta-section h2 { font-size: 44px; color: var(--primary); margin-bottom: 20px; position: relative; z-index: 1; }
.cta-section p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; position: relative; z-index: 1; line-height: 1.8; }

/* Newsletter Box */
.newsletter-box { background: var(--white); border-radius: 24px; padding: 40px; margin-top: 60px; max-width: 500px; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-md); border: 1px solid var(--border-light); position: relative; z-index: 1; }
.newsletter-box h3 { font-size: 24px; color: var(--primary); margin-bottom: 12px; }
.newsletter-box p { font-size: 15px; margin-bottom: 24px; }
.newsletter-form { display: flex; flex-direction: column; gap: 16px; }
.newsletter-input-group { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-input { flex: 1; min-width: 200px; padding: 14px 20px; border: 2px solid var(--border); border-radius: 16px; font-size: 15px; font-family: 'Poppins', sans-serif; transition: all 0.3s ease; background: var(--light-warm); }
.newsletter-input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.1); }
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-btn { padding: 14px 28px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); color: var(--white); border: none; border-radius: 16px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; }
.newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(247, 127, 0, 0.3); }
.newsletter-btn .btn-icon { transition: transform 0.3s ease; }
.newsletter-btn:hover .btn-icon { transform: translateX(5px); }
.newsletter-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.cta-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 40px; background: var(--primary); color: var(--white); text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; border-radius: 30px; transition: all 0.3s ease; position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(92, 61, 46, 0.2); }
.cta-btn:hover { background: var(--accent); transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px rgba(212, 163, 115, 0.3); }

/* Footer */
.footer { background: var(--primary); color: var(--white); padding: 80px 40px 0; }
.footer-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand h3 { font-family: 'Lora', serif; font-size: 24px; font-weight: 700; margin-bottom: 20px; color: var(--white); }
.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 15px; line-height: 1.8; margin-bottom: 28px; max-width: 320px; }
.footer-brand .social-links { display: flex; gap: 12px; }
.social-link { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; font-size: 16px; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.social-link:hover { background: var(--secondary); color: var(--primary); transform: translateY(-3px); border-color: var(--secondary); }
.footer-column h4 { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; color: var(--secondary); }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 15px; transition: all 0.3s ease; display: inline-block; }
.footer-column a:hover { color: var(--secondary); transform: translateX(5px); }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding: 30px 0; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: rgba(255, 255, 255, 0.3); }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); transform: translateY(-5px) scale(1.1); box-shadow: 0 15px 35px rgba(247, 127, 0, 0.4); }
.back-to-top-icon { font-size: 20px; font-weight: 700; }

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 44px; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-image { max-width: 600px; margin: 0 auto; }
    .hero-floating-card { display: none; }
    .carousel-slide img { max-height: 500px; }
    .mission-grid { grid-template-columns: 1fr; }
    .mission-image { order: -1; max-width: 600px; margin: 0 auto; }
    .mission-content { text-align: center; }
    .values-row { max-width: 500px; margin: 32px auto 0; }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .mobile-toggle { display: block; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 8px 30px rgba(92, 61, 46, 0.1); border-radius: 0 0 20px 20px; z-index: 100; }
    .nav-menu.active { display: flex !important; }
    .nav-menu li { margin-bottom: 10px; }
    .nav-menu a { display: block; padding: 14px 20px; border-radius: 12px; text-align: center; }
    .nav-cta { margin-top: 10px; }
    .hero { padding: 100px 20px 60px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 16px; }
    .btn { padding: 14px 28px; font-size: 14px; }
    .hero-image { max-width: 100%; }
    .carousel-container { border-radius: 20px; }
    .carousel-slide img { max-height: 400px; border-radius: 20px; }
    .carousel-nav { padding: 0 5px; }
    .carousel-btn { width: 36px; height: 36px; font-size: 16px; }
    .carousel-indicators { bottom: 15px; }
    .carousel-indicator { width: 10px; height: 10px; }
    .section { padding: 60px 20px; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 16px; }
    .programs-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 24px; }
    .join-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .values-row { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; padding: 60px 20px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .cta-section { padding: 60px 20px; }
    .cta-section h2 { font-size: 28px; }
    .cta-section p { font-size: 16px; }
    .cta-btn { padding: 14px 28px; font-size: 14px; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero { padding: 90px 15px 40px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-content h1 { font-size: 24px; }
    .hero-content p { font-size: 15px; line-height: 1.6; }
    .carousel-slide img { max-height: 300px; }
    .carousel-btn { width: 32px; height: 32px; font-size: 14px; }
    .carousel-indicator { width: 8px; height: 8px; }
    .section { padding: 50px 15px; }
    .section-title { font-size: 24px; }
    .section-label { font-size: 11px; letter-spacing: 2px; }
    .nav-container { padding: 0 20px; height: 70px; }
    .logo-icon { width: 44px; height: 44px; font-size: 20px; }
    .logo-text { font-size: 18px; }
}

/* Page Header */
.page-header { padding: 140px 40px 80px; background: var(--light-warm); text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: var(--secondary); opacity: 0.1; border-radius: 50%; filter: blur(60px); }
.page-header h1 { font-size: 52px; color: var(--primary); margin-bottom: 20px; }
.page-header p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* History Section */
.history { background: var(--light-warm); }
.history-content { max-width: 800px; margin: 0 auto; text-align: center; }
.history-content h2 { font-size: 40px; color: var(--primary); margin-bottom: 28px; }
.history-content p { font-size: 17px; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }

/* Team Section */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { background: var(--light-warm); border-radius: 24px; padding: 40px 30px; text-align: center; transition: all 0.4s ease; border: 1px solid transparent; }
.team-card:hover { background: var(--white); border-color: var(--secondary); box-shadow: 0 20px 40px rgba(92, 61, 46, 0.08); transform: translateY(-5px); }
.team-avatar { width: 100px; height: 100px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 20px; border: 3px solid var(--secondary); }
.team-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 8px; }
.team-card .role { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.team-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* Responsive - Team */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .page-header h1 { font-size: 40px; }
}
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .page-header { padding: 120px 20px 60px; }
    .page-header h1 { font-size: 32px; }
}

/* Program Detail Section */
.program-detail { padding: 80px 40px; }
.program-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.program-detail:nth-child(even) { background: var(--light-warm); }
.detail-image { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(92, 61, 46, 0.1); }
.detail-image img { width: 100%; display: block; }
.detail-content h3 { font-size: 36px; color: var(--primary); margin-bottom: 20px; }
.detail-content p { font-size: 17px; color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.detail-features { margin-top: 32px; }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.feature-item:last-child { border-bottom: none; }
.feature-icon { width: 32px; height: 32px; background: var(--cream); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.feature-item span { font-weight: 500; color: var(--text-dark); }

/* Apply Section */
.apply-section { background: var(--primary); color: var(--white); padding: 100px 40px; text-align: center; position: relative; overflow: hidden; }
.apply-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; border: 1px solid rgba(233, 196, 106, 0.1); border-radius: 50%; }
.apply-section .section-title { color: var(--white); }
.apply-section .section-label { background: rgba(255, 255, 255, 0.1); color: var(--secondary); }
.apply-section .section-subtitle { color: rgba(255, 255, 255, 0.6); }
.apply-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 40px; background: var(--secondary); color: var(--primary); text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; border-radius: 30px; transition: all 0.3s ease; position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(233, 196, 106, 0.3); }
.apply-btn:hover { background: var(--white); transform: translateY(-3px) scale(1.02); }

/* Responsive - Program Detail */
@media (max-width: 1024px) {
    .program-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .detail-image { max-width: 600px; margin: 0 auto; }
    .detail-content { text-align: center; }
    .detail-features { max-width: 500px; margin: 32px auto 0; }
}
@media (max-width: 768px) {
    .program-detail { padding: 60px 20px; }
    .detail-content h3 { font-size: 28px; }
}