/* =========================================
   AFGA Website - Custom Styles
   Brand Color: #026A08
   ========================================= */

   :root {
    --thm-primary: #026A08;
    --thm-primary-dark: #014d06;
    --thm-primary-light: #058a0a;
    --thm-secondary: #1e293b;
    --thm-base: #ffffff;
    --thm-base-alt: #f8fafc;
    --thm-text: #1e293b;
    --thm-text-light: #64748b;
    --thm-border: #e2e8f0;
    --thm-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --thm-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --thm-radius: 8px;
    --thm-transition: all 0.3s ease;
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', 'Nunito', sans-serif;
    color: var(--thm-text);
    background: var(--thm-base);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--thm-transition); }
ul { list-style: none; }

/* Custom Cursor */
.custom-cursor__cursor,
.custom-cursor__cursor-two {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, opacity 0.2s ease;
    will-change: left, top, transform;
}
.custom-cursor__cursor {
    width: 8px;
    height: 8px;
    background: var(--thm-primary);
    opacity: 0.9;
}
.custom-cursor__cursor-two {
    border: 2px solid var(--thm-primary);
    opacity: 0.35;
    width: 30px;
    height: 30px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--thm-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.preloader__brand {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: pulse 1.5s infinite;
}
.preloader__brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* =========================================
   NAV TABS & PILLS (rounded chips; fix square active state)
   ========================================= */
.nav-pills .nav-link,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    border-radius: 999px !important;
}
.nav-pills .nav-link:not(.active) {
    background-color: transparent;
}
.nav-pills .nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(2, 106, 8, 0.35);
}

/* Tab rows (e.g. admin): pill shape instead of square top corners */
.nav.nav-tabs {
    border-bottom: none !important;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.nav.nav-tabs .nav-link {
    border: none !important;
    border-radius: 999px !important;
    background-color: #f1f5f4;
    color: var(--thm-text-light);
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    margin-bottom: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.nav.nav-tabs .nav-link:hover {
    background-color: #e8f5e9;
    color: var(--thm-primary);
}
.nav.nav-tabs .nav-link.active,
.nav.nav-tabs .nav-item.show .nav-link {
    background-color: var(--thm-primary) !important;
    color: #fff !important;
}

/* =========================================
   HEADER STYLES
   ========================================= */
.main-header {
    position: relative;
    z-index: 1000;
    background: var(--thm-base);
    box-shadow: var(--thm-shadow);
}

.main-menu__wrapper {
    padding: 0 30px;
}

.main-menu__logo img {
    transition: var(--thm-transition);
}
.main-menu__logo:hover img {
    opacity: 0.9;
}

/* Top Bar */
.main-menu__right-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--thm-border);
}

.main-menu__volunteers {
    display: flex;
    align-items: center;
    gap: 10px;
}
.main-menu__volunteers-icon img {
    width: 24px;
    height: 24px;
}
.main-menu__volunteers-text a {
    color: var(--thm-primary);
    font-weight: 600;
    font-size: 14px;
}
.main-menu__volunteers-text a:hover {
    opacity: 0.8;
}

.main-menu__right-top-address-list {
    display: flex;
    gap: 25px;
}
.main-menu__right-top-address-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-menu__right-top-address-list .icon {
    color: var(--thm-primary);
    font-size: 14px;
}
.main-menu__right-top-address-list .content p {
    font-size: 12px;
    color: var(--thm-text-light);
    margin: 0;
}
.main-menu__right-top-address-list .content h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}
.main-menu__right-top-address-list .content a:hover {
    color: var(--thm-primary);
}

.main-menu__right-top-social {
    display: flex;
    gap: 12px;
}
.main-menu__right-top-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--thm-base-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-primary);
    font-size: 14px;
}
.main-menu__right-top-social a:hover {
    background: var(--thm-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Main Navigation */
.main-menu__right-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.main-menu__list {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}
.main-menu__list > li {
    position: relative;
}
.main-menu__list > li > a {
    display: block;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 15px;
    color: var(--thm-text);
    position: relative;
}
.main-menu__list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--thm-primary);
    transition: var(--thm-transition);
}
.main-menu__list > li.current > a,
.main-menu__list > li > a:hover {
    color: var(--thm-primary);
}
.main-menu__list > li.current > a::after,
.main-menu__list > li > a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.main-menu__list ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--thm-base);
    border: 1px solid var(--thm-border);
    border-radius: var(--thm-radius);
    box-shadow: var(--thm-shadow-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--thm-transition);
    z-index: 100;
}
.main-menu__list li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-menu__list ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--thm-text);
}
.main-menu__list ul li a:hover {
    background: var(--thm-base-alt);
    color: var(--thm-primary);
    padding-left: 25px;
}
.main-menu__list ul ul {
    left: 100%;
    top: 0;
}

/* Donate Button */
.main-menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--thm-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
.main-menu__btn span,
.main-menu__btn svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.main-menu__btn p {
    margin: 0;
    line-height: 1;
}
.main-menu__btn:hover {
    background: var(--thm-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--thm-shadow);
}
.main-menu__btn .fa-heart {
    animation: heartbeat 1.5s infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile Toggle */
.mobile-nav__toggler {
    display: none;
    font-size: 24px;
    color: var(--thm-primary);
    cursor: pointer;
}

/* =========================================
   HERO SLIDER
   ========================================= */
.main-slider {
    position: relative;
    height: 650px;
    max-height: 800px;
    overflow: hidden;
}
.main-slider .image-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.main-slider .image-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(2,106,8,0.85), rgba(2,106,8,0.6));
}
.main-slider__content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    color: #fff;
}
.main-slider__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}
.main-slider__text {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 35px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.main-slider__btn {
    background: #fff;
    color: var(--thm-primary);
}
.main-slider__btn:hover {
    background: var(--thm-primary);
    color: #fff;
}
}
.swiper-pagination-bullet-active {
    background: #fff;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   STATS SECTION
   ========================================= */
.fact-counter {
    padding: 40px 0;
    background: var(--thm-primary);
    color: #fff;
    margin-top: -4px;
}
.fact-counter__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fact-counter__count {
    display: flex;
    align-items: center;
    gap: 15px;
}
.fact-counter__icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.fact-counter__count-number {
    font-size: 32px;
    font-weight: 800;
}
.fact-counter__count-title {
    font-size: 14px;
    opacity: 0.9;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-one {
    padding: 100px 0;
}
.about-one__image {
    position: relative;
}
.about-one__image img {
    border-radius: var(--thm-radius);
    box-shadow: var(--thm-shadow-lg);
}
.about-one__experience {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--thm-primary);
    color: #fff;
    padding: 20px 25px;
    border-radius: var(--thm-radius);
    text-align: center;
    box-shadow: var(--thm-shadow-lg);
}
.about-one__experience h3 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.about-one__experience p {
    font-size: 13px;
    opacity: 0.9;
}
.about-one__content {
    padding-left: 30px;
}
.section-title__tagline {
    display: block;
    color: var(--thm-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.section-title__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
}
.about-one__text {
    color: var(--thm-text-light);
    margin-bottom: 25px;
}
.about-one__points {
    margin-bottom: 30px;
}
.about-one__points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
}
.about-one__points i {
    color: var(--thm-primary);
}
.about-one__btn {
    background: var(--thm-primary);
    color: #fff;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-one {
    padding: 100px 0;
    background: var(--thm-base-alt);
}
.services-one__item {
    background: var(--thm-base);
    padding: 40px 30px;
    border-radius: var(--thm-radius);
    box-shadow: var(--thm-shadow);
    transition: var(--thm-transition);
    margin-bottom: 30px;
}
.services-one__item:hover {
    transform: translateY(-10px);
    box-shadow: var(--thm-shadow-lg);
}
.services-one__icon {
    width: 70px;
    height: 70px;
    background: var(--thm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.services-one__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.services-one__title a:hover {
    color: var(--thm-primary);
}
.services-one__text {
    color: var(--thm-text-light);
    font-size: 15px;
    margin-bottom: 20px;
}
.services-one__link {
    color: var(--thm-primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.services-one__link:hover {
    gap: 10px;
}

/* =========================================
   NEWS SECTION
   ========================================= */
.news-one {
    padding: 100px 0;
}
.news-one__item {
    background: var(--thm-base);
    border-radius: var(--thm-radius);
    overflow: hidden;
    box-shadow: var(--thm-shadow);
    margin-bottom: 30px;
    transition: var(--thm-transition);
}
.news-one__item:hover {
    transform: translateY(-10px);
    box-shadow: var(--thm-shadow-lg);
}
.news-one__image {
    position: relative;
    overflow: hidden;
}
.news-one__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--thm-transition);
}
.news-one__item:hover .news-one__image img {
    transform: scale(1.1);
}
.news-one__date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--thm-primary);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.news-one__content {
    padding: 25px;
}
.news-one__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-one__title a:hover {
    color: var(--thm-primary);
}
.news-one__text {
    color: var(--thm-text-light);
    font-size: 14px;
    margin-bottom: 18px;
}
.news-one__link {
    color: var(--thm-primary);
    font-weight: 600;
    font-size: 14px;
}
.news-one__btn {
    background: var(--thm-primary);
    color: #fff;
    margin-top: 20px;
}

/* =========================================
   PARTNERS SECTION
   ========================================= */
.partners-one {
    padding: 80px 0;
    background: var(--thm-base-alt);
}
.partners-one__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}
.partners-one__item {
    background: var(--thm-base);
    padding: 20px;
    border-radius: var(--thm-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--thm-transition);
}
.partners-one__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--thm-shadow);
}
.partners-one__item img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--thm-transition);
}
.partners-one__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.main-footer {
    background: var(--thm-secondary);
    color: #fff;
    position: relative;
    /* Decorative absolutely positioned children use negative % offsets; clip them so they
       do not extend document scroll height (blank strip below the footer). */
    overflow: hidden;
}
.main-footer__top {
    padding: 80px 0 50px;
}
.footer-widget__logo img {
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}
.footer-widget__about-text {
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    font-size: 15px;
}
.footer-widget__social {
    display: flex;
    gap: 10px;
}
.footer-widget__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}
.footer-widget__social a:hover {
    background: var(--thm-primary);
    transform: translateY(-3px);
}
.footer-widget__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}
.footer-widget__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--thm-primary);
}
.footer-widget__list li {
    margin-bottom: 12px;
}
.footer-widget__list a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-widget__list a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-widget__list i {
    font-size: 10px;
    color: var(--thm-primary);
}
.footer-widget__contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-widget__contact-list .icon {
    width: 36px;
    height: 36px;
    background: var(--thm-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-widget__contact-list p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}
.footer-widget__contact-list a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.main-footer__bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}
.main-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.main-footer__copyright {
    color: rgba(255,255,255,0.7);
    margin: 0;
}
.main-footer__bottom-links {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.main-footer__bottom-links a {
    color: rgba(255,255,255,0.8);
}
.main-footer__bottom-links a:hover {
    color: var(--thm-primary);
}

/* Footer Shape Animation */
.main-footer__shape-1 {
    position: absolute;
    bottom: 100px;
    right: 50px;
    opacity: 0.1;
    pointer-events: none;
}
@keyframes floatBobX {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}
.float-bob-x { animation: floatBobX 3s ease-in-out infinite; }
@keyframes floatBobY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.float-bob-y { animation: floatBobY 3s ease-in-out infinite; }

/* =========================================
   BUTTONS
   ========================================= */
.thm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--thm-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--thm-transition);
    border: 2px solid var(--thm-primary);
}
.thm-btn:hover {
    background: transparent;
    color: var(--thm-primary);
    transform: translateY(-3px);
    box-shadow: var(--thm-shadow);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1199px) {
    .fact-counter__wrapper { grid-template-columns: repeat(2, 1fr); }
    .about-one__content { padding-left: 0; margin-top: 40px; }
}
@media (max-width: 991px) {
    .mobile-nav__toggler { display: block; }
    .main-menu__list {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--thm-base);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--thm-shadow-lg);
    }
    .main-menu__list.active { max-height: 500px; }
    .main-menu__list > li > a { padding: 12px 0; border-bottom: 1px solid var(--thm-border); }
    .main-menu__list ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
    }
    .main-menu__list li.dropdown:hover > ul { display: block; }
    .main-menu__right-top { flex-direction: column; gap: 15px; text-align: center; }
    .main-menu__right-top-address-list { justify-content: center; flex-wrap: wrap; }
    .main-footer__bottom-inner { flex-direction: column; text-align: center; }
    .main-footer__bottom-links { justify-content: center; }
}
@media (max-width: 767px) {
    .main-slider { height: 100vh; }
    .main-slider__title { font-size: 32px; }
    .main-slider__text { font-size: 16px; }
    .fact-counter__wrapper { grid-template-columns: 1fr; }
    .section-title__title { font-size: 28px; }
    .page-header { padding: 120px 0 80px; min-height: 100vh; display: flex; align-items: center; }
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--thm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--thm-transition);
    z-index: 999;
}
.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: var(--thm-primary-dark);
    transform: translateY(-5px);
}

/* =========================================
   ERROR PAGES (404, 500)
   ========================================= */
   .error-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.error-code {
    font-size: 120px;
    font-weight: 800;
    color: var(--thm-primary);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.error-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.error-text {
    color: var(--thm-text-light);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto 30px;
}
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.thm-btn--outline {
    background: transparent;
    color: var(--thm-primary);
    border: 2px solid var(--thm-primary);
}
.thm-btn--outline:hover {
    background: var(--thm-primary);
    color: #fff;
}
.error-links ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
.error-links a {
    color: var(--thm-primary);
    font-weight: 500;
}
.error-links a:hover {
    text-decoration: underline;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.page-header {
    position: relative;
    padding: 150px 0 100px;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.page-header__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2,106,8,0.9), rgba(2,106,8,0.85));
}
.page-header__content {
    position: relative;
    z-index: 2;
}
.page-header__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}
.thm-breadcrumb {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.thm-breadcrumb a {
    color: rgba(255,255,255,0.9);
}
.thm-breadcrumb a:hover {
    color: #fff;
}
.thm-breadcrumb .active {
    color: #fff;
    font-weight: 600;
}

.contact-page {
    padding: 80px 0;
}
.contact-page__text {
    color: var(--thm-text-light);
    margin-bottom: 35px;
}
.contact-page__list {
    margin: 0 0 35px;
    padding: 0;
}
.contact-page__list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--thm-border);
}
.contact-page__list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.contact-page__list .icon {
    width: 45px;
    height: 45px;
    background: var(--thm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}
.contact-page__list .content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}
.contact-page__list .content p {
    margin: 0;
    color: var(--thm-text-light);
    font-size: 14px;
    line-height: 1.6;
}
.contact-page__list a {
    color: var(--thm-primary);
}
.contact-page__list a:hover {
    text-decoration: underline;
}
.contact-page__social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-page__social p {
    margin: 0;
    font-weight: 500;
}
.contact-page__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--thm-base-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-primary);
    font-size: 14px;
}
.contact-page__social a:hover {
    background: var(--thm-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--thm-text);
}
.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--thm-border);
    border-radius: var(--thm-radius);
    font-size: 15px;
    transition: var(--thm-transition);
    background: var(--thm-base);
}
.form-control:focus {
    outline: none;
    border-color: var(--thm-primary);
    box-shadow: 0 0 0 3px rgba(2,106,8,0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.contact-page__btn {
    width: 100%;
    justify-content: center;
}

/* Map Section */
.contact-page__map {
    padding: 0;
}
.map-outer {
    position: relative;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .error-code { font-size: 80px; }
    .error-title { font-size: 26px; }
    .page-header { padding: 120px 0 80px; min-height: 400px; display: flex; align-items: center; justify-content: center; }
    .page-header__title { font-size: 32px; }
    .contact-page__info { margin-bottom: 50px; }
}
@media (max-width: 767px) {
    .error-code { font-size: 60px; }
    .error-actions { flex-direction: column; align-items: center; }
    .thm-btn { width: 100%; justify-content: center; }
}

/* =========================================
   WHO WE ARE PAGES
   ========================================= */

/* Page Header */
.page-header {
    position: relative;
    padding: 150px 0 100px;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.page-header__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2,106,8,0.92), rgba(2,106,8,0.88));
}
.page-header__content {
    position: relative;
    z-index: 2;
}
.page-header__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-header__subtitle {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* About Intro */
.about-intro__text {
    color: var(--thm-text-light);
    margin-bottom: 25px;
    font-size: 17px;
}
.about-intro__mission-vision {
    background: var(--thm-base-alt);
    border-left: 4px solid var(--thm-primary);
    padding: 20px;
    border-radius: 0 var(--thm-radius) var(--thm-radius) 0;
    margin: 25px 0;
}
.mv-item {
    margin-bottom: 15px;
}
.mv-item:last-child { margin-bottom: 0; }
.mv-item h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--thm-primary);
    margin-bottom: 5px;
}
.mv-item p {
    font-size: 14px;
    color: var(--thm-text);
    margin: 0;
    line-height: 1.5;
}
.about-intro__image {
    position: relative;
}
.about-intro__image img {
    border-radius: var(--thm-radius);
    box-shadow: var(--thm-shadow-lg);
}
.about-intro__experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--thm-primary);
    color: #fff;
    padding: 15px 25px;
    border-radius: var(--thm-radius);
    text-align: center;
    box-shadow: var(--thm-shadow-lg);
}
.about-intro__experience .count-text {
    font-size: 28px;
    font-weight: 800;
    display: block;
    line-height: 1;
}
.about-intro__experience p {
    font-size: 12px;
    margin: 5px 0 0;
    opacity: 0.95;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}
.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--thm-border);
    transform: translateX(-50%);
}
.timeline__item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}
.timeline__item.left { left: 0; text-align: right; }
.timeline__item.right { left: 50%; text-align: left; }
.timeline__content {
    background: var(--thm-base);
    padding: 20px;
    border-radius: var(--thm-radius);
    box-shadow: var(--thm-shadow);
    position: relative;
    border: 1px solid var(--thm-border);
}
.timeline__content::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--thm-base);
    border: 1px solid var(--thm-border);
    top: 25px;
    z-index: 1;
}
.timeline__item.left .timeline__content::after {
    right: -8px;
    transform: rotate(45deg);
    border-left: none;
    border-top: none;
}
.timeline__item.right .timeline__content::after {
    left: -8px;
    transform: rotate(45deg);
    border-right: none;
    border-bottom: none;
}
.timeline__year {
    display: inline-block;
    background: var(--thm-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}
.timeline__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.timeline__text {
    color: var(--thm-text-light);
    font-size: 14px;
    margin: 0;
}

/* Team Cards */
.team-card {
    background: var(--thm-base);
    border-radius: var(--thm-radius);
    padding: 30px 20px;
    box-shadow: var(--thm-shadow);
    transition: var(--thm-transition);
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--thm-shadow-lg);
}
.team-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid var(--thm-base-alt);
}
.team-card__name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}
.team-card__role {
    color: var(--thm-primary);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
}
.team-card__bio {
    color: var(--thm-text-light);
    font-size: 14px;
    margin: 0;
}

/* Vision/Mission/Values Styles */
.vision-text, .mission-text {
    color: var(--thm-text);
    font-size: 18px;
    line-height: 1.8;
}
.vision-pillar, .objective-card {
    background: var(--thm-base);
    padding: 25px;
    border-radius: var(--thm-radius);
    box-shadow: var(--thm-shadow);
    height: 100%;
    transition: var(--thm-transition);
}
.vision-pillar:hover, .objective-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--thm-shadow-lg);
}
.vision-pillar__icon, .objective-card__icon {
    width: 60px;
    height: 60px;
    background: var(--thm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}
.vision-pillar__title, .objective-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.vision-pillar__desc, .objective-card__desc {
    color: var(--thm-text-light);
    font-size: 15px;
    margin: 0;
}
.vision-quote {
    border-left: 4px solid var(--thm-primary);
    padding: 20px 25px;
    background: var(--thm-base-alt);
    border-radius: 0 var(--thm-radius) var(--thm-radius) 0;
    font-style: italic;
}
.vision-quote__author {
    font-weight: 600;
    color: var(--thm-primary);
    margin-top: 10px;
    font-style: normal;
}

/* Values */
.value-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.value-card__icon-box {
    width: 80px;
    height: 80px;
    background: var(--thm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}
.value-card__content {
    flex: 1;
}
.value-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.value-card__desc {
    color: var(--thm-text-light);
    margin-bottom: 15px;
}
.value-card__examples li {
    color: var(--thm-text);
    font-size: 15px;
    margin-bottom: 8px;
}

/* Partners */
.partner-card {
    transition: var(--thm-transition);
}
.partner-card:hover {
    border-color: var(--thm-primary);
    transform: translateY(-3px);
}
.partner-card__logo {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--thm-transition);
}
.partner-card:hover .partner-card__logo {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-card__name {
    font-weight: 600;
    margin-bottom: 5px;
}
.partner-card__desc {
    margin: 0;
}

/* Fact Sheet */
.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--thm-primary-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--thm-border);
}
.factsheet-section {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--thm-border);
}
.factsheet-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.impact-metric__value {
    font-size: 28px;
    font-weight: 700;
    color: var(--thm-primary);
}
.download-card {
    transition: var(--thm-transition);
}
.download-card:hover {
    border-color: var(--thm-primary);
    background: var(--thm-base-alt);
}

/* Governance */
.board-member-card__photo, .management-card__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--thm-base-alt);
}
.composition-item {
    transition: var(--thm-transition);
}
.composition-item:hover {
    border-color: var(--thm-primary);
    background: var(--thm-base-alt);
}
.structure-step {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .timeline::after { left: 31px; }
    .timeline__item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline__item.left, .timeline__item.right { left: 0; text-align: left; }
    .timeline__item.left .timeline__content::after,
    .timeline__item.right .timeline__content::after {
        left: -8px;
        border-right: none;
        border-bottom: none;
    }
    .value-card { flex-direction: column; text-align: center; }
    .value-card__icon-box { margin: 0 auto 20px; }
}
@media (max-width: 767px) {
    .page-header { padding: 80px 0 40px; }
    .page-header__title { font-size: 32px; }
    .about-intro__experience {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-flex;
    }
}
/* =========================================
   WHAT WE DO PAGES
   ========================================= */
   .service-card {
    transition: var(--thm-transition);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--thm-shadow-lg);
}
.service-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.service-card .stretched-link::after {
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .page-header { padding: 80px 0 40px; }
    .page-header__title { font-size: 32px; }
}

/* =========================================
   MODERN PAGE HEADER (CATEGORY HERO)
   ========================================= */
.page-header-modern {
    position: relative;
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    z-index: 1;
}
.page-header-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(2, 106, 8, 0.7) 100%);
    z-index: -1;
}
.page-header-modern .container {
    position: relative;
    z-index: 2;
}
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
