

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;

    position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}
/* active video visible হবে */
.hero-video.active {
  opacity: 0.7; /* তোমার existing opacity maintain */
  z-index: 2;
}
/* inactive video hide থাকবে */
.hero-video:not(.active) {
  opacity: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,30,70,0.8) 0%, rgba(0,86,167,0.6) 100%);
  z-index: 1000;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  z-index: 1002;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--accent-gold);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}

.hero-section h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: var(--accent-gold);
  color: #000;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(198,146,20,0.35);
}
.cta-primary:hover {
  background: #dba31e;
}

.cta-secondary {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

@media (max-width: 600px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 6rem 1rem;
  }
}







/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 6rem 1.5rem;
  background: var(--light-bg);
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  /* flex: 1 1 auto; */
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: .5s;
  /* নতুন যোগ করুন */
  height: auto; 
  aspect-ratio: 3 / 2; /* অথবা আপনার ইমেজের মাপ অনুযায়ী (যেমন: 4/3 বা 1/1) */
}

.about-image img {
  width: 100%;
  height: 100%; /* ইমেজকে কন্টেইনারের সমান করতে */
  object-fit: cover;
  transition: transform .5s;
}
.about-image:hover {
  box-shadow: 0px 0px 12px black;
}
.about-image img:hover {
  transform: scale(1.08);
}

.about-text {
  flex: 1 1 400px;
}

.section-label {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.highlight-blue {
  color: var(--primary-blue);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.cert-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(0,86,167,0.08);
  border: 2px solid rgba(0,86,167,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-blue);
}
.cert-badge strong {
  color: var(--text-dark);
  font-size: 1.1rem;
}
.cert-badge small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 896px) {
  .about-container {
    flex-direction: column;
  }
}









/* ===== SERVICES SECTION (টাইমলাইন লেআউট) ===== */
.services-section {
  padding: 6rem 1.5rem;
  background: var(--off-white);   /* #F8F9FA */
  position: relative;
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services-section .section-header h2 {
  font-size: 2.8rem;
  color: var(--text-dark);
  margin: 0.5rem 0 1rem;
}
.services-section .section-header p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-blue);
}

/* টাইমলাইন কন্টেইনার */
.timeline {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
  padding: 1rem 0;
}

/* উলম্ব রেখা */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary-blue), var(--accent-gold), transparent);
  transform: translateX(-50%);
}

/* আইটেম – বাম/ডান */
.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item.left {
  justify-content: flex-start;
}
.timeline-item.right {
  justify-content: flex-end;
}

/* কার্ড */
.timeline-card {
  width: calc(50% - 35px);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

/* ইমেজ অংশ */
.card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.timeline-card:hover .card-image img {
  transform: scale(1.03);
}

/* টেক্সট অংশ */
.card-text {
  padding: 1.5rem;
}
.date {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
  display: block;
}
.card-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.role {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}
.card-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ডট (সোনালী) */
.timeline-item.left .timeline-card::after,
.timeline-item.right .timeline-card::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--accent-gold);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(198,146,20,0.4);
  z-index: 2;
}
.timeline-item.left .timeline-card::after {
  right: -42px;
}
.timeline-item.right .timeline-card::before {
  left: -42px;
}

/* মোবাইল */
@media (max-width: 768px) {
  .timeline::before {
    left: 24px;
  }
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    justify-content: flex-start;
    padding-left: 50px;
  }
  .timeline-card {
    width: 100%;
  }
  .timeline-item.left .timeline-card::after,
  .timeline-item.right .timeline-card::before {
    left: -33px;
    right: auto;
    top: 20px;
  }
}


/* services-ul-container */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
/* কন্টেইনার স্টাইল */
.services-ul-container {
    max-width: 900px;
    margin: 30px auto;
    display: flex;
    flex-direction: column; /* মোবাইলে উপর-নিচ দেখাবে */
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* লিস্ট আইটেম স্টাইল */
.services-ul-itme ul {
    padding: 30px; 
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.services-ul-itme ul li {
    font-weight: 550;
    font-size: 1.2rem;
    color: rgb(67, 67, 67);
}

/* মোবাইলের জন্য হরিজন্টাল লাইন */
.responsive-line {
    width: 100%;
    height: 2px;
    background-color: #ccc; /* লাইনের রঙ */
    border: none;
    margin: 10px 0;
}

/* কম্পিউটার বা বড় স্ক্রিনের জন্য (Min-width: 768px) */
@media (min-width: 768px) {
    .services-ul-container {
        flex-direction: row; /* কম্পিউটারে পাশাপাশি দেখাবে */
        justify-content: space-between;
        align-items: stretch;
    }

    .services-ul-itme {
        flex: 1; /* দুই পাশের লিস্ট সমান জায়গা নিবে */
    }

    .responsive-line {
        width: 2px;         /* লাইনটি চিকন হয়ে যাবে */
        height: auto;       /* কন্টেন্টের উচ্চতা অনুযায়ী লম্বা হবে */
        min-height: 150px;  /* সর্বনিম্ন উচ্চতা */
        background-color: #ccc;
        margin: 0 30px;     /* ডানে-বামে গ্যাপ */
    }
}



/* ===== PROJECTS GALLERY ===== */
.projects-section {
  padding: 6rem 1.5rem;
  background: var(--light-bg);
}

.projects-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-sm);
} 
.gallery-item:hover {
    box-shadow: 0px 0px 12px black;
    transition: 0.5s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.08); 
}
