@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Manrope:wght@300;400;500;600;700;800&display=swap");

/* ============================================
   WEBSITE-SPECIFIC STYLES
   Separate from admin system styles
   ============================================ */

:root {
    /* Endago brand palette */
    --website-primary: #374d7b;
    --website-primary-dark: #2a3a5e;
    --website-primary-light: #5f78ab;
    --website-primary-lighter: #dfe8f5;
    --website-secondary: #2a3a5e;
    --website-footer-bg: #374d7b;
    --website-text-dark: #1a1a1a; /* Dark text */
    --website-text: #1a1a1a;
    --website-text-light: #666666;
    --website-bg: #ffffff;
    --website-bg-light: #f3f7fc;
    --website-border: #d9e3f0;
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Fraunces", "Georgia", serif;

    /* Health-specific colors */
    --health-green: #28a745;
    --health-blue: #29b5c5;
    --health-light: #edf9fb;

    /* Override Bootstrap primary color */
    --bs-primary: #374d7b;
    --bs-primary-rgb: 55, 77, 123;
    --bs-primary-dark: #2a3a5e;
}

/* ==================== RESET & BASE ==================== */
/* Override Bootstrap primary color globally for website */
body.website-body .btn-primary,
body.website-body .bg-primary,
body.website-body .badge.bg-primary,
body.website-body .card-header.bg-primary,
body.website-body .text-primary,
body.website-body .border-primary {
    --bs-primary: var(--website-primary) !important;
    --bs-primary-rgb: 55, 77, 123 !important;
}

body.website-body {
    font-family: var(--font-body);
    color: var(--website-text);
    background: var(--website-bg);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body.website-body h1,
body.website-body h2,
body.website-body h3,
body.website-body .section-heading-pn,
body.website-body .hero-content h1 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.website-body * {
    box-sizing: border-box;
}

/* ==================== HEADER & NAVIGATION ==================== */
.website-header {
    background: var(--website-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.website-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.website-logo {
    max-height: 50px;
    width: auto;
}

.website-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

.website-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s;
    position: relative;
}

.website-nav .nav-link:hover,
.website-nav .nav-link.active {
    color: var(--website-primary-light);
}

.website-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--website-primary);
}

.icon {
    color: var(--website-primary);
}

/* Section backgrounds */
.section-bg-white {
    background: var(--website-bg-light);
}

.section-tint {
    background: linear-gradient(135deg, rgba(55, 77, 123, 0.05) 0%, rgba(16, 86, 65, 0.05) 100%);
}

/* Clean typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--website-secondary);
    font-weight: 600;
    line-height: 1.2;
}

/* Health badge styles */
.badge {
    border-radius: 6px;
    font-weight: 500;
}

.badge.bg-primary {
    background: var(--website-primary) !important;
}

/* Clean list styles */
.service-list li:before {
    color: var(--health-green);
}

/* Stats and metrics */
.stat-value {
    color: var(--website-primary);
    font-weight: 700;
}

/* Clean hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Health-focused gradients */
.health-gradient {
    background: linear-gradient(135deg, var(--website-primary) 0%, var(--website-secondary) 100%);
}

.health-gradient-light {
    background: linear-gradient(135deg, rgba(55, 77, 123, 0.1) 0%, rgba(16, 86, 65, 0.1) 100%);
}

.btn-donate {
    background: var(--website-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-donate:hover {
    background: var(--website-primary-dark);
    color: white;
}

/* ==================== HERO / SLIDER ==================== */
.hero-area {
    position: relative;
    min-height: 500px;
    max-height: 550px;
    height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(16, 86, 65, 0.08), #ffffff 65%);
    color: #ffffff;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-area {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }
}

.hero-area .slick-slider {
    width: 100%;
    height: auto;
    position: relative;
}

.hero-area .slick-list,
.hero-area .slick-track {
    height: auto;
}

.hero-area .slick-prev,
.hero-area .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid rgba(16, 86, 65, 0.25);
    border-radius: 50%;
    color: var(--brand);
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 36, 0.08);
}

.hero-area .slick-prev:hover,
.hero-area .slick-next:hover {
    background: #f5f7f4;
    border-color: rgba(16, 86, 65, 0.45);
    transform: translateY(-50%) scale(1.05);
}

.hero-area .slick-prev {
    left: 20px;
}

.hero-area .slick-next {
    right: 20px;
}

.hero-area .slick-prev iconify-icon,
.hero-area .slick-next iconify-icon {
    color: var(--brand);
}

.hero-area .slick-dots {
    bottom: 20px;
    z-index: 10;
}

.hero-area .slick-dots li button:before {
    color: rgba(16, 86, 65, 0.35);
    font-size: 12px;
}

.hero-area .slick-dots li.slick-active button:before {
    color: var(--brand);
}

.hero-slide {
    width: 100%;
    height: 100%;
    min-height: 520px;
    max-height: none;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Ensure images fit properly regardless of dimensions */
.hero-slide[style*="background-image"] {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-slide-fitmeal {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.hero-slide-fitmeal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(13, 68, 50, 0.85) 0%,
        rgba(13, 68, 50, 0.35) 55%,
        rgba(13, 68, 50, 0.05) 100%
    );
    z-index: 1;
}

.hero-slide-fitmeal .container {
    position: relative;
    z-index: 2;
}

.hero-slide-fitmeal .hero-content {
    max-width: 720px;
    color: #ffffff;
    padding: 2rem 0;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin-bottom: 1rem !important;
}

.hero-slide-fitmeal .hero-content h1 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide-fitmeal .hero-content p.lead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem !important;
    margin-top: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-actions .btn-primary {
    background: var(--website-primary);
    border-color: var(--website-primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    padding: 1.125rem 2.5rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(55, 77, 123, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.hero-actions .btn-primary:hover {
    background: var(--website-primary-dark);
    border-color: var(--website-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 77, 123, 0.3);
}

.hero-actions .btn-outline-light {
    padding: 1.125rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.hero-actions .btn-outline-light:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--website-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-accent-nutrition {
    background: var(--website-secondary);
    border-color: var(--website-secondary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    padding: 1.125rem 2.5rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(16, 86, 65, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.hero-actions .btn-accent-nutrition:hover {
    background: #0a3d2a;
    border-color: #0a3d2a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 86, 65, 0.3);
}

.hero-slide-fitmeal .hero-content .btn-primary {
    background: #ffd700;
    border-color: #ffd700;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(55, 77, 123, 0.2);
}

.hero-slide-fitmeal .hero-content .btn-primary:hover {
    background: #ffd700;
    border-color: #ffd700;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 77, 123, 0.3);
}

.hero-slide-fitmeal .hero-content .btn-outline-light {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.hero-slide-fitmeal .hero-content .btn-outline-light:hover {
    background: #ffffff;
    color: #ffd700;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .hero-slide-fitmeal .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-slide-fitmeal {
        min-height: 70vh;
    }
    
    .hero-slide-fitmeal .hero-content {
        padding: 1rem 0;
    }
    
    .hero-slide-fitmeal .hero-content .btn-primary,
    .hero-slide-fitmeal .hero-content .btn-outline-light {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slide-fitmeal {
        min-height: 60vh;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-slide-fitmeal .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-slide-fitmeal .hero-content p.lead {
        font-size: 1rem;
    }
    
    .hero-kicker {
        font-size: 0.7rem;
    }
    
    .hero-actions {
        gap: 1rem;
    }
    
    .hero-slide-fitmeal .hero-content .btn-primary,
    .hero-slide-fitmeal .hero-content .btn-outline-light {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

/* Overlapping cards that sit visually over the hero area */
.hero-area .overlap-cards {
    margin-top: -6rem;
    position: relative;
    z-index: 6;
}
.hero-area .overlap-cards .card {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}
.hero-area .overlap-cards .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

/* Compact features strip under hero (small icons + short text) */
.features-strip {
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}
.features-strip .feature-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 160px;
}
.features-strip .feature-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--website-primary);
    color: white;
    box-shadow: 0 6px 18px rgba(15, 23, 36, 0.08);
}
.features-strip .feature-item .text {
    font-size: 0.95rem;
    color: #24303a;
}

@media (max-width: 991.98px) {
    .hero-area .overlap-cards {
        margin-top: 1rem;
    }
}

/* For very wide images - ensure they cover the height */
@media (min-width: 1200px) {
    .hero-slide {
        background-size: cover;
        background-position: center center;
    }
}

/* For portrait images - ensure they cover the width */
@media (max-width: 768px) {
    .hero-slide {
        background-size: cover;
        background-position: center center;
        min-height: 420px;
        height: 52vh;
    }
}

/* Slider Loader */
.slider-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.slider-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner-wrapper {
    text-align: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--website-border);
    border-top-color: var(--website-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==================== SECTIONS ==================== */
.website-section {
    padding: 4rem 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--website-text-dark);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--website-text-light);
    font-size: 1.1rem;
}

/* ==================== SECTION HEADS ==================== */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.section-subtitle {
    color: var(--website-text-light);
    margin-bottom: 0;
}

/* ==================== CARDS ==================== */
.website-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.website-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.website-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.website-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--website-text-dark);
}

.website-card-title a,
.card-title a {
    color: #252525 !important;
    text-decoration: none !important;
    transition: color 0.3s;
}

.website-card-title a:hover,
.card-title a:hover {
    color: var(--website-primary) !important;
}

.website-card-text {
    color: var(--website-text-light);
    flex: 1;
    margin-bottom: 1rem;
}

.website-card-footer {
    padding: 1rem 1.5rem;
    background: transparent;
    border-top: 1px solid var(--website-border);
    margin-top: auto;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: var(--website-secondary);
    color: white;
    padding: 4rem 0;
}

/* ==================== ABOUT US SECTION (Homepage) ==================== */
.about-us-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-us-row {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.about-us-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    max-width: 600px;
    background-image: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.05) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    background-position: 0 0;
    z-index: 0;
    pointer-events: none;
}

.about-us-image-col {
    position: relative;
    z-index: 1;
}

.about-us-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    background: #f5f5f5;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-us-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 8px solid #ffffff;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.about-us-content-col {
    background: #ffffff;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
}

.about-us-content {
    width: 100%;
    max-width: 100%;
}

.about-us-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--website-secondary);
    margin-bottom: 1rem;
}

.about-us.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--website-secondary);
    margin-bottom: 1rem;
}

.about-us-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--website-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-us-separator {
    width: 60px;
    height: 3px;
    background: var(--website-primary);
    margin-bottom: 2rem;
}

.about-us-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--website-text);
    margin-bottom: 2rem;
}

.about-us-signature {
    margin-bottom: 2rem;
    color: var(--website-text);
}

.about-us-signature p {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.btn-about-read-more {
    background: var(--website-primary);
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-about-read-more:hover {
    background: var(--website-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 77, 123, 0.3);
}

@media (max-width: 991px) {
    .about-us-content-col {
        padding: 3rem 2rem;
    }

    .about-us-title {
        font-size: 2rem;
    }

    .about-us-image-wrapper {
        min-height: 400px;
    }

    .about-us-section::before {
        display: none;
    }

    .about-us-row {
        border-radius: 0;
    }
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.service-times-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-times-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-time-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-time-item:last-child {
    border-bottom: none;
}

.service-time-item strong {
    font-weight: 600;
}

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== FOOTER ==================== */
.website-footer {
    background: #374D7B;
    color: rgba(255, 255, 255, 0.95);
    padding: 4rem 0 0;
    margin-top: 4rem;
    position: relative;
}

.footer-content {
    padding-bottom: 3rem;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title iconify-icon {
    color: var(--website-primary-light);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff !important;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-link:hover {
    background: var(--website-primary-light);
    border-color: var(--website-primary-light);
    transform: translateY(-3px);
    color: #fff;
}

.footer-event-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-event-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--website-border);
    transition: all 0.3s ease;
}

.footer-event-item:hover {
    background: var(--website-bg-light);
    padding-left: 0.5rem;
}

.footer-event-item:last-child {
    border-bottom: none;
}

.footer-event-link {
    color: var(--website-text);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.footer-event-link:hover {
    color: var(--website-primary);
}

.footer-event-date {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.92) !important;
}

.footer-contact-item a,
.footer-contact-item a:link,
.footer-contact-item a:visited,
.footer-contact-item span {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none !important;
}

.footer-contact-item iconify-icon {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-credit a {
    color: var(--website-primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: #9fb2d6;
    text-decoration: underline;
}

/* ==================== BUTTONS ==================== */
/* Override Bootstrap primary colors to match the website brand */
.btn-primary,
.bg-primary,
.badge.bg-primary,
.card-header.bg-primary {
    background-color: var(--website-primary) !important;
    border-color: var(--website-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--website-primary-dark) !important;
    border-color: var(--website-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 77, 123, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--website-primary) !important;
    color: var(--website-primary) !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--website-primary) !important;
    border-color: var(--website-primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 77, 123, 0.3);
}

.btn-outline-primary:hover {
    background-color: var(--website-primary-light) !important;
    border-color: var(--website-primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 77, 123, 0.2);
}

.badge.bg-primary {
    background-color: var(--website-primary) !important;
    color: #fff !important;
}

.card-header.bg-primary {
    background-color: var(--website-primary) !important;
    color: #fff !important;
    border-color: var(--website-primary) !important;
}

/* Override any Bootstrap primary text colors */
.text-primary {
    color: var(--website-primary) !important;
}

/* Override Bootstrap primary border colors */
.border-primary {
    border-color: var(--website-primary) !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

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

    .website-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    /* About Page Content Constraints */
    .about-page-content {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        overflow-x: hidden;
        word-break: break-word;
    }

    .about-page-content * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .about-page-content img,
    .about-page-content iframe,
    .about-page-content video,
    .about-page-content embed,
    .about-page-content object {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    .about-page-content table {
        max-width: 100% !important;
        display: block;
        overflow-x: auto;
        table-layout: auto;
    }

    .about-page-content pre,
    .about-page-content code {
        max-width: 100%;
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    .about-page-content div,
    .about-page-content p,
    .about-page-content span {
        max-width: 100%;
        overflow-wrap: break-word;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.pt-60 {
    padding-top: 3.75rem;
}

.pb-60 {
    padding-bottom: 3.75rem;
}

.pb-40 {
    padding-bottom: 2.5rem;
}

/* ==================== PARTNERS ==================== */
.partner-logo-wrapper {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.3s;
}

.partner-logo-wrapper:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.partner-logo-wrapper:hover .partner-logo {
    filter: grayscale(0%) opacity(1) !important;
}

.partner-card {
    transition: all 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ==================== SECTION BACKGROUNDS ==================== */
.section-bg-white {
    background-color: #ffffff;
}

.section-bg-light {
    background-color: #f8f9fa;
    position: relative;
}

.section-bg-light .container {
    position: relative;
    z-index: 1;
}

/* About Us Section - Gradient from white to light gray */
.about-us-section {
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
}

/* News Section - Light gray background */
section.section-bg-light:nth-of-type(3) {
    background-color: #f8f9fa;
}

/* Events Section - White background */
section.section-bg-white:nth-of-type(4) {
    background-color: #ffffff;
}

/* Gallery Section - Slightly darker gray for contrast */
section.section-bg-light:nth-of-type(5) {
    background-color: #f1f3f5;
}

/* Partners Section - Clean white with subtle border */
section.section-bg-white:last-of-type {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==================== GALLERY SLIDER ==================== */
.gallery-slider-wrapper {
    position: relative;
    padding: 0 40px;
}

.gallery-slider {
    overflow: hidden;
}

.gallery-slide {
    padding: 0 10px;
    text-align: center;
}

.gallery-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-slide a {
    display: block;
    text-decoration: none;
}

.gallery-slider .slick-prev,
.gallery-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 4px solid var(--website-border);
    border-radius: 50%;
    color: var(--website-primary);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.gallery-slider .slick-prev:hover,
.gallery-slider .slick-next:hover {
    opacity: 1;
    background: var(--website-primary);
}

.gallery-slider .slick-prev {
    left: 10px;
}

.gallery-slider .slick-prev::before {
    content: "‹";
    font-size: 24px;
    line-height: 1;
    color: var(--website-primary);
}

.gallery-slider .slick-next {
    right: 10px;
}

.gallery-slider .slick-next::before {
    content: "›";
    font-size: 24px;
    line-height: 1;
    color: var(--website-primary);
}

.gallery-slider .slick-prev:before {
    content: "←";
}

.gallery-slider .slick-next:before {
    content: "→";
}

.gallery-slider .slick-prev::after,
.gallery-slider .slick-next::after {
    display: none;
}

/* ==================== STATS BAND ==================== */
.stats-band {
    background: linear-gradient(120deg, #fff5f4, #ffffff);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    height: 100%;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f1724;
}

.stat-label {
    font-size: 0.95rem;
    color: #6b7280;
}

/* ==================== PROGRAMS SLIDER ==================== */
.programs-slider .slick-prev,
.programs-slider .slick-next,
.testimonials-slider .slick-prev,
.testimonials-slider .slick-next {
    background: var(--website-primary);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
    color: white;
    font-size: 18px;
}

.testimonials-slider .slick-prev {
    left: -20px;
}

.testimonials-slider .slick-next {
    right: -20px;
}

.programs-slider .slick-prev:hover,
.programs-slider .slick-next:hover,
.testimonials-slider .slick-prev:hover,
.testimonials-slider .slick-next:hover {
    background: var(--website-primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 149, 0, 0.4);
}

.programs-slider .slick-prev {
    left: -10px;
}

.programs-slider .slick-next {
    right: -10px;
}

.program-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(15, 23, 36, 0.08);
    border: 1px solid rgba(15, 23, 36, 0.05);
}

.program-card-body {
    padding: 2rem;
}

.program-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(55, 77, 123, 0.1);
    color: var(--website-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.program-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(55, 77, 123, 0.1);
    color: var(--website-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-link {
    font-weight: 600;
    color: #0f1724;
    text-decoration: none;
    border-bottom: 2px solid rgba(220, 53, 69, 0.3);
}

.program-link:hover {
    color: var(--website-primary);
    border-bottom-color: var(--website-primary);
}

/* ==================== PLANS ==================== */
.plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(15, 23, 36, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 36, 0.08);
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--website-primary);
    transform: translateY(-6px);
}

.plan-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(55, 77, 123, 0.1);
    color: var(--website-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0 1.5rem;
}

.plan-price span {
    font-size: 0.95rem;
    color: #6b7280;
}

.plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    color: #4b5563;
}

.plan-list li {
    padding: 0.35rem 0;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-slider-wrapper {
    position: relative;
    padding: 0 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.testimonials-slider .slick-dots {
    bottom: -50px;
}

.testimonials-slider .slick-dots li button:before {
    color: rgba(55, 77, 123, 0.3);
    font-size: 12px;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-slider .slick-dots li.slick-active button:before {
    color: var(--website-primary);
    opacity: 1;
    transform: scale(1.2);
}

.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem 3rem;
    box-shadow: 0 8px 32px rgba(15, 23, 36, 0.12);
    height: auto;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 149, 0, 0.1);
    margin: 0 1rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(15, 23, 36, 0.18);
    border-color: rgba(255, 149, 0, 0.3);
}

.testimonial-quote {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3rem;
    color: rgba(255, 149, 0, 0.12);
    line-height: 1;
    font-family: Georgia, serif;
    font-weight: 700;
}

.testimonial-rating {
    margin-bottom: 1.2rem;
}

.testimonial-rating span {
    color: #f59e0b;
    margin-right: 3px;
    font-size: 1.1rem;
}

.testimonial-content {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex: 1;
    display: flex;
    align-items: center;
}

.testimonial-person {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-person .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(255, 149, 0, 0.2);
    flex-shrink: 0;
}

.testimonial-person .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-person .person-info {
    flex: 1;
}

.testimonial-person .name {
    font-weight: 700;
    color: #111827;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.testimonial-person .role {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.4;
}

/* ==================== ARTICLES ==================== */
.article-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 36, 0.08);
    height: 100%;
}

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

.article-placeholder {
    width: 100%;
    height: 200px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.article-body {
    padding: 1.5rem;
}

@media (max-width: 991.98px) {
    .section-head {
        align-items: flex-start;
    }

    .testimonials-slider-wrapper {
        padding: 0 40px;
        max-width: 1200px;
    }

    .testimonials-slider .slick-prev,
    .testimonials-slider .slick-next {
        display: none !important;
    }

    .testimonial-card {
        padding: 1.8rem 2.5rem;
        margin: 0 0.5rem;
        min-height: 180px;
    }

    .testimonial-content {
        font-size: 1rem;
    }

    .testimonial-quote {
        font-size: 2.8rem;
        top: 16px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .testimonials-slider-wrapper {
        padding: 0 20px;
        max-width: 100%;
    }

    .testimonial-card {
        padding: 1.5rem 2rem;
        margin: 0;
        min-height: 160px;
        border-radius: 20px;
    }

    .testimonial-quote {
        font-size: 2.5rem;
        top: 12px;
        right: 16px;
    }

    .testimonial-content {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .testimonial-person {
        gap: 0.8rem;
        padding-top: 0.8rem;
    }

    .testimonial-person .avatar {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }

    .testimonial-person .name {
        font-size: 0.95rem;
    }

    .testimonial-person .role {
        font-size: 0.85rem;
    }

    .testimonials-slider .slick-dots {
        bottom: -40px;
    }

    .testimonials-slider .slick-dots li button:before {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .gallery-slider-wrapper {
        padding: 0 30px;
    }

    .gallery-slider .slick-prev {
        left: -15px;
    }

    .gallery-slider .slick-next {
        right: -15px;
    }

    .gallery-slide img {
        height: 200px;
    }
}

/* Fix all link colors to remove blue */
body.website-body
    a:not(.btn):not(.btn-primary):not(.btn-outline-primary):not(.nav-link):not(
        .footer-links a
    ):not(.footer-credit a) {
    color: #252525 !important;
}

body.website-body
    a:not(.btn):not(.btn-primary):not(.btn-outline-primary):not(.nav-link):not(
        .footer-links a
    ):not(.footer-credit a):hover {
    color: var(--website-primary) !important;
}
