/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary: #fbbf24;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.logo svg {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--bg-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav-links {
  list-style: none;
  padding: 20px;
}

.mobile-nav-links li {
  margin-bottom: 16px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-cta {
  display: block;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--bg-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-cta:hover {
  background: var(--primary-dark);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(30, 58, 138, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--bg-white);
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid var(--secondary);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeIn 1s ease 0.2s both;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 1s ease 0.5s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--secondary);
  color: var(--text-primary);
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
  background: var(--bg-white);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

.hero-trust-badges {
  display: flex;
  gap: 48px;
  animation: fadeInUp 1s ease 0.6s both;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
}

.trust-label {
  font-size: 14px;
  opacity: 0.9;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services Section */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--bg-white);
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 32px;
  background: var(--bg-white);
  border-radius: 16px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 58, 138, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}

.why-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.why-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
}

.testimonials-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 32px;
  overflow: hidden;
}

.testimonial-card {
  min-width: 100%;
  background: var(--bg-white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-rating {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 24px;
  font-weight: 700;
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.author-location {
  font-size: 14px;
  color: var(--text-secondary);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.testimonial-prev,
.testimonial-next {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

/* Testimonials Section - Infinite Scroll */
.testimonials-scroll-container {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.testimonials-scroll-track {
  display: flex;
  gap: 32px;
  animation: scroll 40s linear infinite;
  width: fit-content;
}

.testimonials-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card-scroll {
  min-width: 400px;
  max-width: 400px;
  background: var(--bg-white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.testimonial-card-scroll:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Booking Section */
.booking {
  background: var(--bg-white);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.booking-info {
  position: sticky;
  top: 120px;
}

.booking-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.booking-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.booking-feature svg {
  color: var(--success);
}

.booking-form-container {
  position: relative;
}

.booking-form {
  background: var(--bg-light);
  padding: 48px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}

.error-message {
  display: block;
  font-size: 14px;
  color: var(--error);
  margin-top: 6px;
  min-height: 20px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px;
  background: var(--bg-light);
  border-radius: 16px;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-success svg {
  color: var(--success);
  margin-bottom: 24px;
}

.form-success h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.form-success p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Technician Section */
.technician {
  background: var(--bg-white);
}

.technician-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
  background: var(--bg-light);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.technician-image {
  width: 100%;
  height: 550px; /* desktop default */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.technician-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%; /* keep face/upper body in view */
}

@media (max-width: 768px) {
  .technician-image {
    height: 350px; /* let height adjust naturally */
  }
  .technician-image img {
    object-fit: cover;            /* keep hero look */
    object-position: 50% 30%;     /* nudge focus higher */
  }
}

.technician-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.technician-name {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.technician-specialty {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.technician-experience {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.experience-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-white);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.experience-badge svg {
  color: var(--primary);
}

.technician-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.technician-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/* Location Section */
.location {
  background: var(--bg-light);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.location-map {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.location-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.location-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.location-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.location-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.location-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.location-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.location-cta {
  margin-top: 16px;
  padding: 32px;
  background: var(--bg-white);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.location-cta-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
  }
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--bg-white);
  padding: 64px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  opacity: 0.8;
}

.footer-links a {
  color: var(--bg-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-trust-badges {
    gap: 24px;
  }

  .trust-number {
    font-size: 24px;
  }

  .section-title {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .booking-info {
    position: static;
  }

  .booking-title {
    font-size: 32px;
  }

  .booking-form {
    padding: 32px 24px;
  }

  .testimonial-card-scroll {
    min-width: 320px;
    max-width: 320px;
    padding: 24px;
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location-map {
    height: 300px;
  }

  .technician-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .technician-image {
    height: 300px;
  }

  .technician-name {
    font-size: 28px;
  }

  .technician-specialty {
    font-size: 18px;
  }

  .technician-stats {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .service-card {
    padding: 24px;
  }

  .testimonial-card-scroll {
    min-width: 280px;
    max-width: 280px;
    padding: 20px;
  }

  .location-heading {
    font-size: 24px;
  }

  .technician-name {
    font-size: 24px;
  }

  .technician-experience {
    flex-direction: column;
    gap: 12px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
