:root {
    --primary-color: #1a2a6c;
    --secondary-color: #b21f1f;
    --accent-color: #fdbb2d;
    --text-dark: #333;
    --text-light: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body { background: #f9f9f9; color: var(--text-dark); }

/* লোগো ও নাম পাশাপাশি রাখার জন্য */
.logo-container {
    display: flex;
    align-items: center; /* ছবি ও লেখা লম্বাালম্বিভাবে মাঝখানে রাখবে */
    gap: 10px; /* ছবি ও লেখার মাঝখানের দূরত্ব */
}

.nav-logo-img {
    width: 125px; /* লোগোর চওড়া */
    height: 50px; /* লোগোর উচ্চতা */
  
    object-fit: cover; /* ছবি যেন চ্যাপ্টা না হয় */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2a6c;
    text-transform: uppercase;
}

.logo-text span {
    color: #b21f1f;
}

/* নেভিবার ঠিক রাখার জন্য */
.navbar {
    display: flex;
    justify-content: space-between; /* লোগো একপাশে এবং মেনু অন্যপাশে থাকবে */
    align-items: center;
    padding: 10px 10%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.logo { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); }
.logo span { color: var(--secondary-color); }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin: 0 20px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--secondary-color); }

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1520004481444-410a3cd039bd?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 { font-size: 4rem; margin-bottom: 20px; text-transform: uppercase; }

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
    transition: 0.3s;
}

.primary-btn { background: var(--secondary-color); color: white; }
.secondary-btn { background: white; color: var(--primary-color); }

/* Product Cards */
.products { padding: 80px 10%; }
.section-title { text-align: center; margin-bottom: 50px; }
.underline { width: 80px; height: 4px; background: var(--accent-color); margin: 10px auto; }

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

.product-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
    border-bottom: 5px solid transparent;
}

.product-card:hover { transform: translateY(-10px); border-bottom: 5px solid var(--primary-color); }

.img-placeholder {
    height: 100px;
    width: 100px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder i { font-size: 2.5rem; color: var(--primary-color); }

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    background: var(--primary-color);
    padding: 40px 0;
    color: white;
}

.feature-item { text-align: center; }
.feature-item i { font-size: 2rem; margin-bottom: 10px; color: var(--accent-color); }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    padding: 50px 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.team-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    width: 260px;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.img-box {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #007bff; /* Primary color */
}

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

.team-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 5px;
}

.role {
    color: #666;
    font-weight: 500;
}

.divider {
    max-width: 1000px;
    margin: 60px auto;
    border: 0;
    border-top: 1px solid #ddd;
}

/* Certificate Section */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-item {
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cert-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .team-card { width: 100%; max-width: 300px; }
}



/* --- Team & Contact Section Styling --- */

.team-section, .contact-info-section {
    padding: 80px 10%;
    text-align: center;
}

.team-section {
    background-color: #f9f9f9;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background: #b21f1f;
    margin: 0 auto 40px;
}

/* Team Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.member-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
}

/* Image Styling - এটি ছবির সমস্যা সমাধান করবে */
.member-img-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden; /* ফ্রেমের বাইরের অংশ লুকানোর জন্য */
    border: 5px solid #eee;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ছবি যেন চ্যাপ্টা না হয়ে ফ্রেমের সাথে সুন্দরভাবে বসে */
    display: block;
}

.member-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}

.designation {
    color: #b21f1f;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Contact Info Layout */
.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.info-card:hover {
    background: #1a2a6c;
    color: #fff;
}

.info-card i {
    font-size: 2rem;
    color: #b21f1f;
    margin-bottom: 15px;
}

.info-card:hover i {
    color: #fdbb2d;
}

.info-card h3 {
    margin-bottom: 10px;
}


/* Contact Information Section Styling */
.contact-info-section {
    padding: 80px 10%;
    background-color: #ffffff;
    text-align: center;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid #eee;
}

.info-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.info-card:hover i {
    color: var(--accent-color);
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: inherit;
}

/* Responsive adjustment for title */
.contact-info-section p {
    color: #666;
    margin-top: 10px;
}

footer { background: #111; color: #777; text-align: center; padding: 20px; }