:root {
  --primary-color: #0066cc;
  --primary-dark: #004d99;
  --secondary-color: #00c9a7;
  --accent-color: #ff6b35;
  --text-dark: #2c3e50;
  --text-light: #718096;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-hero: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* Modern Header */
.modern-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 204, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.modern-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  position: relative;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-section img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.logo-section img:hover {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 2px;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Modern Navbar */
.modern-navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(0, 102, 204, 0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--white);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
}

.nav-link i {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(0, 102, 204, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.875rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--gradient-hero);
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-toggle:hover {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  margin-top: 90px;
  padding: 4rem 1.5rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(102, 126, 234, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Card */
.main-card {
  max-width: 1000px;
  margin: 2rem auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 102, 204, 0.1);
}

.card-banner {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--gradient-primary);
}

.card-content {
  padding: 2rem;
  text-align: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-secondary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Footer */
.modern-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
.nav-link:focus,
.dropdown-item:focus,
.mobile-toggle:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Body scroll lock for mobile menu */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100vh;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-navbar {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .modern-navbar.active {
    display: block !important;
  }

  .nav-menu {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    min-height: auto;
    max-height: none;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 102, 204, 0.05);
    margin-top: 0.5rem;
    border-radius: 12px;
    max-height: none;
  }

  .dropdown-item {
    padding: 0.875rem 1.25rem;
  }

  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  /* Mobile brand text adjustments - KEEP VISIBLE */
  .brand-text {
    display: flex;
    flex-direction: column;
  }

  .brand-title {
    font-size: 0.95rem;
    line-height: 1.1;
    margin-bottom: 1px;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  /* Adjust logo section gap on mobile */
  .logo-section {
    gap: 0.75rem;
  }

  .logo-section img {
    width: 45px;
    height: 45px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .header-container {
    padding: 0.5rem 1rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .modern-navbar {
    top: 100%;
    bottom: 0;
  }
  
  .nav-menu {
    padding: 0.75rem;
  }
  
  .nav-link {
    padding: 0.875rem 1rem;
  }

  .brand-title {
    font-size: 0.85rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .logo-section img {
    width: 40px;
    height: 40px;
  }

  .logo-section {
    gap: 0.5rem;
  }

  .header-container {
    padding: 0.4rem 0.8rem;
  }

}

@media (max-width: 768px) {
  .modern-navbar.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
