/* =========================================================
   SAADOW - OUR TEAM PAGE
   COMPLETE CSS
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
    --saadow-dark: #0d2113;
    --saadow-green: #142f1b;
    --saadow-green-2: #173d24;
    --saadow-border: #008b78;
    --saadow-light-green: #8faf91;
    --saadow-white: #ffffff;
    --saadow-black: #111111;
    --saadow-border-light: rgba(143, 175, 145, 0.20);
}

/* =========================================================
   RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--saadow-green);
    color: var(--saadow-white);
    font-family: "Inter", Arial, sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* =========================================================
   NAVBAR - FULLSCREEN
========================================================= */
.saadow-navbar {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
}

/* =========================================================
   TOP BAR - ADDRESS + EMAIL + SOCIAL
========================================================= */
.saadow-topbar {
    width: 100%;
    min-height: 45px;
    padding: 8px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #142f1b;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
}

.saadow-topbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
    min-width: 0;
}

/* ADDRESS - VISIBLE ON DESKTOP ONLY */
.saadow-topbar-left .topbar-address {
    display: flex !important;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    white-space: nowrap;
}

.saadow-topbar-left .topbar-email {
    display: flex !important;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    white-space: nowrap;
}

.saadow-topbar-left i {
    color: #ffffff;
    font-size: 13px;
}

.saadow-topbar-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
}

.follow-text {
    white-space: nowrap;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.saadow-topbar-right a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.saadow-topbar-right a:hover {
    background-color: #ffffff;
    color: #142f1b;
    border-color: #ffffff;
}

/* =========================================================
   MAIN NAVIGATION
========================================================= */
.saadow-nav {
    position: relative;
    width: 100%;
    min-height: 80px;
    padding: 0 5%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.saadow-logo {
    color: var(--saadow-green);
    font-family: "Saira", sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.saadow-logo:hover {
    color: var(--saadow-border);
}

.saadow-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.saadow-nav-links > a,
.saadow-dropdown-link {
    position: relative;
    color: #17301f;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    padding: 30px 0;
    transition: color 0.3s ease;
}

.saadow-nav-links > a:hover,
.saadow-dropdown-link:hover {
    color: var(--saadow-border);
}

/* ACTIVE NAVIGATION */
.saadow-dropdown-link.active {
    color: var(--saadow-green);
}

.saadow-dropdown-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--saadow-green);
}

/* DROPDOWN */
.saadow-dropdown {
    position: relative;
}

.saadow-dropdown-link {
    display: flex;
    align-items: center;
    gap: 7px;
}

.saadow-dropdown-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 190px;
    padding: 10px 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.saadow-dropdown:hover .saadow-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.saadow-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #17301f;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease;
}

.saadow-dropdown-menu a:hover {
    background: #f2f7f3;
    color: var(--saadow-border);
}

.saadow-dropdown-menu a.active-page {
    background: #eef5ef;
    color: var(--saadow-green);
}

/* DONATE BUTTON */
.saadow-donate {
    padding: 13px 20px !important;
    border-radius: 5px;
    background: var(--saadow-green);
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.saadow-donate:hover {
    background: var(--saadow-dark);
    transform: translateY(-2px);
}

.saadow-donate i {
    font-size: 13px;
}

/* MOBILE MENU BUTTON */
.saadow-menu-button {
    display: none;
    width: 45px;
    height: 42px;
    padding: 8px;
    border: none;
    border-radius: 5px;
    background: var(--saadow-green);
    cursor: pointer;
}

.saadow-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    transition: transform 0.3s ease;
}

/* =========================================================
   TEAM PAGE
========================================================= */
.team-page {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, #142f1b 0%, #12301b 55%, #102a18 100%);
    color: #ffffff;
    overflow: hidden;
}

/* TEAM SECTION */
.team-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 40px 50px;
}

/* SECTION HEADING */
.section-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 58px;
}

.section-label {
    display: block;
    margin-bottom: 12px;
    color: var(--saadow-light-green);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-heading h1 {
    font-size: 42px;
}

.section-heading h2 {
    font-size: 38px;
}

.heading-line {
    width: 58px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 20px;
    background: var(--saadow-light-green);
}

/* TEAM GRID */
.team-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px;
    align-items: start;
    justify-items: center;
}

/* TEAM MEMBER */
.team-member {
    width: 100%;
    max-width: 290px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* TEAM IMAGE - CIRCLE */
.team-image {
    position: relative;
    width: 250px;
    height: 250px;
    flex: 0 0 250px;
    margin: 0 auto 28px;
    padding: 0;
    background: #ffffff;
    border: 4px solid var(--saadow-border);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    isolation: isolate;
}

.team-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    background: #ffffff;
    box-shadow: none;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.04);
}

/* TEAM CONTENT */
.team-content {
    width: 100%;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.team-member h3 {
    width: 100%;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.team-member p {
    width: 100%;
    margin: 4px 0 0;
    color: rgba(255,255,255,0.92);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

/* PARTNERS SECTION */
.partners-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px 80px;
}

/* PARTNERS GRID */
.partners-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px;
    align-items: start;
    justify-items: center;
}

/* PARTNER ITEM */
.partner-item {
    width: 100%;
    max-width: 290px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* PARTNER IMAGE */
.partner-image {
    position: relative;
    width: 250px;
    height: 250px;
    flex: 0 0 250px;
    margin: 0 auto 28px;
    padding: 0;
    background: #ffffff;
    border: 4px solid var(--saadow-border);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    isolation: isolate;
}

.partner-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 15px;
    border: 0;
    outline: 0;
    border-radius: 50%;
    object-fit: contain;
    object-position: center center;
    background: #ffffff;
    box-shadow: none;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.partner-item:hover .partner-image img {
    transform: scale(1.04);
}

.partner-item h3 {
    width: 100%;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* FOOTER */
footer {
    width: 100%;
    background: var(--saadow-dark);
    color: #ffffff;
    padding: 30px 5%;
    border-top: 1px solid var(--saadow-border-light);
}

.footer-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    color: rgba(255,255,255,0.85);
    font-family: "Saira", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--saadow-light-green);
}

.footer-copy {
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    white-space: nowrap;
}

.footer-copy a {
    margin-left: 4px;
    color: var(--saadow-light-green);
    font-weight: 600;
}

.footer-copy a:hover {
    color: #ffffff;
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--saadow-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--saadow-border);
}

.back-to-top i {
    font-size: 18px;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */
@media (max-width: 1200px) {
    .saadow-nav-links {
        gap: 20px;
    }

    .team-grid,
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 55px 30px;
    }

    .team-image,
    .partner-image {
        width: 245px;
        height: 245px;
        flex-basis: 245px;
    }

    .footer-container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 991px) {
    .saadow-topbar {
        padding: 8px 3%;
    }

    .saadow-nav {
        padding: 0 3%;
    }

    .saadow-nav-links {
        gap: 16px;
    }

    .saadow-nav-links > a,
    .saadow-dropdown-link {
        font-size: 14px;
    }

    .saadow-donate {
        padding: 11px 16px !important;
    }

    .team-section,
    .partners-section {
        padding-left: 25px;
        padding-right: 25px;
    }

    .section-heading h1 {
        font-size: 37px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .team-image,
    .partner-image {
        width: 230px;
        height: 230px;
        flex-basis: 230px;
    }

    .team-member h3 {
        font-size: 19px;
    }

    .team-member p {
        font-size: 17px;
    }
}

/* =========================================================
   MOBILE - ADDRESS HIDDEN
========================================================= */
@media (max-width: 900px) {

    /* HIDE ADDRESS ON MOBILE */
    .saadow-topbar-left .topbar-address {
        display: none !important;
    }

    .saadow-topbar {
        padding: 8px 18px;
        min-height: 42px;
    }

    .saadow-topbar-left {
        flex: 1;
    }

    .saadow-topbar-left .topbar-email {
        font-size: 12px;
    }

    .saadow-topbar-right {
        gap: 8px;
    }

    .follow-text {
        font-size: 11px;
    }

    .saadow-topbar-right a {
        width: 26px;
        height: 26px;
    }

    .saadow-nav {
        min-height: 70px;
    }

    .saadow-menu-button {
        display: block;
    }

    .saadow-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 20px 25px 25px;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 15px 30px rgba(0,0,0,0.10);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .saadow-nav-links.show {
        display: flex;
    }

    .saadow-nav-links > a,
    .saadow-dropdown-link {
        width: 100%;
        padding: 13px 0;
    }

    .saadow-dropdown-link.active::after {
        display: none;
    }

    .saadow-dropdown {
        width: 100%;
    }

    .saadow-dropdown-menu {
        position: static;
        width: 100%;
        padding: 0;
        border: none;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .saadow-dropdown.open > .saadow-dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        height: auto !important;
        max-height: 500px;
        overflow: visible;
    }

    .saadow-dropdown.open .saadow-dropdown-link i {
        transform: rotate(180deg);
    }

    .saadow-dropdown-link i {
        transition: transform 0.25s ease;
    }

    .saadow-dropdown-menu a {
        display: block !important;
        width: 100%;
        padding: 10px 20px;
        color: #17301f !important;
        background: #ffffff;
        border-left: 2px solid var(--saadow-green);
        line-height: 1.4;
        visibility: visible;
        opacity: 1;
    }

    .saadow-dropdown-menu a.active-page {
        display: block !important;
        color: var(--saadow-green) !important;
        background: #eef5ef !important;
    }

    .saadow-donate {
        margin-top: 10px;
        justify-content: center;
    }
}

/* =========================================================
   MOBILE TEAM
========================================================= */
@media (max-width: 767px) {
    .team-section {
        padding: 45px 20px 35px;
    }

    .partners-section {
        padding: 15px 20px 55px;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .section-heading h1 {
        font-size: 32px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 2.5px;
    }

    .team-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .team-member,
    .partner-item {
        max-width: 320px;
    }

    .team-image,
    .partner-image {
        width: 230px;
        height: 230px;
        flex-basis: 230px;
        margin-bottom: 22px;
    }

    .team-member h3 {
        font-size: 19px;
    }

    .team-member p {
        font-size: 17px;
    }

    .partner-item h3 {
        font-size: 17px;
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-logo,
    .footer-copy {
        white-space: normal;
        text-align: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .saadow-topbar {
        padding: 8px 10px;
    }

    .saadow-topbar-left .topbar-email {
        font-size: 11px;
    }

    .saadow-topbar-right {
        gap: 6px;
    }

    .follow-text {
        font-size: 10px;
    }

    .saadow-topbar-right a {
        width: 25px;
        height: 25px;
    }

    .saadow-nav {
        padding: 0 15px;
    }

    .saadow-logo {
        font-size: 27px;
    }

    .team-section {
        padding: 38px 15px 30px;
    }

    .partners-section {
        padding: 10px 15px 45px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h1 {
        font-size: 28px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .team-image,
    .partner-image {
        width: 210px;
        height: 210px;
        flex-basis: 210px;
        border-width: 4px;
    }

    .team-member h3 {
        font-size: 17px;
    }

    .team-member p {
        font-size: 16px;
    }

    .partner-item h3 {
        font-size: 16px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 43px;
        height: 43px;
    }
}

/* =========================================================
   VERY SMALL DEVICES
========================================================= */
@media (max-width: 360px) {
    .saadow-topbar-email {
        font-size: 10px;
    }

    .saadow-topbar-social span {
        display: none;
    }

    .saadow-topbar-social {
        margin-left: auto;
    }

    .saadow-topbar-social a {
        width: 24px;
        height: 24px;
    }

    .team-image,
    .partner-image {
        width: 190px;
        height: 190px;
        flex-basis: 190px;
    }

    .section-heading h1 {
        font-size: 25px;
    }

    .section-heading h2 {
        font-size: 24px;
    }
}