/* ==========================================================================
   CSS VARIABLES & GLOBAL RESET
   ========================================================================== */
:root {
  --primary-color: #2289ff;
  --primary-hover: #1565c0;
  --secondary-color: #ff3131;
  --secondary-hover: #e65100;
  --dark-color: #0f172a;
  --text-color: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  
  --font-main: 'Poppins', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(13, 71, 161, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  --transition-fast: all 0.25s ease;
  --transition-normal: all 0.35s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 49, 49, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 81, 0, 0.4);
}

.btn-call {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
}

.btn-call:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.text-highlight {
  color: var(--primary-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.phone-number {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  background-color: var(--primary-color);
  color: white;
  padding: 10px;
  font-family: var(--font-main);
}

.phone-number a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   1. HEADER & TOP BAR
   ========================================================================== */
.top-bar {
  background-color: var(--dark-color);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info, .top-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar a:hover {
  color: var(--secondary-color);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-color);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
}

/* ==========================================================================
   2. HERO SECTION & FORM
   ========================================================================== */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  background-color: rgba(13, 71, 161, 0.1);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark-color);
  margin-bottom: 16px;
}

.hero-subheading {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-features {
  margin-bottom: 24px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.hero-features i {
  color: #10b981;
}

.hero-ratings {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.rating-stars {
  color: #f59e0b;
}

.hero-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Lead Form Card */
.hero-form-card {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-header {
  text-align: center;
  margin-bottom: 20px;
}

.form-header h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 4px;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lead-form .form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-color);
}

/* Common Styling for Inputs and Select Dropdown */
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--dark-color);
  background-color: #ffffff;
  outline: none;
  transition: var(--transition-fast);
}

.lead-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-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='%33334155' 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 12px center;
  background-size: 16px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(34, 137, 255, 0.15);
}

.lead-form .error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 4px;
}

.lead-form .form-group.error input,
.lead-form .form-group.error select {
  border-color: #ef4444;
}

.lead-form .form-group.error .error-msg {
  display: block;
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================================================
   3. TRUST BADGES SECTION
   ========================================================================== */
.trust-badges-section {
  padding: 30px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.trust-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
}

.trust-text h4 {
  font-size: 1rem;
  color: var(--dark-color);
}

.trust-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4. SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--secondary-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.15rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.service-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* ==========================================================================
   5. WHY CHOOSE US
   ========================================================================== */
.why-us-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.feature-card:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(13, 71, 161, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. PROCESS SECTION
   ========================================================================== */
.process-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  background-color: var(--bg-card);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.step-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(13, 71, 161, 0.15);
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.process-step h3 {
  font-size: 1.1rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.slider-container {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(13, 71, 161, 0.2);
  margin-bottom: 15px;
}

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-color);
  margin-bottom: 25px;
}

.customer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.customer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.customer-name {
  font-size: 1.05rem;
  color: var(--dark-color);
}

.customer-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.rating {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-top: 2px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--primary-color);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================================================
   8. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-color);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.35s ease-in-out;
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   9. CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a2e6b 100%);
  color: #ffffff;
  padding: 60px 0;
}

.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.cta-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-call-cta {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.btn-call-cta:hover {
  background-color: var(--secondary-hover);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: var(--dark-color);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-color);
  color: #94a3b8;
  padding-top: 70px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 15px;
}

.footer-about p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.gst-text {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--secondary-color);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-info i {
  color: var(--secondary-color);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 20px;
    display: none;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
  }

  .top-bar-content {
    justify-content: center;
    text-align: center;
  }

  .cta-container {
    text-align: center;
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .btn-call {
    display: none;
  }

  .top-bar {
    display: none;
  }
}

@media (min-width: 769px) {
  .phone-number {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}