/* --- Basic Setup & Variables --- */
:root {
    --primary-color: #005A9C;
    --secondary-color: #0abde3;
    --accent-color: #FDB813;
    --light-gray: #f4f4f4;
    --dark-text: #333;
    --light-text: #ffffff;
    --font-family: 'Hind Siliguri', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* --- Modern Solid Button with Shadow --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 50px; /* गोलाकार বাটন */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff; /* সাদা টেক্সট */
    background-color: #0abde3;
    box-shadow: 0 4px 15px rgba(10, 189, 227, 0.3); /* বাটনের রঙের সাথে মিলিয়ে শ্যাডো */
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.btn:hover {
    background-color: #08a6c9; /* হোভারে হালকা গাঢ় রঙ */
    transform: translateY(-3px); /* হোভারে উপরে উঠবে */
    box-shadow: 0 6px 20px rgba(10, 189, 227, 0.5); /* শ্যাডো আরও স্পষ্ট হবে */
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(10, 189, 227, 0.4);
}
/* --- Header & Navigation --- */
header {
    background: var(--light-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* --- Navigation Button Style (Corrected for Specificity) --- */
.nav-links .btn-nav { /* এখানে আমরা নিয়মটিকে আরও সুনির্দিষ্ট করেছি */
    padding: 8px 22px;
    font-size: 0.9rem;
    margin-left: 15px;
    box-shadow: none;
    color: #ffffff !important; /* এখন এই নিয়মটি প্রাধান্য পাবে */
}

.nav-links .btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(10, 189, 227, 0.4);
    color: #ffffff !important;; /* হোভারের জন্যও রঙ সাদা থাকবে */
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.4s;
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    /* প্রথমে ওভারলে, তারপর ব্যাকগ্রাউন্ড ইমেজ যুক্ত করা হয়েছে */
    background: 
        /* 1. ডার্ক ওভারলে (60% স্বচ্ছ কালো রঙ) */
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        /* 2. আপনার ব্যাকগ্রাউন্ড ইমেজ */
        url('images/hero-background.jpg') no-repeat center center/cover;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- About Us Section --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}
.about-image {
    flex: 1;
}
.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Services Section --- */
.services-bg {
    background: var(--light-gray);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 51, 102, 0.9));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

/* --- Leadership Section --- */
.leadership-bg {
    background: var(--light-gray);
}

.leadership-top {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.leader-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 400px;
}

.leader-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

.leader-card .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: -10px;
}

.leader-card .bio {
    font-size: 0.9rem;
    margin-top: 10px;
}

.directors-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.director-card {
    text-align: center;
}

.director-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.director-card h4 {
    margin-bottom: 5px;
}
.director-card p {
    color: #666;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: flex;
    gap: 40px;
}

.contact-form, .contact-info {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
}

.contact-info p {
    margin-bottom: 10px;
}

/* --- Footer --- */
footer {
    background: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 20px 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        background: #fff;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-content {
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
}