/* ===================================
   CT Medicare Tips - Main Stylesheet
   =================================== */

/* === Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}

:root {
  --primary: #0066cc;
  --secondary: #00a8e8;
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #666666;
  --border: #e0e0e0;
}

/* === Custom Cursor === */
#cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: 0.1s;
  display: none;
}

@media(min-width: 768px) {
  #cursor {
    display: block;
  }
}

/* === Top Header Bar === */
.top-bar {
  background: var(--dark);
  font-size: 0.85rem;
}

.top-bar a {
  text-decoration: none;
  transition: opacity 0.3s;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* === Navigation === */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary) !important;
  transition: transform 0.3s;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
  color: var(--dark) !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

/* === Buttons === */
.btn-primary {
  background: var(--primary);
  border: none;
  border-radius: 50px;
  transition: all 0.3s;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-accent:hover {
  background: #ff8255;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
  color: white;
}

/* === Hero CTA Button === */
.btn-cta {
  display: inline-block;
  background: white;
  color: var(--dark);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: none;
  transition: all 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.2);
  color: var(--dark);
}

.btn-cta:active {
  transform: translateY(0);
}

/* === Hero Banner Section === */
.hero-banner {
  position: relative;
  /* make the banner fill the full viewport height */
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.banner-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.banner-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* ensure the background fills the area similarly to object-fit: cover */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* If slides are converted to use <img> in future, keep them covered */
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-slide.active {
  opacity: 1;
  z-index: 2;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 102, 204, 0.65) 0%, rgba(0, 102, 204, 0.55) 40%, rgba(0, 168, 232, 0.45) 100%);
  z-index: 1;
}

.banner-content {
  position: absolute;
  z-index: 3;
  text-align: left;
  color: white;
  animation: fadeInUp 0.8s ease-out;
  max-width: 60%;
  padding: 3rem;
  padding-left: 4rem;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
}

.banner-content .lead {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  font-weight: 300;
}

.banner-content .btn {
  text-shadow: none;
  font-weight: 600;
}

.banner-indicators {
  position: absolute;
  bottom: 40px;
  left: 3rem;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
  background: white;
  width: 35px;
  border-radius: 7px;
}

/* Contact Form Overlay - POSITIONED OVER BANNER */
.contact-form-overlay {
  position: absolute;
  right: 60px;
  /* move the form much higher so it shows fully inside the hero */
  top: 3%;
  /* keep placement stable (no vertical translate) to make top predictable */
  transform: translateY(0);
  z-index: 25;
  width: 100%;
  max-width: 420px;
}

/* Responsive adjustments: keep the form visible on smaller screens */
@media (max-width: 992px) {
  .hero-banner {
    height: 100vh;
    min-height: 100vh;
  }

  .banner-content {
    max-width: 85%;
    padding: 2rem;
    left: 0;
  }

  .contact-form-overlay {
    right: 20px;
    left: auto;
    /* tablet: bring even higher */
    top: 6%;
    transform: translateY(0);
    max-width: 480px;
    width: calc(100% - 40px);
  }
}

@media (max-width: 576px) {
  .hero-banner {
    height: 100vh;
    min-height: 100vh;
  }

  /* center the form on very small screens and bring it higher */
  .contact-form-overlay {
    left: 50%;
    right: auto;
    /* mobile: bring very high so full card fits above the fold */
    top: 4%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 420px;
  }

  .banner-content {
    max-width: 100%;
    padding: 1.2rem;
  }
}

.contact-form-card {
  background: linear-gradient(135deg, #E8756B 0%, #D85A54 100%);
  border-radius: 30px;
  padding: 2.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  width: 100%;
  backdrop-filter: blur(10px);
  animation: slideInRight 0.8s ease-out;
}

.contact-form-card h4 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.banner-form .form-control {
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  transition: all 0.3s ease;
  font-weight: 500;
}

.banner-form .form-control::placeholder {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.banner-form .form-control:focus {
  border: none;
  background: white;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  outline: none;
}

.banner-form .form-control:focus::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.banner-form button {
  background: #1a1a2e;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.banner-form button:hover {
  background: #0f0f1a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-form-card .small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* === Hero Section (Legacy) === */
.hero {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.95), rgba(0, 168, 232, 0.9)),
              url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600') center/cover;
  min-height: 90vh;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero .btn {
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* === Section Styles === */
.section {
  padding: 5rem 0;
}

.section h2 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.section .text-muted {
  font-size: 1.1rem;
}

/* === Service Cards === */
.card-service {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* bottom-to-top fill overlay */
.card-service::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  z-index: 1;
  transition: height 0.45s cubic-bezier(.2,.9,.2,1);
}

.card-service:hover::before {
  height: 100%;
}

.card-service:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 102, 204, 0.18);
  border-color: transparent;
}

/* Accent line at bottom (visible when card active/hover) */
.card-service::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 12px;
  height: 6px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.35s ease;
  z-index: 3;
}

.card-service:hover::after {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  z-index: 2;
}

.card-service h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
}

.card-service p {
  color: var(--gray);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.service-link:hover {
  color: var(--secondary);
  padding-left: 5px;
  transition: color 0.25s;
}

.card-service .service-link {
  position: relative;
  z-index: 2;
}

.card-service:hover .service-link {
  color: rgba(255,255,255,0.95);
}

/* small decoration dot top-left when active/hover */
.card-service .feature-dot {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 14px;
  height: 14px;
  background: rgba(0,0,0,0.04);
  border-radius: 50%;
  display: none;
}

.card-service:hover .feature-dot {
  display: block;
  background: rgba(255,255,255,0.15);
}

/* === About Section === */
.about {
  background: var(--light);
}

.about-img {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.about-img:hover {
  transform: scale(1.02);
}

.stat-box {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
  transition: all 0.3s;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.stat-box h3 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: var(--gray);
  margin: 0;
  font-size: 1rem;
}

/* === Plan Cards === */
.plan-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.plan-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary);
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-badge {
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.plan-card h4 {
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.plan-price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.plan-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  color: var(--gray);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* === Process Steps === */
.process-step {
  position: relative;
  padding: 2rem;
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
  transition: all 0.3s;
}

.process-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
}

.process-step h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.process-step p {
  color: var(--gray);
}

/* === Testimonials === */
.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin: 1rem 0;
  position: relative;
  transition: all 0.3s;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #555;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-info h6 {
  margin: 0;
  font-weight: 600;
  color: var(--dark);
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.stars {
  color: #ffc107;
}

/* === CTA Banner === */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta h2 {
  color: white;
  position: relative;
  z-index: 1;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.cta .btn-light {
  font-weight: 600;
  transition: all 0.3s;
}

.cta .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* === Footer === */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-section h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.footer-section p {
  color: #ccc;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  color: white;
  transition: all 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Page Specific Styles === */

/* Inner Page Hero */
.page-hero {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.95), rgba(0, 168, 232, 0.9)),
              url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600') center/cover;
  padding: 8rem 0 4rem;
  color: white;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Service Detail Cards */
.service-detail {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.service-detail h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-detail ul {
  list-style: none;
  padding: 0;
}

.service-detail ul li {
  padding: 0.5rem 0;
  color: var(--gray);
}

.service-detail ul li i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-info-box {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.contact-info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.contact-info-box i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info-box h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-info-box p {
  color: var(--gray);
  margin-bottom: 0.25rem;
}

/* === Responsive Design === */
@media(max-width: 1024px) {
  .hero h1,
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .plan-card.featured {
    transform: none;
  }
  
  .plan-card.featured:hover {
    transform: translateY(-10px);
  }

  /* Banner responsive for laptop/tablet */
  .contact-form-overlay {
    position: absolute;
    right: 30px;
    /* top: 8%; */
    margin:"10px";
    transform: translateY(-50%);
    max-width: 360px;
  }

  .contact-form-card {
    padding: 1.8rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .banner-content h1 {
    font-size: 2.5rem;
  }

  .banner-content .lead {
    font-size: 0.95rem;
  }

  .banner-content {
    max-width: 65%;
    padding: 2rem;
  }
}

@media(max-width: 768px) {
  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .stat-box {
    margin: 0.5rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }

  .hero-banner {
    min-height: auto;
    height: auto;
  }

  .banner-container {
    flex-direction: column;
  }

  .banner-carousel {
    min-height: 400px;
    width: 100%;
  }

  .contact-form-overlay {
    position: relative;
    width: 100%;
    max-width: 100%;
    transform: none;
    top: auto;
    right: auto;
    padding: 2rem 1rem;
  }

  .contact-form-card {
    padding: 2rem;
    border-radius: 25px;
  }

  .contact-form-card h4 {
    font-size: 1.3rem;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content .lead {
    font-size: 1rem;
  }

  .banner-content {
    max-width: 100%;
    padding: 1.5rem;
    text-align: left;
  }

  .banner-indicators {
    left: 1.5rem;
    transform: none;
    bottom: 30px;
  }

  .banner-form .form-control {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .banner-form button {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

@media(max-width: 576px) {
  .hero h1,
  .page-hero h1 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.9rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Banner responsive for small mobile */
  .hero-banner {
    min-height: auto;
    height: auto;
  }

  .banner-carousel {
    min-height: 350px;
    width: 100%;
  }

  .contact-form-overlay {
    position: relative;
    width: 100%;
    max-width: 100%;
    transform: none;
    top: auto;
    right: auto;
    padding: 1.5rem;
    margin-top: 0;
  }

  .banner-content h1 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .banner-content .lead {
    font-size: 0.85rem;
  }

  .banner-content {
    padding: 1rem;
    text-align: left;
  }

  .contact-form-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .contact-form-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .contact-form-card > p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .banner-form .form-control {
    font-size: 0.85rem;
    padding: 0.65rem 0.8rem;
    margin-bottom: 0.7rem;
  }

  .banner-form button {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .indicator.active {
    width: 20px;
  }

  .banner-indicators {
    bottom: 20px;
    gap: 8px;
    left: 1rem;
    transform: none;
  }
}