/**
 * WEB ASPIRE - Premium SaaS Modern Stylesheet
 * Domain: webaspire.in | BUILD YOUR DIGITAL FUTURE
 */

:root {
  --primary-blue: #0b3c66;
  --primary-blue-dark: #072540;
  --primary-blue-light: #0284c7;
  --accent-green: #10b981;
  --accent-green-dark: #059669;
  --accent-green-light: #34d399;
  --neutral-bg: #f8fafc;
  --surface-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --dark-bg: #091a2b;
  --dark-surface: #0f2742;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--neutral-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Ensure all images and media never overflow their parent container */
img, svg, picture, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Container Safety */
.container, .container-fluid {
  max-width: 100%;
  box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--primary-blue-light);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-blue);
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-blue);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--primary-blue);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary-custom:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(11, 60, 102, 0.4);
}

.btn-accent-custom {
  background-color: var(--accent-green);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--accent-green);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-accent-custom:hover {
  background-color: var(--accent-green-dark);
  border-color: var(--accent-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(16, 185, 129, 0.4);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-blue) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid var(--border-light);
  background-color: #ffffff;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-outline-custom:hover {
  border-color: var(--primary-blue);
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.site-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: 0.5rem;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  display: block;
}

/* Header Nav List & Links */
.header-nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link-custom {
  font-weight: 700;
  font-size: 0.84rem;
  color: #334155 !important;
  padding: 0.45rem 0.65rem !important;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-link-custom:hover, 
.nav-link-custom.active {
  color: var(--primary-blue) !important;
  background-color: #f1f5f9;
}

/* Header Action CTA Buttons */
.header-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.site-header .header-cta-btn {
  padding: 0.48rem 1.15rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  width: auto !important;
  flex-shrink: 0;
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.22);
  transition: all 0.2s ease;
}

.site-header .header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.site-header .header-contact-btn {
  padding: 0.45rem 0.95rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  width: auto !important;
  flex-shrink: 0;
  line-height: 1.25;
}

/* Tablet in-header CTA button (>= 768px and < 992px) */
.site-header .header-btn-tablet {
  padding: 0.42rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  width: auto !important;
  line-height: 1.25;
  flex-shrink: 0;
}

/* Hamburger toggle styling */
.site-header .navbar-toggler {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.55rem !important;
  background-color: #f8fafc !important;
  flex-shrink: 0;
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25) !important;
}

/* Top Announcement & Support Bar */
.top-support-bar {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.top-support-bar a {
  transition: opacity 0.2s ease;
}

.top-support-bar a:hover {
  opacity: 0.85;
}

.support-care-text, .support-wa-link {
  white-space: nowrap;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              #ffffff;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--accent-green-dark);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-blue-dark);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.trust-badges-bar {
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ========================================================
   BILLING SOFTWARE PRODUCT GRID & RESPONSIVE LAYOUT
   ======================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Tablet: 2-column grid, cards remain inside viewport */
@media (max-width: 991.98px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* Mobile: 1-column grid, full-width cards with side margins */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Ensure grid items and children never overflow */
.product-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
}

/* Product Cards */
.product-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 1.5rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -10px rgba(11, 60, 102, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
}

.product-img-wrapper {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  height: 150px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0f2fe;
  overflow: hidden;
  flex-shrink: 0;
}

.product-img-wrapper img {
  max-height: 120px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  max-width: 100%;
}

.product-card-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-green-dark);
  display: block;
  margin-bottom: 0.45rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.product-card-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex-grow: 1;
}

.product-features-wrapper {
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
  box-sizing: border-box;
}

.product-feature-tag i {
  flex-shrink: 0;
}

/* Pricing line */
.product-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-pricing-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-pricing-line span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  font-size: 0.82rem;
}

/* Flex layout for bottom action area */
.product-card-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-card-actions .product-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.62rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  white-space: nowrap;
  line-height: 1.25;
  text-decoration: none;
}

/* Tablet & Smaller Desktop fine-tuning */
@media (min-width: 641px) and (max-width: 1080px) {
  .product-card {
    padding: 1.25rem 1.15rem;
  }
  .product-card-actions .product-btn {
    padding: 0.55rem 0.35rem;
    font-size: 0.74rem;
    letter-spacing: 0;
  }
}

/* Mobile: Single-column full-width cards with 12px-16px side margins & stacked buttons */
@media (max-width: 640px) {
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
  }
  .product-card {
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }
  .product-card-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .product-card-actions .product-btn {
    width: 100%;
    flex: 1 1 auto;
    padding: 0.72rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
  }
}

/* Feature Cards */
.feature-box {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.25s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 12px 24px -8px rgba(16, 185, 129, 0.15);
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 60, 102, 0.1), rgba(16, 185, 129, 0.15));
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* Step / How It Works */
.step-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--primary-blue-light);
  transform: translateY(-4px);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 16px -4px rgba(11, 60, 102, 0.4);
}

/* Pricing Cards */
.pricing-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent-green);
  box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.2);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-price-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 1rem 0;
}

/* Form Styles */
.form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.06);
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-control, .form-select {
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  font-size: 0.95rem;
  color: #1e293b;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue-light);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* Dark Contrast Sections */
.dark-section {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 4.5rem 0;
}

.dark-section h2, .dark-section h3 {
  color: #ffffff;
}

.dark-section p {
  color: #94a3b8;
}

/* Footer */
.site-footer {
  background-color: #061320;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-link {
  color: #94a3b8;
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-green-light);
  padding-left: 4px;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.25s ease;
  margin-right: 0.5rem;
}

.social-circle:hover {
  background: var(--accent-green);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Admin Dashboard Specific */
.admin-sidebar {
  background-color: #0a1f33;
  min-height: 100vh;
  color: #cbd5e1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: #94a3b8;
  font-weight: 500;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  transition: all 0.2s ease;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  background: #ffffff;
  border: 1px solid rgba(11, 60, 102, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(11, 60, 102, 0.12);
  padding: 0.75rem;
  overflow: hidden;
  max-width: 100%;
}

.hero-pos-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  border-radius: 14px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-section {
    padding: 3rem 0;
  }
  .pricing-card.popular {
    transform: none;
  }
  .admin-sidebar {
    min-height: auto;
  }
}

/* ========================================================
   HEADER RESPONSIVE MEDIA QUERIES
   ======================================================== */

/* 1. Large Desktop (>= 1200px, e.g. 1366px) */
@media (min-width: 1200px) {
  .site-header .header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 170px;
  }
  .nav-link-custom {
    font-size: 0.88rem;
    padding: 0.5rem 0.75rem !important;
  }
  .header-nav-list {
    gap: 0.3rem;
  }
}

/* 2. Small Desktop / Tablet Landscape (992px - 1199.98px, e.g. 1024px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .header-container {
    max-width: 100% !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .brand-logo {
    margin-right: 0.25rem;
  }
  .brand-logo-img {
    height: 32px;
    max-width: 135px;
  }
  .header-nav-list {
    gap: 0.05rem;
  }
  .nav-link-custom {
    font-size: 0.78rem;
    padding: 0.38rem 0.45rem !important;
    letter-spacing: 0.01em;
  }
  .site-header .header-cta-btn {
    padding: 0.42rem 0.85rem !important;
    font-size: 0.78rem !important;
  }
  /* At 1024px: Hide secondary CONTACT button so GET FREE DEMO has generous space and ZERO clipping */
  .site-header .header-contact-btn {
    display: none !important;
  }
}

/* 3. Tablet & Mobile Collapsed Navigation (< 992px, e.g. 768px, 425px, 375px, 320px) */
@media (max-width: 991.98px) {
  .brand-logo-img {
    height: 32px;
    max-width: 140px;
  }

  /* Dropdown card for mobile/tablet navigation */
  .site-header .navbar-collapse {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 12px 28px -6px rgba(11, 60, 102, 0.15);
    border: 1px solid var(--border-light);
  }

  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .nav-link-custom {
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem !important;
    border-radius: 8px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-link-custom:hover, 
  .nav-link-custom.active {
    background-color: #f1f5f9;
  }

  /* Full-width mobile action buttons */
  .header-action-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem !important;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    gap: 0.65rem;
  }

  .site-header .header-cta-btn {
    width: 100% !important;
    min-height: 44px;
    font-size: 0.9rem !important;
    padding: 0.7rem 1.25rem !important;
  }

  .site-header .header-contact-btn {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 44px;
    font-size: 0.9rem !important;
    padding: 0.7rem 1.25rem !important;
  }
}

/* Tablet (768px - 991.98px) specific */
@media (min-width: 768px) and (max-width: 991.98px) {
  .site-header .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Mobile (< 768px, e.g. 425px, 375px, 320px) */
@media (max-width: 767.98px) {
  .site-header .header-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .brand-logo-img {
    height: 30px;
    max-width: 130px;
  }
}

/* Extra Small Mobile (< 380px, e.g. 320px) */
@media (max-width: 379.98px) {
  .site-header .header-container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  .brand-logo-img {
    height: 27px;
    max-width: 118px;
  }
  .site-header .navbar-toggler {
    padding: 0.3rem 0.45rem !important;
  }
  .site-header .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
  }
  .top-support-bar {
    font-size: 0.72rem !important;
  }
}

@media (max-width: 767.98px) {
  /* Prevent row gutter horizontal overflow on mobile */
  .row {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
  }
  .row > * {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
  .hero-section {
    padding: 2.25rem 0 2rem;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }
  .trust-badges-bar {
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .btn-primary-custom, .btn-accent-custom, .btn-outline-custom {
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 425px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .btn-accent-custom, .btn-outline-custom, .btn-primary-custom {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }
  .top-support-bar {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.38rem;
  }
  .brand-logo-img {
    max-width: 140px;
  }
  .floating-call-btn span.small {
    display: none;
  }
}

/* Floating Action Buttons */
.floating-call-btn {
  background: #0B3C66;
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.floating-call-btn:hover {
  background: #072540;
  color: #ffffff;
  transform: translateY(-2px);
}

.floating-whatsapp-btn {
  background: #ffffff;
  color: #128C7E;
  padding: 0.35rem 0.5rem 0.35rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
}

.floating-whatsapp-btn:hover {
  background: #25D366;
  color: #ffffff;
  transform: scale(1.05);
}

.floating-whatsapp-btn:hover .whatsapp-label {
  color: #ffffff;
}

.whatsapp-icon-circle {
  width: 44px;
  height: 44px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  animation: pulse-green 2.5s infinite;
}

.floating-whatsapp-btn:hover .whatsapp-icon-circle {
  background: #ffffff;
  color: #25D366;
  animation: none;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

