 /* MTechify/frontend/css/style.css */
:root {
  --navy: #1A3C6E;
  --navy-dark: #0F2A4A;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-600: #6B7280;
  --gray-900: #111827;
  --green: #25D366;
  --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);
  --radius: 12px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 42, 74, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  padding: 12px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 250px;
}

.logo-icon {
  width: 58px;
  height: 58px;
  background: transparent;
  border: 2px solid rgba(245, 158, 11, 0.55);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--navy);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.logo-text {
  font-weight: 700;
  color: var(--white);
}

.logo-main,
.logo-tag {
  display: block;
}

.logo-main {
  font-size: 1.08rem;
  line-height: 1.15;
}

.logo-tag {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.btn-whatsapp-nav {
  background: var(--green);
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: transform 0.3s;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 132px 0 72px;
}

.hero-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 40%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  animation: drift 20s infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.badge-gold {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.highlight {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn-primary, .btn-outline {
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: white;
}

.trust-badge {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--navy);
}

/* Services Grid */
.services-grid, .features-grid, .pricing-grid, .portfolio-grid, .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  border: 1px solid var(--gray-100);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.service-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 16px;
}

.service-status.active {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
}

.service-status.soon {
  background: rgba(107, 114, 128, 0.1);
  color: var(--gray-600);
}

/* Pricing */
.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s;
}

.pricing-card.popular {
  border: 2px solid var(--gold);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 16px 0;
}

.pricing-card ul {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.pricing-card li {
  margin: 12px 0;
  padding-left: 24px;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.btn-order {
  display: inline-block;
  padding: 12px 24px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-order.gold {
  background: var(--gold);
  color: var(--navy);
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  border-radius: var(--radius);
  padding: 48px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font-family: inherit;
}

.btn-submit {
  background: var(--gold);
  color: var(--navy);
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

/* Features, Portfolio, Testimonials */
.feature,
.testimonial,
.portfolio-item {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.feature h3,
.service-card h3,
.pricing-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.portfolio-item {
  overflow: hidden;
  padding: 0;
}

.portfolio-preview {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  padding: 20px;
}

.portfolio-info h4 {
  color: var(--navy);
  margin-bottom: 6px;
}

.portfolio-note {
  margin-top: 32px;
  text-align: center;
}

.portfolio-note a,
.contact-item a,
.banner-email {
  color: var(--gold-dark);
  font-weight: 600;
}

.testimonial {
  position: relative;
}

.quote {
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.client {
  margin-top: 18px;
}

.client strong,
.client span {
  display: block;
}

.client span {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.contact-info h2 {
  color: var(--navy);
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item a,
.contact-item span {
  display: block;
  text-decoration: none;
}

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

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

.form-note {
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: white;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 14px;
}

.logo-icon.small {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.logo-icon.small img {
  padding: 3px;
}

.footer h4 {
  color: var(--gold);
  margin-bottom: 14px;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-social a {
  margin-bottom: 0;
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 36px;
  padding-top: 20px;
  text-align: center;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 350px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chat-widget.open {
  display: flex;
}

.chat-header {
  background: var(--navy);
  color: white;
  padding: 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close,
#chatSend {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.chat-close {
  background: transparent;
  color: white;
  font-size: 1.1rem;
}

#chatSend {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 8px 12px;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 16px;
}

.bot-message, .user-message {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 80%;
}

.bot-message {
  background: var(--gray-100);
  color: var(--gray-900);
}

.user-message {
  background: var(--gold);
  color: white;
  margin-left: auto;
}

.chat-input {
  display: flex;
  padding: 16px;
  border-top: 1px solid var(--gray-100);
}

.chat-input input {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  margin-right: 8px;
}

.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

.floating-whatsapp {
  position: fixed;
  bottom: 100px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: transform 0.3s;
  cursor: pointer;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
  }
  .nav-menu.active { display: flex; }
  .logo { min-width: auto; }
  .logo-icon { width: 46px; height: 46px; }
  .logo-tag { display: none; }
  .hero h1 { font-size: 2rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .chat-widget { width: calc(100vw - 48px); right: 24px; }
}

@media (max-width: 1080px) {
  .navbar {
    min-height: 78px;
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .logo {
    min-width: 220px;
  }

  .logo-main {
    font-size: 1rem;
  }
}

/* Add these styles to existing CSS */

/* Verified Badges */
.trust-verified {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.verified-badge {
  background: rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 12px;
}

.trust-icon {
  font-size: 1.8rem;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
}

.trust-item small {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Company Banner */
.company-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 24px 0;
  border-bottom: 2px solid var(--gold);
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.banner-item {
  text-align: center;
  color: white;
}

.banner-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 4px;
}

.banner-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.banner-email {
  color: var(--gold);
  font-size: 0.85rem;
  text-decoration: none;
}

.banner-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Service Footer */
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.service-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
}

/* Portfolio Previews with Gradients */
.preview-1, .preview-2, .preview-3 {
  background-size: cover;
  background-position: center;
}

.preview-1 {
  background:
    radial-gradient(circle at 78% 22%, rgba(245, 158, 11, 0.42), transparent 28%),
    linear-gradient(135deg, #0F2A4A, #1A3C6E 58%, #F59E0B);
}

.preview-2 {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.18) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, #F59E0B, #DC2626);
}

.preview-3 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 24%),
    linear-gradient(135deg, #0891B2, #1A3C6E);
}

.preview-1::before,
.preview-2::before,
.preview-3::before {
  position: absolute;
  inset: 26px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  content: "";
}

.preview-1::after {
  position: absolute;
  inset: 50px auto auto 50%;
  width: 86px;
  height: 86px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: url("../assets/images/logo.png") center / contain no-repeat, var(--white);
  content: "";
}

.preview-2::after {
  position: absolute;
  left: 50px;
  right: 50px;
  top: 58px;
  height: 72px;
  border-radius: 10px;
  background:
    linear-gradient(#111827 0 0) 20px 20px / 46% 12px no-repeat,
    linear-gradient(#F59E0B 0 0) 20px 44px / 66% 10px no-repeat,
    linear-gradient(90deg, #DC2626, #F59E0B);
  content: "";
}

.preview-3::after {
  position: absolute;
  left: 52px;
  right: 52px;
  top: 54px;
  height: 96px;
  border-radius: 12px;
  background:
    linear-gradient(#1A3C6E 0 0) 18px 18px / 54% 12px no-repeat,
    linear-gradient(#CBD5E1 0 0) 18px 42px / 74% 8px no-repeat,
    linear-gradient(#CBD5E1 0 0) 18px 58px / 60% 8px no-repeat,
    linear-gradient(135deg, #FFFFFF, #F9FAFB);
  border: 1px solid rgba(17, 24, 39, 0.08);
  content: "";
}

.preview-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,0.55));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 0 22px;
}

/* Client Ratings */
.client-rating {
  margin-top: 8px;
  font-size: 0.8rem;
}

/* Contact Icons */
.contact-icon {
  font-size: 1.5rem;
  min-width: 45px;
}

.contact-item small {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-600);
  margin-top: 2px;
}

/* Quick Replies */
.quick-replies {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.quick-replies button {
  background: var(--gray-100);
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-replies button:hover {
  background: var(--gold);
  color: var(--navy);
}

/* WhatsApp Tooltip */
.floating-whatsapp {
  position: fixed;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--gray-900);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  display: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  display: block;
}

/* Footer Verified */
.verified-footer {
  font-size: 0.75rem;
  margin-top: 8px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    gap: 12px;
  }
  .banner-divider {
    width: 80%;
    height: 1px;
  }
  .trust-badges {
    gap: 12px;
  }
  .trust-item {
    padding: 8px 12px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

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

  .section {
    padding: 56px 0;
  }

  .section-header h2,
  .contact-info h2 {
    font-size: 1.8rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .service-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-wrapper {
    padding: 24px;
  }

  .contact-form {
    padding: 24px;
  }

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

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.review-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.star-rating {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  font-size: 1.8rem;
  letter-spacing: 4px;
  cursor: pointer;
  color: #D1D5DB;
  transition: color 0.2s;
}

.stars.active {
  color: var(--gold);
}

/* Careers Section */
.careers {
  background: var(--gray-50);
}

.careers-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.careers-info {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.career-badge {
  font-size: 3rem;
  margin-bottom: 16px;
}

.careers-info ul {
  list-style: none;
  margin: 24px 0;
}

.careers-info li {
  margin: 12px 0;
  padding-left: 8px;
}

.founder-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.founder-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-note strong {
  display: block;
  color: var(--navy);
}

.founder-note small {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
}

.founder-note p {
  font-size: 0.85rem;
  margin-top: 8px;
  font-style: italic;
}

.careers-form {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.careers-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.careers-form input,
.careers-form select,
.careers-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font-family: inherit;
}

@media (max-width: 768px) {
  .careers-wrapper {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================ */
/* REVIEWS SECTION - COMPLETE FIXES */
/* ============================================ */

/* Review Cards - for displaying submitted reviews */
.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

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

.review-rating {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  font-style: italic;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.review-author {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.review-author strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.review-author small {
  display: block;
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Review Form Card */
.review-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.review-form-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.review-form-card input,
.review-form-card textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.3s;
  margin-bottom: 16px;
}

.review-form-card input:focus,
.review-form-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.review-form-card textarea {
  resize: vertical;
  min-height: 100px;
}

/* Star Rating Styles */
.star-rating {
  margin: 16px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.star-rating span:first-child {
  font-weight: 500;
  color: var(--gray-700);
}

.stars {
  font-size: 1.8rem;
  letter-spacing: 6px;
  cursor: pointer;
  color: #d1d5db;
  transition: color 0.2s ease;
  user-select: none;
}

.stars:hover {
  color: var(--gold);
}

.stars.active {
  color: var(--gold);
}

/* Hide default rating input */
#reviewRating {
  display: none;
}



/* Make review form take full width on its column */
.review-form-card {
  height: fit-content;
}

/* Responsive for reviews */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .review-card {
    padding: 20px;
  }
  
  .stars {
    font-size: 1.4rem;
    letter-spacing: 4px;
  }
  
  .review-form-card {
    padding: 24px;
  }
}

/* Animation for new reviews */
.review-card {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Chatbot messages pe animation nahi lagni */
.chat-messages .bot-message,
.chat-messages .user-message {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================ */
/* CHATBOT - ENHANCED & RESPONSIVE */
/* ============================================ */

/* Chatbot Container - Floating Box */
.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chatbot-container.open {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Chatbot Header */
.chatbot-header {
    background: var(--navy);
    color: var(--white);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header strong {
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-header span {
    font-size: 0.75rem;
    opacity: 0.75;
    font-weight: 400;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Chatbot Messages */
.chatbot-messages {
    height: 280px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--gray-50);
}

.chatbot-messages .bot-msg,
.chatbot-messages .user-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-messages .bot-msg {
    background: var(--white);
    color: var(--gray-900);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.chatbot-messages .user-msg {
    background: var(--gold);
    color: var(--navy);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 14px;
    background: var(--white);
    border-radius: 12px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.typing-indicator span {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--gray-600);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Chatbot Input */
.chatbot-input {
    display: flex;
    padding: 12px 16px;
    gap: 8px;
    border-top: 1px solid var(--gray-100);
    background: var(--white);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.2s;
}

.chatbot-input input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.chatbot-input button {
    padding: 10px 18px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.chatbot-input button:hover {
    background: var(--gold-dark);
}

/* Quick Replies */
.chatbot-quick {
    display: flex;
    gap: 6px;
    padding: 8px 12px 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--gray-100);
    background: var(--white);
}

.chatbot-quick button {
    background: var(--gray-100);
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--gray-700);
}

.chatbot-quick button:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Chatbot Toggle Button */
.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(26, 60, 110, 0.4);
    z-index: 9999;
    transition: all 0.3s;
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    background: var(--navy-dark);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 80px;
        right: 12px;
        max-width: calc(100vw - 24px);
        width: 100%;
        border-radius: 12px;
    }
    
    .chatbot-messages {
        height: 220px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 16px;
        right: 16px;
    }
    
    .chatbot-quick button {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* ============================================ */
/* CLIENT LOGO CARDS - TESTIMONIALS ENHANCED */
/* ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial.client-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial.client-card:hover::before {
  opacity: 1;
}

.testimonial.client-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* CLIENT LOGO CARDS - FIXED BIGGER SIZE */
.client-logo-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    padding: 18px;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }

  .testimonial.client-card:hover .client-logo-wrapper {
    border-color: var(--navy);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.15);
  }

  .client-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
  }

  .testimonial.client-card:hover .client-logo-img {
    transform: scale(1.03);
  }

/* Testimonial Text */
.testimonial.client-card .quote {
  color: var(--gold);
  font-size: 2.5rem;
  line-height: 0.8;
  margin-bottom: 4px;
}

.testimonial.client-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 8px 0 12px;
  flex: 1;
  max-width: 100%;
}

.testimonial.client-card .client strong {
  color: var(--navy);
  font-size: 1rem;
  display: block;
}

.testimonial.client-card .client span {
  color: var(--gray-600);
  font-size: 0.85rem;
  display: block;
  margin-top: 2px;
}

.testimonial.client-card .client-rating {
  margin-top: 8px;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
     .client-logo-wrapper {
    width: 100px;
    height: 100px;
    padding: 14px;
  }

  .client-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .client-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  .testimonial.client-card {
    padding: 24px 20px;
  }
}

/* ============================================ */
/* SERVICES ACCORDION — PRICING SECTION */
/* ============================================ */
.service-accordion-item {
  background: white;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.service-accordion-item:hover {
  box-shadow: 0 4px 16px rgba(26,60,110,0.12);
}

.service-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.service-accordion-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.service-accordion-icon {
  font-size: 2rem;
  min-width: 48px;
  text-align: center;
}

.service-accordion-info h3 {
  color: #1A3C6E;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-accordion-info p {
  color: #6B7280;
  font-size: 0.85rem;
  line-height: 1.4;
}

.service-accordion-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.service-accordion-arrow {
  font-size: 1.2rem;
  color: #1A3C6E;
  transition: transform 0.3s;
  font-weight: bold;
}

.service-accordion-item.open .service-accordion-arrow {
  transform: rotate(180deg);
}

.service-accordion-body {
  display: none;
  padding: 0 28px 28px;
  border-top: 1px solid #f0f0f0;
}

.service-accordion-item.open .service-accordion-body {
  display: block;
}

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

.package-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
  border: 2px solid #e5e7eb;
  position: relative;
  transition: all 0.3s;
}

.package-card:hover {
  border-color: #F59E0B;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.15);
}

.package-card.popular {
  border-color: #F59E0B;
  background: #fffbeb;
}

.package-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #F59E0B;
  color: #1A3C6E;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.package-card h4 {
  color: #1A3C6E;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.package-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1A3C6E;
  margin-bottom: 4px;
}

.package-desc {
  color: #6B7280;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.package-features {
  list-style: none;
  margin-bottom: 18px;
}

.package-features li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.85rem;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-weight: bold;
}

.package-order-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: #1A3C6E;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.package-card.popular .package-order-btn {
  background: #F59E0B;
  color: #1A3C6E;
}

.package-order-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.no-packages-msg {
  text-align: center;
  padding: 32px;
  color: #6B7280;
  font-size: 0.9rem;
}

/* Coming Soon overlay on service */
.service-accordion-item.coming-soon .service-accordion-header {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .service-accordion-header { padding: 16px 18px; }
  .service-accordion-body { padding: 0 18px 20px; }
  .service-accordion-icon { font-size: 1.6rem; min-width: 36px; }
  .service-accordion-info h3 { font-size: 1rem; }
  .packages-grid { grid-template-columns: 1fr; gap: 14px; }
  .package-price { font-size: 1.5rem; }
}