/* Bangladesh Healthcare Solution - Main Stylesheet */
:root {
  /* Color theme inspired by the 2026 graphic – warm orange/amber + teal accents */
  --primary: #E85D04;
  --primary-dark: #C44D03;
  --primary-light: #F77F00;
  --accent: #2A9D8F;
  --accent-hover: #21867a;
  --secondary: #F4A261;
  --text: #2c3e50;
  --text-light: #5a6a7a;
  --bg-light: #FFF8F0;
  --bg-white: #ffffff;
  --border: #F0E6D8;
  --shadow: 0 4px 20px rgba(232, 93, 4, 0.12);
  --shadow-lg: 0 10px 40px rgba(232, 93, 4, 0.18);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER / NAVBAR ========== */
.header {
  background: var(--bg-white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
}

.logo-icon {
    width: 200px;
    height: 100px;
    background-image: url("../images/logo.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo .tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(232, 93, 4, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO SLIDER ========== */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #238A80;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(35, 138, 128, 0.7);
    z-index: 3;
    display: flex;
    align-items: center;
}

.hero-content {
  max-width: 700px;
  color: white;
  padding: 20px 0;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 12px;
  opacity: 0.95;
  line-height: 1.5;
}

.hero-content .sub {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 168, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-secondary {
  background: var(--primary);
  color: white;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dots button.active {
  background: white;
}

/* ========== SECTIONS ========== */
section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ========== ABOUT SHORT ========== */
.about-short {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 18px 10px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== PRODUCT CARDS ========== */
.products-preview {
  background: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.product-card .icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-available {
  background: #e6f7f0;
  color: #0d8a5a;
}

.badge-opportunity {
  background: #fff3e0;
  color: #e67e00;
}

.badge-development {
  background: #eef2ff;
  color: #4a5fd0;
}

/* ========== SERVICES ========== */
.services-section {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-item {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-item .s-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(42, 157, 143, 0.14);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.service-item h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.service-item p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ========== CTA ========== */
.cta-section {
    background: #02413B;
    color: white;
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    background: linear-gradient(135deg, rgb(44, 62, 80) 0%, rgb(33, 134, 122) 100%);
    color: white;
    padding: 60px 0 50px;
    text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 10px;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ABOUT PAGE ========== */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.vm-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.vm-card h3 {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.vm-card ul {
  margin-top: 12px;
}

.vm-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.vm-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== LEADERSHIP ========== */
.leader-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--border);
}

.leader-photo {
  background: linear-gradient(160deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  font-weight: 700;
  min-height: 280px;
}

.leader-info {
  padding: 36px;
}

.leader-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.leader-info .title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1rem;
}

.leader-info .quote {
  font-style: italic;
  color: var(--text-light);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.leader-info p {
  color: var(--text-light);
  margin-bottom: 12px;
}

/* ========== PRODUCTS PAGE ========== */
.product-category {
  margin-bottom: 50px;
}

.product-category h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-category > p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.item-list li {
  background: var(--bg-light);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.item-list li:hover {
  border-color: var(--accent);
  background: white;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 12px;
}

.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.contact-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-row .c-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-row strong {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-row span {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========== KNOWLEDGE / NEWS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.info-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.footer {
    background: #238A80;
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  background: none;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 18px;
}

.footer h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.85;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.7;
}

.footer-contact i {
    color: white;
    font-size: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 2px;
  }
  .nav-menu a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .leader-card {
    grid-template-columns: 220px 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .hero {
    height: 420px;
  }

  .about-grid,
  .vision-mission,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .leader-card {
    grid-template-columns: 1fr;
  }

  .leader-photo {
    min-height: 180px;
    font-size: 3rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 380px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo span .full-name {
    display: none;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
