/* ===================================
   GLOBAL VARIABLES
=================================== */

:root {
  --theme-color: #3d94a2;
  --theme-dark: #3730a3;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --card-bg: #ffffff;
  --section-bg: #f8fafc;
  --border-color: #e5e7eb;
  --card-header-size: clamp(0.82rem, 0.55vw + 0.5rem, 1.06rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===================================
   GLOBAL
=================================== */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 0;
  overflow-x: hidden;
  font-family: var(--ff-body, "PT Sans", sans-serif);
  color: var(--text-dark);
  background: #ffffff;
}

img {
  /*max-width: 100%;*/
  height: auto;
}

section {
  position: relative;
}

.container {
  max-width: 1200px;
}

/* ===================================
   SIGNUP SECTION
=================================== */

.signup-section {
  background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
  padding: 90px 0;
}

.signup-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.brand-accent {
  color: var(--theme-color);
}

.signup-subtitle {
  max-width: 700px;
  margin: auto;
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.8;
}

/* ===================================
   EMAIL FORM
=================================== */

.signup-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 750px;
  margin: 50px auto 0;
  background: #fff;
  border: 1px solid rgba(61, 148, 162, 0.14);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 6px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.signup-form:focus-within {
  border-color: rgba(61, 148, 162, 0.32);
  box-shadow: 0 20px 48px rgba(61, 148, 162, 0.18);
  transform: translateY(-1px);
}

.email-input {
  flex: 1;
  height: 58px;
  border: none !important;
  box-shadow: none !important;
  padding: 0 22px;
  font-size: 16px;
  border-radius: 999px 0 0 999px;
  background: transparent;
}

.email-input:focus {
  box-shadow: none !important;
}

.signup-btn {
  border: none;
  min-width: 220px;
  height: 58px;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-dark));
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  border-radius: 999px;
  font-family: var(--ff-heading, "Montserrat", sans-serif);
}

.signup-btn:hover {
  background: linear-gradient(135deg, var(--theme-dark), #1f3a8a);
  transform: translateY(-1px);
}

/* ===================================
   HERO CONTENT
=================================== */

.feature-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

.feature-description {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-light);
}

.content-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* ===================================
   BUTTONS
=================================== */

.getStarted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 220px;
  height: 58px;

  background: var(--theme-color);
  color: #fff;

  border-radius: 50px;

  font-weight: 600;
  text-decoration: none;

  transition: 0.3s ease;
}

.getStarted:hover {
  transform: translateY(-3px);
  background: var(--theme-dark);
  color: #fff;
  text-decoration: none;
}

/* ===================================
   FEATURES SECTION
=================================== */

.three_who {
  background: var(--section-bg);
  padding: 90px 0;
}

.main-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.sub-title {
  max-width: 850px;
  margin: auto;
  text-align: center;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 18px;
}

.feature-row {
  margin-top: 60px;
}

/* ===================================
   CARDS
=================================== */

.feature-card {
  border: none;
  border-radius: 20px;
  background: #fff;
  height: 100%;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card .card-body {
  padding: 35px;
}

.section-heading {
  display: flex;
  align-items: center;

  font-size: 24px;
  font-weight: 600;

  color: var(--text-dark);

  margin-bottom: 20px;
}

.section-heading i {
  color: var(--theme-color);
  margin-right: 12px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===================================
   LISTS
=================================== */

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;

  margin-bottom: 14px;

  color: var(--text-light);
  line-height: 1.7;
}

.feature-list i {
  color: var(--theme-color);
  width: 25px;
  margin-top: 4px;
}

/* ===================================
   CTA AREA
=================================== */

.cta-area {
  text-align: center;
  margin-top: 50px;
}

/* ===================================
   TABLETS
=================================== */

@media (max-width: 1080px) {
  .feature-title {
    font-size: 38px;
    text-align: center;
  }

  .feature-description {
    text-align: center;
  }

  .content-column {
    margin-top: 30px;
  }

  .getStarted {
    margin: auto;
  }

  .main-title {
    font-size: 36px;
  }
}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 768px) {
  .signup-section,
  .three_who {
    padding: 60px 0;
  }

  .signup-title,
  .main-title {
    font-size: 30px;
  }

  .sub-title {
    font-size: 16px;
    padding: 0 15px;
  }

  .feature-title {
    font-size: 30px;
  }

  .signup-form {
    flex-direction: column;
    border-radius: 20px;
  }

  .email-input {
    width: 100%;
    text-align: center;
    height: 55px;
  }

  .signup-btn {
    width: 100%;
    min-width: auto;
    height: 55px;
  }

  .section-heading {
    font-size: 20px;
  }

  .feature-card .card-body {
    padding: 25px;
  }

  .getStarted {
    width: 100%;
    max-width: 280px;
  }
}

/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 480px) {
  .signup-title,
  .main-title {
    font-size: 26px;
  }

  .feature-title {
    font-size: 26px;
  }

  .section-heading {
    font-size: 18px;
  }
}

/* ============================================================
   SHORTS FEED - base size for desktop/laptop, overridden below
   ============================================================ */
.shorts-feed-wrapper {
  flex: 0 0 auto;
  width: min(420px, 36vw);
  max-width: 450px;
  height: 85vh;
  height: 85dvh;
  margin: 0;
}

/* ============================================================
   EXTRA-LARGE SCREENS (1600px and up)
   ============================================================ */
@media (min-width: 1600px) {
  :root {
    --card-header-size: clamp(0.92rem, 0.42vw + 0.72rem, 1.12rem);
  }
  .Hero_section {
    max-width: 1680px;
    padding: 48px 56px 56px;
  }
  .intro-section {
    padding: 28px 44px 30px;
  }
  .middle-row {
    --hero-left: 68%;
    --hero-right: 32%;
    gap: 28px;
  }
  .shorts-feed-wrapper {
    min-height: 560px;
  }
}

/*Nav Bar*/
#main-nav {
  background: linear-gradient(to left, #2c8c9c, #97bec4);
  color: #ffffff;
}
#main-nav .nav-item {
  margin-right: 5px;
  padding: 5px;
}
#main-nav .nav-item:hover {
  background-color: #288494;
  border-radius: 5px;
}

/* =========================
   NAVBAR
========================= */

.custom-navbar {
  background: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.navbar-logo {
  height: 45px;
  width: auto;
}

.brand-name {
  margin-left: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

.navbar-nav .nav-item {
  margin: 0 8px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: 0.3s;
  padding: 8px 12px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--theme-color) !important;
}

/* =========================
   BUTTONS
========================= */

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  color: #444;
  text-decoration: none;
  font-weight: 600;
}

.login-btn:hover {
  color: var(--theme-color);
  text-decoration: none;
}

.try-btn {
  background: var(--theme-color);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.try-btn:hover {
  background: var(--theme-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* =========================
   DROPDOWN
========================= */

.dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 12px 20px;
}

.dropdown-item:hover {
  background: #f5f7ff;
  color: var(--theme-color);
}

/* =========================
   MOBILE
========================= */

/* ============================================================
     SITE-WIDE RESPONSIVE / UI PASS
     (Hero section â€” .maincont, .intropart, .shorts-feed-wrapper,
     .shorts-actions, .card-grid/.card, and all related JS â€” is
     intentionally left untouched.)
     ============================================================ */

html,
body {
  overflow-x: hidden;
}

/* ---------- Chat widget: keep it from overflowing small screens ---------- */
@media (max-width: 600px) {
  #chatFrame {
    width: 92vw !important;
    max-width: 380px !important;
    height: 70vh !important;
  }
}

/* ---------- Navbar: tidy mobile dropdown ---------- */

@media (max-width: 991px) {
  #main-nav {
    padding: 10px 15px;
  }

  #main-nav .navbar-brand {
    font-size: 15px;
  }

  #main-nav .navbar-brand img {
    height: 40px !important;
    margin-left: 0 !important;
  }

  #main-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.4);
    outline: none;
    box-shadow: none;
  }

  #main-nav .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: linear-gradient(to left, #2c8c9c, #97bec4);
    padding: 15px;

    border-radius: 0 0 15px 15px;

    z-index: 9999;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  #main-nav .navbar-nav {
    width: 100%;
    text-align: center;
  }

  #main-nav .nav-item {
    width: 100%;
    margin: 5px 0;
    padding: 0;
  }

  #main-nav .nav-link {
    display: block;
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff !important;
  }

  #main-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  #main-nav .dropdown-menu {
    background: #15394a;
    border: none;
    text-align: center;
  }

  #main-nav .dropdown-item {
    color: #fff;
    padding: 12px;
  }

  #main-nav .dropdown-item:hover {
    background: #1e5168;
    color: #fff;
  }
}

/* ---------- "Set up for Profits" (#who): use the space on tablets ----------
     Previously the two columns only sat side-by-side at Bootstrap's xl
     breakpoint (1200px+), so tablets and small laptops (768â€“1199px) saw
     them full-width and stacked, wasting horizontal space. ---------- */
@media (min-width: 768px) {
  #who .row.no-gutters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #who .row.no-gutters > .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ---------- "Architect Your Presence" (#three_who) ---------- */

/* Fix: .card-z had a hardcoded 1000px height that left huge empty
     gaps on every screen size except â‰¤575px. Let cards size to their
     own content everywhere instead. */
.card-z {
  height: auto !important;
  min-height: 0 !important;
}

@media (min-width: 769px) and (max-width: 1199px) {
  #three_who h3 {
    font-size: 2rem !important;
  }
  #three_who h6 {
    font-size: 1.05rem !important;
  }
  #three_who .card-body {
    padding: 30px 24px !important;
  }
}

/* ============================================================
   HERO SECTION - clean, responsive, 65/35 split
   ============================================================ */

.Hero_section {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 48px 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(0, 65, 200, 0.06);
  border-radius: 40px;
  box-shadow: 0 24px 72px rgba(17, 24, 39, 0.08);
}

/* ===== ROW 1: intro ===== */
.intro-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.6vw, 18px);
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px) clamp(18px, 4vw, 44px);
  border-radius: 34px;
  background:
    radial-gradient(
      circle at top left,
      rgba(44, 140, 156, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at top right,
      rgba(151, 190, 196, 0.2),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(247, 250, 253, 0.94) 100%
    );
  border: 1px solid rgba(44, 140, 156, 0.14);
  box-shadow: 0 22px 56px rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(8px);
}

.intro-section::before,
.intro-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  z-index: -1;
}
.intro-section::before {
  top: -92px;
  right: -70px;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(61, 148, 162, 0.2) 0%,
    rgba(61, 148, 162, 0) 68%
  );
}
.intro-section::after {
  left: -84px;
  bottom: -112px;
  width: 270px;
  height: 270px;
  background: radial-gradient(
    circle,
    rgba(151, 190, 196, 0.2) 0%,
    rgba(151, 190, 196, 0) 70%
  );
}
.intro-section .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(57 146 161);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 18px 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(79, 70, 229, 0.1);
}
.intro-section .badge i {
  font-size: 0.7rem;
}
.intro-section h1 {
  font-size: clamp(2.05rem, 4.2vw, 4rem);
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #081528;
  max-width: 980px;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.intro-section h1 .highlight {
  background: linear-gradient(to left, #2c8c9c, #97bec4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro-section .col-sm-12 {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
}
.intro-section .btn-info {
  width: min(100%, 320px);
  box-shadow: 0 16px 34px rgba(61, 148, 162, 0.25);
}
.intro-section .btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(61, 148, 162, 0.32);
}

/* ===== ROW 2: 65% / 35% split ===== */
.middle-row {
  display: inline-grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  gap: 24px;
  width: 100%;
  align-items: start;
  min-width: 0;
}

/* left column */
.info-toggle-wrapper {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0; /* cards handle their own spacing */
  min-width: 0;
}

/* right column */
.middle-row > .shorts-feed-wrapper {
  width: 100%;
  max-width: none;
  min-width: 0;
  align-self: start;
}

.shorts-feed-wrapper {
  width: 100%;
  max-width: none;
  height: auto;
  /* aspect-ratio: 9 / 16; */
  min-height: 480px;
  margin: 0;
  background: #0b1a33;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}
.shorts-feed-wrapper .shortsSwiper {
  width: 100%;
  height: 100%;
}
.shorts-feed-wrapper .swiper-slide {
  background: #0b1a33;
}
.shorts-feed-wrapper .video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0b1a33;
  position: relative;
}
.shorts-feed-wrapper .yt-player {
  width: 100% !important;
  height: 100% !important;
}
.shorts-feed-wrapper .shorts-actions {
  position: absolute;
  right: 12px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}
.shorts-feed-wrapper .action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.shorts-feed-wrapper .action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
.shorts-feed-wrapper .action-btn.liked {
  color: #ec4899;
  background: rgba(236, 72, 153, 0.25);
}
.shorts-feed-wrapper .video-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 500;
  z-index: 10;
  letter-spacing: 0.3px;
}

/* ===== CARD GRID inside left column ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 18px;
  padding: 18px 20px 20px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.06);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 68px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  border-color: rgba(79, 70, 229, 0.12);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-weight: 700;
  font-size: var(--card-header-size);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0b1a33;
  flex-shrink: 0;
  min-width: 0;
  flex-wrap: wrap;
}
.card-header .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.08);
  color: #4f46e5;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.card-content {
  max-height: none;
  opacity: 1;
  overflow: visible;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.card.expanded {
  min-height: 180px;
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.08);
}
.card.expanded .card-content {
  max-height: 500px;
  opacity: 1;
  margin-top: 12px;
}
.card.expanded .card-header {
  color: #4f46e5;
}
.card.expanded .card-icon {
  background: rgba(79, 70, 229, 0.15);
  color: #4f46e5;
}

.typing-box {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #1e293b;
  min-height: 70px;
  flex: 1;
  font-family: var(--ff-body, "PT Sans", sans-serif);
}
.typing-box b {
  color: #0b1a33;
}
.typing-box i {
  color: #4f46e5;
  margin: 0 2px;
}

.typing-caret {
  display: inline-block;
  width: 0.55ch;
  height: 1em;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  vertical-align: -0.08em;
  animation: typing-blink 0.8s steps(1) infinite;
}

@keyframes typing-blink {
  50% {
    border-color: transparent;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(to left, #2c8c9c, #97bec4);
  color: #fff;
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  opacity: 1;
  transform: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 12px;
  align-self: flex-start;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}
.cta-button.show {
  opacity: 1;
  transform: none;
}
.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.35);
}

/* ===== ROW 3: CTA ===== */
.bottom-cta-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.cta-button-bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(to left, #2c8c9c, #97bec4);
  color: #fff;
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  padding: 18px 40px;
  border-radius: 80px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.25);
  width: 100%;
  max-width: 560px;
}
.cta-button-bottom:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(79, 70, 229, 0.35);
}
.cta-button-bottom i {
  transition: transform 0.3s ease;
}
.cta-button-bottom:hover i {
  transform: translateX(6px);
}

/* ===== Modal ===== */
.btn-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-dark));
  border: none;
  color: #fff;
  padding: 14px 34px;
  border-radius: 999px;
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(61, 148, 162, 0.22);
}
.btn-info:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(61, 148, 162, 0.3);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: 28px;
  max-width: 580px;
  width: 100%;
  padding: 40px 36px 36px;
  position: relative;
  transform: scale(0.9) translateY(30px);
  transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}
.modal-box::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #94a3b8;
  transition: 0.2s;
  padding: 0 6px;
}
.modal-close:hover {
  color: #0f172a;
  transform: rotate(90deg);
}

.modal-icon {
  font-size: 3rem;
  color: #0ea5e9;
  text-align: left;
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  text-align: left;
  margin-bottom: 16px;
  line-height: 1.2;
}

.modal-body {
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.6;
  text-align: left;
}
.modal-body p {
  margin-bottom: 12px;
}
.modal-body ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  text-align: left;
}
.modal-body ul li {
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.modal-body ul li i {
  color: #0ea5e9;
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.testimonial {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-left: 4px solid #0ea5e9;
  text-align: left;
}
.testimonial p {
  font-style: italic;
  margin: 0;
  text-align: left;
}
.testimonial-author {
  font-style: normal !important;
  margin-top: 6px !important;
  text-align: left;
  color: #475569;
}
.testimonial-author i {
  color: #94a3b8;
}

.modal-cta {
  display: block;
  text-align: left;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-dark));
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s;
  box-shadow: 0 4px 16px rgba(61, 148, 162, 0.3);
  width: fit-content;
  align-self: flex-start;
}
.modal-cta:hover {
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(61, 148, 162, 0.45);
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS â€“ structure preserved everywhere
   ========================================================== */

/* 1080px â€“ large tablets / small laptops */
@media (max-width: 1080px) {
  :root {
    --card-header-size: clamp(0.84rem, 0.55vw + 0.54rem, 1rem);
  }
  .Hero_section {
    padding: 32px 28px 40px;
    gap: 22px;
  }
  .intro-section {
    padding: 22px 24px 24px;
    border-radius: 28px;
  }
  .middle-row {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    gap: 18px;
  }
  .intro-section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .card-grid {
    gap: 12px;
  }
  .shorts-feed-wrapper {
    min-height: 420px;
  }
  .card {
    padding: 16px 16px 18px;
    min-height: 60px;
  }
  .card-header .card-icon {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .typing-box {
    font-size: 0.8rem;
  }
  .cta-button {
    font-size: 0.75rem;
    padding: 7px 16px;
  }
}

/* 768px â€“ tablets */
@media (max-width: 768px) {
  :root {
    --card-header-size: clamp(0.8rem, 0.85vw + 0.46rem, 0.92rem);
  }
  .Hero_section {
    padding: 24px 18px 32px;
    gap: 18px;
    border-radius: 28px;
  }
  .intro-section {
    padding: 20px 16px 22px;
    border-radius: 26px;
  }
  .intro-section h1 {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    line-height: 1.06;
  }
  .intro-section .badge {
    font-size: 0.7rem;
    padding: 4px 14px;
  }
  .middle-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px;
    align-items: start;
  }
  .middle-row > .shorts-feed-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    height: auto;
    /* aspect-ratio: 9 / 16; */
    min-height: 0;
    border-radius: 18px;
  }
  .card-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .card {
    padding: 10px 10px 12px;
    min-height: 0;
    border-radius: 12px;
  }
  .card-header {
    gap: 4px;
    white-space: normal;
    line-height: 1.15;
  }
  .card-header .card-icon {
    width: 17px;
    height: 17px;
    font-size: 0.52rem;
    border-radius: 6px;
  }
  .card.expanded {
    min-height: 0;
  }
  .typing-box {
    display: block;
    font-size: 0.62rem;
    min-height: 34px;
    line-height: 1.35;
  }
  .card-content {
    justify-content: flex-start;
    gap: 4px;
    margin-top: 6px;
  }
  .cta-button {
    font-size: 0.52rem;
    padding: 4px 8px;
    margin-top: 4px;
  }
  .modal-box {
    padding: 28px 18px 24px;
    max-height: 86vh;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-body {
    font-size: 0.86rem;
  }
  .modal-cta {
    font-size: 0.86rem;
    padding: 12px 18px;
  }
  .signup-form {
    flex-direction: column;
    padding: 10px;
    border-radius: 24px;
  }
  .email-input {
    width: 100%;
    text-align: center;
    height: 52px;
    border-radius: 16px;
  }
  .signup-btn {
    width: 100%;
    min-width: 0;
    height: 52px;
    border-radius: 16px;
  }
  .custom-searchbar .form-control {
    padding: 12px 16px;
    font-size: 0.8rem;
  }
  .search_btn {
    padding: 8px 18px;
    font-size: 0.75rem;
  }
  .cta-button-bottom {
    font-size: 0.95rem;
    padding: 14px 28px;
    max-width: 100%;
  }
  .shorts-feed-wrapper .shorts-actions {
    right: 10px;
    bottom: 36px;
    gap: 8px;
  }
  .shorts-feed-wrapper .action-btn {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  .shorts-feed-wrapper .video-counter {
    font-size: 0.56rem;
    padding: 2px 8px;
    top: 10px;
    right: 10px;
  }
}

/* ===================================
   PAGE EXTRAS
=================================== */

.who-left-w3 {
  margin: 4px 0 !important;
}

h1.wave-text {
  display: inline-block;
  animation: hero-rise 0.8s ease both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #0b0f19 0%, #11263a 50%, #0f5665 100%);
}

.loader-text {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c8c9c, #97bec4);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 31, 48, 0.24);
  text-decoration: none;
  z-index: 999;
}

#toTop::before {
  content: "^";
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

#toTopHover {
  display: none;
}

.fbfloat,
.ytfloat {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 31, 48, 0.28);
  text-decoration: none;
  z-index: 1000;
}

.fbfloat {
  bottom: 108px;
  background: #1877f2;
}

.ytfloat {
  bottom: 176px;
  background: #ff0000;
}

.my-float {
  margin-top: 0;
}

.footerbox {
  background-color: #0b0f19 !important;
  color: #94a3b8 !important;
  padding: 80px 40px 40px !important;
  font-family: var(--ff-body, "PT Sans", sans-serif);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footerbox .footerup {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  text-align: left;
  flex-wrap: wrap;
  gap: 40px;
}

.footerbox h2 {
  font-family: var(--ff-heading, "Montserrat", sans-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: #ffffff !important;
  margin-bottom: 20px;
}

.listbox {
  display: grid;
  font-weight: 500;
  justify-items: left;
  gap: 6px;
}

.listbox a {
  text-decoration: none !important;
  color: #94a3b8 !important;
  transition: all 0.3s ease;
}

.listbox a:hover {
  color: var(--theme-color) !important;
  transform: translateX(4px);
}

.footerdown {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.socialicon {
  text-align: center;
  font-size: 22px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.socialicon a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0;
}

.socialicon a i,
.socialicon a svg {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: inherit;
  display: inline-block;
  width: auto;
  height: auto;
}

.socialicon a:hover {
  background: var(--theme-color);
  color: #ffffff;
  border-color: var(--theme-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footerbox {
    padding: 60px 20px 30px !important;
  }

  .footerbox .footerup {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .listbox {
    justify-items: center;
  }
}

/* 480px â€“ mobile large */
@media (max-width: 480px) {
  :root {
    --card-header-size: clamp(0.74rem, 1.05vw + 0.4rem, 0.84rem);
  }
  .Hero_section {
    padding: 16px 12px 24px;
    gap: 14px;
    border-radius: 20px;
  }
  .intro-section {
    padding: 16px 14px 18px;
    border-radius: 20px;
  }
  .intro-section h1 {
    font-size: 1.6rem;
  }
  .intro-section .badge {
    font-size: 0.6rem;
    padding: 4px 12px;
  }
  .middle-row {
    display: grid;
    grid-template-columns: minmax(112px, 30fr) minmax(0, 70fr);
    width: 100%;
    gap: 8px;
    align-items: start;
  }
  .middle-row > .shorts-feed-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    height: auto;
    /* aspect-ratio: 9 / 16; */
    min-height: 0;
    border-radius: 14px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .card {
    padding: 8px 8px 10px;
    min-height: 0;
    border-radius: 10px;
  }
  .card-header {
    gap: 4px;
    white-space: normal;
    line-height: 1.1;
  }
  .card-header .card-icon {
    width: 16px;
    height: 16px;
    font-size: 0.48rem;
    border-radius: 5px;
  }
  .card.expanded {
    min-height: 0;
  }
  .typing-box {
    display: block;
    font-size: 0.58rem;
    min-height: 30px;
    line-height: 1.3;
  }
  .card-content {
    justify-content: flex-start;
    gap: 4px;
    margin-top: 6px;
  }

  .cta-button {
    font-size: 0.48rem;
    padding: 3px 7px;
    margin-top: 4px;
  }
  .modal-box {
    padding: 22px 16px 20px;
    max-height: 84vh;
  }
  .modal-title {
    font-size: 1rem;
  }
  .modal-body {
    font-size: 0.8rem;
  }
  .modal-cta {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
  .custom-searchbar {
    border-radius: 40px;
  }
  .custom-searchbar .form-control {
    padding: 10px 14px;
    font-size: 0.75rem;
  }
  .search_btn {
    padding: 6px 14px;
    font-size: 0.7rem;
    border-radius: 30px !important;
  }
  .cta-button-bottom {
    font-size: 0.82rem;
    padding: 12px 18px;
    gap: 8px;
    border-radius: 50px;
  }
  .shorts-feed-wrapper .shorts-actions {
    right: 8px;
    bottom: 32px;
    gap: 7px;
  }
  .shorts-feed-wrapper .action-btn {
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }
  .shorts-feed-wrapper .video-counter {
    font-size: 0.52rem;
    padding: 2px 7px;
    top: 8px;
    right: 8px;
  }
  .searchbtnarea {
    margin-top: 12px;
    gap: 8px;
  }
  #domain {
    font-size: 0.7rem;
  }
}

/* 380px â€“ extra small phones */
@media (max-width: 380px) {
  :root {
    --card-header-size: clamp(0.7rem, 0.95vw + 0.35rem, 0.8rem);
  }
  .Hero_section {
    padding: 12px 8px 18px;
    gap: 10px;
    border-radius: 16px;
  }
  .intro-section {
    padding: 16px 12px 18px;
    border-radius: 18px;
  }
  .intro-section h1 {
    font-size: 1.25rem;
    line-height: 1.08;
  }
  .middle-row {
    display: grid;
    grid-template-columns: minmax(112px, 30fr) minmax(0, 70fr);
    width: 100%;
    gap: 6px;
    align-items: start;
  }
  .middle-row > .shorts-feed-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    height: auto;
    /* aspect-ratio: 9 / 16; */
    min-height: 0;
    border-radius: 12px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .card {
    padding: 7px 6px 9px;
    min-height: 0;
    border-radius: 10px;
  }
  .card-header {
    gap: 4px;
    white-space: normal;
    line-height: 1.05;
  }
  .card-header .card-icon {
    width: 15px;
    height: 15px;
    font-size: 0.45rem;
    border-radius: 5px;
  }
  .card.expanded {
    min-height: 0;
  }
  .typing-box {
    display: block;
    font-size: 0.54rem;
    min-height: 26px;
    line-height: 1.28;
  }
  .card-content {
    justify-content: flex-start;
    gap: 4px;
    margin-top: 6px;
  }
  .cta-button {
    font-size: 0.45rem;
    padding: 3px 6px;
    margin-top: 4px;
  }
  .modal-box {
    padding: 20px 14px 18px;
    max-height: 82vh;
  }
  .modal-title {
    font-size: 0.95rem;
  }
  .modal-body {
    font-size: 0.78rem;
  }
  .modal-cta {
    font-size: 0.76rem;
    padding: 9px 12px;
  }
  .custom-searchbar .form-control {
    padding: 8px 10px;
    font-size: 0.7rem;
  }
  .search_btn {
    padding: 5px 10px;
    font-size: 0.6rem;
  }
  .cta-button-bottom {
    font-size: 0.7rem;
    padding: 10px 14px;
    gap: 6px;
    border-radius: 40px;
  }
  .shorts-feed-wrapper .shorts-actions {
    right: 6px;
    bottom: 28px;
    gap: 6px;
  }
  .shorts-feed-wrapper .action-btn {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }
}

/* ==========================================================
   LANDSCAPE PHONE (short viewport) â€“ keep the split
   ========================================================== */
@media (orientation: landscape) and (max-height: 500px) {
  :root {
    --card-header-size: clamp(0.68rem, 0.7vw + 0.34rem, 0.82rem);
  }
  .Hero_section {
    padding: 12px 20px 16px;
    gap: 10px;
  }
  .intro-section {
    padding: 16px 18px 18px;
    border-radius: 22px;
  }
  .intro-section h1 {
    font-size: 1.4rem;
  }
  .intro-section .badge {
    font-size: 0.6rem;
    padding: 3px 10px;
  }
  .middle-row {
    display: grid;
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
    width: 100%;
    gap: 10px;
    align-items: start;
  }
  .middle-row > .shorts-feed-wrapper {
    order: -1;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .card {
    padding: 8px 10px 10px;
    min-height: 36px;
  }
  .card-header {
    gap: 4px;
    white-space: nowrap;
  }
  .typing-box {
    display: block;
    font-size: 0.62rem;
    min-height: 26px;
    line-height: 1.35;
  }
  .card-content {
    justify-content: flex-start;
    gap: 4px;
    margin-top: 6px;
  }
  .middle-row > .shorts-feed-wrapper {
    width: min(100%, 220px);
    max-width: 220px;
    margin: 0 auto;
    height: auto;
    /* aspect-ratio: 9 / 16; */
    min-height: 0;
    border-radius: 12px;
  }
  .card.expanded {
    min-height: 100px;
  }
  .cta-button {
    font-size: 0.5rem;
    padding: 4px 8px;
  }
  .modal-box {
    padding: 18px 14px 16px;
    max-height: 80vh;
  }
  .modal-title {
    font-size: 0.95rem;
  }
  .modal-body {
    font-size: 0.75rem;
  }
  .modal-cta {
    font-size: 0.74rem;
    padding: 8px 12px;
  }
  .cta-button-bottom {
    font-size: 0.75rem;
    padding: 10px 20px;
    max-width: 400px;
  }
  .middle-row > .shorts-feed-wrapper {
    width: min(100%, 220px);
    max-width: 220px;
    height: auto;
    /* aspect-ratio: 9 / 16; */
    min-height: 0;
    max-height: none;
    border-radius: 12px;
  }
  .shorts-feed-wrapper .shorts-actions {
    right: 6px;
    bottom: 30px;
    gap: 6px;
  }
  .shorts-feed-wrapper .action-btn {
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }
  .searchbtnarea {
    margin-top: 8px;
  }
  .custom-searchbar .form-control {
    padding: 8px 12px;
    font-size: 0.7rem;
  }
  .search_btn {
    padding: 5px 12px;
    font-size: 0.65rem;
  }
}

@media (max-width: 780px) and (orientation: landscape) {
  .mobile_hide {
    display: none;
  }

}

@media not all {
  /* Youtube Shots CSS dont Interfere with the rest of the page. It is placed at the bottom of the CSS file to ensure that it overrides any conflicting styles from above. */

  .shorts-feed-wrapper {
    width: 100%;
    max-width: 450px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    background: #000;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
  }
  .shortsSwiper {
    width: 100%;
    height: 100%;
  }
  .swiper-slide {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0px;
  }
  .short-iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
    border: none;
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
  }
  .video-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 10;
  }
  .shorts-socials {
    position: absolute;
    right: 15px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
  }
  .shorts-socials a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-decoration: none;
  }
  .shorts-socials a:hover {
    transform: scale(1.1);
  }
  .shorts-socials .s-yt {
    background: #ff0000;
  }
  .shorts-socials .s-fb {
    background: #25d366;
  }
  .fallback-slide {
    background: #0f172a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    height: 100%;
    border-radius: 20px;
  }
  .fallback-slide i {
    font-size: 64px;
    color: #94a3b8;
  }
  .fallback-slide h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
  }
  .fallback-slide p {
    color: #94a3b8;
    font-size: 14px;
    max-width: 260px;
    margin: 0 auto;
  }
  .fallback-slide .btn-outline-light {
    border-color: #475569;
    color: #e2e8f0;
  }
  .fallback-slide .btn-outline-light:hover {
    background: #1e293b;
  }

  /* The Grid for your Shorts */
  .shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
  }

  /* The Magic Responsive Wrapper */
  .short-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    /* This gives it the exact 9:16 Shorts aspect ratio */
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
  }

  /* The Iframe - forced to fill the wrapper perfectly */
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Override any inline width */
    height: 100% !important; /* Override any inline height */
    border: 0;
  }

  .short-title {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
    color: #333;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* NEW SECTION Updated CSS for the Heros SECTION */
  /* â”€â”€â”€ Base â”€â”€â”€ */
  .maincont {
    background: #dee2e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .intropart {
    width: 100%;
    max-width: 1400px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    padding: 20px 10px;
  }

  h1.wave-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #0f172a;
    text-shadow:
      2px 2px 5px rgba(255, 255, 255, 0.5),
      4px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    margin: 0 auto 10px;
    line-height: 1.2;
  }

  .btn-info {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border: none;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
  }
  .btn-info:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
  }

  /* â”€â”€â”€ Card Grid â”€â”€â”€ */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0 20px;
    width: 100%;
  }

  .card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 20px 18px 16px;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid #e9edf2;
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .card_4,
  .card_5,
  .card_6 {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 18px;
    padding: 18px 20px 20px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    border: 1px solid rgba(17, 24, 39, 0.06);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 68px;
    display: flex;
    flex-direction: column;
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: #0ea5e9;
  }

  .card-header {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
  }
  .card-icon {
    font-size: 1.3rem;
    color: #0ea5e9;
    width: 28px;
    text-align: center;
  }

  .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 70px;
  }
  .typing-box {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #1e293b;
    min-height: 50px;
    padding: 4px 0;
  }

  .cta-button {
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
    margin-top: 6px;
  }
  .cta-button:hover {
    background: #1e293b;
    transform: scale(1.05);
  }

  /* â”€â”€â”€ Modal â”€â”€â”€ */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    padding: 20px;
  }
  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .modal-box {
    background: #ffffff;
    border-radius: 28px;
    max-width: 580px;
    width: 100%;
    padding: 40px 36px 36px;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  }
  .modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
  }

  .modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    transition: 0.2s;
    padding: 0 6px;
  }
  .modal-close:hover {
    color: #0f172a;
    transform: rotate(90deg);
  }

  .modal-icon {
    font-size: 3rem;
    color: #0ea5e9;
    text-align: center;
    margin-bottom: 10px;
  }

  .modal-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .modal-body {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.6;
  }
  .modal-body p {
    margin-bottom: 12px;
  }
  .modal-body ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
  }
  .modal-body ul li {
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .modal-body ul li i {
    color: #0ea5e9;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
  }

  .testimonial {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
    border-left: 4px solid #0ea5e9;
  }
  .testimonial p {
    font-style: italic;
    margin: 0;
  }
  .testimonial-author {
    font-style: normal !important;
    margin-top: 6px !important;
    text-align: right;
    color: #475569;
  }
  .testimonial-author i {
    color: #94a3b8;
  }

  .modal-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
  }
  .modal-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
  }

  /* â”€â”€â”€ Search â”€â”€â”€ */
  .searchbtnarea {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
  }
  .regfreeweb {
    max-width: 700px;
    width: 100%;
  }
  .custom-searchbar {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  .custom-searchbar input {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    outline: none;
    min-width: 0;
  }
  .custom-searchbar button {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border: none;
    color: #fff;
    padding: 16px 28px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.25s;
    white-space: nowrap;
  }
  .custom-searchbar button:hover {
    opacity: 0.9;
  }

  /* â”€â”€â”€ Shorts Feed â”€â”€â”€ */
  .shorts-feed-wrapper {
    width: 100%;
    max-width: 420px;
    height: 70vh;
    max-height: 650px;
    margin: 30px auto 10px;
    background: #0b0f19;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  }
  .shortsSwiper {
    width: 100%;
    height: 100%;
  }
  .swiper-slide {
    background: #0b0f19;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
  }
  .video-wrapper iframe,
  .video-wrapper .yt-player {
    width: 100% !important;
    height: 100% !important;
    border: none;
    background: #000;
  }
  .video-counter {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .under_shorts-cards .card {
    width: 100%;
    min-width: 0;
  }

  /* ============================================================
       RESPONSIVE
       ============================================================ */

  /* --- Tablets & small laptops --- */
  @media (max-width: 1024px) {
    .card-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .modal-box {
      max-width: 520px;
      padding: 32px 28px 28px;
    }
    .modal-title {
      font-size: 1.4rem;
    }
    .shorts-feed-wrapper {
      max-width: 380px;
      height: 65vh;
      max-height: 580px;
    }
  }

  /* --- Mobile (portrait) --- */
  @media (max-width: 768px) {
    /* .maincont {
        flex-direction: column;
        padding: 12px;
      }
      .intropart {
        padding: 12px 6px;
      } */

    h1.wave-text {
      font-size: 1.8rem !important;
      padding: 0 8px;
    }

    .btn-info {
      padding: 10px 20px;
      font-size: 0.85rem;
    }

    .card-grid {
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin: 16px 0;
    }

    .card {
      padding: 14px 12px;
      border-radius: 14px;
    }
    .card-header {
      font-size: 0.8rem;
      gap: 6px;
    }
    .card-icon {
      font-size: 1rem;
      width: 22px;
    }
    .typing-box {
      font-size: 0.7rem;
      min-height: 36px;
    }
    .cta-button {
      font-size: 0.65rem;
      padding: 5px 12px;
    }

    /* Modal */
    .modal-box {
      max-width: 100%;
      padding: 28px 20px 24px;
      border-radius: 20px;
      margin: 10px;
    }
    .modal-title {
      font-size: 1.2rem;
    }
    .modal-icon {
      font-size: 2.2rem;
    }
    .modal-body {
      font-size: 0.85rem;
    }
    .modal-cta {
      font-size: 0.85rem;
      padding: 12px 18px;
    }
    .modal-close {
      font-size: 1.6rem;
      top: 10px;
      right: 14px;
    }

    .custom-searchbar input {
      padding: 12px 16px;
      font-size: 0.85rem;
    }
    .custom-searchbar button {
      padding: 12px 16px;
      font-size: 0.8rem;
    }

    .shorts-feed-wrapper {
      max-width: 100%;
      height: auto;
      max-height: none;
      border-radius: 16px;
      overflow: hidden;
    }
    .shorts-feed-wrapper .shortsSwiper {
      height: auto;
      aspect-ratio: 9 / 16;
    }
    .card-grid {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 16px 0;
    }
  }

  /* --- Very small phones (< 400px) --- */
  @media (max-width: 400px) {
    .card-grid {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    .card {
      padding: 10px 10px;
      border-radius: 12px;
    }
    .card-header {
      font-size: 0.75rem;
    }
    .typing-box {
      font-size: 0.65rem;
      min-height: 30px;
    }
    .cta-button {
      font-size: 0.6rem;
      padding: 4px 10px;
    }
    h1.wave-text {
      font-size: 1.4rem !important;
    }
    .btn-info {
      padding: 8px 16px;
      font-size: 0.75rem;
    }
    .modal-box {
      padding: 20px 16px 20px;
      border-radius: 16px;
    }
    .modal-title {
      font-size: 1rem;
    }
    .modal-body {
      font-size: 0.8rem;
    }
    .shorts-feed-wrapper {
      height: auto;
      max-height: none;
    }
    .shorts-feed-wrapper .shortsSwiper {
      aspect-ratio: 9 / 16;
    }

    .custom-searchbar input {
      padding: 10px 12px;
      font-size: 0.75rem;
    }
    .custom-searchbar button {
      padding: 10px 12px;
      font-size: 0.7rem;
    }
  }

  /* --- Landscape phones --- */
  @media (max-height: 500px) and (orientation: landscape) {
    .shorts-feed-wrapper {
      height: auto;
      max-height: none;
    }
    .shorts-feed-wrapper .shortsSwiper {
      aspect-ratio: 9 / 16;
    }
    .card-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .card {
      flex: 1 1 calc(33.333% - 8px);
      padding: 8px 10px;
    }

    .typing-box {
      font-size: 0.6rem;
      min-height: 24px;
    }
    h1.wave-text {
      font-size: 1.4rem !important;
    }
    .modal-box {
      max-height: 85vh;
      padding: 20px 18px;
    }
  }

  /* --- Large screens & TV --- */
  @media (min-width: 1600px) {
    .intropart {
      max-width: 1800px;
    }
    h1.wave-text {
      font-size: 4.5rem;
    }
    .card-grid {
      gap: 32px;
    }
    .shorts-feed-wrapper {
      max-width: 520px;
      max-height: 800px;
    }
    .modal-box {
      max-width: 680px;
      padding: 48px 44px 40px;
    }
    .modal-title {
      font-size: 2.2rem;
    }
  }
}

/* ==========================================================
   DFML MOBILE CARD / MODAL OVERRIDES
   Keeps the mobile cards compact and the popup typing visible.
   ========================================================== */

.card-header .card-title-text {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.modal-typing {
  margin: 8px 0 16px;
  color: #1e293b;
  font-family: var(--ff-body, "PT Sans", sans-serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  min-height: 1.6em;
  text-align: left;
}

@media (max-width: 768px) {
  .card {
    min-height: 0;
    padding: 10px 10px 12px;
  }

  .card-header {
    width: 100%;
    padding: 0;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden;
    font-size: clamp(0.76rem, 0.9vw + 0.42rem, 0.88rem);
  }

  .card-header .card-title-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-header .card-icon {
    width: 18px;
    height: 18px;
    font-size: 0.54rem;
    border-radius: 6px;
  }

  .card-content,
  .card.expanded .card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    margin-top: 6px;
  }

  .card.expanded {
    min-height: 0;
  }

  .modal-typing {
    font-size: 0.9rem;
    margin: 6px 0 14px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 8px 8px 10px;
  }

  .card-header {
    gap: 4px;
    font-size: clamp(0.7rem, 0.85vw + 0.36rem, 0.8rem);
  }

  .card-header .card-icon {
    width: 16px;
    height: 16px;
    font-size: 0.48rem;
    border-radius: 5px;
  }

  .modal-typing {
    font-size: 0.85rem;
    margin: 6px 0 12px;
  }
}

@media (max-width: 380px) {
  .card {
    padding: 7px 6px 9px;
  }

  .card-header {
    gap: 4px;
    font-size: clamp(0.66rem, 0.82vw + 0.32rem, 0.76rem);
  }

  .card-header .card-icon {
    width: 15px;
    height: 15px;
    font-size: 0.44rem;
  }

  .modal-typing {
    font-size: 0.8rem;
    margin: 5px 0 10px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .card-header {
    padding: 0;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }

  .card-header .card-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-content,
  .card.expanded .card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    margin-top: 6px;
  }

  .modal-typing {
    font-size: 0.84rem;
    margin: 5px 0 10px;
  }
}

.show_mobile {
  display: none;
}

@media (max-width: 450px) {
  .mobile_hide {
    display: none;
  }
}

@media (max-width: 450px) {
  .shorts-feed-wrapper .show_mobile {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    background: #e4e5ec;
  }
  #shortsSwiper:{
    width: 100% !important;
    height: 100% !important;
  }
}
