:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.migration-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  font-size: 0.9rem;
}

.migration-banner a:hover {
  color: #fff !important;
}

.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(52, 58, 64, 0.95) !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-top: 50px;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Logo-only branding - removed text styles */

.navbar-logo {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Removed old footer styles - using new clean footer */

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.hero-section {
  background: var(--gradient-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-content h1 {
  color: #ffffff !important;
  font-weight: 700;
}

.hero-content p {
  color: #ffffff !important;
  font-weight: 500;
}

.hero-content .lead {
  font-weight: 600;
  padding: 0;
  margin-bottom: 2rem;
}

.hero-content strong {
  font-weight: 700;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  margin: 0.1rem;
  display: inline-block;
}

.hero-logo {
  max-width: 300px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.domain-notice .alert {
  backdrop-filter: blur(10px);
  border: none;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 193, 7, 0.15) !important;
  border-left: 4px solid #ffc107;
}

.domain-notice .alert-heading {
  color: #721c24;
}

.domain-notice .alert-danger {
  background: #ffffff !important;
  border: 2px solid #dc3545;
  border-radius: 10px;
  color: #212529 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.domain-notice .alert-danger h5 {
  color: #212529 !important;
  font-weight: 700;
}

.domain-notice .alert-danger p {
  color: #212529 !important;
  font-weight: 500;
  font-size: 1rem;
}

.domain-notice .alert-danger strong {
  background: #dc3545 !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin: 0.1rem;
}

.domain-notice .alert-danger .text-success {
  background: #28a745 !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin: 0.1rem;
}

.pulse-btn {
  animation: pulse-glow 2s infinite;
  background: #28a745 !important;
  border: none !important;
  font-weight: 600;
}

.pulse-btn:hover {
  background: #218838 !important;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  }
}

.announcement-badge {
  background: rgba(255, 193, 7, 0.9) !important;
  border: 1px solid #ffc107;
  color: #212529 !important;
  font-weight: 600;
  text-shadow: none;
}

.announcement-badge i,
.announcement-badge span {
  color: #212529 !important;
}

.cta-buttons .btn {
  padding: 1rem 3rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
}

.cta-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-content-right {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
  color: #212529;
}

.hero-content-right h3 {
  color: #212529 !important;
}

.hero-content-right p {
  color: #6c757d !important;
}

.content-tags .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  border-radius: 20px;
  display: inline-block;
}

.clean-footer {
  border-top: 1px solid #495057;
}

.footer-brand h6 {
  color: #28a745;
  font-weight: 600;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-seo {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}

.seo-keyword {
  font-weight: 600;
  color: #ffffff;
}

.seo-separator {
  margin: 0 1rem;
  color: #ffffff;
  font-weight: bold;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #28a745;
  text-decoration: underline;
}

.footer-contact {
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-contact strong {
  color: #28a745;
}

.copyright {
  font-size: 0.9rem;
}

.copyright small {
  color: #ffffff !important;
  opacity: 0.8;
}

.about-mlsbd {
  background: #f8f9fa;
}

.content-box {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: none;
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #212529;
  font-weight: 400;
}

.description-text p {
  margin-bottom: 1.5rem;
  color: #212529;
}

.description-text strong {
  color: #007bff;
  font-weight: 700;
}

.warning-section .alert {
  background: #fff3cd !important;
  border: 2px solid #ffc107;
  border-radius: 15px;
  color: #212529;
}

.warning-section .alert-heading {
  color: #856404;
  font-size: 1.3rem;
  font-weight: 700;
}

.warning-section .alert p {
  font-size: 1rem;
  line-height: 1.6;
  color: #212529;
  margin-bottom: 1rem;
}

.page-header {
  background: var(--gradient-primary);
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.feature-icon-small {
  font-size: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.commitment-card,
.commitment-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.commitment-card:hover,
.commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-method {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  text-align: center;
}

.keywords-tags .badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.alert {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.btn {
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.list-group-item {
  border: none;
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 0;
}

.list-group-item:last-child {
  border-bottom: none;
}

footer {
  margin-top: auto;
}

footer a:hover {
  color: var(--primary-color) !important;
  transition: color 0.3s ease;
}

/* Large tablets and medium screens */
@media (max-width: 992px) {
  .hero-section {
    padding: 7rem 0 3rem;
    min-height: calc(100vh - 100px);
  }

  .hero-content {
    display: block !important;
    visibility: visible !important;
  }

  .hero-content h1,
  .hero-content .display-4 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: block !important;
    visibility: visible !important;
    color: #ffffff !important;
  }

  .hero-content .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
}

/* Medium-large tablets - covers 815px-850px range */
@media (max-width: 850px) {
  .hero-section {
    padding: 7rem 0 3rem;
    min-height: calc(100vh - 105px);
  }

  .hero-content {
    padding: 1.5rem 1rem;
    text-align: center;
    display: block !important;
    visibility: visible !important;
  }

  .hero-content h1,
  .hero-content .display-4 {
    font-size: 2.45rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: block !important;
    visibility: visible !important;
    color: #ffffff !important;
  }

  .hero-content .lead {
    font-size: 1.08rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
}

/* Medium tablets - covers 775px-815px range */
@media (max-width: 820px) {
  .hero-section {
    padding: 6rem 0 3rem;
    min-height: calc(100vh - 90px);
  }

  .hero-content {
    padding: 1.5rem 1rem;
    text-align: center;
    display: block !important;
    visibility: visible !important;
  }

  .hero-content h1,
  .hero-content .display-4 {
    font-size: 2.4rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: block !important;
    visibility: visible !important;
    color: #ffffff !important;
  }

  .hero-content .lead {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.65;
  }
}

@media (max-width: 768px) {
  .migration-banner {
    padding: 0.8rem 0;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .navbar {
    margin-top: 60px;
  }

  .hero-section {
    padding: 6.5rem 0 3rem;
    min-height: calc(100vh - 100px);
    text-align: center;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.3rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  .hero-content .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    padding: 0;
  }

  .announcement-badge {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    margin-bottom: 1.5rem;
  }

  .domain-notice {
    margin: 2rem 0;
  }

  .domain-notice .alert {
    padding: 1.5rem;
    margin: 1rem;
  }

  .domain-notice .alert-heading {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .domain-notice .alert p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .cta-buttons {
    text-align: center;
    margin-top: 2rem;
  }

  .cta-buttons .btn {
    display: block;
    margin: 0.8rem auto;
    width: 90%;
    max-width: 300px;
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .navbar-logo {
    height: 35px;
    max-width: 150px;
  }

  .content-box {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .description-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .warning-section .alert {
    margin: 1rem;
    padding: 1.5rem;
  }

  .footer-content {
    padding: 1rem;
  }

  .footer-logo {
    height: 35px;
    margin-bottom: 1rem;
  }

  .footer-seo {
    font-size: 0.9rem;
    margin: 1.5rem 0;
    line-height: 1.8;
  }

  .seo-keyword {
    display: block;
    margin: 0.5rem 0;
    color: #ffffff !important;
  }

  .seo-separator {
    display: none;
  }

  .footer-links {
    margin: 1rem 0;
  }
}

@media (max-width: 576px) {
  .migration-banner {
    padding: 1rem 0;
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }

  .navbar {
    margin-top: 70px;
  }

  .hero-section {
    padding: 8rem 0 3rem;
    min-height: calc(100vh - 120px);
  }

  .hero-content {
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .hero-content .lead {
    font-size: 0.95rem;
    padding: 0;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .announcement-badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 2rem;
  }

  .domain-notice {
    margin: 2rem 1rem;
  }

  .domain-notice .alert {
    padding: 1.5rem 1rem;
  }

  .domain-notice .alert-heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .domain-notice .alert p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .cta-buttons .btn {
    font-size: 1rem;
    padding: 1rem 2rem;
    margin: 0.8rem auto;
    display: block;
    width: 85%;
    max-width: 280px;
  }

  .content-box {
    padding: 2rem 1rem;
    margin: 1rem 0.5rem;
  }

  .description-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .warning-section .alert {
    margin: 1rem 0.5rem;
    padding: 1.5rem 1rem;
  }

  .footer-content {
    padding: 1.5rem 1rem;
  }

  .footer-logo {
    height: 30px;
    margin-bottom: 1.5rem;
  }

  .footer-seo {
    font-size: 0.85rem;
    margin: 1.5rem 0;
  }

  .seo-keyword {
    display: block;
    margin: 0.8rem 0;
    color: #ffffff !important;
    font-weight: 600;
  }

  .seo-separator {
    display: none;
  }

  .footer-links {
    margin: 1.5rem 0;
  }

  .footer-link {
    font-size: 0.9rem;
    margin: 0 0.5rem;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  position: relative;
  overflow: hidden;
}

.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

@media (max-width: 480px) {
  .hero-section {
    padding: 8.5rem 0 3rem;
    min-height: calc(100vh - 130px);
  }

  .hero-content h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .hero-content .lead {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
}

/* Add smooth breakpoint for medium-small screens */
@media (max-width: 640px) and (min-width: 577px) {
  .hero-section {
    padding: 7.5rem 0 3rem;
    min-height: calc(100vh - 110px);
  }

  .hero-content h1 {
    font-size: 2.1rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.25;
  }

  .hero-content .lead {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }
}