/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Header styles */
.site-header {
  background-color: #0ea5a5;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.site-header nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

/* Skip link */
.skip {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0ea5a5;
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip:focus {
  top: 0;
}

/* Hero section */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  gap: 2rem;
}

.hero > div {
  flex: 1;
  min-width: 300px;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0ea5a5;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

.badgelist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  background-color: #e0f2fe;
  color: #0c4a6e;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  background-color: #0ea5a5;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0d9488;
}

.btn.outline {
  background-color: transparent;
  border: 2px solid #0ea5a5;
  color: #0ea5a5;
}

.btn.outline:hover {
  background-color: #0ea5a5;
  color: white;
}

.kv {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Section styles */
.section {
  padding: 3rem 0;
}

/* Grid system */
.grid {
  display: grid;
  gap: 2rem;
}

.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card styles */
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.card h2 {
  color: #0ea5a5;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #475569;
}

/* Contact page styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-list {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-list strong {
  min-width: 100px;
  margin-right: 0.5rem;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

/* Reviews page styles */
.review-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* FAQ styles */
.faq details {
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq p {
  padding-top: 0.5rem;
  color: #475569;
}

/* Footer styles */
.site-footer {
  background-color: #0f172a;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: #0ea5a5;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-grid a:hover {
  color: #0ea5a5;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

/* WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
  width: 100%;
  height: auto;
}

/* Blog styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #64748b;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0ea5a5;
}

.blog-card-excerpt {
  color: #475569;
  margin-bottom: 1rem;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.blog-tag {
  background-color: #e0f2fe;
  color: #0c4a6e;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Single blog post styles */
.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #64748b;
}

.blog-post-title {
  font-size: 2.5rem;
  color: #0ea5a5;
  margin-bottom: 1rem;
}

.blog-post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.blog-post-content {
  line-height: 1.8;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content h2 {
  color: #0ea5a5;
  margin: 2rem 0 1rem;
}

.blog-post-content h3 {
  color: #0ea5a5;
  margin: 1.5rem 0 0.75rem;
}

.blog-post-content blockquote {
  border-left: 4px solid #0ea5a5;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #64748b;
}

/* Sidebar styles */
.sidebar {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar h3 {
  color: #0ea5a5;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0f2fe;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar a {
  color: #475569;
  text-decoration: none;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: #0ea5a5;
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
}

.newsletter-form button {
  background-color: #0ea5a5;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #0d9488;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .site-header nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
  }
  
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .cta {
    justify-content: center;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .review-card {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .title {
    font-size: 1.8rem;
  }
  
  .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .blog-post-title {
    font-size: 1.75rem;
  }
  
  .blog-card-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}


/* Responsive images and media */
img, .kv, .avatar { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
@media (max-width: 900px){
  .hero { grid-template-columns: 1fr !important; padding: 24px 0; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .site-header .nav { padding: 8px 16px; }
  .site-header nav a { display:inline-block; margin-left:8px; padding:8px; }
  .hero .title { font-size: 1.6rem; }
  .site-header .nav { align-items:center; }
}
/* Reduce font-sizes for faster rendering on mobile */
h1 { font-size: clamp(1.4rem, 4vw, 2rem); }
h2 { font-size: clamp(1.1rem, 3.5vw, 1.6rem); }
p { font-size: clamp(0.95rem, 2.2vw, 1rem); }
