/* GLOBAL RESET: Essential for consistent box model behavior across all elements */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(120deg, #181821 60%, #111013 100%);
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: .01em;
  overflow-x: hidden; /* Prevents horizontal scroll caused by animations or overflow */
  position: relative; /* For floating elements */
}

/* Floating Background Elements */
.bg-shape {
    position: absolute;
    background-color: rgba(8, 193, 169, 0.1);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.7;
    animation: float 20s infinite ease-in-out alternate;
    z-index: -1;
}
.bg-shape:nth-child(1) { width: 200px; height: 200px; top: 10%; left: 5%; animation-delay: 0s; background-color: rgba(255, 140, 66, 0.1); }
.bg-shape:nth-child(2) { width: 150px; height: 150px; top: 40%; right: 8%; animation-delay: 5s; }
.bg-shape:nth-child(3) { width: 250px; height: 250px; bottom: 15%; left: 15%; animation-delay: 10s; }
.bg-shape:nth-child(4) { width: 180px; height: 180px; top: 25%; right: 25%; animation-delay: 15s; background-color: rgba(255, 140, 66, 0.1); }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -15px) scale(1.02); }
    50% { transform: translate(0, 30px) scale(0.98); }
    75% { transform: translate(-10px, -20px) scale(1.01); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Back button (used on sub-pages) */
.leadgen-fixed-back-btn {
  position: absolute;
  top: 22px;
  right: 28px;
  background: linear-gradient(90deg, #08c1a9 60%, #08b892 100%);
  color: #111;
  font-weight: 800;
  font-size: 1.08rem;
  border: none;
  border-radius: 22px;
  padding: 11px 28px 11px 22px;
  box-shadow: 0 2px 12px #08c1a955, 0 2px 8px #fff2;
  text-decoration: none;
  letter-spacing: .04em;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.25s cubic-bezier(.25,.8,.25,1);
}
.leadgen-fixed-back-btn:hover {
  background: linear-gradient(90deg,#0f90cc 60%,#12b4c0 100%);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 15px #0f90cc50;
}

/* Wrapper for content on sub-pages (not used on index.html) */
.leadgen-main-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 0 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.leadgen-logo { /* Used by sub-pages */
  width: 130px;
  margin-bottom: 18px;
  border-radius: 22px;
  box-shadow: 0 3px 26px #08c1a92a;
  background: #232234;
  transition: transform 0.3s ease-in-out;
}
.leadgen-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 30px #08c1a980;
}

/* Common CTA Button Style (used by index.html hero and sub-pages) */
.leadgen-schedule-btn {
  display: inline-block;
  background: linear-gradient(90deg,#08c1a9 60%,#08b892 100%);
  color: #131313;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 18px 40px;
  border: none;
  border-radius: 33px;
  margin: 30px auto 50px auto;
  letter-spacing: .05em;
  box-shadow: 0 3px 20px #08c1a932;
  cursor: pointer;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.leadgen-schedule-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: all .4s cubic-bezier(.25,.8,.25,1);
    z-index: -1;
}
.leadgen-schedule-btn:hover::before {
    left: 100%;
}
.leadgen-schedule-btn:hover {
  background: linear-gradient(90deg,#0f90cc 60%,#12b4c0 100%);
  color: #222;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 30px #0f90cc80;
}

/* Generic leadgen-section (for sections below the hero/magic slider on sub-pages) */
.leadgen-section {
  max-width: 920px;
  width: 97vw;
  margin: 0 auto 35px auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e9e6e0;
  background: rgba(28, 28, 38, 0.72);
  border-radius: 16px;
  padding: 28px 38px;
  box-shadow: 0 3px 16px #08c1a916;
  border: 1px solid rgba(255, 140, 66, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-sizing: border-box; /* Ensure proper padding behavior */
}
.leadgen-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.3);
}
.leadgen-section h2 {
  color: #08c1a9;
  font-size: 1.6rem;
  margin: 24px 0 15px 0;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.leadgen-list {
  margin: 18px 0 25px 0;
  padding-left: 25px;
}
.leadgen-list li {
  margin-bottom: 13px;
  font-size: 1.1rem;
}
.leadgen-list li b {
    color: #08c1a9;
}

/* --- HERO MAIN SECTION STYLES (for index.html) --- */
.hero-main-section {
    width: 100%;
    max-width: 1400px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    margin: 40px auto 70px auto;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #181821 0%, #111013 70%, #0d0d0f 100%);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    box-sizing: border-box;
}

.hero-content-area {
    max-width: 900px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.hero-main-title {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.1;
  margin-bottom: 15px;
  color: #08c1a9;
  text-shadow: 0 4px 25px #08c1a960, 0 2px 10px #fff5;
  box-sizing: border-box;
}

.hero-sub-description {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 25px;
  box-sizing: border-box;
}

.hero-quote-new {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 35px;
  color: #08c1a9;
  background: rgba(33,23,16,0.1);
  border-radius: 18px;
  padding: 12px 35px;
  box-shadow: 0 2px 15px #08c1a920;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Feature Cards Grid (for hero section) */
.hero-feature-cards {
    display: grid;
    /* Use 'auto-fill' to create as many columns as fit, 'minmax' for flexibility */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    margin-top: 30px;
    box-sizing: border-box;
}

.feature-card {
    background: rgba(33,28,36,0.88);
    box-shadow: 0 4px 25px rgba(12,161,154,0.2), 0 2px 15px #fff3;
    border-radius: 20px;
    padding: 25px 20px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    border: 2px solid #08c1a97c;
    transition: all .25s cubic-bezier(.25,.8,.25,1);
    text-align: center;
    /* Min-height to ensure visual consistency, even with less content */
    min-height: 100px; /* Slightly increased for more consistency */
    display: flex;
    flex-direction: column; /* Stack content if needed */
    align-items: center;
    justify-content: center; /* Center content vertically */
    position: relative;
    overflow: hidden;
    word-wrap: break-word; /* Ensure text wraps */
    box-sizing: border-box;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8,193,169,0.2) 0%, transparent 50%, rgba(255,140,66,0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    background: rgba(33,28,36,0.95);
    color: #fff;
    border: 2.5px solid #08c1a9;
    box-shadow: 0 6px 30px #0ca19a60, 0 3px 18px #fff4;
    transform: translateY(-8px) scale(1.02);
}

/* --- MAGIC CONTENT SLIDER STYLES --- */
.magic-slider-section {
    max-width: 1200px;
    width: 97vw; /* Relative width for responsiveness */
    margin: 70px auto 50px auto;
    background: rgba(28, 28, 38, 0.8);
    border-radius: 20px;
    padding: 30px; /* Initial padding */
    box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't add to width */
}

.magic-slider-section h2 {
    color: #08c1a9;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: .05em;
}

.magic-tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
    box-sizing: border-box;
    /* Added padding here to control inner spacing from container edges on mobile */
    padding: 0 10px; 
}

.magic-tab {
    background: rgba(45, 45, 55, 0.7);
    border: 2px solid rgba(8, 193, 169, 0.3);
    border-radius: 12px;
    padding: 12px 25px;
    color: #e9e6e0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    box-sizing: border-box;
    flex-grow: 1; /* Allow tabs to grow to fill space */
    flex-shrink: 1; /* Allow tabs to shrink if needed */
    min-width: 150px; /* Minimum width for each tab */
    max-width: 250px; /* Maximum width for each tab on larger screens */
    justify-content: center; /* Center content within the tab */
}

.magic-tab:hover {
    background: rgba(8, 193, 169, 0.15);
    border-color: #08c1a9;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(8, 193, 169, 0.3);
}

.magic-tab.active {
    background: linear-gradient(90deg, #08c1a9 0%, #08b892 100%);
    color: #111;
    border-color: #08c1a9;
    box-shadow: 0 5px 20px rgba(8, 193, 169, 0.5);
    transform: translateY(-2px);
}

.magic-tab-icon {
    font-size: 1.2em;
    color: #08c1a9;
    transition: color 0.25s ease-in-out;
}

.magic-tab.active .magic-tab-icon {
    color: #111;
}

.magic-content-area {
    background: rgba(35, 35, 45, 0.7);
    border-radius: 15px;
    /* Padding is applied to the content INSIDE the active slide */
    padding: 0;
    min-height: 350px; /* Min height for consistent visual area */
    position: relative;
    overflow: hidden; /* Keep overflow hidden for transitions */
    box-shadow: inset 0 0 15px rgba(0,0,0,0.2), 0 2px 10px rgba(0,0,0,0.3);
    box-sizing: border-box;
    /* No margin here, let parent .magic-slider-section handle it */
    width: 100%; /* Take full width of parent magic-slider-section's content area */
}

.magic-content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Takes 100% of the magic-content-area */
    height: 100%; /* Takes 100% of the magic-content-area */
    padding: 30px; /* Padding for the content within the slide */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out, visibility 0.6s;
    transform: translateY(20px);
    
    /* Layout for content inside slide */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
    text-align: center;
    box-sizing: border-box;
}

.magic-content-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative; /* When active, it takes up space in the flow */
    /* Ensure content is centered when active as well */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.magic-content-slide h3 {
    color: #08c1a9;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    word-break: break-word; /* Ensure long words break */
    hyphens: auto; /* Allow hyphenation */
    max-width: 95%; /* Prevent h3 from overflowing on tiny screens */
}

.magic-content-slide p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e9e6e0;
    max-width: 800px;
    margin: 0 auto 25px auto;
    word-break: break-word; /* Ensure text wraps correctly */
    hyphens: auto;
    max-width: 95%; /* Prevent p from overflowing on tiny screens */
}

.magic-image {
    width: 100%;
    max-width: 700px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    margin-top: 20px;
    filter: brightness(0.9) contrast(1.05);
    box-sizing: border-box;
}

/* CTA button inside magic slider content */
.magic-cta-btn {
  display: inline-block;
  background: linear-gradient(90deg,#ff8c42 60%,#ff7a26 100%);
  color: #131313;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  margin-top: 20px;
  letter-spacing: .03em;
  box-shadow: 0 3px 15px rgba(255,140,66,0.4);
  cursor: pointer;
  transition: all .25s cubic-bezier(.25,.8,.25,1);
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.magic-cta-btn:hover {
  background: linear-gradient(90deg,#ff9900 60%,#ff8c00 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255,140,66,0.6);
}


/* --- Responsive Adjustments (Magic Slider specific) --- */
@media (max-width: 1100px) {
  .magic-slider-section {
    margin: 50px auto 40px auto;
    padding: 20px;
  }
  .magic-slider-section h2 {
    font-size: 1.7rem;
    margin-bottom: 25px;
  }
  .magic-tabs-container {
    gap: 15px;
    margin-bottom: 25px;
    padding: 0 5px; /* Adjust padding for tabs container */
  }
  .magic-tab {
    padding: 10px 20px;
    font-size: 0.95rem;
    min-width: 120px; /* Reduced min-width for tabs */
  }
  .magic-tab-icon {
    font-size: 1.1em;
  }
  .magic-content-area {
    padding: 0; /* Content area padding managed by the slide itself now */
    min-height: 280px;
  }
  .magic-content-slide {
    padding: 20px; /* Apply padding to the content slide */
  }
  .magic-content-slide h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .magic-content-slide p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .magic-image {
    height: 150px;
  }
}

@media (max-width: 700px) {
  /* Common mobile adjustments */
  .leadgen-section { padding: 10px 5vw;}
  .leadgen-title { font-size: 1.8rem;}
  .leadgen-section h2 { font-size: 1.4rem; }
  .leadgen-back-btn { padding: 10px 22px;}

  .hero-main-section {
    min-height: 400px;
    padding: 40px 10px;
    border-radius: 15px;
  }
  .hero-main-title {
    font-size: 2.2rem;
    letter-spacing: .06em;
  }
  .hero-sub-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .hero-quote-new {
    font-size: 0.9rem;
    padding: 8px 20px;
    margin-bottom: 25px;
  }
  .leadgen-schedule-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
  .hero-feature-cards {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* auto-fill for better distribution */
    gap: 15px;
    padding: 0 5px;
  }
  .feature-card {
    font-size: 0.9rem;
    padding: 18px 10px;
    min-height: 80px; /* slightly increased min-height for mobile feature cards */
    border-radius: 15px;
  }

  /* Magic Slider on small mobile */
  .magic-slider-section {
    padding: 15px;
    margin: 40px auto 30px auto;
    width: calc(100% - 30px); /* Account for outer padding/margin of section */
  }
  .magic-slider-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .magic-tabs-container {
    gap: 10px;
    margin-bottom: 20px;
    padding: 0; /* Remove padding here, let magic-tab handle it */
  }
  .magic-tab {
    padding: 8px 15px;
    font-size: 0.85rem;
    gap: 8px;
    /* Use flex-basis for 2 columns, adjust for gap */
    flex-basis: calc(50% - 5px); /* (100% - total_gap) / 2 */
    justify-content: center;
    min-width: unset; /* Let flex-basis control width */
    max-width: unset; /* Let flex-basis control width */
  }
  .magic-tab:nth-child(odd) { /* Adjust margin for odd/even tabs if needed */
    margin-right: 5px;
  }
  .magic-tab:nth-child(even) {
    margin-left: 5px;
  }

  .magic-tab-icon {
    font-size: 1em;
  }
  .magic-content-area {
    padding: 0; /* Content area padding managed by the slide itself now */
    min-height: 200px; /* Adjusted min-height */
  }
  .magic-content-slide {
    padding: 15px; /* Apply padding to content slide */
  }
  .magic-content-slide h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  .magic-content-slide p {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
  .magic-image {
    height: 120px;
  }
  .magic-cta-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-main-section {
    min-height: 350px;
    padding: 30px 10px;
  }
  .hero-main-title {
    font-size: 1.8rem;
  }
  .hero-sub-description {
    font-size: 0.85rem;
  }
  .hero-quote-new {
    font-size: 0.8rem;
    padding: 6px 15px;
  }
  .leadgen-schedule-btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
  .hero-feature-cards {
    grid-template-columns: 1fr; /* Stack cards in a single column */
    gap: 12px;
  }
  .feature-card {
    font-size: 0.85rem;
    padding: 15px 10px;
    min-height: 70px; /* Adjusted min-height for smallest screens */
  }

  /* Magic Slider very small mobile */
  .magic-slider-section {
    padding: 10px;
    width: calc(100% - 20px);
  }
  .magic-tabs-container {
    gap: 8px;
    padding: 0; /* Ensure no padding causes overflow */
  }
  .magic-tab {
    flex-basis: 100%; /* Stack tabs vertically */
    font-size: 0.8rem;
    padding: 8px 10px;
    margin-left: 0 !important; /* Override potential odd/even margins */
    margin-right: 0 !important; /* Override potential odd/even margins */
  }
  .magic-content-area {
    padding: 0; /* Content area padding managed by the slide itself now */
    min-height: 180px;
  }
  .magic-content-slide {
    padding: 10px; /* Apply padding to active slide content */
  }
  .magic-content-slide h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  .magic-content-slide p {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  .magic-image {
    height: 90px;
    margin-top: 10px;
  }
}

/* Back button common styles */
.leadgen-fixed-back-btn {
  position: absolute;
  top: 22px;
  right: 28px;
  background: linear-gradient(90deg, #08c1a9 60%, #08b892 100%);
  color: #111;
  font-weight: 800;
  font-size: 1.08rem;
  border: none;
  border-radius: 22px;
  padding: 11px 28px 11px 22px;
  box-shadow: 0 2px 12px #08c1a955, 0 2px 8px #fff2;
  text-decoration: none;
  letter-spacing: .04em;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.25s cubic-bezier(.25,.8,.25,1);
}
.leadgen-fixed-back-btn:hover {
  background: linear-gradient(90deg,#0f90cc 60%,#12b4c0 100%);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 15px #0f90cc50;
}
@media (max-width: 700px) {
  .leadgen-fixed-back-btn {
    top: 10px;
    right: 10px;
    font-size: 1.01rem;
    padding: 9px 18px 9px 14px;
  }
}

/* Keyframe for a subtle pulse animation (already present) */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.01); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- IMPORTANT: EXISTING STYLES FROM YOUR index.html's styles.css --- */
/* These styles are crucial for your layout and must be present in your actual styles.css file.
   I am NOT rewriting them here to avoid duplication, but please ensure they are combined
   with the new CSS provided above.
   Examples include:
   - .navbar, .hero, .trusted, .logo-marquee, .container, .orbit-container,
   - .section (general, not .leadgen-section), .sl1, .sl2 (for 4-step process),
   - .why-us-section, .testimonial-section, .faq-wrapper, footer and their children.
   - Any other global styles, colors, fonts you have.
*/

/* Pay special attention to: */
/* .hero-title and its span: You have two .hero-title, one in index.html, one in the new hero-main-section. Ensure you use the new, more prominent one. */
/* .cta-button, .ringbutton, .cta-btn: Ensure consistent styling if they are meant to look similar. */