/* ===========================
   YFP — Youth For Palestine
   Custom Stylesheet
   =========================== */

/* ----- CSS Custom Properties ----- */
:root {
    --primary: #1B3A6B;
    --accent: #E8821A;
    --background: #FFFFFF;
    --surface: #F5F5F5;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --dark-footer: #111827;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ----- Reset & Base ----- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 76px;
    /* offset for fixed navbar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

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

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

/* ----- Section Shared Styles ----- */
section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 18px;
}

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

/* ----- Reveal Animation ----- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 1. NAVBAR ==================== */
#navbar {
    background: rgba(255, 255, 255, 0.97);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1000;
}

#navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background: #fff !important;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    /* line-height: 1.1; */
    margin-bottom: 10px;

}

.logo-yfp {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
    display: inline-block;
}

.logo-yfp img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text) !important;
    padding: 8px 18px !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* ----- Buttons ----- */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    border: none;
}

.btn-accent:hover {
    background-color: #d0700f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 130, 26, 0.35);
}

.btn-accent.btn-sm {
    padding: 6px 18px;
    font-size: 0.85rem;
}

.user-icon-btn {
    background: none;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    box-shadow: none;
}
.user-icon-btn:hover,
.user-icon-btn:focus,
.user-icon-btn:focus-visible,
.user-icon-btn:active,
.user-icon-btn[aria-expanded="true"] {
    background: none;
    color: var(--accent);
    outline: none;
    box-shadow: none;
    border: none;
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

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

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #122a52;
    border-color: #122a52;
}

/* ----- Card Hover Lift ----- */
.card-hover {
    transition: var(--transition);
}

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

/* ==================== 2. HERO ==================== */
#hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #fff 0%, #f0f4fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(27, 58, 107, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-left .section-tag {
    margin-bottom: 20px;
}

.hero-left h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.hero-img-wrapper {
    position: relative;
}

/* ---- Hero Carousel ---- */
#heroCarousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

#heroCarousel .carousel-inner {
    border-radius: 20px;
}

.hero-img {
    width: 100%;
    height: 460px;
    border-radius: 20px;
    object-fit: cover;
}

/* Carousel indicators — custom dots */
#heroCarousel .carousel-indicators {
    bottom: 16px;
}

#heroCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    margin: 0 5px;
    transition: var(--transition);
}

#heroCarousel .carousel-indicators button.active {
    background-color: var(--accent);
    border-color: #fff;
    width: 12px;
    height: 12px;
}

/* Carousel controls — custom arrows */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    margin: 0 12px;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    filter: invert(15%) sepia(60%) saturate(1000%) hue-rotate(185deg);
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    white-space: nowrap;
    z-index: 5;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    margin-right: 6px;
}

/* Page load animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-left {
    animation: fadeInLeft 0.9s ease forwards;
}

.hero-right {
    animation: fadeInRight 0.9s ease 0.3s forwards;
    opacity: 0;
}

/* ==================== 3. ABOUT US ==================== */
#about-us {
    background: var(--white);
}

.about-us-img-wrapper {
    position: relative;
    display: inline-block;
}

.about-us-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-us-experience {
    position: absolute;
    bottom: -15px;
    right: -25px;
    background: var(--accent);
    color: #fff;
    padding: 18px 26px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.exp-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.9;
}

.about-us-content {
    padding-left: 20px;
}

.about-us-content h2 {
    margin-bottom: 18px;
}

.about-us-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-us-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.about-us-values {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.value-item i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 4px;
    width: 28px;
    text-align: center;
}

.value-item h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.value-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==================== SCOPE OF WORK ==================== */
#scope {
    background: var(--surface);
}

.scope-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    height: 100%;
}

.scope-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.scope-card-header i {
    font-size: 2rem;
}

.scope-in .scope-card-header i {
    color: #28a745;
}

.scope-out .scope-card-header i {
    color: #dc3545;
}

.scope-card-header h4 {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: var(--primary);
}

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

.scope-list li {
    font-size: 1rem;
    color: var(--text);
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.scope-list li:last-child {
    border-bottom: none;
}

.scope-list li i {
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.scope-in .scope-list li i {
    color: #28a745;
}

.scope-out .scope-list li i {
    color: #dc3545;
}

#about {
    background: var(--surface);
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.problem-card-accent {
    height: 4px;
    background: var(--accent);
}

.problem-card-body {
    padding: 36px 28px;
}

.problem-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.problem-card-body h4 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--primary);
}

.problem-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==================== 4. OUR SOLUTION ==================== */
#solution {
    background: var(--white);
}

.solution-card {
    padding: 36px 28px 28px;
    position: relative;
}

.solution-line {
    width: 100%;
    height: 4px;
    background: var(--accent);
    margin-bottom: 28px;
    border-radius: 2px;
}

.solution-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 22px;
}

.solution-card h4 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--primary);
}

.solution-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== 5. PROGRAMS ==================== */
#programs {
    background: var(--surface);
}

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.program-card-top {
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.program-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card-top i {
    font-size: 2.8rem;
    color: var(--white);
}

.program-card-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.program-card-body h4 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: var(--primary);
}

.program-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.program-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 12px;
}

.hours-badge,
.days-badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f0f4ff;
    color: var(--primary);
}

.hours-badge i,
.days-badge i,
.status-badge i {
    font-size: 0.8rem;
    color: var(--accent);
}

.status-badge.onsite {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.hybrid {
    background: #fff3e0;
    color: #e65100;
}

.status-badge.onsite i,
.status-badge.hybrid i {
    color: inherit;
}

.program-link {
    position: absolute;
    bottom: 15px;
    left: 28px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-link:hover {
    color: #d0700f;
    gap: 10px;
}

/* ==================== 6. IMPACT NUMBERS ==================== */
#impact {
    position: relative;

    background-attachment: fixed;
    z-index: 0;
}

#impact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 58, 107, 0.5);
    z-index: 0;
}

#impact .container {
    position: relative;
    z-index: 1;
}

#impact .section-header h2 {
    color: var(--white);
}

.impact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.impact-stat {
    padding: 30px 10px;
}

.counter,
.counter-suffix {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.counter-suffix {
    font-size: 2.5rem;
}

.impact-label {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 10px;
}

/* ==================== 7. ACCOMPLISHMENTS ==================== */
#accomplishments {
    background: var(--white);
}

.accomplishment-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 28px 20px 50px;
    text-align: center;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.accomplishment-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto 16px;
    border: 3px solid var(--surface);
    flex-shrink: 0;
}

.accomplishment-card h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--primary);
    flex-shrink: 0;
}

.accomplishment-badge {
    display: inline-block;
    background: #fff3e6;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.accomplishment-card>p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 0;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.accomplishment-quote {
    font-style: italic;
    color: var(--accent) !important;
    font-weight: 500;
    margin-top: 8px !important;
    margin-bottom: 6px !important;
    flex-shrink: 0;
}

.accomplishment-card .program-link {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* ==================== 8. FOCUS AREAS ==================== */
#focus {
    background: var(--surface);
}

.focus-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.focus-card-top {
    height: 350px;
    overflow: hidden;
    width: 100%;
}

.focus-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-card-top.sdg-17-bg {
    background-color: #19486A;
}

.focus-card-body {
    padding: 28px 24px;
}

.focus-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.focus-icon-box span {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
}

.focus-icon-box.sdg-17 {
    background-color: #19486A;
}

.focus-card-body h4 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--primary);
}

.focus-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==================== 9. SUPPORT US ==================== */
#support {
    background: var(--white);
    padding-top: 0;
}

.wave-separator {
    margin-top: -2px;
    margin-bottom: 60px;
}

.wave-separator svg {
    display: block;
    width: 100%;
    height: 80px;
}

#support h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.support-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 32px;
}

.support-cta {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.whatsapp-note {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.whatsapp-note a {
    color: #25D366;
    font-weight: 600;
}

.whatsapp-note a:hover {
    text-decoration: underline;
}

/* ==================== 10. GET INVOLVED ==================== */
#get-involved {
    background: var(--primary);
    padding: 100px 0;
}

#get-involved .section-header h2 {
    color: var(--white);
}

.involved-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.involved-card {
    border-radius: var(--radius);
    padding: 44px 36px;
    height: 100%;
}

.volunteer-card {
    background: var(--white);
    box-shadow: var(--shadow);
}

.partner-card {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.involved-icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.volunteer-card h4,
.partner-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.volunteer-card h4 {
    color: var(--primary);
}

.partner-card h4 {
    color: var(--white);
}

.volunteer-card p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.partner-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.volunteer-card .form-control {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
}

.volunteer-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 130, 26, 0.15);
}

.success-message {
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.success-message h5 {
    color: var(--primary);
    margin-bottom: 8px;
}

.success-message p {
    color: var(--text-light);
}

/* ==================== 11. FOOTER ==================== */
footer {
    background: var(--dark-footer);
    color: #ccc;
    padding: 70px 0 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
    letter-spacing: 2px;
}

.footer-logo-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    display: block;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: #fff;
}

/* Instagram */
.social-icons .social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* LinkedIn */
.social-icons .social-linkedin:hover {
    background: #0A66C2;
}

/* Facebook */
.social-icons .social-facebook:hover {
    background: #1877F2;
}

/* WhatsApp */
.social-icons .social-whatsapp:hover {
    background: #25D366;
}

.footer-links h5,
.footer-contact h5 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbb;
    font-size: 0.95rem;
}

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

.footer-contact ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #bbb;
}

.footer-contact ul li i {
    width: 18px;
    margin-right: 8px;
    color: var(--accent);
}

.footer-contact ul li a {
    color: #bbb;
}

.footer-contact ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 50px;
    padding-bottom: 24px;
}

.footer-bottom hr {
    border-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
}

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

/* Tablet */
@media (max-width: 991.98px) {
    .hero-left h1 {
        font-size: 2.5rem;
    }

    .hero-left {
        text-align: center;
        margin-bottom: 50px;
    }

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

    .hero-img-wrapper {
        padding: 0 20px;
    }

    .hero-floating-card {
        left: -10px;
    }

    .hero-img {
        height: 380px;
    }

    section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .navbar .btn-accent {
        margin-top: 10px;
    }

    #support h2 {
        font-size: 2.2rem;
    }

    .impact-stat {
        padding: 20px 5px;
    }

    .counter {
        font-size: 3rem;
    }

    /* About Us — Tablet */
    .about-us-content {
        padding-left: 0;
        text-align: center;
        margin-top: 50px;
    }

    .about-us-values {
        align-items: center;
    }

    .value-item {
        text-align: left;
        max-width: 400px;
    }

    .about-us-experience {
        right: 0;
    }

    .focus-card-top {
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0f4ff;
    }

    .focus-card-top img {
        object-fit: contain;
        padding: 12px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .hero-left h1 {
        font-size: 2rem;
    }

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

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-floating-card {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }

    /* About Us — Mobile */
    .about-us-content {
        padding-left: 0;
        text-align: center;
        margin-top: 40px;
    }

    .about-us-lead {
        font-size: 1rem;
    }

    .about-us-experience {
        position: static;
        margin-top: 20px;
        display: inline-block;
        right: auto;
    }

    .about-us-values {
        align-items: center;
    }

    .value-item {
        text-align: left;
        max-width: 100%;
    }

    .hero-img {
        height: 260px;
    }

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-tag {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .counter {
        font-size: 2.5rem;
    }

    .counter-suffix {
        font-size: 1.8rem;
    }

    #support h2 {
        font-size: 1.8rem;
    }

    .problem-card-body,
    .program-card-body,
    .solution-card {
        padding: 24px 18px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
        margin-bottom: 30px;
    }

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

    .footer-brand p {
        max-width: 100%;
    }

    .focus-card-top {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0f4ff;
    }

    .focus-card-top img {
        object-fit: contain;
        padding: 10px;
    }

    .involved-card {
        padding: 28px 20px;
    }
}

/* ==================== TEAM SECTION ==================== */
#team {
    background: var(--surface);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
}

.team-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 4px solid var(--surface);
    transition: var(--transition);
}

.team-card:hover .team-img {
    border-color: var(--accent);
}

.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.team-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: #fff;
}

/* Navbar active link */
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
    font-weight: 600;
}

/* ==================== BACK TO TOP ==================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 130, 26, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: #d0700f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 130, 26, 0.5);
}

@media (max-width: 575.98px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ==================== 13. PARTNER PAGE ==================== */
.partner-hero {
    background: linear-gradient(135deg, #1B3A6B 0%, #2a5298 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.partner-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.partner-hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

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

.partner-form-wrapper {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 48px 40px;
    max-width: 750px;
    margin: 0 auto;
}

.partner-form-wrapper h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.partner-form-wrapper .subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
}

.partner-form-wrapper .form-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.partner-form-wrapper .form-control,
.partner-form-wrapper .form-select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.partner-form-wrapper .form-control:focus,
.partner-form-wrapper .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 130, 26, 0.12);
}

.partner-form-wrapper textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.partner-form-wrapper .btn-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    width: 100%;
}

.partner-form-wrapper .btn-submit:hover {
    background: #d0700f;
}

.other-specify {
    margin-top: 12px;
    display: none;
}

.other-specify.show {
    display: block;
}

.contact-alt {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.contact-alt p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.contact-alt a {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
}

.contact-alt a:hover {
    text-decoration: underline;
}

.alliance-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
}

.alliance-footer h5 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==================== FAQ PAGE ==================== */
.faq-hero {
    background: linear-gradient(135deg, #1B3A6B 0%, #2a5298 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.faq-hero .section-header h2 {
    color: #fff;
}

.faq-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.faq-section {
    background: var(--surface);
    padding: 60px 0 100px;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-item.active .faq-question {
    color: var(--accent);
}

.faq-q-text {
    flex: 1;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary);
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.faq-answer-inner ul li {
    margin-bottom: 8px;
}

.faq-answer-inner a {
    color: var(--accent);
    font-weight: 600;
}

.faq-answer-inner a:hover {
    text-decoration: underline;
}

/* FAQ Responsive */
@media (max-width: 767.98px) {
    .faq-hero {
        padding: 100px 0 50px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
    }
}

/* ==================== ACTIVITIES PAGE ==================== */
.activities-hero {
    background: linear-gradient(135deg, #1B3A6B 0%, #2a5298 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.activities-hero .section-header h2 {
    color: #fff;
}

.activities-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.activities-section {
    background: var(--surface);
    padding: 60px 0 100px;
}

/* Reels Grid — 3 per row */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reel-item {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    min-width: 0;
    /* critical: prevents grid blowout from Instagram embed */
}

.reel-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.reel-item .instagram-media {
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

.reel-item iframe {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

/* Loading Spinner */
.reels-loading {
    text-align: center;
    padding: 40px 0;
}

.reels-loading .spinner-border {
    width: 48px;
    height: 48px;
    color: var(--accent) !important;
}

/* Pagination */
.reels-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    background: #fff;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not([disabled]) {
    border-color: var(--accent);
    color: var(--accent);
    background: #fff8f0;
}

.page-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.page-num {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
}

.page-num.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.page-numbers {
    display: flex;
    gap: 8px;
}

/* Activities Responsive */
@media (max-width: 991.98px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .reels-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .activities-hero {
        padding: 100px 0 50px;
    }

    .page-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .page-num {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}