/* ── Bangla Local Fonts ──────────────────────── */
@font-face {
  font-family: 'SolaimanLipi';
  src: url('../fonts/SolaimanLipi.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SolaimanLipi';
  src: url('../fonts/SolaimanLipi_Bold_10-03-12.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kalpurush';
  src: url('../fonts/kalpurush.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nikosh';
  src: url('../fonts/Nikosh.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #0d6efd;
  --secondary-color: #198754;
  --accent-color: #6f42c1;
  --light-bg: #f8f9fa;
  --dark-text: #212529;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  /* Bangla font stack */
  --font-bn: 'SolaimanLipi', 'Kalpurush', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --font-en: 'Roboto', 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-bn);
  color: var(--dark-text);
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-bn);
  line-height: 1.5;
}

p, span, a, div, label, input, select, textarea, button {
  font-family: var(--font-bn);
}

/* Navigation Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 600;
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

.navbar-brand i {
  margin-right: 8px;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Hero Section */
.hero-section {
  background: var(--gradient);
  color: white;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://z-cdn-media.chatglm.cn/files/1b938a85-b223-44bf-8853-70514e8fe4c0.jpeg?auth_key=1867688749-a5128d1c78e440ff8cb7e557cc8c8e8a-0-5c05b0f9e137078eab061f7b0d71f3ac') center/cover;
  opacity: 0.15;
  z-index: -1;
}

.hero-content h1 {
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-content h2 {
  font-weight: 500;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content h3 {
  font-weight: 400;
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.doctor-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease 0.8s both;
  transition: transform 0.3s ease;
}

.doctor-image:hover {
  transform: scale(1.05);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  font-weight: 600;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  overflow: hidden;
  background: white;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Chamber Cards */
.chamber-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  overflow: hidden;
}

.chamber-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.chamber-header {
  background: var(--gradient);
  color: white;
  padding: 25px;
  text-align: center;
}

.chamber-body {
  padding: 30px;
}

.chamber-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.chamber-info:last-child {
  border-bottom: none;
}

.chamber-info i {
  font-size: 1.3rem;
  margin-right: 15px;
  color: var(--primary-color);
  width: 30px;
}

/* Blog Section */
.blog-section {
  background-color: #f8f9fa;
}

.blog-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  background: white;
}

.blog-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #6c757d;
  font-size: 14px;
}

.blog-meta i {
  margin-right: 5px;
}

.blog-meta span {
  margin-right: 20px;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-text);
  line-height: 1.4;
}

.blog-excerpt {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more-btn {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.read-more-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover i {
  transform: translateX(5px);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.sidebar-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list li:hover {
  padding-left: 10px;
  color: var(--primary-color);
}

.category-list a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.category-count {
  background: #f0f0f0;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.recent-post {
  display: flex;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.recent-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-image {
  width: 90px;
  height: 90px;
  border-radius: 15px;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-post:hover .recent-post-image img {
  transform: scale(1.1);
}

.recent-post-content {
  flex-grow: 1;
}

.recent-post-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.recent-post-date {
  font-size: 13px;
  color: #6c757d;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  background: #f0f0f0;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  color: var(--dark-text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tag:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-input {
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.newsletter-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Video Section */
.video-section {
  background: #1a1a1a;
  padding: 80px 0;
  color: white;
}

.video-section .section-title {
  color: white;
}

.video-section .section-title::after {
  background: var(--accent-color);
}

.video-card {
  background: #2a2a2a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  margin-bottom: 25px;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
  position: relative;
  padding-bottom: 56.25%;
  background: #333;
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
  background: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
  color: var(--primary-color);
  font-size: 28px;
  margin-left: 3px;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
  font-size: 1.1rem;
}

.video-platform {
  font-size: 14px;
  color: #aaa;
}

.platform-section {
  margin-bottom: 50px;
}

.platform-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.platform-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.facebook-icon {
  background: #1877f2;
  color: white;
}

.youtube-icon {
  background: #ff0000;
  color: white;
}

.tiktok-icon {
  background: #000;
  color: white;
}

.see-more-btn {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

.see-more-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(111, 66, 193, 0.3);
}

.qr-code {
  width: 120px;
  height: 120px;
  margin: 15px auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.contact-info i {
  font-size: 1.5rem;
  margin-right: 20px;
  color: var(--primary-color);
  width: 40px;
}

/* Buttons */
.appointment-btn {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.appointment-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
}

.footer h4 {
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--gradient);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 80px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .doctor-image {
    width: 220px;
    height: 220px;
    margin-top: 30px;
  }

  .section {
    padding: 60px 0;
  }

  .blog-sidebar {
    margin-top: 50px;
    position: relative;
    top: 0;
  }

  .platform-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .platform-icon {
    margin-bottom: 15px;
    margin-right: 0;
  }
}

/* Loading Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Vertical Line */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 200px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-date {
  width: 180px;
  font-size: 0.85rem;
  font-weight: bold;
  padding-top: 15px;
  text-align: right;
  padding-right: 30px;
}

/* Timeline Dot */
.timeline-item::after {
  content: '';
  position: absolute;
  left: 196px;
  top: 18px;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  background: #eef7f9;
  /* Image er moto light blue/white tint */
  color: var(--dark-text);
  padding: 25px;
  border-radius: 4px;
  margin-left: 40px;
}

.image-box img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
  display: block;
}

.timeline-content h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #000;
}

.timeline-content p,
.skill-list {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.skill-list {
  padding-left: 0;
  list-style: none;
}

.skill-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

/* Bullet Icons */
.skill-list li::before {
  content: 'i';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  color: white;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .timeline-container::before,
  .timeline-item::after {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-date {
    width: 100%;
    text-align: left;
    padding-left: 40px;
    margin-bottom: 10px;
  }

  .timeline-content {
    margin-left: 40px;
  }
}

.appointment-card {
  background: linear-gradient(135deg, #6a5af9 0%, #4a3ba8 100%);
  padding: 40px;
  border-radius: 20px;
  color: white;
}

.form-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 2rem;
}

.custom-input {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
}

.custom-input:focus {
  outline: none;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.custom-input::placeholder {
  color: #666;
}


.submit-btn {
  background-color: #26d09c;
  color: #111;
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  display: inline-flex;
  align-items: center;
}

.submit-btn:hover {
  background-color: #1eb98a;
  transform: scale(1.05);
}

select.custom-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.footer-bottom {
  background: linear-gradient(135deg, #6a5af9 0%, #4a3ba8 100%);
  color: #ffffff;
  padding: 10px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  margin: 0;
  font-family: var(--font-bn);
}

.container-fluid {
  padding-left: 5%;
  padding-right: 5%;
}

@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .text-md-end {
    margin-top: 5px;
  }
}