/* NovaMatch Custom Styles */

/* Brand Colors based on logo */
:root {
  --novamatch-primary: #2563eb;
  --novamatch-secondary: #1e40af;
  --novamatch-accent: #3b82f6;
  --novamatch-dark: #1e293b;
  --novamatch-light: #f1f5f9;
}

/* Header and Navigation Fixes */
.ud-header {
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-top: 20px;
}

/* On landing page, use dark navy/purple background like screenshot */
.landing-page .ud-header {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Header button spacing and styling */
.navbar-btn {
  display: flex !important;
  gap: 15px !important;
  align-items: center;
}

/* Sign In button */
.navbar-btn .ud-login-btn {
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  margin-right: 0 !important;
  background: transparent !important;
  color: white !important;
  border: 2px solid rgba(102, 126, 234, 0.6) !important;
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar-btn .ud-login-btn:hover {
  background: rgba(102, 126, 234, 0.2) !important;
  border-color: rgba(102, 126, 234, 0.9) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Sign Up button */
.navbar-btn .ud-white-btn {
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  margin-left: 15px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
  transition: all 0.3s ease;
}

.navbar-btn .ud-white-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.7);
}

/* Adjust button colors for better contrast on dark background */
.landing-page .ud-header .ud-login-btn,
.auth-page .ud-header .ud-login-btn {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%) !important;
  color: white !important;
  border: 2px solid rgba(102, 126, 234, 0.5) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 10px 24px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.landing-page .ud-header .ud-login-btn::before,
.auth-page .ud-header .ud-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.landing-page .ud-header .ud-login-btn:hover::before,
.auth-page .ud-header .ud-login-btn:hover::before {
  left: 100%;
}

.landing-page .ud-header .ud-login-btn:hover,
.auth-page .ud-header .ud-login-btn:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%) !important;
  color: white !important;
  border-color: rgba(102, 126, 234, 0.8) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.landing-page .ud-header .ud-white-btn,
.auth-page .ud-header .ud-white-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: 2px solid transparent !important;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 10px 24px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
  position: relative;
  overflow: hidden;
}

.landing-page .ud-header .ud-white-btn::before,
.auth-page .ud-header .ud-white-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.landing-page .ud-header .ud-white-btn:hover::before,
.auth-page .ud-header .ud-white-btn:hover::before {
  left: 100%;
}

.landing-page .ud-header .ud-white-btn:hover,
.auth-page .ud-header .ud-white-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.7);
}

.landing-page.modern-dark .sticky,
.auth-page.modern-dark .sticky,
.landing-page .sticky,
.auth-page .sticky,
.sticky {
  background: rgba(26, 26, 46, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
  border-bottom: 1px solid rgba(102, 126, 234, 0.3);
  margin-top: 0 !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* Ensure logo is always visible in both states */
.navbar-brand img {
  max-width: 160px;
  height: auto;
}

/* Fix navbar text color for visibility */
.navbar-nav {
  flex-wrap: nowrap !important;
}

.navbar-nav .nav-item {
  white-space: nowrap !important;
}

.navbar-nav .nav-item a {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 10px !important;
  white-space: nowrap !important;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

.landing-page.modern-dark .navbar-nav .nav-item a {
  color: rgba(255, 255, 255, 0.95) !important;
}

.landing-page.modern-dark .navbar-nav .nav-item a:hover {
  color: #00d4ff !important;
}

.sticky .navbar-nav .nav-item a {
  color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a.active {
  color: #68c061 !important;
}

.sticky .navbar-nav .nav-item a:hover,
.sticky .navbar-nav .nav-item a.active {
  color: #68c061 !important;
}

/* Fix toggler icon visibility */
.navbar-toggler .toggler-icon {
  background-color: white !important;
}

.sticky .navbar-toggler .toggler-icon {
  background-color: white !important;
}

/* Hero section line height fixes */
.ud-hero-title {
  line-height: 1.2 !important;
  margin-bottom: 25px !important;
  white-space: nowrap !important;
  font-size: 48px !important;
  font-weight: 700 !important;
}

.ud-hero-desc {
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Responsive typography */
@media (max-width: 768px) {
  .ud-hero-title {
    white-space: normal !important;
    font-size: 32px !important;
  }
  
  .ud-hero-desc {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
  
  /* Fix hero buttons overlapping on mobile */
  .ud-hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  
  .ud-hero-buttons li {
    width: 100% !important;
    margin: 0 !important;
  }
  
  .ud-hero-buttons a {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
  }
  
  /* Mobile navbar fixes - Override base styles */
  .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    margin: 10px 15px !important;
    border-radius: 10px !important;
    display: none !important;
    z-index: 1000 !important;
  }
  
  .navbar-collapse.show {
    display: block !important;
  }
  
  .navbar-nav {
    padding: 15px !important;
  }
  
  .navbar-nav .nav-item {
    margin: 3px 0 !important;
  }
  
  .navbar-nav .nav-item a {
    padding: 12px 15px !important;
    display: block !important;
    color: #1e293b !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
  }
  
  .navbar-nav .nav-item a:hover,
  .navbar-nav .nav-item a.active {
    background: #f1f5f9 !important;
    color: #2563eb !important;
  }
  
  /* Fix sections content visibility on mobile */
  .ud-single-feature,
  .ud-single-pricing,
  .ud-single-testimonial,
  .ud-single-team {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 20px !important;
  }
  
  /* Ensure section backgrounds are visible */
  section {
    display: block !important;
    visibility: visible !important;
    min-height: auto !important;
  }
  
  /* Footer visibility on mobile */
  .ud-footer {
    display: block !important;
    visibility: visible !important;
  }
  
  .ud-footer-widgets,
  .ud-footer-bottom {
    display: block !important;
    visibility: visible !important;
  }
  
  /* Stack footer columns on mobile */
  .ud-footer-widgets .col-xl-3,
  .ud-footer-widgets .col-lg-4,
  .ud-footer-widgets .col-lg-3,
  .ud-footer-widgets .col-lg-2 {
    margin-bottom: 30px !important;
  }
  
  /* Adjust section padding on mobile */
  .ud-features,
  #how-it-works,
  #faq,
  #testimonials,
  .ud-team,
  .ud-contact,
  .ud-cta {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  
  /* Fix "How It Works" cards on mobile */
  #how-it-works .row.g-0 {
    gap: 0 !important;
  }
  
  #how-it-works .ud-single-pricing {
    margin: 0 0 20px 0 !important;
    width: 100% !important;
  }
  
  /* Fix contact section on mobile */
  .ud-contact .col-lg-5 {
    margin-bottom: 30px !important;
  }
  
  /* Fix navbar buttons on mobile - show them in menu */
  .navbar-btn.d-none.d-sm-inline-block {
    display: none !important;
  }
}

/* Section spacing adjustments */
.ud-features,
#how-it-works,
#faq,
#testimonials {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* Section title spacing */
.ud-section-title {
  margin-bottom: 40px !important;
}

.ud-section-title span {
  display: block !important;
  margin-bottom: 10px !important;
}

.ud-section-title h2 {
  line-height: 1.3 !important;
  margin-top: 10px !important;
  margin-bottom: 15px !important;
  display: block !important;
  white-space: nowrap !important;
}

.ud-section-title p {
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
  display: block !important;
  margin-top: 15px !important;
  font-weight: ;
}

/* Responsive - allow wrapping on smaller screens */
@media (max-width: 992px) {
  .ud-section-title h2,
  .ud-section-title p {
    white-space: normal !important;
  }
}

/* Update button colors */
.ud-main-btn {
  background: linear-gradient(135deg, var(--novamatch-primary) 0%, var(--novamatch-secondary) 100%);
  border-color: var(--novamatch-primary);
}

.ud-main-btn:hover {
  background: linear-gradient(135deg, var(--novamatch-secondary) 0%, var(--novamatch-primary) 100%);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.ud-white-btn {
  background: #fff;
  color: var(--novamatch-primary);
  border: 2px solid var(--novamatch-primary);
}

.ud-white-btn:hover {
  background: var(--novamatch-primary);
  color: #fff;
}

/* Hero section enhancements */
.ud-hero {
  background: #1577c5;
}

/* Section Background Alternation for Visual Separation */
.ud-features {
  background: #ffffff;
  position: relative;
}

#how-it-works {
  position: relative;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05) inset;
}

.ud-faq {
  background: #ffffff;
  position: relative;
}

.ud-testimonials {
  background: #f8fafc;
  position: relative;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05) inset;
}

.ud-team {
  background: #ffffff;
  position: relative;
}

.ud-contact {
  background: transparent !important;
  position: relative;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.ud-contact .ud-section-title span,
.ud-contact .ud-section-title h2,
.ud-contact .ud-section-title p {
  color: #ffffff !important;
}

.ud-contact .ud-single-info {
  margin-bottom: 0px;
  text-align: center;
}

.ud-contact .ud-info-icon {
  margin: 0 auto 15px auto;
}

.ud-contact .ud-info-icon i {
  color: #ffffff !important;
  font-size: 40px !important;
}

.ud-contact .ud-info-meta h5,
.ud-contact .ud-info-meta p {
  color: #ffffff !important;
}

.ud-cta {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%) !important;
  position: relative;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ud-cta .ud-cta-title h2,
.ud-cta .ud-cta-title p {
  color: #ffffff !important;
}

/* How NovaMatch Works section improvements */
#how-it-works .ud-single-pricing {
  margin: 15px;
  /* background: rgba(26, 26, 46, 0.6) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
  padding: 30px 20px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

#how-it-works .ud-single-pricing:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.4);
}

#how-it-works .ud-single-pricing .ud-pricing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Why NovaMatch section improvements */
#faq .ud-single-feature {
  padding: 25px 20px !important;
  margin-bottom: 20px !important;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 200px;
}

#faq .ud-single-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.12);
}

#faq .ud-feature-icon {
  margin: 0 auto 15px auto !important;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#faq .ud-feature-content {
  width: 100%;
}

#faq .ud-feature-title {
  margin-bottom: 10px !important;
  font-size: 18px !important;
}

#faq .ud-feature-desc {
  margin-bottom: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Features section - center icons and content */
#features .ud-single-feature {
  text-align: center;
  padding: 20px;
}

#features .ud-feature-icon {
  margin: 0 auto 20px auto !important;
}

#features .ud-feature-content {
  text-align: center;
}

#features .ud-feature-title {
  text-align: center;
}

#features .ud-feature-desc {
  text-align: center;
}

/* Who Can Use section improvements */
.ud-team {
  padding-top: 40px !important;
}

.ud-team .ud-team-info h6 {
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin-top: 10px !important;
}

#how-it-works .ud-pricing-header h3 {
  color: var(--novamatch-primary) !important;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

#how-it-works .ud-feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--novamatch-primary) 0%, var(--novamatch-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

#how-it-works .ud-feature-icon i {
  font-size: 36px;
  color: #fff;
}

#how-it-works .ud-pricing-body h4 {
  color: var(--novamatch-dark);
  font-size: 20px;
  font-weight: 600;
}

#how-it-works .ud-pricing-body p {
  line-height: 1.6;
}

/* Secure & Reliable section */
#testimonials .ud-feature-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

#testimonials .ud-feature-icon i {
  font-size: 48px;
  color: #fff;
}

#testimonials .ud-single-testimonial {
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

#testimonials .ud-single-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

#testimonials .ud-testimonial-content h4 {
  color: var(--novamatch-dark);
  font-size: 22px;
  font-weight: 600;
}

#testimonials .ud-testimonial-content p {
  color: #64748b;
  line-height: 1.8;
}

/* Who Is It For section fixes */
#who-for .ud-single-team {
  margin-bottom: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

#who-for .ud-single-team:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

#who-for .ud-team-image-wrapper {
  margin-bottom: 0;
}

#who-for .ud-team-info {
  padding: 25px 20px;
  text-align: center;
}

#who-for .ud-team-info h5 {
  color: var(--novamatch-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

#who-for .ud-team-info p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Features section enhancements */
.ud-single-feature {
  padding: 30px 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.ud-single-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.12);
}

.ud-feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--novamatch-primary) 0%, var(--novamatch-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ud-feature-icon i {
  font-size: 32px;
  color: #fff;
}

.ud-feature-title {
  color: var(--novamatch-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ud-feature-desc {
  color: #64748b;
  line-height: 1.7;
}

/* Contact section */
#contact {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 80px 0;
}

.ud-contact-title h2 {
  color: var(--novamatch-dark);
  margin-bottom: 15px;
}

.ud-contact-title p {
  color: #64748b;
  font-size: 18px;
  margin-bottom: 30px;
}

/* Footer customizations */
.ud-footer-bottom p {
  margin: 0;
  text-align: center;
}

.ud-footer-bottom-left,
.ud-footer-bottom-right {
  text-align: center;
  padding: 15px 0;
}

@media (min-width: 768px) {
  .ud-footer-bottom-left {
    text-align: left;
  }
  .ud-footer-bottom-right {
    text-align: right;
  }
}

.ud-footer-bottom a {
  color: var(--novamatch-primary);
  font-weight: 600;
}

.ud-footer-bottom a:hover {
  color: var(--novamatch-accent);
}

/* Remove old styles that might conflict */
#who-for .ud-team-image-wrapper .shape {
  display: none;
}

/* Section title enhancements */
.ud-section-title span {
  color: var(--novamatch-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ud-section-title h2 {
  color: var(--novamatch-dark);
  margin-top: 15px;
  margin-bottom: 20px;
}

.ud-section-title p {
  color: #64748b;
  font-size: 17px;
  line-height: 1.7;
}

/* ========== COMPREHENSIVE MOBILE RESPONSIVENESS FIXES ========== */

/* Mobile screens (phones) - max-width 767px */
@media (max-width: 767px) {
  /* Container padding adjustments */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Section padding adjustments */
  section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  
  /* Hero section mobile adjustments */
  .ud-hero {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
  }
  
  .ud-hero-content {
    text-align: center !important;
    padding: 0 10px !important;
  }
  
  .ud-hero-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }
  
  .ud-hero-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
  }
  
  /* Fix hero buttons - prevent overlapping */
  .ud-hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 25px !important;
    padding: 0 !important;
  }
  
  .ud-hero-buttons li {
    width: 100% !important;
    margin: 0 !important;
  }
  
  .ud-hero-buttons a {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
  
  .ud-hero-image {
    margin-top: 40px !important;
    display: none !important; /* Hide hero image on mobile for better performance */
  }
  
  /* Section titles mobile adjustments */
  .ud-section-title {
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .ud-section-title h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  
  .ud-section-title p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    white-space: normal !important;
  }
  
  /* Features section mobile */
  .ud-features .row > div {
    margin-bottom: 20px !important;
  }
  
  .ud-single-feature {
    padding: 25px 20px !important;
    margin-bottom: 20px !important;
    min-height: auto !important;
  }
  
  .ud-feature-title {
    font-size: 18px !important;
  }
  
  .ud-feature-desc {
    font-size: 14px !important;
  }
  
  /* How It Works section mobile */
  #how-it-works .ud-single-pricing {
    margin: 0 0 20px 0 !important;
    padding: 25px 20px !important;
    min-height: auto !important;
  }
  
  #how-it-works .ud-pricing-header h3 {
    font-size: 16px !important;
  }
  
  #how-it-works .ud-pricing-body h4 {
    font-size: 18px !important;
  }
  
  #how-it-works .ud-pricing-body p {
    font-size: 14px !important;
  }
  
  /* Why Choose section mobile */
  #faq .ud-single-feature {
    padding: 20px 15px !important;
    margin-bottom: 15px !important;
    min-height: auto !important;
  }
  
  /* Secure & Reliable section mobile */
  #testimonials .ud-single-testimonial {
    padding: 30px 20px !important;
    margin-bottom: 20px !important;
  }
  
  #testimonials .ud-testimonial-content h4 {
    font-size: 18px !important;
  }
  
  #testimonials .ud-testimonial-content p {
    font-size: 14px !important;
  }
  
  /* Who Is It For section mobile */
  .ud-team .ud-single-team {
    margin-bottom: 20px !important;
  }
  
  .ud-team .ud-team-info h5 {
    font-size: 18px !important;
  }
  
  .ud-team .ud-team-info h6 {
    font-size: 14px !important;
  }
  
  /* Contact section mobile */
  .ud-contact {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  
  .ud-contact .col-lg-5 {
    margin-bottom: 25px !important;
  }
  
  .ud-contact .ud-section-title h2 {
    font-size: 22px !important;
  }
  
  /* CTA section mobile */
  .ud-cta {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  
  .ud-cta .ud-cta-title h2 {
    font-size: 24px !important;
    margin-bottom: 15px !important;
  }
  
  .ud-cta .ud-cta-title p {
    font-size: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .ud-cta .ud-cta-btn-wrapper {
    text-align: center !important;
    margin-top: 20px !important;
  }
  
  .ud-cta .ud-main-btn {
    width: 100% !important;
    display: block !important;
  }
  
  /* Footer mobile adjustments */
  .ud-footer {
    padding-top: 50px !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .ud-footer-widgets {
    padding-bottom: 30px !important;
  }
  
  .ud-footer .ud-widget {
    margin-bottom: 30px !important;
  }
  
  .ud-footer .ud-widget-title {
    font-size: 18px !important;
    margin-bottom: 15px !important;
  }
  
  .ud-footer .ud-widget-desc {
    font-size: 14px !important;
    margin-left: 0 !important;
  }
  
  .ud-footer .ud-widget-socials {
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }
  
  .ud-footer-bottom {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  
  .ud-footer-bottom p {
    font-size: 13px !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  
  .ud-footer-bottom .text-end {
    text-align: center !important;
  }
  
  /* Ensure all cards are visible on mobile */
  .row > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Fix column widths on mobile */
  .col-xl-3, .col-xl-4, 
  .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
  .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* Tablet screens - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .ud-hero-title {
    font-size: 36px !important;
  }
  
  .ud-hero-desc {
    font-size: 17px !important;
  }
  
  .ud-section-title h2 {
    font-size: 30px !important;
  }
  
  /* 2 columns for features and cards on tablets */
  #features .col-xl-3,
  #how-it-works .col-lg-3,
  #who-for .col-xl-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* Small mobile screens - max-width 576px */
@media (max-width: 576px) {
  .ud-main-btn {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  
  h2 {
    font-size: 22px !important;
  }
  
  h3 {
    font-size: 18px !important;
  }
  
  h4 {
    font-size: 16px !important;
  }
  
  .ud-hero {
    padding-top: 80px !important;
  }
  
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
