/* ==========================================================================
   G Matrix Interior - Custom Premium Stylesheet
   ========================================================================== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Clean Design System */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-accent-light: #fff7ed;
  --text-main: #0f172a;
  --text-muted: #475569;
  --color-primary: #ff7a00;
  --color-secondary: #ffb800;
  --color-accent: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #ff7a00, #ffb800);
  --gradient-glass: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 10px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-padding {
  padding: 80px 0;
}

.bg-light-section {
  background-color: var(--bg-secondary);
}

/* Rounded Corners & Shadows */
.rounded-premium {
  border-radius: var(--border-radius-md);
}

.rounded-premium-lg {
  border-radius: var(--border-radius-lg);
}

.shadow-premium {
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.shadow-premium:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* Header & Sticky Navigation */
.navbar {
  background-color: var(--gradient-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  padding: 15px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand img {
  height: 50px;
  object-fit: contain;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  padding: 10px 16px !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary) !important;
  background-color: rgba(255, 122, 0, 0.06);
}

/* Desktop Mega Menu for States */
.mega-dropdown {
  position: static !important;
}

.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
  border: none;
  box-shadow: var(--shadow-lg);
  padding: 30px;
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

@media (min-width: 992px) {
  .mega-dropdown:hover .mega-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 122, 0, 0.1);
  padding-bottom: 5px;
}

.state-link {
  font-size: 0.9rem;
  padding: 5px 8px;
  display: block;
  border-radius: 6px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.state-link:hover {
  color: var(--color-primary);
  background-color: var(--bg-accent-light);
  padding-left: 14px;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(255, 237, 213, 0.4) 0%, rgba(255, 255, 255, 1) 90%);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  background: rgba(255, 122, 0, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.6;
}

/* Floating Trust Cards */
.floating-cards-container {
  position: relative;
}

.trust-badge-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-sm);
  padding: 12px 20px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.trust-badge-card i {
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-float-1 {
  position: absolute;
  top: 15%;
  left: -40px;
  animation: floatUpDown 4s ease-in-out infinite;
  z-index: 10;
}

.badge-float-2 {
  position: absolute;
  bottom: 15%;
  right: -20px;
  animation: floatUpDown 4.5s ease-in-out infinite 0.5s;
  z-index: 10;
}

@media (max-width: 1200px) {
  .badge-float-1, .badge-float-2 {
    position: static;
    margin: 10px;
    display: inline-flex;
  }
}

/* Form Styles */
.hero-form-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 20;
}

.form-control, .form-select {
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 12px 18px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
  outline: none;
}

/* Primary/Secondary Buttons */
.btn-premium {
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffb800, #ff7a00);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-premium-primary {
  background: var(--gradient-primary);
  color: white !important;
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.35);
}

.btn-premium-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.5);
}

.btn-premium-primary:hover::after {
  opacity: 1;
}

.btn-premium-secondary {
  background: #ffffff;
  color: var(--text-main) !important;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-premium-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-theme {
  background-color: #25d366;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-theme:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Trust Section */
.trust-metric-box {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.trust-metric-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.trust-metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.trust-metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* About Us Section styling */
.about-image-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-md);
  padding: 20px 30px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

@media (max-width: 991px) {
  .about-experience-badge {
    position: static;
    margin-top: 20px;
  }
}

/* Highlights List */
.highlights-list {
  list-style: none;
  padding: 0;
}

.highlights-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-weight: 500;
}

.highlights-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--color-primary);
}

/* Why Choose Us Cards */
.feature-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-md);
  padding: 35px 25px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: var(--bg-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-icon-wrapper i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--gradient-primary);
}

.feature-card:hover .feature-icon-wrapper i {
  color: #ffffff;
}

/* Working Process Timeline */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: rgba(255, 122, 0, 0.1);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.2);
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

.timeline-card {
  background: var(--bg-primary);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: inline-block;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.timeline-step {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

@media (max-width: 767px) {
  .process-timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-dot {
    left: 8px !important;
  }
  .timeline-card {
    width: 100%;
  }
}

/* Gallery Section & Lightbox */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  background-color: var(--bg-secondary);
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  display: block;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.2));
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.gallery-category {
  font-size: 0.85rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Custom Lightbox */
.custom-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
  overflow: hidden;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Testimonial Carousel Section */
.testimonial-card-wrap {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin: 15px auto;
  max-width: 750px;
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 4rem;
  color: rgba(255, 122, 0, 0.08);
}

.testimonial-user-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  margin-bottom: 20px;
}

.testimonial-rating {
  color: var(--color-secondary);
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-style: italic;
}

/* FAQ Accordion Styling */
.faq-accordion .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--border-radius-md) !important;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-primary);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--text-main);
  padding: 20px 24px;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--bg-accent-light);
  color: var(--color-primary);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  background-size: 1rem;
}

.faq-accordion .accordion-body {
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Call To Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
  padding: 90px 0;
  border-radius: var(--border-radius-lg);
  color: white;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

/* Contact & Info */
.contact-info-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 30px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: var(--bg-accent-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.map-container {
  height: 450px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* Floating Elements (WhatsApp, Call, Scroll-to-Top) */
.floating-btn {
  position: fixed;
  bottom: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1.7rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: var(--transition-smooth);
}

.floating-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.floating-whatsapp {
  right: 25px;
  background-color: #25d366;
}

.floating-call {
  right: 90px;
  background-color: #3b82f6;
}

.scroll-top-btn {
  left: 25px;
  background-color: var(--text-main);
  opacity: 0;
  pointer-events: none;
}

.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

/* Sticky Mobile CTA Bottom Bar */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 998;
  padding: 10px 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  body {
    padding-bottom: 70px; /* space for sticky bar */
  }
}

/* Footer styling */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px;
  font-size: 0.9rem;
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer-link {
  color: #94a3b8;
  display: block;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: white;
  padding-left: 6px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

/* Footer State Links */
.footer-states-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.footer-states-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.footer-state-btn {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.footer-state-btn:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Keyframes for animations */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 122, 0, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   Hero Section Design Pattern Upgrades (SEO Style Layout)
   ========================================================================== */

/* Custom Input Group with Left Icon */
.input-group-custom {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-custom {
  position: absolute;
  left: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
  z-index: 10;
  pointer-events: none;
}

.form-control-custom, .form-select-custom {
  width: 100%;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px 18px 12px 42px; /* Left padding leaves space for the icon */
  font-size: 0.95rem;
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-control-custom:focus, .form-select-custom:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
  outline: none;
}

.form-select-custom {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px 12px;
}

/* Ribbon for Card */
.ribbon-wrapper {
  width: 125px;
  height: 125px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
}

.ribbon-text {
  text-align: center;
  transform: rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 25px;
  width: 170px;
  background: var(--gradient-primary); /* Uses brand color gradient instead of plain red */
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  text-transform: uppercase;
}

/* Service tags at bottom of hero */
.platform-badge {
  background-color: var(--bg-primary);
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.platform-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  border-color: rgba(255, 122, 0, 0.2);
}

/* Horizontal Trust Row */
.hero-trust-row .trust-item {
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.hero-trust-row .trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-accent-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Upgraded Hero Mobile Layout & Spacing Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 50px !important;
  }
  
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }
  
  .hero-brand-sub {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
  }

  /* Trust Row adjustment: display horizontally in a compact flex row */
  .hero-trust-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-bottom: 25px !important;
    width: 100% !important;
  }
  
  .hero-trust-row .trust-item {
    padding: 6px 8px !important;
    flex: 1 !important;
    min-width: 0 !important; /* Allows shrinking to fit */
    gap: 6px !important;
    justify-content: center !important;
    border-radius: 30px !important;
  }
  
  .hero-trust-row .trust-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
  }
  
  .hero-trust-row .trust-item span.fw-bold {
    font-size: 0.8rem !important;
  }
  
  .hero-trust-row .trust-item small {
    font-size: 0.65rem !important;
  }

  /* Stack CTA buttons vertically on mobile and make them full width */
  .hero-section .d-flex.flex-wrap.gap-3.mb-5 {
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    gap: 10px !important;
  }
  
  .hero-section .btn-premium {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Service tags adjustments on mobile */
  .hero-platforms {
    margin-top: 20px !important;
  }

  .hero-platforms .d-flex {
    gap: 6px !important;
  }

  .platform-badge {
    padding: 5px 10px !important;
    font-size: 0.75rem !important;
    gap: 6px !important;
  }

  /* Floating form spacing */
  .hero-form-card {
    padding: 20px !important;
    margin-top: 35px !important;
  }

  .hero-form-card h3 {
    font-size: 1.35rem !important;
  }
  
  .ribbon-wrapper {
    width: 105px !important;
    height: 105px !important;
  }
  
  .ribbon-text {
    width: 150px !important;
    top: 20px !important;
    font-size: 0.65rem !important;
  }
}


