/* ========================================
   Noble Mission School - Complete Lighthouse Theme
   Based on lighthouse.ancorathemes.com design specifications
   ======================================== */

/* CSS Variables - Exact Lighthouse Theme Colors */
:root {
    /* Primary Colors */
    --primary-teal: #4DD0D6;
    --primary-cyan: #4DD0D6;
    --primary-yellow: #f1c40f;
    --secondary-yellow: #FFC629;

    /* Text Colors */
    --dark-text: #333333;
    --medium-text: #666666;
    --light-text: #999999;
    --white: #FFFFFF;

    /* Background Colors */
    --light-gray: #f8f8f8;
    --lighter-gray: #fafafa;
    --border-gray: #e0e0e0;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.2);

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

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

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

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-text);
}

h1 { font-size: 56px; font-weight: 300; }
h2 { font-size: 42px; font-weight: 300; }
h3 { font-size: 32px; font-weight: 700; }
h4 { font-size: 24px; font-weight: 700; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--medium-text);
}

/* ========================================
   HEADER STYLES
   ======================================== */

.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* For homepage: navbar stays fixed */
.homepage .main-header {
    position: fixed;
}

.main-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon svg {
    width: 50px;
    height: 60px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

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

.logo-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--light-text);
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Navigation Styles */
.main-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
}

.nav-menu li a {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-text);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-teal);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.phone-number:hover {
    color: var(--primary-teal);
}

.phone-number svg {
    width: 18px;
    height: 18px;
}

.btn-donate {
    background: var(--primary-yellow);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(241, 196, 15, 0.35);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-donate:hover::before {
    width: 300px;
    height: 300px;
}

.btn-donate:hover {
    background: #f39c12;
    box-shadow: 0 6px 25px rgba(241, 196, 15, 0.5);
    transform: translateY(-3px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

/* For homepage: extend hero to top so it starts at 0 */
.homepage .hero-section {
    margin-top: 0;
    padding-top: 0;
}

/* Hero Slider - Full Width */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 1;
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: lowercase;
    color: var(--white);
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out 0.3s forwards;
    font-family: 'Poppins', sans-serif;
}

.hero-title::first-letter {
    text-transform: uppercase;
}

/* Script font for "can" */
.hero-script {
    font-family: 'Brush Script MT', 'Comic Sans MS', cursive;
    font-style: italic;
    font-weight: 400;
    color: var(--primary-yellow);
    font-size: 1.1em;
    position: relative;
    display: inline-block;
}

/* Hero Button */
.btn-hero {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.5);
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out 0.8s forwards;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
}

.btn-hero:hover {
    background: #f39c12;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.5);
}

/* Hero Animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(241, 196, 15, 0.4);
}

.btn-primary:hover {
    background: #f39c12;
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.6);
    transform: translateY(-4px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    padding: 16px 43px;
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 166, 184, 0.4);
}

/* ========================================
   SIDEBAR QUICK ACTIONS
   ======================================== */

.sidebar-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
}

.sidebar-btn {
    width: 55px;
    height: 55px;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.sidebar-btn:last-child {
    border-bottom: none;
}

.sidebar-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--primary-teal);
    transition: var(--transition);
    z-index: -1;
}

.sidebar-btn:hover::before {
    width: 100%;
}

.sidebar-btn:hover {
    padding-right: 15px;
    transform: translateX(-5px);
}

.sidebar-btn svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   SAY HELLO SECTION
   ======================================== */

.say-hello-section {
    padding: 90px 0;
    background: var(--light-gray);
}

.say-hello-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.say-hello-left {
    padding-right: 40px;
}

.say-hello-title {
    font-size: 48px;
    color: var(--primary-teal);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

.say-hello-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 25px;
    line-height: 1.6;
}

.say-hello-text {
    font-size: 15px;
    color: var(--medium-text);
    line-height: 1.8;
    margin-bottom: 35px;
}

.say-hello-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lighthouse-icon {
    margin-bottom: 30px;
}

.donation-amount {
    margin-bottom: 40px;
}

.amount {
    font-size: 56px;
    font-weight: 300;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.amount-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--medium-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin: 0;
}

.quote-section {
    max-width: 400px;
}

.quote-text {
    font-size: 17px;
    color: var(--dark-text);
    line-height: 1.7;
    margin-bottom: 15px;
}

.quote-highlight {
    font-weight: 700;
}

.quote-italic {
    font-style: italic;
    color: var(--primary-yellow);
}

.quote-author {
    font-size: 14px;
    color: var(--primary-teal);
    font-weight: 600;
    text-align: right;
    margin: 0;
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 70px 0;
    background: var(--light-gray);
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 15px;
    display: block;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--medium-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.6;
}

.quote-box {
    padding: 50px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-yellow);
}

.quote-text {
    font-size: 20px;
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.quote-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-teal);
    text-align: right;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

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

.section-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--dark-text);
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 17px;
    color: var(--medium-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ========================================
   HOW WE HELP SECTION (Educate, Engage, Inspire)
   ======================================== */

.help-section {
    padding: 80px 0 100px;
    background: var(--primary-teal);
    position: relative;
}

.help-section .section-title {
    color: var(--white);
    font-size: 42px;
    letter-spacing: 1px;
}

.help-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 400;
}

/* Wave divider at bottom */
.help-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 100%, 100% 100%, 0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    position: relative;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.feature-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 35px 25px 40px;
    text-align: center;
    background: var(--white);
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    font-family: 'Lato', sans-serif;
}

.feature-title .underline {
    position: relative;
}

.feature-title .underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 8px;
    background: var(--primary-yellow);
    border-radius: 50%;
    opacity: 1;
}

.feature-description {
    color: var(--medium-text);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

/* ========================================
   FACILITIES SECTION
   ======================================== */

.facilities-section {
    padding: 90px 0;
    background: var(--white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.facility-item {
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.facility-item:hover {
    transform: translateY(-10px);
}

.facility-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.3);
    color: #333;
}

.facility-icon svg {
    width: 48px;
    height: 48px;
    stroke: #333;
}

.facility-item:hover .facility-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.5);
}

.facility-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   VOLUNTEER CTA SECTION (with Parallax)
   ======================================== */

.volunteer-cta {
    padding: 120px 0;
    background-image: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.volunteer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(77, 208, 214, 0.95);
}

.volunteer-cta .container {
    position: relative;
    z-index: 1;
}

.volunteer-cta h3 {
    font-size: 48px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 35px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.volunteer-cta .btn-primary {
    background: var(--white);
    color: var(--primary-teal);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.volunteer-cta .btn-primary:hover {
    background: var(--primary-yellow);
    color: var(--white);
    transform: translateY(-5px);
}

/* ========================================
   MISSION AND EVENTS SECTION
   ======================================== */

.mission-events-section {
    padding: 90px 0;
    background: var(--white);
}

.mission-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.column-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--primary-teal);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Mission Column */
.mission-column {
    padding-right: 40px;
}

.mission-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 25px;
    line-height: 1.7;
}

.mission-text {
    font-size: 15px;
    color: var(--medium-text);
    line-height: 1.8;
    margin-bottom: 35px;
}

.mission-tabs {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--medium-text);
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-yellow);
    color: var(--dark-text);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

/* Events Column */
.events-column {
    padding-left: 40px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.event-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.event-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-date {
    font-size: 14px;
    color: var(--primary-yellow);
    font-weight: 700;
}

.event-date span {
    color: var(--medium-text);
    font-weight: 400;
    margin-left: 8px;
}

/* ========================================
   GET STARTED SECTION
   ======================================== */

.get-started-section {
    padding: 90px 0 120px;
    background: var(--primary-teal);
    position: relative;
}

.get-started-section .section-title {
    color: var(--white);
}

.get-started-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Wave divider at bottom */
.get-started-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 100%, 100% 100%, 0 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.step-item {
    text-align: center;
    padding: 0;
    background: transparent;
    transition: var(--transition);
    position: relative;
}

.step-item:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 3px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 300;
    color: var(--white);
    margin: 0 auto 30px;
    transition: var(--transition);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 15px;
    background: var(--white);
}

.step-number::after {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: var(--primary-yellow);
    border-radius: 50%;
}

.step-item:hover .step-number {
    background: rgba(255, 255, 255, 0.1);
}

.step-item p {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

/* ========================================
   PROGRAMS SECTION
   ======================================== */

.programs-section {
    padding: 90px 0;
    background: var(--white);
}

.programs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 20px 0;
}

.program-card {
    cursor: pointer;
    perspective: 1000px;
    width: 250px;
    height: 250px;
}

.program-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.program-card:hover .program-card-inner {
    transform: rotateY(180deg);
}

.program-card-front,
.program-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgb(209, 209, 209);
    overflow: hidden;
}

.program-card-front {
    background-size: cover;
    background-position: center;
}

.program-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.program-card-back {
    background: var(--primary-teal);
    transform: rotateY(180deg);
    padding: 40px;
}

.program-card-front h4 {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.3;
}

.program-card-back h4 {
    position: relative;
    z-index: 2;
    text-shadow: none;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--white);
}

.program-card-back p {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 90px 0;
    background: var(--light-gray);
}

.testimonials-section .section-title {
    color: var(--primary-teal);
    font-size: 42px;
    letter-spacing: 1px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: var(--transition-slow);
    text-align: center;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 24px;
    font-style: normal;
    color: var(--dark-text);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

.testimonial-text .highlight {
    background: var(--primary-yellow);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.testimonial-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.testimonial-avatars img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    text-align: center;
}

.testimonial-author h5 {
    font-size: 16px;
    color: var(--medium-text);
    margin: 0;
    font-weight: 400;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover,
.dot.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}

/* ========================================
   NEWS SECTION
   ======================================== */

.news-section {
    padding: 80px 0 100px;
    background: var(--primary-teal);
    position: relative;
}

.news-section .section-title {
    color: var(--white);
    font-size: 42px;
    letter-spacing: 1px;
}

.news-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
}

/* Wave divider at bottom */
.news-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 100%, 100% 100%, 0 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.news-card.featured {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.news-card.featured img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.news-card.featured .news-content {
    padding: 30px;
}

.news-card.featured h4 {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-card.small {
    background: var(--white);
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-card.small h4 {
    font-size: 18px;
    color: var(--dark-text);
    margin: 10px 0;
    line-height: 1.4;
    font-weight: 700;
}

.news-card.small .comments {
    font-size: 12px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-meta .date {
    font-size: 13px;
    color: var(--primary-yellow);
    font-weight: 700;
    text-transform: uppercase;
}

.news-meta .comments {
    font-size: 12px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-cta {
    margin-top: 10px;
}

.btn-yellow {
    display: inline-block;
    padding: 14px 35px;
    background: var(--primary-yellow);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
    font-family: 'Lato', sans-serif;
}

.newsletter-section .script {
    font-family: 'Brush Script MT', cursive;
    color: var(--primary-yellow);
    font-size: 36px;
    font-weight: 400;
    margin-right: 10px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    width: 250px;
    background: var(--white);
}

.btn-yellow-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-yellow);
    border: none;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-yellow-circle:hover {
    transform: scale(1.1);
}

/* ========================================
   STAFF SECTION
   ======================================== */

.staff-section {
    padding: 90px 0;
    background: var(--white);
}

.staff-section .section-title {
    color: var(--primary-teal);
    font-size: 42px;
    letter-spacing: 1px;
}

.staff-section .section-subtitle {
    font-size: 18px;
    color: var(--dark-text);
    font-weight: 600;
}

.staff-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.staff-card {
    text-align: center;
    transition: var(--transition);
}

.staff-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.staff-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.staff-card h4 {
    font-size: 18px;
    color: var(--dark-text);
    margin-top: 20px;
    font-weight: 700;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-side {
    background: var(--primary-teal);
    padding: 80px 60px;
}

.contact-form-side h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form textarea {
    border-radius: 15px;
    resize: none;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}

.contact-info-side {
    background: var(--white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.lighthouse-icon {
    margin-bottom: 40px;
}

.contact-details {
    text-align: center;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--light-text);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.info-item p {
    font-size: 16px;
    color: var(--dark-text);
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.contact-map {
    width: 100%;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

/* ========================================
   INSTAGRAM SECTION
   ======================================== */

.instagram-section {
    padding: 90px 0;
    background: var(--white);
}

.instagram-section .section-title {
    color: var(--primary-teal);
    font-size: 42px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.instagram-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin-top: 50px;
}

.insta-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.insta-item:hover {
    transform: scale(1.05);
    z-index: 1;
}

.insta-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.insta-item:hover img {
    transform: scale(1.1);
}

/* ========================================
   FOOTER
   ======================================== */

.main-footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 50px 0;
}

.main-footer .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.footer-nav a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

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

.footer-social a:hover {
    background: var(--primary-yellow);
    color: var(--white);
    transform: translateY(-5px);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: var(--primary-yellow);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: var(--transition);
    z-index: 998;
}

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

.scroll-to-top:hover {
    background: var(--primary-teal);
    box-shadow: 0 7px 25px rgba(0, 166, 184, 0.5);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .features-grid,
    .programs-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);

/* Homepage-specific fixes: extend hero to top and remove spacing */
.homepage .hero-section {
    margin-top: -150px;
    padding-top: 150px;
}

.homepage .contact-section {
    padding-top: 0;
}

.homepage .contact-section .contact-map {
    margin-top: 0;
    padding-top: 0;
}
    }

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

    .hero-title {
        font-size: 52px;
    }

    h2 {
        font-size: 36px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Header */
    .main-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

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

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-gray);
    }

    .nav-menu li a {
        display: block;
        padding: 20px;
        font-size: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-right {
        gap: 15px;
    }

    .phone-number span {
        display: none;
    }

    .btn-donate {
        padding: 10px 20px;
        font-size: 11px;
    }

    /* Hero */
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 48px;
    }

    .btn-hero {
        padding: 14px 35px;
        font-size: 13px;
    }

    .hero-dots {
        bottom: 20px;
    }

    /* Grids */
    .features-grid,
    .programs-grid,
    .news-grid,
    .staff-grid,
    .events-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    /* Sidebar */
    .sidebar-actions {
        bottom: 20px;
        top: auto;
        right: 20px;
        transform: none;
        flex-direction: row;
    }

    .sidebar-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    /* Footer */
    .main-footer .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Typography */
    .section-title {
        font-size: 32px;
    }

    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }

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

    .btn-hero {
        padding: 12px 28px;
        font-size: 12px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .logo-title {
        font-size: 20px;
    }

    .logo-icon svg {
        width: 40px;
        height: 48px;
    }

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

    .section-title {
        font-size: 26px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 12px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 20px; }
.mt-2 { margin-top: 40px; }
.mt-3 { margin-top: 60px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 20px; }
.mb-2 { margin-bottom: 40px; }
.mb-3 { margin-bottom: 60px; }

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}
/* ========================================
   Noble Mission School - Complete Lighthouse Theme
   Based on lighthouse.ancorathemes.com design specifications
   ======================================== */

/* CSS Variables - Exact Lighthouse Theme Colors */
:root {
    /* Primary Colors */
    --primary-teal: #4DD0D6;
    --primary-cyan: #4DD0D6;
    --primary-yellow: #f1c40f;
    --secondary-yellow: #FFC629;

    /* Text Colors */
    --dark-text: #333333;
    --medium-text: #666666;
    --light-text: #999999;
    --white: #FFFFFF;

    /* Background Colors */
    --light-gray: #f8f8f8;
    --lighter-gray: #fafafa;
    --border-gray: #e0e0e0;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.2);

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

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-teal);
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--medium-text);
    text-align: center;
    margin-bottom: 40px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text-main {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text-sub {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--light-text);
    letter-spacing: 1.5px;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu li a {
    font-size: 13px;
    font-weight: 400;
    color: var(--dark-text);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-yellow);
    transform: translateX(-50%);
    transition: var(--transition-fast);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-teal);
}

/* Header Right Area */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--medium-text);
}

.phone-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}

/* Donate button in header */
.btn-donate-header {
    padding: 10px 24px;
    border-radius: 29px;
    background-color: var(--primary-yellow);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-donate-header:hover {
    background-color: #f9b713;
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    height: 640px;
    margin-top: 72px; /* header height offset */
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.0);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 700px;
    padding: 0 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: lowercase;
    line-height: 1.1;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out 0.3s forwards;
}

.hero-title::first-letter {
    text-transform: uppercase;
}

/* Script font for "can" */
.hero-script {
    font-family: 'Pacifico', cursive;   /* UPDATED to match Lighthouse style */
    font-style: italic;
    font-weight: 400;
    color: var(--primary-yellow);
    font-size: 1.1em;
    position: relative;
    display: inline-block;
}

/* Hero Button */
.btn-hero {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: #ffffff;
    padding: 13px 34px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-hero:hover {
    background-color: #f9b713;
    box-shadow: var(--shadow-hover);
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* Hero Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -46%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ========================================
   SAY HELLO SECTION BASICS (base styles,
   detailed layout is in additional-styles.css)
   ======================================== */

.say-hello-section {
    background-color: #ffffff;
}

/* ========================================
   HOW WE HELP SECTION (teal band)
   ======================================== */

.help-section {
    background-color: var(--primary-teal);
    padding: 80px 0 70px;
    color: #ffffff;
}

.help-section .section-title {
    color: #ffffff;
    margin-bottom: 10px;
}

.help-section .section-subtitle {
    color: #eaffff;
    margin-bottom: 50px;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: var(--transition);
}

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

.feature-image {
    height: 180px;
    overflow: hidden;
}

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

.feature-body {
    padding: 22px 22px 10px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--medium-text);
}

/* HOW WE HELP Icons and text (alternate style used elsewhere if needed) */
.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.feature-card-alt {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   FACILITIES ICON ROW
   ======================================== */

.facilities-section {
    padding: 80px 0 70px;
    background-color: #ffffff;
}

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

.facilities-row {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.facility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.facility-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.facility-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-text);
}

/* ========================================
   MISSION / NEXT EVENTS SECTION
   ======================================== */

.mission-events-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
}

.mission-column,
.events-column {
    flex: 1 1 50%;
    padding: 80px 50px;
}

.mission-column {
    border-right: 1px solid var(--border-gray);
}

.mission-title,
.events-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 15px;
    color: var(--medium-text);
    margin-bottom: 30px;
}

/* Mission tabs */
.mission-tabs {
    display: flex;
    gap: 12px;
}

.mission-tab {
    padding: 10px 24px;
    border-radius: 24px;
    border: 1px solid #e0e0e0;
    background-color: #f5f5f5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--medium-text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.mission-tab.active {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: #ffffff;
}

/* Events list */
.event-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.event-thumbnail {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.event-meta {
    font-size: 12px;
    color: var(--light-text);
}

.btn-more-events {
    margin-top: 12px;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background-color: var(--primary-yellow);
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   GET STARTED SECTION (Teal background with steps)
   ======================================== */

.get-started-section {
    background-color: var(--primary-teal);
    color: #ffffff;
    padding: 80px 0 70px;
    position: relative;
}

.get-started-section .section-title {
    color: #ffffff;
}

.get-started-section .section-subtitle {
    color: #eaffff;
    margin-bottom: 50px;
}

.get-started-steps {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.get-started-step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    font-weight: 700;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-text {
    font-size: 14px;
    color: #eaffff;
}

.step-arrow {
    margin-top: 10px;
    font-size: 22px;
}

/* ========================================
   PROGRAMS SECTION (Circle images)
   ======================================== */

.programs-section {
    padding: 80px 0 70px;
    background-color: #ffffff;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    justify-items: center;
    margin-top: 40px;
}

.program-card {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

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

.program-card-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.program-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}

.program-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #ffffff;
}

.program-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.program-icon {
    font-size: 40px;
    margin-top: 4px;
}

/* More Programs Button */
.btn-more-programs {
    display: inline-block;
    margin: 40px auto 0;
    padding: 12px 28px;
    border-radius: 30px;
    background-color: var(--primary-yellow);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 80px 0 90px;
    background-color: #f8f8f8;
    text-align: center;
}

.testimonials-slider {
    position: relative;
    max-width: 700px;
    margin: 40px auto 0;
}

.testimonial-item {
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-slow);
    position: absolute;
    inset: 0;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--medium-text);
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-teal);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d6d6d6;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active {
    background-color: var(--primary-yellow);
}

/* ========================================
   NEWS & UPDATES SECTION
   ======================================== */

.news-section {
    padding: 80px 0 70px;
    background-color: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 22px 24px 24px;
}

.news-meta {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 8px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 14px;
    color: var(--medium-text);
    margin-bottom: 10px;
}

.btn-more-news {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    border-radius: 30px;
    background-color: var(--primary-yellow);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Newsletter strip */
.newsletter-strip {
    margin-top: 40px;
    padding: 20px 24px;
    background-color: #f7fafd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.newsletter-title {
    font-family: 'Pacifico', cursive;
    font-size: 24px;
    color: var(--primary-yellow);
}

.newsletter-subtitle {
    font-size: 14px;
    color: var(--medium-text);
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-input {
    padding: 10px 16px;
    border-radius: 50px 0 0 50px;
    border: 1px solid var(--border-gray);
    outline: none;
    width: 220px;
    font-size: 14px;
}

.newsletter-button {
    padding: 10px 18px;
    border-radius: 0 50px 50px 0;
    background-color: var(--primary-yellow);
    color: #ffffff;
    font-size: 16px;
}

/* ========================================
   STAFF SECTION
   ======================================== */

.staff-section {
    padding: 80px 0 70px;
    background-color: #ffffff;
}

.staff-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.staff-card {
    text-align: center;
}

.staff-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    box-shadow: var(--shadow-md);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.staff-role {
    font-size: 12px;
    color: var(--light-text);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 80px 0 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.contact-form-card {
    background-color: var(--primary-teal);
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
}

.contact-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 14px;
}

.contact-textarea {
    width: 100%;
    min-height: 120px;
    border-radius: 20px;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 16px;
}

.btn-contact-submit {
    padding: 10px 22px;
    border-radius: 30px;
    background-color: #ffffff;
    color: var(--primary-teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Contact Info card */
.contact-info-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.contact-info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-text);
}

.contact-info-text {
    font-size: 14px;
    color: var(--medium-text);
}

/* Map */
.map-wrapper {
    margin-top: 0;
}

/* ========================================
   FOLLOW US SECTION (Social Icons)
   ======================================== */

.follow-section {
    padding: 40px 0 60px;
    text-align: center;
    background-color: #ffffff;
}

.follow-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.follow-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.follow-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    color: var(--primary-teal);
    font-size: 18px;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    padding: 20px 0;
    background-color: #f8f8f8;
    text-align: center;
    font-size: 13px;
    color: var(--light-text);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 9999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991px) {
    .header-inner {
        padding: 14px 16px;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 20px 18px;
        gap: 12px;
        border-top: 1px solid var(--border-gray);
        box-shadow: var(--shadow-md);
        transform: translateY(-200%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-slow);
    }

    .main-nav.active .nav-menu {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-right {
        display: none;
    }

    .hero-title {
        font-size: 46px;
    }

    .hero-section {
        height: 520px;
    }

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

    .mission-events-section {
        flex-direction: column;
    }

    .mission-column,
    .events-column {
        padding: 50px 24px;
    }

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

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

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

@media (max-width: 575px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .facilities-row {
        gap: 20px;
    }

    .get-started-steps {
        gap: 40px;
    }

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

    .newsletter-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-input {
        flex: 1;
        width: auto;
    }

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