/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Color & Global Variables Setup */
:root {
  --primary-color: #1b66ff; /* Hostnin Blue */
  --primary-hover: #1550ca;
  --text-dark: #0b1426;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-color: #f1f5f9;
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-dark);
}

/* Header & Nav Styling */
.site-header {
  border-color: var(--border-color) !important;
  z-index: 1030;
}

.site-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  font-size: 22px;
}

.navbar-menu .nav-link {
  color: var(--text-gray);
  transition: color 0.2s ease;
  font-size: 15px;
}

.navbar-menu .nav-link:hover,
.navbar-menu .nav-link.active {
  color: var(--primary-color) !important;
}

/* Social Icons in Header */
.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-gray);
  background-color: var(--bg-light);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--primary-color);
  background-color: #eff6ff;
  transform: translateY(-2px);
}

/* Custom Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  box-shadow: 0 8px 20px -5px rgba(27, 102, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
  transition: all 0.3s ease;
}
/* Hero Developer Image - Desktop View */
.hero-dev-img {
  z-index: 2;
  max-height: 650px !important; /* এখান থেকে হাইট বাড়িয়ে ছবির সাইজ বড় করতে পারবেন */
  width: 100%;
  object-fit: contain;
  margin-top: 50px !important; /* পিসিতে ছবি নিচে নামাতে চাইলে এই পিক্সেল বাড়াবেন */
  transform: scale(1.15) !important; /* এখান থেকেও জুম বা সাইজ বড় করতে পারেন */
  transform-origin: bottom center;
}

@media (max-width: 767.98px) {
  .hero-dev-img {
    margin-top: 40px !important; /* আগের বেশি মার্জিন কমিয়ে এখানে কম বা প্রয়োজনমতো পিক্সেল দিন */
    max-height: 300px !important;  /* মোবাইলে ছবির সাইজ একদম পারফেক্ট রাখার জন্য */
    position: relative;
    z-index: 5;
  }
}


.btn-outline-custom:hover {
  background-color: var(--bg-light);
  border-color: #cbd5e1;
  color: var(--text-dark);
}



/* Hero Section Styling */
.hero-title {
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.hero-badge {
  background-color: #eff6ff;
}

.hero-visual-wrapper {
  padding-top: 100px;
  min-height: 580px;
}

.dashboard-card-bg {
  background: var(--bg-light);
  max-width: 500px;
  z-index: 1;
  
}

.dot {
  width: 10px;
  height: 10px;
}

.hero-dev-img {
  z-index: 2;
  max-height: 740px;
  object-fit: contain;
}

.hero-play-btn {
  z-index: 3;
  width: 65px;
  height: 65px;
  background-color: #ef4444;
  transition: transform 0.3s ease, background-color 0.3s ease;
  top: 60% !important;
}

.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1) !important;
  background-color: #dc2626;
}

/* Services Section Styling */
.services-section {
  background-color: var(--bg-light) !important;
}

.services-section h2 {
  font-weight: 800 !important;
}

.bg-primary-light {
  background-color: #eff6ff;
}

.service-icon {
  width: 56px;
  height: 56px;
}

.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.service-link {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* Video Reels Aspect Ratio & Grid */
.ratio-9x16 {
  --bs-aspect-ratio: 177.77%;
}

/* PC & Tablet View (Grid Format) */
@media (min-width: 768px) {
  .video-reels-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Mobile View (Horizontal Scroll Format) */
@media (max-width: 767.98px) {
  .video-reels-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .video-reels-container::-webkit-scrollbar {
    display: none;
  }

  .reel-card {
    min-width: 250px;
    flex: 0 0 auto;
  }
}

/* Custom Play Overlay & Icon Styling */
.reel-overlay {
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 5;
}

.reel-overlay:hover {
  background: rgba(0, 0, 0, 0.15);
}

.yt-play-icon {
  width: 64px;
  height: 64px;
  background-color: #ff0000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.reel-overlay:hover .yt-play-icon {
  transform: scale(1.15);
  background-color: #cc0000;
}

.scroll-btn {
  width: 36px;
  height: 36px;
  padding: 0;
}
/* Optimized Mobile & iOS Fixes */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.compare-section .card,
.comparison-card,
.card {
  position: relative !important;
  overflow: visible !important;
}

@media (max-width: 767.98px) {
  /* Container Padding & Font Fix */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  .hero-title {
    font-size: 28px !important;
    word-wrap: break-word;
  }

  /* Layout Order Swap (Right section on Top) */
  #hero .row,
  .hero-section .row {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  /* Hero Card & Developer Image Position */
  .hero-visual-wrapper {
    min-height: auto !important;
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }

  .dashboard-card-bg {
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }

  .hero-dev-img {
    margin-top: 150px !important;
    max-height: 320px !important;
    position: relative;
    z-index: 5;
  }

  /* Comparison Card & Recommended Badge Alignment */
  .compare-section .card,
  .comparison-card {
    padding-top: 45px !important;
  }

  .compare-section .card h3,
  .comparison-card h3,
  .card-title {
    padding-right: 0 !important;
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }

  .recommended-badge,
  .compare-section .badge,
  .badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 4px 10px !important;
    z-index: 10 !important;
  }
}
/* Testimonials Section Styling */
.testimonials-section {
  background-color: var(--bg-light) !important;
}

.testimonial-card {
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.testimonial-card .stars {
  font-size: 14px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  font-size: 16px;
  flex-shrink: 0;
}

/* Contact Section Styling */
.contact-icon {
  width: 44px;
  height: 44px;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-section .form-control {
  border-color: var(--border-color);
  font-size: 14px;
}

.contact-section .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(27, 102, 255, 0.15);
}

/* Footer Styling */
.site-footer {
  background-color: #0b1426 !important;
}

#scrollTopBtn {
  width: 38px;
  height: 38px;
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Mobile View Fixes */
@media (max-width: 767.98px) {
  .hero-visual-wrapper {
    min-height: auto !important; /* নিচের ফালতু গ্যাপ দূর করবে */
    padding-top: 20px !important;
    margin-bottom: -30px; /* পরের সেকশনের সাথে স্পেস এডজাস্ট করবে */
  }

  .hero-dev-img {
    margin-top: 150px !important; /* ছেলেকে কার্ডের চেয়ে কিছুটা নিচে নামাবে */
    max-height: 380px !important;
  }
}

/* Mobile View Precise Fix */
@media (max-width: 767.98px) {
  .hero-visual-wrapper {
    min-height: auto !important;
    padding-top: 30px !important;
    padding-bottom: 20px !important;
  }

  .dashboard-card-bg {
    margin-bottom: 0 !important;
  }

  .hero-dev-img {
    margin-top: 150px !important; /* ৯০px নিচে নামানো হলো যাতে ওপরের লেখা একদম পরিষ্কার দেখা যায় */
    max-height: 340px !important;
    position: relative;
    z-index: 5;
  }
}

/* Card Container Fix */
.compare-section .card {
  position: relative;
  overflow: visible !important;
}

/* Recommended Badge iOS Fix */
.compare-section .badge,
.compare-section .recommended-badge {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  left: auto !important;
  transform: none !important;
  white-space: nowrap;
  z-index: 10;
}

/* Global Mobile Layout & Padding Fix for iOS */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  .hero-title {
    font-size: 28px !important; /* লেখা ছোট করে স্ক্রিনে ফিট করতে */
    word-wrap: break-word;
  }

  .hero-visual-wrapper {
    overflow: hidden; /* ব্যাকগ্রাউন্ড বাইরে বেরিয়ে যাওয়া আটকাবে */
  }
}

/* Swap Mobile Layout Order */
@media (max-width: 767.98px) {
  #hero .row,
  .hero-section .row {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
}

/* Card Container Relative Positioning */
.comparison-card, 
.card {
  position: relative !important;
  overflow: visible !important;
}

/* Recommended Badge Perfect Mobile Alignment */
@media (max-width: 767.98px) {
  /* Badge Absolute Placement */
  .recommended-badge,
  .badge {
    position: absolute !important;
    top: -12px !important; /* কার্ডের ওপরের বর্ডারে সুন্দরভাবে বসার জন্য */
    right: 15px !important;
    left: auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
    z-index: 10 !important;
  }

  /* Title Heading Space Adjustment */
  .comparison-card h3,
  .card h3,
  .card-title {
    padding-right: 110px !important; /* ডানে জায়গা ফাকা রাখবে যেন ব্যাজের নিচে টেক্সট না ঢোকে */
    font-size: 1.25rem !important; /* টাইটেল টেক্সট মোবাইল স্ক্রিনে ফিট রাখতে */
  }
}

/* Only Mobile View Layout & Clipping Fix */
@media (max-width: 767.98px) {
  /* Top Banner/Header Margin Fix */
  .hero-visual-wrapper {
    overflow: visible !important;
    padding-top: 70px !important; /* ওপরে কাটা ব্যাজের জন্য পর্যাপ্ত ফাকা জায়গা তৈরি করবে */
  }

  /* Dashboard Card Layout Protection */
  .dashboard-card-bg {
    overflow: visible !important;
    margin-top: 15px !important;
  }

  /* Badge Exact Scale & Placement for Mobile Screen */
  .dashboard-card-bg > div:first-child,
  .dashboard-card-bg .badge {
    transform: scale(0.85) !important; /* আইফোনের ছোট স্ক্রিনে ফিট করতে ব্যাজ দুটো ১৫% ছোট করবে */
    transform-origin: top right !important;
  }
}
/* Universal Auto-Fit Fix for Mobile (iOS & Android) */
@media (max-width: 767.98px) {
  .hero-dev-img {
    margin-top: clamp(100px, 25vw, 150px) !important;
    max-height: clamp(320px, 70vw, 400px) !important;
    width: auto !important;
  }
}
/* Mobile Fix: Single Line Badge & Inline Buttons */
@media (max-width: 767.98px) {
  
  /* 1. Badge 1 Line Fix */
  .hero-badge,
  [class*="hero-badge"] {
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 6px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
  }

  /* 2. Buttons Side-by-Side (Inline) Fix */
  .hero-section .btn,
  #hero .btn,
  .hero-cta-btns {
    display: inline-block !important;
    width: auto !important;
    margin-right: 8px !important;
    margin-bottom: 0 !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }

  /* Container wrapper for buttons to prevent full width break */
  .hero-section .d-flex,
  #hero .d-flex {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
}

/* Popup Theme Styles - PC, Android & iOS Friendly */
.theme-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 20, 38, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.theme-popup-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: popupScaleIn 0.3s ease-out forwards;
}

.theme-popup-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.theme-popup-close:hover {
  color: #0b1426;
}

/* Mobile Responsive Fixes for iOS & Android */
@media (max-width: 575.98px) {
  .theme-popup-card {
    padding: 25px 20px;
    max-width: 100%;
  }
  .theme-popup-card h2 {
    font-size: 22px !important;
  }
}

@keyframes popupScaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Clean & Fixed Messenger Widget Styles */
.ms-widget-wrap {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 999999 !important;
  width: auto !important;
  height: auto !important;
}

.ms-fab-btn {
  width: 60px !important;
  height: 60px !important;
  background-color: #0084ff !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.4) !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  transition: transform 0.2s ease;
}

.ms-fab-btn:hover {
  transform: scale(1.08);
}

.ms-popup-box {
  display: none; /* ডিফল্টভাবে বন্ধ থাকবে */
  position: absolute !important;
  bottom: 75px !important;
  right: 0 !important;
  width: 280px !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.ms-popup-head {
  padding: 14px 16px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
}

.ms-title-text {
  flex-grow: 1;
}

.ms-close-btn {
  background: #f1f5f9 !important;
  border: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  font-size: 16px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.ms-close-btn:hover {
  background: #e2e8f0 !important;
  color: #0b1426 !important;
}

.ms-popup-content {
  padding: 12px 16px 16px 16px !important;
  background: #ffffff !important;
}

.ms-chat-btn {
  display: block !important;
  width: 100% !important;
  background-color: #0084ff !important;
  color: #ffffff !important;
  text-align: center !important;
  padding: 10px 0 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: background 0.2s;
}

.ms-chat-btn:hover {
  background-color: #006dd6 !important;
  color: #fff !important;
}

/* Mobile Adjustments */
@media (max-width: 575.98px) {
  .ms-widget-wrap {
    bottom: 15px !important;
    right: 15px !important;
  }
  .ms-popup-box {
    width: 260px !important;
  }
}
/* Tech Stack Map Container */
.tech-map-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 450px;
  margin: auto;
}

/* Central Logo */
.central-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.25);
  z-index: 10;
  padding: 5px;
  border: 2px solid #0066ff;
}

.central-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Tech Logo Items */
.tech-item {
  position: absolute;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  padding: 8px;
  width: 75px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 5;
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
  border-color: #0066ff;
}

.tech-item img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

/* Circular Orbit Precise Positions (ঘড়ির কাঁটার মতো চারদিকে সাজানো) */
.tech-1 { top: 8%; left: 28%; }  /* WordPress */
.tech-2 { top: 25%; left: 5%; }   /* HTML */
.tech-3 { top: 58%; left: 5%; }   /* CSS */
.tech-4 { bottom: 8%; left: 30%; } /* JS */
.tech-5 { bottom: 12%; right: 28%; } /* VS Code */
.tech-6 { top: 58%; right: 5%; }  /* LocalWP */
.tech-7 { top: 25%; right: 5%; }  /* Git */

/* Connection Dotted Orbit Line */
.connection-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  height: 330px;
  border: 1px dashed #bcdcff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* Floating Animation */
@keyframes floatAnim {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.animated-float {
  animation: floatAnim 3s ease-in-out infinite !important;
}

/* আলাদা ডিলে যাতে সবাই একসাথে না দোলে */
.tech-1 { animation-delay: 0s; }
.tech-2 { animation-delay: 0.4s; }
.tech-3 { animation-delay: 0.8s; }
.tech-4 { animation-delay: 1.2s; }
.tech-5 { animation-delay: 1.6s; }
.tech-6 { animation-delay: 2.0s; }
.tech-7 { animation-delay: 2.4s; }

/* Google Form Styling Adjustment */
.google-form-wrapper iframe {
  width: 100%;
  margin-top: -10px; /* ফর্মের ওপরের অতিরিক্ত গ্যাপ কমানোর জন্য */
}

/* Mobile View - Only Developer Image Down & Size Fix */
@media (max-width: 767.98px) {
  .hero-dev-img {
    margin-top: 125px !important; /* ছবি নিচে নামানোর জন্য */
    max-height: 380px !important; /* এখান থেকে হাইট বাড়িয়ে ছবির সাইজ বড় করতে পারবেন (আগে ৩৪০px বা কম ছিল) */
    width: auto !important;
    position: relative !important;
    z-index: 5 !important;
  }
}

/* Mobile Responsive Fixes for Comparison Section */
@media (max-width: 767.98px) {
  .compare-section .card h3 {
    padding-right: 95px !important; /* মোবাইলে টাইটেল যেন ব্যাজের নিচে না যায় */
    font-size: 1.15rem !important;
  }
  .compare-section .card {
    padding: 20px !important; /* ছোট স্ক্রিনে কার্ডের প্যাডিং পারফেক্ট রাখার জন্য */
  }
}
/* লাইভ ভিডিও সেকশন এবং এর পরের সমস্ত সেকশনের ব্যাকগ্রাউন্ড স্বচ্ছ করা */
section, 
.video-reels-section, 
.services-section, 
.testimonials-section, 
.contact-section {
  background-color: transparent !important;
}


/* Services Section & Comparison Section Card White Background Fix */
.services-section .card,
.compare-section .card,
.comparison-card {
  background-color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #e2e8f0 !important;
}

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

img, iframe, video {
  max-width: 100%;
  height: auto;
}

/* মোবাইল স্ক্রিনের জন্য কার্ড এবং ব্যাজ ফিক্স */
@media (max-width: 767.98px) {
  /* কার্ডের ওপরের অংশ ফাকা করা যেন ব্যাজটি বাইরে না যায় */
  .comparison-card, 
  .card {
    position: relative !important;
    overflow: visible !important;
    margin-top: 25px !important; /* ওপরে একটু গ্যাপ তৈরি করবে */
  }

  /* ব্যাজটিকে কার্ডের ওপরের বর্ডারে সুন্দরভাবে সেট করা */
  .badge,
  [class*="badge"] {
    position: absolute !important;
    top: -14px !important;
    right: 15px !important;
    left: auto !important;
    transform: none !important;
    white-space: nowrap !important;
    z-index: 10 !important;
  }

  /* কার্ডের টাইটেল টেক্সট যেন ব্যাজের নিচে ঢাকা না পড়ে */
  .card h3,
  .card-title {
    padding-right: 90px !important;
  }
}

/* মোবাইল ভিউতে ওভারঅল সেকশন ও কার্ড পারফেক্ট ফিক্স */
@media (max-width: 767.98px) {
  /* সেকশনগুলোর ভেতরের প্যাডিং ঠিক করা */
  section, .py-5 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  /* কন্টেইনারের সাইড স্পেস ঠিক রাখা যেন লেখা বাইরে না যায় */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* কার্ডগুলোর মার্জিন ও প্যাডিং ফিক্স */
  .card, .comparison-card {
    margin-bottom: 20px !important;
    padding: 16px !important;
    overflow: visible !important;
  }

  /* সার্টিফিকেট এবং অন্যান্য কার্ডের হেডিং বা টেক্সট সাইজ ফিক্স */
  h2, .display-6 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  
  p {
    font-size: 14px !important;
  }

  /* ভিডিও বা ইমেজ রেশিও ঠিক রাখা */
  .ratio img, .ratio iframe, .img-fluid {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* হোয়াইট ডটেড ব্যাকগ্রাউন্ড */
  background-color: #ffffff;
  background-image: radial-gradient(rgba(0, 0, 0, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  font-family: 'Montserrat', sans-serif;
  
  /* আগের সেট করা টাইমিং অনুযায়ী ২.৮ সেকেন্ডে গায়েব হবে */
  animation: hidePreloader 0.4s ease forwards 2.8s;
}

.loader-content-wrapper {
  position: relative;
  width: 90%;
  max-width: 700px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.anim-step {
  position: absolute;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

/* Step 1: Smarter Insights. Faster decisions. (কালার: #2d80fd) */
.text-step-1 {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 600;
  color: #2d80fd;
  animation: step1Sequence 1.15s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.insight-text {
  opacity: 0;
  animation: fadeInSlide 0.35s ease forwards 0.1s;
}

.decision-text {
  opacity: 0;
  animation: fadeInSlide 0.35s ease forwards 0.35s;
}

/* Step 2: That's the power of (কালার: #2d80fd) */
.text-step-2 {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 600;
  color: #2d80fd;
  animation: step2Sequence 1.15s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.0s;
}

/* Step 3: Logo + Abdan.Tech */
.brand-step {
  animation: brandSequence 1.15s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1.8s;
}

.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(45, 128, 253, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #2d80fd;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #2d80fd;
  letter-spacing: -0.5px;
}

/* --- Keyframe Animations --- */
@keyframes fadeInSlide {
  0% { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes step1Sequence {
  0% { opacity: 1; filter: blur(0); transform: scale(1); }
  75% { opacity: 1; filter: blur(0); transform: scale(1); }
  100% { opacity: 0; filter: blur(8px); transform: scale(1.04); }
}

@keyframes step2Sequence {
  0% { opacity: 0; filter: blur(6px); transform: scale(0.95); }
  25% { opacity: 1; filter: blur(0); transform: scale(1); }
  75% { opacity: 1; filter: blur(0); transform: scale(1); }
  100% { opacity: 0; filter: blur(8px); transform: scale(1.04); }
}

@keyframes brandSequence {
  0% { opacity: 0; transform: scale(0.85); filter: blur(5px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* প্রি-লোডার ডিসমিশ অ্যানিমেশন */
@keyframes hidePreloader {
  0% { opacity: 1; visibility: visible; }
  99% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; display: none; }
}
/* প্রি-লোডারের ভেতরের টেক্সট মোবাইলে ফিট করার জন্য রেসপন্সিভ ফন্ট ও ফ্লেক্স প্রোপার্টি */
.anim-step {
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.text-step-1, 
.text-step-2 {
  font-size: clamp(1rem, 4.5vw, 2.2rem) !important; /* স্ক্রিনের উইডথ অনুযায়ী অটো স্কেল হবে */
  white-space: normal !important; /* মোবাইলে ভেঙে এক লাইনে না থাকলে অ্যাডজাস্ট হবে */
  text-align: center;
}

/* মোবাইল স্ক্রিনের জন্য মিডিয়া কোয়েরি (বিশেষ করে স্মল ডিভাইসে পাশাপাশি ফিট করার জন্য) */
@media (max-width: 576px) {
  .text-step-1, 
  .text-step-2 {
    font-size: 1.05rem !important; /* টেক্সট ছোট হয়ে পাশাপাশি সুন্দরভাবে এটে যাবে */
    gap: 6px !important;
  }

  .brand-name {
    font-size: 1.3rem !important;
  }
}