/*
Theme Name: BHSL-2026-new1
Theme URI: https://bhsl.bt
Author: BHSL IT
Description: Clean & Optimized BHSL Theme
Version: 2.1
*/

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #f4f6f9;
    color: #333;
}

/* ================= HEADER ================= */
header {
    background: #fff;
    text-align: center;
    padding: 10px 0;
}

header img {
    height: 90px;
}

/* ================= NAVBAR ================= */
nav {
    background: #0b3c5d;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 12px;
}

.nav-menu li {
    position: relative;
    margin: 0 18px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 10px;
    display: block;
}

.nav-menu li a:hover {
    color: #4fd1c5;
}

/* DROPDOWN */
.nav-menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0b3c5d;
    min-width: 220px;
    display: none;
    border-radius: 6px;
}

.nav-menu li:hover > ul {
    display: block;
}

.nav-menu li ul li a {
    padding: 10px 20px;
}

.nav-menu li ul li a:hover {
    background: #4fd1c5;
    color: #0b3c5d;
}

/* ================= HERO ================= */
.hero-slider {
    position: relative;
    height: 65vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 60, 90, 0.45);
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.slide-text h1 {
    font-size: 42px;
}

.slide-text p {
    font-size: 18px;
}

/* ================= STATS ================= */
.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 20px;
    background: #fff;
}

.stat {
    width: 220px;
    background: #eef3f8;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.stat:hover {
    transform: translateY(-6px);
}

.stat h3 {
    font-size: 34px;
    color: #0b3c5d;
}

/* TOOLTIP */
.stat-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    transition: 0.3s;
}

.stat:hover .stat-tooltip {
    opacity: 1;
}

/* ================= ABOUT ================= */
.about-section {
    padding: 80px 20px;
    background: #f7f9fc;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #0b3c5d;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ================= SERVICES ================= */
.services-section {
    padding: 70px 20px;
    background: #f7f9fc;
    text-align: center;
}

.section-title {
    font-size: 30px;
    color: #0b3c5d;
    margin-bottom: 40px;
}

/* ================= CORE SERVICES GRID ================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 in first row */
    gap: 30px;
    justify-content: center; /* center the grid */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Centers the last row (2 cards) */
.services-grid .service-card:nth-last-child(-n+2) {
    justify-self: center;
}

.service-card {
    width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(52,105,155,0.8);
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.service-tooltip {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.service-card:hover .service-tooltip {
    opacity: 1;
}

/* ================= QUICK LINKS ================= */
.quick-links {
    background: #e9f1f7;
    padding: 50px 20px;
    text-align: center;
}

.quick-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-btn {
    background: #fff;
    padding: 10px 18px;
    text-decoration: none;
    color: #0b3c5d;
    border-radius: 6px;
    transition: 0.3s;
}

.quick-btn:hover {
    background: #4fd1c5;
    color: #fff;
}

/* ================= PROFILE ================= */
.profile-clean {
    padding: 80px 20px;
    background: #f7f9fc;
}

.profile-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.profile-row.reverse {
    flex-direction: row-reverse;
}

.profile-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

.profile-text {
    flex: 1;
    line-height: 1.8;
    text-align: justify;
}

/* ================= FOOTER ================= */
.site-footer {
    background: #f1f7fc;
    padding: 60px 20px;
}

.footer-top {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.footer-left {
    justify-content: space-between;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-middle {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-middle iframe {
    width: 260px;
    height: 200px;
    border-radius: 12px;
}

.footer-right {
    justify-content: space-between;
}

.footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-right ul li {
    margin-bottom: 6px;
}

.footer-bottom {
    background: #005b7f;
    color: #fff;
    text-align: center;
    padding: 12px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        justify-items: center;
    }

    .profile-row {
        flex-direction: column !important;
    }

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

.board-wrapper{
display:flex;
gap:30px;
margin-top:40px;
align-items:flex-start;
}

/* Each column */
.board-column{
flex:1;
display:flex;
flex-direction:column;
gap:30px;
}

/* Card */
.member{
background:#fff;
border:1px solid #e6e6e6;
border-radius:12px;
padding:22px;
text-align:center;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
display:flex;
flex-direction:column;
align-items:center;
}

/* Image container */
.member-image{
width:130px;
height:130px;
border-radius:50%;
overflow:hidden;
margin-bottom:15px;
border:3px solid #f2f2f2;
flex-shrink:0;
}

.member-image img{
width:100%;
height:100%;
object-fit:cover;
}

/* Name */
.member h3{
font-size:18px;
margin:10px 0 5px;
font-weight:600;
color:#222;
}

/* Details */
.member-details{
font-size:14px;
color:#666;
line-height:1.5;
}

/* Responsive */
@media (max-width: 768px){
.board-wrapper{
flex-direction:column;
}
}