/* ======================= গুগল ফন্ট এবং ভ্যারিয়েবলস ======================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --dark-blue: #0A1128;
    --light-bg: #FFFFFF;
    --off-white-bg: #F7F9FB;
    --accent-gold: #C9A86A;
    --text-light: #F0F0F0;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --border-light: #EAEAEA;
    --shadow: 0px 10px 30px rgba(0, 0, 0, 0.07);
}

/* ======================= সাধারণ স্টাইল ======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-blue);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    margin-top: 10px;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ======================= বাটন স্টাইল ======================= */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-dark {
    background-color: var(--dark-blue);
    color: var(--light-bg);
}

.btn-dark:hover {
    opacity: 0.9;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--dark-blue);
    font-weight: 700;
    display: inline-block;
    margin-top: 25px;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(201, 168, 106, 0.4);
}

/* ======================= হিরো সেকশন ======================= */
.hero-section {
  position: relative;
  padding: 100px 0; /* Changed from 100px to ensure proper spacing */
  text-align: center;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  filter: brightness(0.6);
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
  color: var(--text-light);
}

.hero-title h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title .subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}

.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.card {
  padding: 25px;
  border-radius: 12px;
  max-width: 350px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(25deg);
  transition: all 0.8s ease;
  pointer-events: none;
}

.card:hover::before {
  top: 0%;
  left: 0%;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(201, 168, 106, 0.35);
  border: 1px solid rgba(201, 168, 106, 0.4);
}

.dark-card {
  background: var(--dark-blue);
  color: var(--text-light);
}

.light-card {
  background: var(--light-bg);
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

.card-icon-bg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.card-icon-bg i {
  font-size: 1.8rem;
  color: var(--dark-blue);
}
    /* প্রিমিয়াম ডিভাইডার */
    .premium-divider {
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #FFD700, #FF8C00, #FFD700);
      border-radius: 2px;
      background-size: 200% 100%;
      animation: premiumLineAnim 3s linear infinite;
    }
    @keyframes premiumLineAnim {
      0% { background-position: 0% 50%; }
      100% { background-position: 200% 50%; }
    }

    /* রেসপনসিভ */
    @media (max-width: 768px) {
      .nav { display: none; flex-direction: column; }
      .nav.show { display: flex; background: var(--dark-blue); position: absolute; top: 60px; right: 0; padding: 20px; }
      .menu-toggle { display: block; color: var(--text-light); }
      .hero-title h1 { font-size: 2.2rem; }
      .hero-cards { flex-direction: column; align-items: center; }
    }

.section-divider {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.divider-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 8px var(--dark-blue);
}

.divider-icon i {
    font-size: 1.5rem;
    color: var(--dark-blue);
}


/* ======================= সলিউশনস সেকশন ======================= */
.solutions-section {
    background-color: var(--dark-blue);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--text-light);
}

.solutions-section .subtitle {
    color: var(--text-muted);
}

.solutions-section h2 {
    font-size: 3rem;
    font-weight: 700;
}

.solution-features {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-box {
    text-align: center;
}

.feature-box p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* ======================= সার্ভিসেস সেকশন ======================= */
.services-section {
    padding: 80px 0 100px;
    background: #0D1630 url('https://www.transparenttextures.com/patterns/az-subtle.png'); /* Subtle background pattern */
}

.services-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.services-left {
    flex: 1;
    color: var(--text-light);
}

.services-left .subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: none;
}

.service-items {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.item {
    text-align: center;
    color: var(--text-muted);
}

.item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    color: var(--accent-gold);
}

.item span {
    font-weight: 500;
    line-height: 1.4;
}

.service-description {
    font-size: 0.95rem;
    opacity: 0.7;
    max-width: 400px;
}

.services-right {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.small-card {
    padding: 25px;
    max-width: none;
}

.small-card .card-icon-bg {
    width: 50px;
    height: 50px;
}

.small-card .card-icon-bg i {
    font-size: 1.5rem;
}

.small-card h3 {
    font-size: 1.2rem;
}

.small-card p {
    font-size: 0.85rem;
    line-height: 1.6;
}


/* ======================= রেসপনসিভ ডিজাইন (মিডিয়া কোয়েরি) ======================= */
@media (max-width: 1024px) {
    .services-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .services-left {
        margin-bottom: 40px;
    }
    .service-items {
        justify-content: center;
    }
     .service-description {
        margin: 0 auto;
    }
    .services-right {
        width: 100%;
    }
}


@media (max-width: 768px) {
    h1 { font-size: 3rem !important; }
    h2 { font-size: 2.5rem !important; }

    .nav-links {
        display: none; /* Simple hiding for mobile. A JS solution would create a hamburger menu. */
    }
    
    .hero-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 90%;
    }
    
    .solution-features {
        flex-direction: column;
        align-items: center;
    }
    
    .services-right {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    
    header nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-items {
        flex-direction: column;
        gap: 20px;
    }
}

.card {
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* হোভার করলে প্রিমিয়াম গ্লো ও শাইন ইফেক্ট */
.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: rotate(25deg);
    transition: all 0.8s ease;
    pointer-events: none;
}

.card:hover::before {
    top: 0%;
    left: 0%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(201, 168, 106, 0.35);
    border: 1px solid rgba(201, 168, 106, 0.4);
}

/* ডার্ক কার্ডে হোভার */
.dark-card:hover {
    background: linear-gradient(145deg, #0a1128, #121b3d);
}

/* লাইট কার্ডে হোভার */
.light-card:hover {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
}

.premium-divider {
  width: 100%; /* এখানে লম্বা করার জন্য মান বাড়াও, যেমন 100% */
  height: 2px; /* লাইন কত মোটা হবে */
  background: linear-gradient(90deg, #FFD700, #FF8C00, #FFD700);
  margin: 0px auto;
  border-radius: 2px;

  /* Animation */
  background-size: 200% 100%;
  animation: premiumLineAnim 3s linear infinite;
}

@keyframes premiumLineAnim {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}


.premium-divider span {
  position: relative;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, gold, orange, gold);
  border-radius: 3px;
  animation: shimmer 2s infinite linear;
}

/* Shine Animation */
@keyframes shimmer {
  0% {
    background-position: -100px 0;
  }
  100% {
    background-position: 100px 0;
  }
}

.premium-divider span {
  background-size: 200% auto;
}
