/* style.css */

/* ───────────────────────────────────────────────────────────────────────── */
/*                             Reset & Base Styles                           */
/* ───────────────────────────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
}

body {
  padding-bottom: 300px; /* keep footer visible */
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                   Unified Background & Color Blobs                       */
/* ───────────────────────────────────────────────────────────────────────── */
.sections-bg {
  position: relative;
  overflow: hidden;
  background: #f0f4f8;
}

.sections-bg .shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sections-bg .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: floatShapes 12s ease-in-out infinite;
}

.sections-bg .shape.s1 {
  width: 350px;
  height: 350px;
  background: #1877F2;
  top: -80px;
  left: -100px;
}

.sections-bg .shape.s2 {
  width: 450px;
  height: 450px;
  background: #1877f2;
  bottom: -120px;
  right: -100px;
  animation-delay: 4s;
}

.sections-bg .shape.s3 {
  width: 300px;
  height: 300px;
  background: #0D6EFD;
  top: 40%;
  right: 20%;
  animation-delay: 8s;
}

@keyframes floatShapes {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -30px) scale(1.05); }
}

/* Ensure content sits above blobs */
.sections-bg section,
.sections-bg .section-divider {
  position: relative;
  z-index: 1;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                             Navbar & Hero Spacer                           */
/* ───────────────────────────────────────────────────────────────────────── */
.hero-new {
  padding-top: 0px; /* account for fixed navbar */
}
.navbar-logo {
  height: 100px;      /* adjust as needed—48px is a common nav height */
  width: auto;       /* preserve aspect ratio */
  display: inline-block;
  object-fit: contain;
}

/* Optional: if you need a little vertical centering tweak, you can
   override Bootstrap’s default .navbar-brand padding */
.navbar-brand {
  padding: 0;        /* remove default top/bottom padding for exact centering */
  height: 56px;      /* make sure the container is tall enough for your logo */
  display: flex;
  align-items: center;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                            Promo Banner                                   */
/* ───────────────────────────────────────────────────────────────────────── */
.promo-banner {
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
  background-color: #e63946;
  color: #fff;
  padding: 0.7rem 1rem;      /* ↑ top/bottom padding increased */
  font-weight: 600;
  font-size: 1.2rem;         /* ↑ bumped up font size */
  margin-top: 4.5rem;          /* same offset for fixed navbar */
}

/* Ensure text and link wrap nicely on smaller screens */
.promo-banner p {
  margin: 0;                 /* remove default <p> margins */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Style for the call-to-action link */
.promo-banner .promo-cta {
  color: inherit;
  text-decoration: underline;
  font-size: 1.3rem;
}

.promo-banner .promo-cta:hover {
  color: #007bff;
  text-decoration: none;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                          Mobile Responsive Adjustments                     */
/* ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .promo-banner {
    padding: 0.5rem 0.75rem;   /* reduce padding on mobile */
    font-size: 0.8rem;          /* slightly smaller font */
    margin-top: 4.5rem;         /* reduce top margin */
  }
  .promo-banner p {
    flex-direction: column;   /* stack text and button vertically */
    text-align: center;       /* center-align all content */
    gap: 0.25rem;   /* smaller gap between lines */
    display:inline;
      
  }
  .promo-banner .promo-cta {
    font-size: 0.7rem;  /* slightly smaller CTA text */
    display:inline;
      
  }
}

@media (max-width: 480px) {
  .promo-banner {
    padding: 0.4rem 0.5rem;    /* further reduce padding */
    font-size: 0.6rem;        /* smaller text for very small screens */
    margin-top: 4.5rem;       /* adjust for fixed navbar on small devices */
  }
  .promo-banner p {
    gap: 0.2rem;              /* minimal gap */
    display:inline;
      
  }
  .promo-banner .promo-cta {
    font-size: 0.7rem;          /* adjust CTA for readability */
    display:inline;
      
  }
}


/* ───────────────────────────────────────────────────────────────────────── */
/*                             Section Dividers                              */
/* ───────────────────────────────────────────────────────────────────────── */
.section-divider {
  border: none;
  height: 4px;
  margin: 4rem auto;
  width: 60%;
  background: linear-gradient(90deg, rgba(221,42,123,0.3), rgba(0,119,181,0.3));
  border-radius: 2px;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                         Common Fade & Animation                           */
/* ───────────────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                              Hero Section                                 */
/* ───────────────────────────────────────────────────────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding:5rem;
}

.text-block {
  animation: fadeInUp 1s ease both;
}

.text-block h1 {
  font-size: 3.5rem;
  line-height: 1.6;
  font-weight: 700;
}

.text-block p {
  margin: 1rem 0 1.5rem;
  font-size: 1.125rem;
  font-weight: 300;
  color: #555;
  animation: fadeInUp 1.2s ease both;
}

.btn-group {
  display: inline-flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Primary Button */
.btn-primary {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #dd2a7b, #0077b5);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #dd2a7b, #0077b5);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* remove the little arrow */
.btn-secondary::after {
  content: none;
}

.btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* YouTube Embed */
.video-block {
  width: 100%;
  max-width: 800px;
  animation: fadeInUp 1.5s ease both;
  margin-top: 2rem;
}
.ratio-16x9 iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Animated Tagline */
.animated-tagline {
  display: inline-grid;
  grid-template-areas: "word";
  overflow: hidden;
  white-space: nowrap;
  vertical-align: baseline;
  margin-left: 0.5ch;
}

/* Reduced overall cycle from 25s to 10s; delays adjusted accordingly */
.animated-tagline span {
  grid-area: word;
  display: block;
  position: relative;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 7.5s infinite ease-in-out;
}

.animated-tagline span:nth-child(1) {
  color: #1877F2;
  animation-delay: 0s;
}
.animated-tagline span:nth-child(2) {
  color: #E1306C;
  animation-delay: 1.5s;
}
.animated-tagline span:nth-child(3) {
  color: #0A66C2;
  animation-delay: 3s;
}
.animated-tagline span:nth-child(4) {
  color: #FF0000;
  animation-delay: 4.5s;
}
.animated-tagline span:nth-child(5) {
  color: #1DA1F2;
  animation-delay: 6s;
}

@keyframes slideUp {
  0%, 100% {
    transform: translateY(100%);
    opacity: 0;
  }
  5%, 20% {
    transform: translateY(0);
    opacity: 1;
  }
  25% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                             Features Section                              */
/* ───────────────────────────────────────────────────────────────────────── */
.features-alt {
  padding: 6rem 1rem 4rem;
}
.features-container {
  max-width: 1200px;
  margin: 0 auto;
}
.header .sub {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.header .title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #111;
}
.header .lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 3rem;
}
.features-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.feature {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  flex: 1 1 260px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease both;
  animation-delay: var(--delay);
}
.blob {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.blob-1 { background: linear-gradient(135deg,#E1306C,#FD1D1D); top: -50px; left: -50px; }
.blob-2 { background: linear-gradient(135deg,#8E2DE2,#4A00E0); top: -50px; right: -50px; }
.blob-3 { background: linear-gradient(135deg,#0077B5,#00C6FF); bottom: -50px; left: -50px; }
.blob-4 { background: linear-gradient(135deg,#28A745,#71DD8A); bottom: -50px; right: -50px; }
.feature .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}
.feature .link {
  font-weight: 700;
  text-decoration: none;
  color: #0077b5;
  transition: color 0.3s;
}
.feature .link:hover {
  color: #005582;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                           Pricing Plan Section                           */
/* ───────────────────────────────────────────────────────────────────────── */
/* ───────────────────────────────────────────────────────────────────────── */
/*                              Pricing Section                             */
/* ───────────────────────────────────────────────────────────────────────── */


.billing-toggle .label    { font-weight:600; font-size:.95rem; }
.form-check-input         { width:2rem; height:1rem; cursor:pointer; }
.form-check-input:checked { background:#0077b5; border-color:#0077b5; }
.save-text                { font-size:.8rem; color:#28a745; font-weight:600; }

.pricing-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  flex: 1 1 260px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.pricing-card .limit {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

/* ── STARTER PLAN “Recommended” BANNER ──────────────────────────────────── */
.pricing-card.starter {
  position: relative;
}

.pricing-card.starter .recommended-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: .75rem 0;
  background: #e63946;           /* your red */
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* push the Starter title down so it doesn’t hide behind the banner */
.pricing-card.starter h3 {
  margin-top: 2.5rem;
}

/* ───────────────────────────────────────────────────────────────────────── */
.prices .price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 .25rem;
}
.prices .price span {
  font-size: 1rem;
  font-weight: 500;
  color: #777;
}
.prices .eq {
  font-size: .875rem;
  color: #555;
}

.price-yearly {
  display: none;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  text-align: left;
  flex-grow: 1;
}

.features-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .5rem;
}
.features-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #0077b5;
  font-weight: 700;
}

.pricing-card .btn-cta {
  margin-top: 1.25rem;
  padding: .75rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg,#dd2a7b,#0077b5);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.pricing-card .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

#pricing.yearly-active .price-monthly { display: none; }
#pricing.yearly-active .price-yearly  { display: block; }


/* ───────────────────────────────────────────────────────────────────────── */
/*                         Platform Features Section                        */
/* ───────────────────────────────────────────────────────────────────────── */

/* Preserve existing padding */
.platform-features {
  padding: 4rem 1rem;
}

/* Pretile and Main Title */
.pretile {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 3rem;
}

/* Container to center icons */
.icons-container {
  display: flex;
  justify-content: center;
}

/* Row of icons */
.icon-row {
  display: flex;
  justify-content: center;
  gap: 2rem; /* default spacing between icons */
}

/* Desktop: larger icons with moderate padding/margin */
.social-icon {
  width: 150px;   /* slightly smaller than before */
  height: auto;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Desktop adjustments (≥769px) */
@media (min-width: 769px) {
  .social-icon {
    padding: 0 1rem;  /* reduced from 2rem */
    margin: 0 1rem;   /* reduced from 2rem */
  }
}

/* Hover effect */
.social-icon:hover {
  transform: translateY(-4px);
}

/* Tablet-only adjustments (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .platform-features {
    padding: 3rem 1rem;
  }
  .main-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .icon-row {
    gap: 1rem; /* reduce gap for tablet */
  }
  .social-icon {
    width: 100px;        /* reduce size for tablet */
    padding: 0 0.5rem;   /* minimal horizontal padding */
    margin: 0 0.5rem;    /* minimal horizontal margin */
  }
}

/* Mobile adjustments (≤480px) */
@media (max-width: 480px) {
  .platform-features {
    padding: 2rem 1rem;
  }
  .main-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  .icon-row {
    flex-wrap: wrap;
    gap: 2rem 1.5rem; /* row-gap 2rem, column-gap 1.5rem */
  }
  .social-icon {
    width: 80px;      /* further reduce for mobile */
    padding: 0;       /* no horizontal padding */
    margin: 0;        /* no horizontal margin */
    margin-bottom: 1rem;
  }
}




/* ───────────────────────────────────────────────────────────────────────── */
/*                              Testimonials                                */
/* ───────────────────────────────────────────────────────────────────────── */
.testimonials {
  padding: 6rem 1rem;
}
.testimonials-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* make each card a column-flex container */
.testimonial-card {
  flex: 1 1 calc(33% - 1.5rem);
  min-width: 300px;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease both;
  animation-delay: var(--delay);

  display: flex;              /* NEW */
  flex-direction: column;     /* NEW */
}

/* push the author block down to the bottom */
.testimonial-card .author {
  margin-top: auto;           /* NEW */
}

.quote {
  font-style: italic;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.quote::before {
  content: "“";
  font-size: 3rem;
  color: #f0f0f0;
  position: absolute;
  left: 0;
  top: -10px;
}
.author {
  display: flex;
  align-items: center;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.author-info h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.author-info span {
  font-size: .875rem;
  color: #777;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                         Testimonials CTA Button                          */
/* ───────────────────────────────────────────────────────────────────────── */
.testimonial-cta {
  text-align: center;
  margin-top: 2rem;
}
.testimonial-cta .btn {
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive tweak: center cards & button on small screens */
@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-card {
    width: 90%;
    max-width: 400px;
    margin-bottom: 1.5rem;
  }
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                             Tutorial Section                              */
/* ───────────────────────────────────────────────────────────────────────── */

.tutorial-section {
  padding: 6rem 1rem;                    /* same vertical spacing as other main sections */
  background: inherit;                   /* inherits the unified sections-bg background */
  position: relative;
  z-index: 1;                            /* sit above the blurred shapes */
}

.tutorial-content {
  max-width: 800px;                      /* limit width for readability */
  margin: 0 auto;                        /* center on large screens */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;                             /* space between heading and video */
}

/* Heading/Text Styling (reuses .text-block) */
.tutorial-section .text-block h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #111;
  animation: fadeInUp 1s ease both;
}

.tutorial-section .text-block p {
  font-size: 1.125rem;
  font-weight: 300;
  color: #555;
  animation: fadeInUp 1.2s ease both;
  margin: 0.5rem 0 1.5rem;
}

/* Video Container (reuses .video-block) */
.tutorial-section .video-block {
  width: 100%;
  max-width: 100%;
  animation: fadeInUp 1.5s ease both;
}

.tutorial-section .video-block .ratio {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                        Responsive Adjustments (≤768px)                    */
/* ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .tutorial-section {
    padding: 4rem 1rem;
  }
  .tutorial-section .text-block h2 {
    font-size: 2rem;
  }
  .tutorial-section .text-block p {
    font-size: 1rem;
  }
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                       Responsive Adjustments (≤480px)                     */
/* ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .tutorial-section {
    padding: 3rem 0.75rem;
  }
  .tutorial-section .text-block h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .tutorial-section .text-block p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .tutorial-section .video-block {
    margin-top: 1rem;
  }
}


/* ───────────────────────────────────────────────────────────────────────── */
/*                         Centered CTA Section                             */
/* ───────────────────────────────────────────────────────────────────────── */
.center-cta-section {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6rem 1rem;
}
.center-cta-card {
  background:#fff;
  border-radius:1rem;
  padding:4rem 3rem;
  max-width:800px;
  text-align:center;
  box-shadow:0 12px 40px rgba(0,0,0,0.1);
}
.center-cta-card h3 {
  font-size:2rem;
  font-weight:700;
  margin-bottom:1rem;
}
.center-cta-card p {
  font-size:1.125rem;
  font-weight:300;
  color:#555;
  line-height:1.6;
  margin-bottom:2rem;
}
.center-cta-section .btn-primary {
  padding:1rem 2.5rem;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                                Footer                                     */
/* ───────────────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: #fff;
  color: #333;
  border-top: 1px solid #ccc;
  padding: 2rem 6rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  z-index: 1;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  padding: 0 2rem;
}

.footer-brand {
  flex: 1 1 200px;
  min-width: 150px;
  margin-left: 3rem;
}
.footer-logo {
  width: 160px;
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: .95rem;
  color: #666;
  line-height: 1.2;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 150px;
}
.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li {
  margin-bottom: .5rem;
}
.footer-col a {
  color: #555;
  font-size: .95rem;
  text-decoration: none;
  transition: color .3s;
}
.footer-col a:hover {
  color: #0077b5;
}

.footer-col.tools {
  margin-right: -1rem;
}
.footer-col.legal {
  margin-left: -1rem;
}

/* Contact column & social icons */
.footer-col.contact {
  /* optional: align to right or tweak */
}
.footer-col.contact .social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}
.footer-col.contact .social-icons a img {
  width: 32px;
  height: 32px;
  transition: opacity .3s;
}
.footer-col.contact .social-icons a:hover img {
  opacity: 0.7;
}

/* responsive style.css (updated) */

/* ───────────────────────────────────────────────────────────────────────── */
/*                          Global Reset & Overflow Fix                    */
/* ───────────────────────────────────────────────────────────────────────── */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: inherit;
}
.sections-bg {
  width: 100%;
  overflow-x: hidden;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                   Remove Top & Bottom Padding on Pricing Section         */
/* ───────────────────────────────────────────────────────────────────────── */
.pricing-plan {
  padding: 0.5rem 0 !important;
  margin-bottom: 0 !important;   /* remove bottom margin of the section */
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                   Divider & Pricing Header Adjustments                   */
/* ───────────────────────────────────────────────────────────────────────── */
/* center the existing divider without touching its other styles */
.section-divider {
  display: block;
  margin: 1.5rem auto !important;
}

.pricing-plan .header {
  /* tighten up the header around your H6/H2/P */
  padding-bottom: 1rem;
}
.pricing-plan .header .lead {
  /* less space under the description */
  margin-bottom: 1rem;
}
.pricing-plan .header .billing-toggle {
  /* override mt-4 to make toggle sit closer */
  margin-top: 1rem !important;
  margin-bottom: 0;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                              Responsive                                   */
/* ───────────────────────────────────────────────────────────────────────── */

/* Large tablets / small desktops */
@media (max-width: 992px) {
  .features-grid,
  .testimonials-grid,
  .platform-item,
  .pricing-grid {
    display: flex;
    flex-direction: column !important;
    gap: 2rem;
  }

  .testimonial-card {
    flex: 1 1 100% !important;
  }
}

/* Tablets / portrait phones */
@media (max-width: 768px) {
  /* Keep background shapes from pushing overflow */
  .shapes,
  .shape {
    max-width: 100%;
  }

  /* Stack & pad sections */
  
  .features-alt,
  .platform-features,
  .testimonials,
  .center-cta-section {
    padding: 5rem 1rem;
  }
.hero-content{
    padding:3rem 1rem;
}
.pricing-plan{
    padding:2rem 1rem;
}
  /* Center the footer columns */
  .footer-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem;
    padding: 8rem 1rem;
  }
  .footer-col {
    width: 100% !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  /* Headlines & text */
  .text-block h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  .text-block p {
    font-size: 0.95rem;
  }
  .pricing-plan{
    padding:2rem 1rem;
}

  /* Features header text sizes */
  .features-alt .header .sub {
    font-size: 0.85rem !important;
  }
  .features-alt .header .title {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }
  .features-alt .header .lead {
    font-size: 0.9rem !important;
  }

  /* Pricing header text sizes */
  .pricing-plan .header .sub {
    font-size: 0.85rem !important;
  }
  .pricing-plan .header .title {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }
  .pricing-plan .header .lead {
    font-size: 0.9rem !important;
  }

  /* Remove extra space between the section-divider and pricing section text */
  .section-divider {
    margin: 0.5rem auto !important;
  }

  /* Decrease top padding of the pricing section on mobile */
  .pricing-plan {
    padding-top: 2rem !important;
  }

  /* Shrink plan containers size on mobile */
  .pricing-plan .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .pricing-plan .pricing-card {
    flex: 0 0 auto !important;
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }

  /* Center-align platform features text and prevent overflow */
  .platform-features .platform-item .platform-text {
    text-align: center !important;
  }
  .platform-features .platform-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto !important;
  }

  /* Decrease text sizes for platform features headings */
  .platform-features .pretile {
    font-size: 0.85rem !important;
  }
  .platform-features .main-title {
    font-size: 1.5rem !important;
  }

  /* Left-align footer columns & remove top padding in footer */
  .site-footer {
    padding-top: 0 !important;
  }
  .footer-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Remove default list indents in footer */
  .site-footer .footer-brand ul,
  .site-footer .footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-footer .footer-brand ul li,
  .site-footer .footer-col ul li {
    margin-bottom: 0.5rem !important;
  }

  /* Ensure brand & col blocks have no extra left padding */
  .site-footer .footer-brand,
  .site-footer .footer-col {
    padding-left: 0 !important;
    width: 100% !important;
  }

  /* Buttons – smaller text & padding */
  .btn-primary,
  .btn-secondary {
    padding: 0.4rem 1rem !important;
    font-size: 0.8rem !important;
  }
  .btn-secondary {
    background: linear-gradient(135deg, #dd2a7b, #0077b5) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  }
  .btn-secondary::after {
    content: none !important;
  }

  /* Adjust video spacing */
  .video-block {
    margin-top: 1rem !important;
  }

  /* Center-CTA card */
  .center-cta-card {
    padding: 2.5rem 1rem;
  }

  /* Decrease top padding of CTA section */
  .center-cta-section {
    padding-top: 1rem !important;
  }

  /* Media elements */
  .ratio,
  iframe,
  img {
    max-width: 100%;
    height: auto;
  }

  /* Tighten hero bottom padding */
  .hero-content {
    padding-bottom: 0.5rem !important;
  }
  .features-alt {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  /* Features: two-per-row & smaller */
  .features-alt .features-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
  .features-alt .feature {
    flex: 0 0 48% !important;
    max-width: 48% !important;
    padding: 0.5rem !important;
  }
  .features-alt .feature .icon {
    font-size: 1.5rem !important;
  }
  .features-alt .feature h3 {
    font-size: 1rem !important;
    margin: 0.5rem 0 0 !important;
  }
  .features-alt .feature p,
  .features-alt .feature a {
    display: none !important;
  }

  /* Platform-features: less padding, hide images, smaller titles */
  .platform-features {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .platform-features .platform-card {
    display: none !important;
  }
  .platform-features .platform-text {
    text-align: center !important;
  }
  .platform-features .platform-text h3 {
    color: #333333 !important;
    font-size: 1.2rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background-color: #C3C5C7 !important;
    display: inline-block !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
  }
  .platform-features .platform-text .btn-cta {
    display: inline-block !important;
    width: 120px !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 0.5rem auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-weight: normal !important;
  }

  /* Testimonials: smaller, centered, icon removed */
  .testimonials {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .testimonials-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .testimonial-card {
    width: 90% !important;
    max-width: 90% !important;
    padding: 1rem !important;
    box-sizing: border-box;
  }
  .testimonial-card .author img.avatar,
  .testimonial-card .author-info span {
    display: none !important;
  }
  .testimonial-card .author-info h5 {
    text-align: center !important;
    margin: 0.5rem 0 0 !important;
  }

  /* ───────────────────────────────────────────────────────────────────────── */
  /*   NEW: Mobile‐only layout for platform features                          */
  /* Pretile and main title each full-width on its own line */
  .platform-features .pretile,
  .platform-features .main-title {
    flex: 0 0 100% !important;
    text-align: center !important;
    margin: 0.5rem 0 !important;
  }

  /* Flex-wrap grid: 2 per row, fifth centered */
  .platform-features .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  /* Narrower (≈40%), taller cards, less padding */
  .platform-features .platform-item {
    flex: 0 0 40% !important;
    margin: 0 !important;
    padding: 1rem 0 !important;
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Hide image, subtitle & CTA */
  .platform-features .platform-card,
  .platform-features .platform-text h3,
  .platform-features .platform-text p,
  .platform-features .platform-text .btn-cta {
    display: none !important;
  }

  /* Center the platform name */
  .platform-features .platform-text {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .platform-features .platform-text h6 {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    text-align: center !important;
    color: #000 !important;
    padding: 1rem 0 !important;
    border-radius: 0.5rem !important;
  }

 /* Brand-color backgrounds with pastel “cloudy” gradients */
  .platform-features .platform-item:nth-of-type(1) .platform-text h6 {
    background-image:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0) 50%),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.3), rgba(255,255,255,0) 60%),
      linear-gradient(135deg, rgba(225,48,108,0.85) 0%, rgba(255,133,162,0.85) 100%) !important;
  }
  .platform-features .platform-item:nth-of-type(2) .platform-text h6 {
    background-image:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0) 50%),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.3), rgba(255,255,255,0) 60%),
      linear-gradient(135deg, rgba(24,119,242,0.85) 0%, rgba(133,191,255,0.85) 100%) !important;
  }
  .platform-features .platform-item:nth-of-type(3) .platform-text h6 {
    background-image:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0) 50%),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.3), rgba(255,255,255,0) 60%),
      linear-gradient(135deg, rgba(29,161,242,0.85) 0%, rgba(126,210,255,0.85) 100%) !important;
  }
  .platform-features .platform-item:nth-of-type(4) .platform-text h6 {
    background-image:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0) 50%),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.3), rgba(255,255,255,0) 60%),
      linear-gradient(135deg, rgba(255,0,0,0.85) 0%, rgba(255,127,127,0.85) 100%) !important;
  }
  .platform-features .platform-item:nth-of-type(5) .platform-text h6 {
    background-image:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0) 50%),
      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.3), rgba(255,255,255,0) 60%),
      linear-gradient(135deg, rgba(0,119,181,0.85) 0%, rgba(102,178,255,0.85) 100%) !important;
  }

  /* Restore extra top-padding only on non-index sections */
  section.features-alt:not(#features-alt) {
    padding-top: 5rem !important;
  }
  /* Restore extra top-padding on Pricing page */
  #pricing.pricing-plan {
    padding-top: 5rem !important;
  }

  /* Extra footer tweaks */
  .footer-container {
    padding: 4rem 1rem;
  }
  .footer-col {
    margin-bottom: 1rem;
  }
}

