/* CSS Variables for Dynamic Theming */
:root {
  --primary-color: #0F75BD;
  --secondary-color: #F72C93;
  --primary-rgb: 15, 117, 189;
  --secondary-rgb: 247, 44, 147;
}

/* Headings */
h1 {
  margin-top: 120px;
  color: var(--primary-color); /* Primary heading color */
  text-align: center; /* Center align for headings */
}

h2 {
  color: var(--primary-color); /* Primary heading color */
  text-align: center; /* Center align for headings */
  margin-top: 80px;
}

h3, h4 {
  color: var(--secondary-color); /* Secondary heading color */
  text-align: left; /* Left-align for subheadings */
}

/* Post container */
.post {
  margin: auto; /* Centers the post container */
  padding: 0 10px; /* Adds consistent horizontal padding */
}

/* buttons */
.btn-danger {
  color: var(--secondary-color);
  border: white;
}

/* List styles */
li {
  font-size: larger; /* Increases font size */
}

.custom-list ul {
  padding-left: 0; /* Removes default list padding */
  list-style-type: none; /* Removes default bullets */
}

.custom-list li {
  font-size: larger; /* Increases font size */
  position: relative; /* Enables custom bullet positioning */
  padding-left: 30px; /* Space for custom bullet or icon */
  margin-bottom: 10px; /* Space between list items */
}

.custom-list li:before {
  content: '•'; /* Custom bullet */
  font-size: 20px; /* Size of custom bullet */
  position: absolute;
  left: 0;
  top: 0;
}

/* Buttons */
.btn {
  border-color: white; /* Sets white border color */
}

/* Body font */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Modern system font stack */
}

/* Footer improvements */
.footer3 {
  background-color: #2c3e50 !important;
  border-top: 3px solid var(--primary-color);
}

.footer3 .footer-text {
  color: #ecf0f1 !important;
}

.footer3 .footer-link {
  color: #3498db !important;
  transition: all 0.3s ease;
}

.footer3 .footer-link:hover {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
}

.footer3 .footer-link-large {
  color: #ffffff !important;
  font-weight: 500;
}

.footer3 .footer-link-large:hover {
  color: var(--secondary-color) !important;
}

/* Remove selection highlighting issues */
.footer3 ::selection {
  background-color: rgba(var(--secondary-rgb), 0.2);
  color: inherit;
}

.footer3 ::-moz-selection {
  background-color: rgba(var(--secondary-rgb), 0.2);
  color: inherit;
}

/* Science section button alignment */
#science .row {
  display: flex;
  align-items: stretch;
}

#science .col-md-6 {
  display: flex;
  flex-direction: column;
  min-height: 450px;
}

#science .col-md-6 > div {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#science .col-md-6 .btn {
  margin-top: 2rem;
  align-self: center;
}



/* Store badge image */
.store-badge img {
  width: 100px; /* Sets consistent width */
  height: auto; /* Maintains aspect ratio */
}

/* Navbar adjustments */
.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
  padding-bottom
  : 5px; /* Adds spacing below the navbar */
}

/* Video container for responsive videos */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  padding-top: 35px; /* Adjusts top padding */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =====================================================
   PREMIUM HERO BUTTONS - Steve Jobs / Emily Carr Inspired
   ===================================================== */

/* Base hero button styling */
.btn-xl {
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 16px;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  backdrop-filter: blur(10px);
}

/* Primary Hero Button - DNA/Dating Focus */
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1E88E5 50%, #2196F3 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #1565C0 0%, #1976D2 50%, #1E88E5 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.3);
  color: white;
  text-decoration: none;
}

/* Secondary Hero Button - Couples Focus */
.btn-hero-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #E91E63 50%, #FF4081 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary:hover {
  background: linear-gradient(135deg, #C2185B 0%, #D81B60 50%, var(--secondary-color) 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(var(--secondary-rgb), 0.3);
  color: white;
  text-decoration: none;
}

/* Tertiary Hero Button - Personality Test Focus */
.btn-hero-tertiary {
  background: linear-gradient(135deg, #7B1FA2 0%, #8E24AA 50%, #AB47BC 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-tertiary:hover {
  background: linear-gradient(135deg, #6A1B9A 0%, #7B1FA2 50%, #8E24AA 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(123, 31, 162, 0.3);
  color: white;
  text-decoration: none;
}

/* Advanced Animations */
@keyframes pulse {
  0% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); }
  50% { box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.2); }
  100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); }
}

.pulse-animation {
  animation: pulse 3s ease-in-out infinite;
}

.pulse-animation:hover {
  animation: none;
}

/* Glow effect for secondary buttons */
.hover-glow:hover {
  filter: brightness(1.1);
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 16px 48px rgba(var(--secondary-rgb), 0.3); }
  to { box-shadow: 0 16px 48px rgba(var(--secondary-rgb), 0.5); }
}

/* Bounce effect for tertiary buttons */
.hover-bounce:hover {
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 60%, 100% { transform: translateY(-4px) scale(1.02); }
  40% { transform: translateY(-8px) scale(1.02); }
  80% { transform: translateY(-6px) scale(1.02); }
}

/* Shimmer effect on button text */
.btn-xl::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.8s;
}

.btn-xl:hover::before {
  left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-xl {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-height: 60px;
  }
}

@media (max-width: 576px) {
  .btn-xl {
    padding: 14px 28px;
    font-size: 1rem;
    min-height: 56px;
    border-radius: 12px;
  }
}

/* Focus states for accessibility */
.btn-xl:focus {
  outline: 3px solid rgba(var(--primary-rgb), 0.5);
  outline-offset: 3px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .btn-xl {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
}

/* =====================================================
   MEDIA KIT UTILITY CLASSES
   ===================================================== */

/* Padding Utilities */
.padding-bottom-84 { padding-bottom: 84px; }
.padding-top-104 { padding-top: 104px; }
.padding-bottom-50 { padding-bottom: 50px; }
.padding-bottom-30 { padding-bottom: 30px; }
.padding-top-44 { padding-top: 44px; }
.padding-bottom-20 { padding-bottom: 20px; }
.padding-top-20 { padding-top: 20px; }
.padding-top-60 { padding-top: 60px; }
.padding-bottom-40 { padding-bottom: 40px; }

/* Alignment Utilities */
.aligncenter { 
  text-align: center; 
  margin-left: auto; 
  margin-right: auto; 
}

/* =====================================================
   MEDIA KIT SPECIFIC COMPONENTS
   ===================================================== */

/* Media Kit Introduction Section */
.media-kit-intro {
  padding: 60px 30px 30px;
  text-align: center;
}

.media-kit-intro h2 {
  margin-bottom: 30px;
  font-weight: 600;
  color: #2c3e50;
}

.media-kit-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Key Features Section */
.key-features-section {
  padding: 40px 20px;
}

.key-features-section h2 {
  margin-bottom: 30px;
  font-weight: 600;
  color: #2c3e50;
}

.key-features-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.key-features-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.key-features-section a:hover {
  color: #1565C0;
  text-decoration: underline;
}

/* Contact Info Box */
.media-kit-contact-box {
  border-radius: 25px;
  border: 2px solid #ddd;
  padding: 30px;
  background: #f8f9fa;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.media-kit-contact-box:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.media-kit-contact-box b {
  color: #2c3e50;
  font-weight: 600;
}

.media-kit-contact-box a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.media-kit-contact-box a:hover {
  color: #1565C0;
  text-decoration: underline;
}

/* Product Notes & Press Releases */
.media-section {
  padding: 30px 20px;
}

.media-section h2 {
  margin-bottom: 40px;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
}

/* Modern Card Design (replacing Bootstrap 3 panels) */
.media-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 25px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.media-card-title {
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4;
}

.media-card-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(var(--primary-rgb), 0.1);
}

.media-card-link:hover {
  color: #fff;
  background: var(--primary-color);
  text-decoration: none;
  transform: translateX(3px);
}

.media-card-link::after {
  content: '→';
  font-weight: bold;
  transition: transform 0.3s ease;
}

.media-card-link:hover::after {
  transform: translateX(3px);
}

/* Press Release Date Styling */
.press-date {
  font-weight: 600;
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* Contact Form Improvements */
.contact-us-media {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
}

.contact-form-container {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-container h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-form-container p {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.form-group-custom {
  margin-bottom: 25px;
}

.form-group-custom label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  display: block;
}

.form-group-custom input,
.form-group-custom textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.form-group-custom input:focus,
.form-group-custom textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.contact-submit-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1E88E5 100%);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

/* Media Appearances Section */
.media-appearances {
  padding: 50px 20px;
  background: #f8f9fa;
}

.media-appearances h2,
.media-appearances h3 {
  color: #2c3e50;
  font-weight: 600;
}

.media-appearances h2 {
  text-align: center;
  margin-bottom: 40px;
}

.media-appearances h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.appearance-item {
  margin-bottom: 40px;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.appearance-item p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.appearance-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.appearance-item a:hover {
  color: #1565C0;
  text-decoration: underline;
}

/* =====================================================
   ENHANCED TEXT SHADOWS FOR HERO HEADINGS
   ===================================================== */

/* Improved text shadow for hero headings - makes them "pop" */
.c-text-shadow {
  text-shadow: 
    2px 2px 0px rgba(255, 255, 255, 0.8),
    -2px -2px 0px rgba(255, 255, 255, 0.8),
    2px -2px 0px rgba(255, 255, 255, 0.8),
    -2px 2px 0px rgba(255, 255, 255, 0.8),
    0px 0px 15px rgba(0, 0, 0, 0.7),
    0px 0px 8px rgba(0, 0, 0, 0.5) !important;
}

/* Enhanced hero title styling */
.hero-title {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  text-shadow: 
    3px 3px 0px rgba(255, 255, 255, 0.9),
    -3px -3px 0px rgba(255, 255, 255, 0.9),
    3px -3px 0px rgba(255, 255, 255, 0.9),
    -3px 3px 0px rgba(255, 255, 255, 0.9),
    0px 0px 20px rgba(0, 0, 0, 0.8),
    0px 0px 10px rgba(0, 0, 0, 0.6) !important;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Desktop enhancement for hero title */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4.5rem !important;
    letter-spacing: 2px;
    text-shadow: 
      4px 4px 0px rgba(255, 255, 255, 0.9),
      -4px -4px 0px rgba(255, 255, 255, 0.9),
      4px -4px 0px rgba(255, 255, 255, 0.9),
      -4px 4px 0px rgba(255, 255, 255, 0.9),
      0px 0px 25px rgba(0, 0, 0, 0.8),
      0px 0px 15px rgba(0, 0, 0, 0.6) !important;
  }
}

/* Gradient text with enhanced shadow */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* For browsers that don't support gradient text, fallback to white */
  color: white;
}

/* Responsive text shadow adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
    text-shadow: 
      2px 2px 0px rgba(255, 255, 255, 0.8),
      -2px -2px 0px rgba(255, 255, 255, 0.8),
      2px -2px 0px rgba(255, 255, 255, 0.8),
      -2px 2px 0px rgba(255, 255, 255, 0.8),
      0px 0px 15px rgba(0, 0, 0, 0.7),
      0px 0px 8px rgba(0, 0, 0, 0.5) !important;
  }
  
  .c-text-shadow {
    text-shadow: 
      1px 1px 0px rgba(255, 255, 255, 0.8),
      -1px -1px 0px rgba(255, 255, 255, 0.8),
      1px -1px 0px rgba(255, 255, 255, 0.8),
      -1px 1px 0px rgba(255, 255, 255, 0.8),
      0px 0px 10px rgba(0, 0, 0, 0.6),
      0px 0px 5px rgba(0, 0, 0, 0.4) !important;
  }
}

/* =====================================================
   BLOG IMAGE CONSISTENCY FIXES
   ===================================================== */

/* Consistent blog card image styling */
.card-img-top {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: center;
  background-color: #f8f9fa;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease;
}

.card-img-top:hover {
  transform: scale(1.02);
}

/* Blog card improvements */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-title {
  color: #2c3e50;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.card-text {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .media-kit-intro {
    padding: 40px 20px 20px;
  }
  
  .media-kit-intro h2 {
    font-size: 1.8rem;
  }
  
  .contact-form-container {
    margin: 0 20px;
    padding: 30px 20px;
  }
  
  .media-card {
    padding: 20px 15px;
  }
  
  .key-features-section {
    padding: 30px 15px;
  }
  
  .media-section {
    padding: 30px 15px;
  }
  
  .card-img-top {
    height: 400px;
    object-fit: contain;
  }
}

/* Wrapper styles for centering */
.wrapper {
  text-align: center;
}

.wrapper ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  zoom: 1; /* For IE compatibility */
  *display: inline; /* For older IE fallback */
}

.wrapper li {
  float: left;
  padding: 2px 5px;
  border: 1px solid black; /* Adds border around list items */
}

/* Center the text and adjust width */
.col-lg-9 {
  margin: 0 auto; /* Centers the column */
  text-align: center;
}


/* General body styles */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color: #F4F4F4;
  color: #333333;
  padding-top: 60px; /* Adjust for fixed navbar height */
}

/* Navbar adjustments */
.navbar {
  padding: 0.5rem 1rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff; /* White background for consistency */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for visibility */
  display: flex;
  align-items: center;
}

/* Container within Navbar */
.navbar .container-fluid {
  display: flex;
  align-items: center; /* Align items vertically */
  justify-content: space-between;
}

/* Logo and text alignment */
.navbar-brand {
  display: flex;
  align-items: center; /* Align logo and text vertically */
  gap: 10px; /* Space between logo and text */
}

.navbar-brand img.logo {
  height: 50px; /* Increased height for better visibility */
  vertical-align: middle;
}

.navbar-brand .logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  vertical-align: middle;
  color: #333333;
}

/* Navbar items alignment */
.navbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center; /* Align menu items vertically with logo */
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center; /* Ensure items are vertically centered */
  margin-left: 1rem; /* Spacing between nav items */
}

navbar-nav .nav-link {
  font-size: 0.95rem; /* Slightly smaller font size */
  color: #333333; /* Text color */
  font-size: 1rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  background-color: transparent; /* Transparent background */
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #4A90E2; /* Change color on hover */
}

/* Dropdown menu */
.navbar-nav .dropdown-menu {
  background-color: #f8f9fa; /* Background color for dropdown */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
  font-size: 0.95rem;
  padding: 0.5rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f4f4f4;
  color: #4A90E2; /* Change text color on hover */
}

.dropdown-menu .dropdown-item img.flag-image {
  height: 20px;
  width: auto;
  margin-right: 0.5rem;
}

/* "Book Now" Button Styling */
.navbar-nav .book-now-btn {
  background-color: #4A90E2; /* Matching blue */
  color: #ffffff; /* White text */
  border-radius: 25px; /* Rounded corners */
  padding: 0.5rem 1rem; /* Adequate padding */
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.navbar-nav .book-now-btn:hover {
  background-color: #357ABD; /* Darker blue on hover */
  transform: scale(1.05); /* Slight enlargement on hover */
}

/* Navbar Toggler Button */
.navbar-toggler {
  border: none; /* Remove border */
  background-color: transparent; /* Transparent background */
  position: relative;
  z-index: 1100; /* Ensure it's above the navbar content */
}

.navbar-toggler:focus {
  box-shadow: none; /* Remove focus outline */
}

/* Navbar Toggler Icon - Corrected SVG Path */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Media queries for responsiveness */


/* Fix navbar overlap issue between 992-1200px */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav .nav-item {
      margin-left: 0.3rem; /* Tighter spacing */
  }
  .navbar-nav .nav-link {
      padding: 0.5rem 0.6rem; /* Reduced horizontal padding */
      font-size: 0.9rem; /* Slightly smaller font */
  }
  .navbar-nav .book-now-btn {
      padding: 0.4rem 0.6rem;
      font-size: 0.85rem;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
      position: absolute;
      left: 50%;
      top: 56px;
      transform: translateX(-50%);
      width: 80%;
      background-color: #ffffff; /* Same background color */
      padding: 1rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      flex-direction: column; /* Stack items vertically */
  }

  .navbar-toggler {
      position: absolute;
      right: 1rem;
  }
}

/* Additional styling for uniform look */
.navbar-collapse {
  background-color: #f8f9fa; /* Same background color for collapse menu */
}

/* Services Section Styles */
#services .container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Ensuring images are responsive */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Responsive Typography */
#services h3, #services p {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 768px) {
  #services .col-sm-12 {
      margin-bottom: 20px;
  }
}

/* Header styles */
header {

  padding: 2rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 60px; /* Adjust for fixed navbar */
}

header h1 {
  margin: 0;
  font-size: 3.5rem;
    margin-top: 120px;
  }
  

/* Container */
.container {
  width: 90%;
  margin: auto;
  overflow: hidden;
}

/* Showcase styles */
.showcase {
  background: #f0f0f0;
  color: #333333;
  padding: 3rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1.5rem;
}

/* CTA section styles */
.cta-section {
  background: linear-gradient(135deg, #4A90E2, #50E3C2);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin: 3rem 0;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white; /* Ensure high contrast for readability */
}

.cta-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #4A90E2; /* Matching blue theme */
  color: #ffffff;
  padding: 0.75rem 1.5rem; /* Adjusted padding */
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: #357ABD; /* Darker blue on hover */
  transform: scale(1.05);
}

/* Telehealth info section styles */
.telehealth-info {
  background-color: #f9fafb;
  padding-top: 60px;
  padding-bottom: 60px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.telehealth-info .container {
  max-width: 800px;
  width: 90%;
  margin: auto;
  overflow: hidden;
}

.telehealth-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
}

.telehealth-info h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #555;
  margin-top: 2rem;
}

.telehealth-info .steps-list {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.8;
  padding-left: 20px;
}

.telehealth-info .steps-list li {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .telehealth-info h2 {
      font-size: 2rem;
  }

  .telehealth-info h3 {
      font-size: 1.5rem;
  }

  .telehealth-info .steps-list {
      font-size: 1rem;
      padding-left: 10px;
      padding-right: 10px;
  }
}

/* SNP explanation section styles */
#snp-explanation {
  background-color: #f8f9fa;
  padding-top: 60px;
  padding-bottom: 60px;
}

#snp-explanation h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px; /* Space below the main heading */
}

#snp-explanation h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 20px; /* Space below subheadings */
}

#snp-explanation p {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px; /* Space below paragraphs */
}

#snp-explanation .img-fluid {
  max-width: 100%;
  height: auto;
}

#snp-explanation .container {
  max-width: 1200px;
}

#snp-explanation .row {
  margin-top: 40px; /* Space between rows */
}

#snp-explanation .col-lg-6 {
  padding-left: 30px;
  padding-right: 30px; /* Padding to the sides of columns */
}

@media (max-width: 767px) {
  .text-center h1, .text-center h2, .text-center p {
      padding-left: 15px;
      padding-right: 15px;
        margin-top: 120px;

  }
  
  #snp-explanation h2 {
      font-size: 2rem;
  }

  #snp-explanation h3 {
      font-size: 1.5rem;
  }

  #snp-explanation p {
      font-size: 1rem;
  }

  #snp-explanation .col-lg-6 {
      padding-left: 15px;
      padding-right: 15px; /* Reduced padding for smaller screens */
  }
}

/* Common styles for info boxes */
.info-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4A90E2;
}

.info-box p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.info-box ul {
  padding-left: 1rem;
}

.info-box ul li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Adjustments for better readability and layout */
.concerns-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.concerns-section .info-box {
  margin-bottom: 2rem;
}

/* Responsive adjustments for better UX/UI */
@media (max-width: 576px) {
  .info-box {
      padding: 1rem;
  }

  .info-box h3 {
      font-size: 1.25rem;
  }

  .info-box p, .list-unstyled li {
      font-size: 0.875rem;
  }
}

/* Footer Enhancements */

/* Footer Container */
footer {
  background-color: #333333; /* Dark background for contrast */
  color: white; /* White text for readability */
  padding: 3rem 1rem; /* Adequate padding */
  text-align: center;
  margin-top: 3rem;
}

/* Footer Widgets */
.footer-widget {
  margin-bottom: 2rem;
}

.footer-widget h5 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border-bottom: 2px solid #4A90E2; /* Accent line for headings */
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-widget p,
.footer-widget ul {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-widget ul {
  list-style: none; /* Remove default list styling */
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 0.5rem;
}

.footer-widget ul li a {
  color: #ffffff; /* White text for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: #4A90E2; /* Accent color on hover */
}

/* Newsletter Section */
.footer-widget .newsletter-section {
  background-color: #444444; /* Slightly lighter for differentiation */
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.footer-widget .newsletter-section h5 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.footer-widget .newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-widget .newsletter-form .form-control {
  padding: 0.5rem;
  border: none;
  border-radius: 25px;
  width: 70%;
  max-width: 300px;
}

.footer-widget .newsletter-form .cta-button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 25px;
  background-color: #4A90E2; /* Matching blue */
  color: #ffffff; /* White text */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-widget .newsletter-form .cta-button:hover {
  background-color: #357ABD; /* Darker blue on hover */
  transform: scale(1.05); /* Slight enlargement on hover */
}

/* Footer Social Icons */
.footer-widget .footer-social {
  margin-top: 1rem;
}

.footer-widget .footer-social a {
  color: white;
  margin-right: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.2rem; /* Increased size for better visibility */
}

.footer-widget .footer-social a:hover {
  color: #4A90E2; /* Accent color on hover */
}

/* Footer Bottom Section */
.footer-bottom {
  border-top: 1px solid #444444;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-bottom ul li {
  margin: 0 1rem;
}

.footer-bottom ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom ul li a:hover {
  color: #4A90E2; /* Accent color on hover */
}

.footer-bottom p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
  footer .container {
      flex-direction: column;
      align-items: center;
  }

  footer .row {
      flex-direction: column;
  }

  footer .footer-widget {
      margin: 1rem 0;
  }

  footer .footer-bottom ul {
      flex-direction: column;
  }

  footer .footer-bottom ul li {
      margin: 0.5rem 0;
  }
}

/* Carousel item styles */
.carousel-inner .carousel-item {
  display: none; /* Hide all items initially */
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.carousel-inner .carousel-item.active {
  display: flex; /* Display only the active item */
}

.carousel-inner .carousel-item img {
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card {
  border: none;
  border-radius: 15px; /* Rounded edges */
  overflow: hidden;
}

.card-img-top {
  border-radius: 15px 15px 0 0; /* Rounded top edges */
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
}

/* Gap between carousel items */
.carousel-item .row {
  gap: 1rem;
}

/* Full width on small screens */
@media (max-width: 768px) {
  .carousel-item .row {
      flex-direction: column;
      gap: 1rem;
  }

  .carousel-item .col-md-4 {
      width: 100%;
  }

  .carousel-item .col-md-4 {
      margin-bottom: 1rem; /* Gap between stacked items */
  }
}

/* Three images in a row with gaps on larger screens */
@media (min-width: 769px) {
  .carousel-item .col-md-4 {
      flex: 0 0 calc(33.333% - 1rem);
      max-width: calc(33.333% - 1rem);
  }

  .carousel-item .col-md-4:nth-child(3n+1) {
      margin-right: 0;
  }
}

/* Typography */
h1, h2, h3 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Newsletter section styles */
.newsletter-section {
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  text-align: center;
}

.newsletter-section h5 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem; /* Adjust the font size */
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem; /* Adjust the gap between input and button */
}

.newsletter-form .form-control {
  width: auto;
  flex-grow: 1;
  padding: 0.5rem; /* Adjust the padding */
  font-size: 0.875rem; /* Adjust the font size */
}

.newsletter-form .cta-button {
  padding: 0.5rem 1rem; /* Adjust the padding */
  font-size: 0.875rem; /* Adjust the font size */
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for mobile view */
@media (max-width: 576px) {
  .newsletter-form {
      flex-direction: column;
      gap: 0.5rem;
  }

  .newsletter-form .form-control,
  .newsletter-form .cta-button {
      width: 100%;
      text-align: center;
  }
}

/* FAQ Section Styles */
.faq-section {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.faq-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.faq-section .faq-item {
  margin-bottom: 1.5rem;
}

.faq-section .faq-item h3 {
  font-size: 1.25rem;
  color: #4A90E2;
  margin-bottom: 0.5rem;
}

.faq-section .faq-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Testimonial Section Background */
.testimonial-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1E88E5 30%, var(--secondary-color) 70%, #E91E63 100%);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.testimonial-section .container {
  position: relative;
  z-index: 2;
}

.testimonial-carousel .carousel-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  margin: 0 2rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.testimonial-carousel .btn {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid rgba(var(--primary-rgb), 0.3) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-carousel .btn:hover {
  background: rgba(var(--primary-rgb), 0.9) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Additional styles for better layout */
.snp-carousel {
  background-color: #ffffff;
}

.snp-carousel h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.snp-carousel .carousel-item .card-text {
  font-size: 0.875rem;
}

.snp-carousel .carousel-item .card-text a {
  color: #4A90E2;
  text-decoration: none;
}

.snp-carousel .carousel-item .card-text a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for headers */
@media (max-width: 576px) {
  header h1 {
      font-size: 2.5rem;
      margin-top: 120px;
    }

  .showcase h2 {
      font-size: 1.5rem;
  }

  .showcase p {
      font-size: 1rem;
  }
}


@media (min-width: 992px) {
  .col-lg-9 {
    width: 75%; /* Adjusts column width on large screens */
  }
}



/* DNA Kit Section for responsiveness */
@media (min-width: 768px) {
  .dnaparent {
    display: flex; /* Enables flexbox layout */
  }
  .dnaoption1 {
    flex: 1; /* Equal flex space */
    padding-right: 10px;
    margin-right: 10px;
  }
  .dnaoption2 {
    flex: 1;
    padding-left: 20px;
    margin-left: 10px;
  }
}

@media (max-width: 767px) {
  .dnaoption1-before,
  .dnaoption2-before {
    text-align: center; /* Centers text on smaller screens */
  }
}

/* =====================================================
   MULTI-TENANT BACKGROUND CLASSES
   ===================================================== */

/* DateMetriX Background - Personality-based Dating */
.banner3-datemetrix {
  min-height: 700px;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.8), rgba(162, 59, 114, 0.8)), 
              url('../images/DateMetriX/3pannel_USA.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.banner3-datemetrix:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.3), rgba(162, 59, 114, 0.3));
  z-index: 1;
}

.banner3-datemetrix .container {
  position: relative;
  z-index: 2;
}

/* GenePool Background - Sperm Donor/Co-parenting */
.banner3-genepool {
  min-height: 700px;
  background: linear-gradient(135deg, rgba(27, 75, 140, 0.8), rgba(74, 144, 226, 0.8)), 
              url('../images/donors/3pannel.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.banner3-genepool:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 75, 140, 0.3), rgba(74, 144, 226, 0.3));
  z-index: 1;
}

.banner3-genepool .container {
  position: relative;
  z-index: 2;
}

/* =====================================================
   ENHANCED HERO SECTION BACKGROUNDS - DNA ROMANCE
   ===================================================== */

/* Enhanced backgrounds for banner3 and #topp */
.banner3,
#topp {
  background-image: url('../images/background/background3XL.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Enhanced gradient overlay with brand colors */
.banner3::before,
#topp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.7) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(var(--secondary-rgb), 0.7) 100%
  );
  z-index: 1;
}

/* Additional animated gradient overlay for depth */
.banner3::after,
#topp::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
  animation: pulseGradient 10s ease-in-out infinite;
}

/* Ensure content appears above overlays */
.banner3 .container,
.banner3 .banner3-content,
#topp .container,
#topp .banner3-content {
  position: relative;
  z-index: 2;
}

/* Modern glassmorphism effect behind hero content */
.banner3-content {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3rem 2rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  animation: slideInFromBottom 1s ease-out;
}

/* Gradient pulse animation */
@keyframes pulseGradient {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Slide in animation for hero content */
@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WebP support for modern browsers */
.webp .banner3,
.webp #topp,
.banner3.webp,
#topp.webp {
  background-image: url('../images/background/background3XL.webp') !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .banner3-datemetrix,
  .banner3-genepool {
    min-height: 500px;
    background-attachment: scroll;
  }
  
  /* Enhanced mobile backgrounds */
  .banner3,
  #topp {
    min-height: 500px;
    background-attachment: scroll;
    background-image: url('../images/background/backgroundmobile1XL.jpg');
  }
  
  /* Mobile gradient adjustment */
  .banner3::before,
  #topp::before {
    background: linear-gradient(
      180deg,
      rgba(var(--primary-rgb), 0.8) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(var(--secondary-rgb), 0.8) 100%
    );
  }
  
  /* WebP support for mobile */
  .webp .banner3,
  .webp #topp,
  .banner3.webp,
  #topp.webp {
    background-image: url('../images/background/backgroundmobile1XL.webp') !important;
  }
  
  /* Adjust glassmorphism for mobile */
  .banner3-content {
    padding: 2rem 1.5rem !important;
    margin: 0 1rem;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
}
