/* style.css — TAKAMUL ওয়েবসাইট স্টাইলশীট
   বিভাগসমূহ: variables, navbar, hero, components, utilities
   মন্তব্যগুলো বাংলা করা হয়েছে — শ্রেণীবদ্ধ ও সহজবোধ্য */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', "Segoe UI", system-ui, sans-serif;
  background: #f8f9fc;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  /* ফিক্সড navbar-এ কনটেন্ট ঢাকা পড়া রোধ করার জন্য উপরের দিকে স্পেস রাখছি */
  padding-top: 75px;
} 

:root {
  --hero-title-color: #ffffff;
  --hero-text-color: rgba(255,255,255,0.92);
  /* badge ডিফল্ট মান (`.course-card`-এর জন্য নিরাপদ ডিফল্ট) */
  --badge-size: 44px;
  --badge-top: 18px;
  --badge-left: 18px;
  --badge-dot-size: 8px;
} 

/* হিরো টেক্সট: পড়ার সুবিধা ও গুরুত্ব বাড়ানোর স্টাইল */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--hero-title-color);
  text-shadow: 0 8px 30px rgba(0,0,0,0.45);
  letter-spacing: -0.5px;
  line-height: 1.05;
}

.hero-text {
  margin-top: 20px;
  color:white !important;
  text-shadow: 0 4px 18px rgba(0,0,0,0.28);
  font-size: 1.1rem;
}

/* CSS ভ্যারিয়েবল: ব্যাজ ও অ্যাকসেন্ট সহজে কাস্টমাইজ করার জন্য */
:root {
  /* ভবিষ্যতে অ্যাকসেন্ট ব্যবহারের জন্য রাখা হয়েছে */
  --badge-color: #8b2bff; /* অ্যাকসেন্ট কালার */
} 

/* NAVBAR (শীর্ষ নেভিগেশন) */
.custom-nav {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  height: 75px;
  font-size: 18px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
}

.navbar-brand .brand-logo {
  height: 70px;
  width: auto;
  display: inline-block;
}

.nav-link {
  font-weight: 500;
}
.hero-section{
  position: relative; /* ব্যাকগ্রাউন্ড লেয়ারের জন্য relative প্রয়োজন */
  height: 70vh;
}
/* HERO (হিরো সেকশন) */
.hero-section {
  position: relative; /* স্লাইড স্ট্যাকিংয়ের উদ্দেশ্যে */
  height: 70vh;
  padding: 40px 0;
  background: linear-gradient(135deg, #fdf0e8, #eef4ff);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* হিরো-এ ব্যাকগ্রাউন্ড স্লাইডশো */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .9s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}
.hero-bg .bg-slide.active { opacity: 1; }

/* overlay: ব্যাকগ্রাউন্ড এবং কনটেন্টের মাঝে কনট্রাস্ট বাড়াতে */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.10) 60%, rgba(0,0,0,0.35) 100%);
}

/* keep content above the background and overlay */
.hero-section .container { position: relative; z-index: 2; }

.hero-title {
  font-size: 3rem;
  font-weight: 700;
}

.hero-text {
  margin-top: 20px;
  color: #555;
  font-size: 1.1rem;
}

/* ভিডিও বক্স */
.video-box {
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* কোর্স সেকশন */
.course-section {
  padding: 60px 0;
  box-sizing: border-box;
}

/* কনট্যাক্ট সেকশন */
.contact-section {
  padding: 60px 0 80px;
  background: #f6f8fb;
}
/* contact-card-কে course-card-এর মতো ভিজ্যুয়াল মেলাতে */
.contact-card {
  min-height: 260px;
  background: linear-gradient(180deg, #fff9fb 0%, #fff 100%);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(46, 43, 64, 0.08);
  border: 1px solid rgba(232, 220, 245, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
  padding: 28px;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(46,43,64,0.12);
}

.contact-title {
  font-weight: 700;
  font-size: 2rem;
  color: #1b1b1b;
}
.contact-sub { margin-bottom: 0.75rem; }

.input-group .input-group-text {
  border-radius: 8px 0 0 8px;
  border-right: 0;
  background: transparent;
}
.form-control {
  border-radius: 0 8px 8px 0;
  box-shadow: none;
  border-color: rgba(0,0,0,0.08);
}

@media (max-width: 575.98px) {
  .contact-card { padding: 28px; }
  .contact-title { font-size: 1.4rem; }
}

.section-title {
  text-align: center;
  font-weight: 700;
}

.course-card {
  min-height: 260px;
  background: linear-gradient(180deg, #fff6fb 0%, #fff 100%);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(46, 43, 64, 0.08);
  border: 1px solid rgba(232, 220, 245, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
  /* বেজটি কার্ডের ভিতরে ক্লিপ না হয়ে ঠিকঠাক দেখানোর জন্য উপরের দিকে স্পেস রাখছি */
  padding-top: calc(var(--badge-size) / 2 + 12px);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(46,43,64,0.12);
}

.badge-number {
  position: absolute;
  top: var(--badge-top);
  left: var(--badge-left);
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,0.5)), rgba(246,232,255,0.95);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 22px rgba(139,43,255,0.12);
  z-index: 2;
}

.badge-dot {
  width: var(--badge-dot-size);
  height: var(--badge-dot-size);
  border-radius: 50%;
  background: linear-gradient(135deg, #8b2bff, #c38bff);
  box-shadow: 0 6px 14px rgba(139,43,255,0.15);
  display:block;
}


/* Slightly tighter title spacing now that badge sits inside the card */
.card-title {
  margin-top: 8px;
  font-size:1.125rem;
  font-weight:700;
  color:#1b1b1b;
}

.card-desc {
  margin-top: 10px;
  color:#6b6b6b;
  font-size:0.95rem;
  line-height:1.5;
}

/* TEAM (টিম সেকশন) */
.team-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

/* Make the card fill the column and use flex so content balances and bottoms align */
.member-card {
  min-height: 360px;
  height: 100%;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(46, 43, 64, 0.06);
  border: 1px solid rgba(232, 232, 245, 0.6);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 20px;
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.member-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px rgba(46,43,64,0.10); }

/* Slightly taller top band for visual balance */
.member-card .card-top{ position: absolute; top:0; left:0; right:0; height:96px; border-top-left-radius:18px; border-top-right-radius:18px; }

/* Larger avatar and deeper overlap so every card lines up visually */
.member-avatar{ width:96px; height:96px; border-radius:50%; object-fit:cover; border:6px solid #fff; box-shadow:0 12px 30px rgba(0,0,0,0.12); position: relative; margin-top: -48px; display:block; margin-left:auto; margin-right:auto; }

.member-name{ margin-top: 10px; font-size:1.05rem; font-weight:700; color:#1b1b1b; }
.member-role{ color:#9aa0b4; font-size:0.9rem; margin-bottom: 8px; }

/* Let the bio take remaining space so shorter/longer bios don't change the card height */
.member-bio{ color:#6b6b6b; font-size:0.95rem; padding:0 12px; line-height:1.5; flex: 1; }

.member-social{ display:flex; justify-content:center; align-items:center; gap:10px; margin-top:12px; }
.member-social .social{ display:inline-flex; width:36px; height:36px; border-radius:50%; align-items:center; justify-content:center; background:#f1f3ff; color:#4f5bff; text-decoration:none; font-weight:700; box-shadow:0 8px 20px rgba(79,91,255,0.06); }

@media (max-width: 575.98px){
  .team-section{ padding: 40px 0; }
  .member-card{ min-height: auto; padding-top: 48px; }
  .member-avatar{ width:80px; height:80px; margin-top:-40px; }
}

/* বাটন স্টাইলিং */
/* .btn-primary সাধারণ কলার ও হোভার স্টাইল নিয়ন্ত্রণ করে; নেভবারের সিএটিএর জন্য আলাদা স্কোপ প্রয়োজনে যোগ করুন */
.btn-primary {
  background: #4f5bff;
  border: none;
}

.btn-primary:hover {
  background: #3e49d6;
}

/* NAVBAR - লোগো সাইজিং এবং রেসপন্সিভ টুইকস */
.navbar-brand .brand-logo {
  height: 75x;
  width: auto;
  display: inline-block;
}

@media (max-width: 991.98px) {
  .custom-nav {
    height: auto;
    padding: 0.5rem 1rem;
    font-size: 16px;
  }
  .navbar-nav {
    gap: 0.5rem;
  }
  .navbar .nav-link {
    padding: .25rem 0;
  }
  .navbar-brand .brand-logo {
    height: 40px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand .brand-logo {
    height: 36px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .video-box {
    height: 220px;
  }
  .hero-section {
    padding: 20px 0;
  }
}

/* মোবাইল কোল্যাপস ব্যাকগ্রাউন্ড ও ড্রপডাউন টুইকস */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    padding: .5rem 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    z-index: 1200;
  }
}

.dropdown-menu {
  min-width: 12rem;
}

/* FOOTER (পাদলেখ) */
.site-footer{
  background: linear-gradient(180deg,#0b0b0c,#151515);
  color: #e6e6e6;
  padding: 10px 0 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.site-footer .footer-brand{
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.site-footer .footer-address{
  color: #bdbdbd;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.site-footer .footer-contact{ color: #cfcfcf; font-size:0.98rem; margin-bottom: 12px; display:flex; justify-content:center; gap:12px; align-items:center; flex-wrap:wrap; }
.site-footer a{ color: #ff4959; text-decoration: none; font-weight:600; }
.site-footer .footer-bottom{ color:#9f9f9f; margin-top: 6px; font-size:0.95rem; }

@media (max-width: 575.98px){
  .site-footer{ padding: 24px 0; text-align:center; }
  .site-footer .footer-contact{ font-size:0.92rem; gap:8px; }
}

/* ভিডিওকে রেসপন্সিভ রাখুন */
.video-box {
  height: 320px;
  width: 450px;
  position: relative;
  left: 300px;
}

@media (max-width: 1200px) {
  .video-box {
    height: 280px;
    width: 400px;
    left: 180px;
  }
}

@media (max-width: 991.98px) {
  .video-box {
    height: 250px;
    width: 100%;
    left: 0;
  }
}

@media (max-width: 575.98px) {
  .video-box {
    height: 220px;
    width: 100%;
    left: 0;
  }
  .video-box video { object-fit: cover; }
}

.member-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    position: relative;
    margin-top: 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

 .member-name{
        white-space: nowrap;
        font-size:18px;
        font-weight:600;
        }

        .member-role{
        font-size:14px;
        color:#777;
        font-weight:500;
        }
        .site-footer a{
color:#fff;
}

.site-footer a:hover{
text-decoration:underline;
}