/* ==========================================
   TRUST DETAILS PAGE - VIVEHA TRUST
========================================== */


/* ==========================================
   BODY
========================================== */

body {

    font-family: 'Poppins', sans-serif;

    margin: 0;

    background: #f5f7f9;

    color: #333;

}



/* ==========================================
   NAVIGATION
========================================== */

.navbar {

    background: #fff;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 8%;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

    position: sticky;

    top: 0;

    z-index: 1000;

}


.logo-area {

    display: flex;

    align-items: center;

}


.logo {

    width: 70px;

    margin-right: 15px;

}


.logo-area h2 {

    margin: 0;

    color: #0B6E4F;

}


nav ul {

    list-style: none;

    display: flex;

    gap: 25px;

    margin: 0;

    padding: 0;

}


nav ul li {

    display: inline;

}


nav ul li a {

    text-decoration: none;

    color: #333;

    font-weight: 600;

    transition: .3s;

}


nav ul li a:hover,

nav ul li a.active {

    color: #0B6E4F;

}



/* ==========================================
   HERO SECTION
========================================== */

.hero-trust {

    height: 400px;

    background:

    linear-gradient(
        rgba(11,110,79,.65),
        rgba(11,110,79,.65)
    ),

    url("./assets/Service/111.jpeg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: #fff;

}


.hero-trust h1 {

    font-size: 52px;

    margin: 0 0 15px;

}


.hero-trust p {

    font-size: 22px;

    margin: 0;

}



/* ==========================================
   COMMON FRAME
========================================== */

.frame {

    width: 90%;

    max-width: 1200px;

    margin: 40px auto;

    background: #fff;

    border: 3px solid #0B6E4F;

    border-radius: 15px;

    padding: 35px;

    box-sizing: border-box;

    box-shadow: 0 5px 18px rgba(0,0,0,.12);

}


.frame h2 {

    color: #0B6E4F;

    margin-top: 0;

}


.frame p {

    line-height: 1.8;

    font-size: 17px;

}



/* ==========================================
   TRUST INTRO
========================================== */

.trust-intro {

    text-align: center;

}


.trust-intro h2 {

    font-size: 28px;

}


.trust-intro h2 i {

    margin-right: 8px;

}



/* ==========================================
   SECTION TITLE
========================================== */

.section-title {

    text-align: center;

    font-size: 28px;

    margin-bottom: 30px !important;

}


.section-title i {

    margin-right: 8px;

}



/* ==========================================
   TRUST DETAILS GRID
========================================== */

.details-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}



/* ==========================================
   DETAIL CARD
========================================== */

.detail-card {

    display: flex;

    align-items: center;

    gap: 18px;

    background: #f5f7f9;

    border: 2px solid #dce8e3;

    border-radius: 12px;

    padding: 20px;

    transition: .3s;

}


.detail-card:hover {

    transform: translateY(-5px);

    border-color: #0B6E4F;

    box-shadow: 0 8px 20px rgba(0,0,0,.10);

}


.detail-icon {

    min-width: 55px;

    height: 55px;

    border-radius: 50%;

    background: #0B6E4F;

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 22px;

}


.detail-card h3 {

    margin: 0 0 5px;

    color: #0B6E4F;

    font-size: 17px;

}


.detail-card p {

    margin: 0;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 600;

}



/* ==========================================
   BOARD MEMBER SECTION
========================================== */

.board-description {

    text-align: center;

    max-width: 850px;

    margin: 0 auto 35px;

}



/* ==========================================
   BOARD MEMBER GRID
========================================== */

.board-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}



/* ==========================================
   MEMBER CARD
========================================== */

.member-card {

    position: relative;

    background: #fff;

    border: 2px solid #dce8e3;

    border-radius: 15px;

    padding: 30px 20px;

    text-align: center;

    overflow: hidden;

    transition: .3s;

}


.member-card:hover {

    transform: translateY(-7px);

    border-color: #0B6E4F;

    box-shadow: 0 10px 25px rgba(0,0,0,.12);

}



/* ==========================================
   MEMBER ICON
========================================== */

.member-icon {

    width: 75px;

    height: 75px;

    margin: 0 auto 15px;

    background: #0B6E4F;

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

}


.member-card h3 {

    color: #0B6E4F;

    font-size: 19px;

    margin: 10px 0;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.member-card h4 {

    color: #555;

    font-size: 16px;

    font-weight: 600;

    margin: 8px 0 20px;

    min-height: 45px;

}



/* ==========================================
   QUALIFICATION
========================================== */

.qualification {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 15px;

    background: #eef6f2;

    border-radius: 20px;

    color: #0B6E4F;

    font-weight: 600;

    font-size: 14px;

}


.qualification i {

    font-size: 15px;

}



/* ==========================================
   MEMBER NUMBER
========================================== */

.member-number {

    position: absolute;

    top: 12px;

    right: 15px;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background: #eef6f2;

    color: #0B6E4F;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    font-weight: 700;

}



/* ==========================================
   LATE / FORMER TRUSTEE
========================================== */

.former-member {

    border-style: dashed;

}


.former-member .qualification {

    background: #f2f2f2;

    color: #555;

}



/* ==========================================
   GOVERNANCE SECTION
========================================== */

.governance {

    display: flex;

    align-items: center;

    gap: 30px;

    background: #eef6f2;

}


.governance-icon {

    min-width: 80px;

    height: 80px;

    background: #0B6E4F;

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

}


.governance h2 {

    margin-bottom: 10px;

}


.governance p {

    margin: 0;

}



/* ==========================================
   FOOTER
========================================== */

footer {

    background: #0B6E4F;

    color: white;

    text-align: center;

    padding: 30px 20px;

    margin-top: 50px;

}


footer p {

    margin: 8px 0;

}



/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media(max-width: 1000px) {

    .details-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .board-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



/* ==========================================
   RESPONSIVE - MOBILE
========================================== */

@media(max-width: 768px) {


    .hero-trust {

        height: 300px;

    }


    .hero-trust h1 {

        font-size: 34px;

    }


    .hero-trust p {

        font-size: 18px;

        padding: 0 20px;

    }


    .navbar {

        flex-direction: column;

        padding: 12px 5%;

    }


    nav ul {

        flex-wrap: wrap;

        justify-content: center;

        margin-top: 15px;

        gap: 15px;

    }


    .logo {

        width: 60px;

    }


    .logo-area h2 {

        font-size: 21px;

    }


    .frame {

        width: 92%;

        padding: 25px 20px;

    }


    .details-grid {

        grid-template-columns: 1fr;

    }


    .board-grid {

        grid-template-columns: 1fr;

    }


    .section-title {

        font-size: 23px;

    }


    .governance {

        flex-direction: column;

        text-align: center;

    }

}



/* ==========================================
   VERY SMALL MOBILE
========================================== */

@media(max-width: 480px) {


    .hero-trust h1 {

        font-size: 30px;

    }


    .hero-trust p {

        font-size: 16px;

    }


    .member-card {

        padding: 25px 15px;

    }


    .detail-card {

        padding: 15px;

    }

}