html,
body {
  scroll-behavior: smooth;
}

body {
  color: #333;
  background: #ffffff !important;
}

/* ================= FAQ HARD OVERRIDE ================= */

/* Remove inherited opacity */
#faqs,
#faqs .panel,
#faqs .panel-heading,
#faqs .panel-collapse,
#faqs .panel-body {
  opacity: 1 !important;
}

/* Force all answer text to true black */
#faqs .panel-body,
#faqs .panel-body *,
#faqs .panel-collapse *,
#faqs span,
#faqs p,
#faqs strong {
  color: #000000 !important;
}

/* Optional: make answers more readable */
#faqs .panel-body {
  line-height: 1.6;
}

.logo {
  margin-top: 0px;
  width: 250px;
}

.dropdown-menu li {
  margin: 0px 0px 0px 10px !important;
}

.coloredLine {
  background: #0e1587;
}

.whiteLine {
  height: 1px;
  margin: auto;
  width: 150px;
  background: #fff;
  margin-top: 20px;
}

hr {
  border-color: #e4e4e4;
}

.btn-new {
  background: none;
  background-color: #f71606fd;
  border: none;
  color: #fff;
}

.btn-new:hover,
.btn-new:focus {
  background: #bd1004fd;
}

.btn-bold {
  background: #0e1587;
}

#intro {
  text-align: center;
}

#intro .overlay {
  padding: 0px;
}

#services {
  background: #fff;
}

.servicesList li {
  padding: 40px 20px 20px 20px;
  height: 200px;
}

.servicesList li h3 {
  font-size: 16px;
}

.servicesList li p {
  font-size: 12px;
}

#firstFeature {
  background: #bd1004fd;
  color: #fff;
  padding: 40px 0px;
}

#firstFeature a {
  color: #F4C949;
  font-size: 16pt;
}

#firstFeature h3 {
  margin-bottom: 15px;
}

.welcomeText {
  padding-top: 20px;
}

#secondFeature {
  background: #0e1587;
}

#videoSection {
  background: #bd1004fd;
  color: #fff;
  padding: 120px 0px 90px;
  overflow: hidden;
}

#videoSection a {
  text-decoration: none !important;
}

#videoSection p {
  font-size: 12pt;
  color: #fff;
}

.video-thumbnail {
  width: 100%;
  margin: 5px;
  position: relative;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  border-radius: 20px;
}

.video-thumbnail:hover {
  translate: scale(1.1, 1.1);
  z-index: 99;
}

.video-play {
  position: absolute;
  width: 20%;
  top: 33%;
  left: 40%;
  z-index: 99;
  color: #fff;
  opacity: 1;
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

.video-container {
  background: transparent !important;
}

#thirdFeature {
  background: #f0f0f0;
}

.thirdFeatureText-header {
  background: #F4C949;
}

.parallaxBg {
  background: url(../images/ribalta-intro-crowd-bg.jpg) no-repeat center center fixed #fff;
}

#features {
  background: #fff;
}

.keyFeaturesBackground {
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../images/ribalta-intro-crowd-bg.jpg) no-repeat center center fixed #fff !important;
}

ul.numbersList h4 {
  color: #0e1587;
}

.btn-app-download {
  border: 2px solid #0e1587;
  color: #0e1587;
}

#linkButtons {
  color: #000;
  text-align: center;
  padding: 100px 0px 0px 0px;
  margin-bottom: 50px;
}

#linkButtons p {
  font-size: 16pt;
  margin-bottom: 32px;
}

.linkButtonsLinksWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#linkButtons a {
  color: #bd1004fd;
  font-size: 13pt;
  border: 2px solid #bd1004fd;
  padding: 10px;
  text-decoration: none;
  white-space: nowrap;
  margin: 5px;
}

#linkButtons a:hover {
  color: #fff;
  background-color: #bd1004fd;
}

.lessPadding {
  padding: 40px 0px 40px 0px;
}

.signUpToday {
  background-color: #fff;
  text-align: center;
  padding: 50px 0px 50px 0px;
}

.signUpToday p {
  margin-bottom: 20px;
  font-style: italic;
  font-size: 16pt;
}

.modal-header .close span {
  color: #fff;
}

footer {
  margin-top: 0px !important;
}

.clientsLogos {
  width: 100% !important;
  scale: 90%;
}

.clientsLogos span {
  margin: 5px;
  padding: 0px;
}

.full-width {
  width: 100% !important;
}

#faqs h2,
#faqs p {
  color: #000000 !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Some themes apply opacity via parent */
#faqs {
  opacity: 1 !important;
}


/* ===== MAIN SECTION BACKGROUND ===== */
.features-section {
  /* padding: 30px 20px 75px 20px; */
  /* top padding kept, bottom padding increased */
  background: #c1c0c0;
  /* segment background */
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 0px 20px;
}

/* ===== GRID LAYOUT ===== */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: calc(260px * 4 + 30px * 3);
  margin: 0;
  box-sizing: border-box;
}

/* Responsive grid adjustments */
@media (max-width: 1200px) {
  .features-container {
    grid-template-columns: repeat(3, 1fr);
    max-width: calc(260px * 3 + 30px * 2);
  }
}

@media (max-width: 900px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: calc(260px * 2 + 30px * 1);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .features-container {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 20px;
  }
}

/* ===== HEADING ABOVE CARDS ===== */
.features-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
}

/* ===== CARD BASE STYLING ===== */
.feature-card {
  background: #DEDEDE;
  border-top: 10px solid #bd1004fd;
  padding: 20px 20px;
  border-radius: 12px;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.10);
  transition: 0.25s ease;


  /* >>> VERTICAL + HORIZONTAL CENTERING <<< */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vertical centering */
  align-items: center;
  /* horizontal centering */
  text-align: center;
  min-height: 200px;
  /* ensures enough room to center visually */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.14);
}

/* ===== CARD HEADING ===== */
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000000;
}

/* ===== CARD BODY TEXT ===== */
.feature-card p {
  font-size: 14px;
  line-height: 1.45;
  color: #000000;
}

/* ===== FORCE ALL TEXT BLACK + CENTERED ===== */
.feature-card,
.feature-card * {
  color: #000000 !important;
  text-align: center !important;
}

.lessVerticalPadding {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

#videoSection {
  padding-bottom: 20px !important;
}

.howItWorksList {
  font-size: 110%;
  line-height: 1.6;
}

.howItWorksList li {
  margin-bottom: 25px;
}

.howItWorksList strong {
  font-size: 110%;
}

/* parallax ------------------------------------------------------- */
.parallaxBg {
  background-attachment: fixed !important;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  color: #fff;
  text-align: center;
}

.tooltip-inner {
  color: white !important;
}

.testimonials {
  background-image: url('/images/ribalta/ribalta-app-testimonials-wedding-cheers.jpg') !important;
}

.testimonials2 {
  background-image: url('/images/ribalta/ribalta-app-testimonials-dj-event.jpg') !important;
}

@media only screen and (max-width : 992px) {
  #videoSection a {
    margin-top: 50px;
  }

  #howItWorks,
  #videoContainer {
    display: flex;
    flex-direction: column-reverse;
  }

  .testimonials {
    height: 600px !important;
  }
}

@media only screen and (max-width : 900px) {
  .slogan {
    display: block !important;
  }
}

@media only screen and (max-width : 767px) {
  #videoSection h2 {
    padding-top: 30px;
  }

  .servicesList li {
    height: auto;
  }

  .clientsLogos span {
    margin: 2px;
  }

  .clientsLogos img {
    height: 30px;
  }
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 1250px;
  margin: 40px auto;
  /* ⬅ this is top & bottom space */
  padding: 20px;
  gap: 20px;
}

.card-list .card-item {
  background: #fff;
  color: #000000;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
  list-style: none;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border 0.5s ease;
}

.card-list .card-item:hover {
  border: 2px solid #7c7b7b;
}

.card-list .card-item img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  object-fit: cover;
}

.card-list span {
  display: inline-block;
  background: #d0d0d0;
  color: #000000;
  margin-top: 32px;
  padding: 8px 15px;
  font-size: 1rem;
  border-radius: 50px;
  font-weight: 600;
}

.card-list .developer {
  background-color: #F7DFF5;
  color: #B22485;
}

.card-list .designer {
  background-color: #d1e8ff;
  color: #2968a8;
}

.card-list .editor {
  background-color: #d6f8d6;
  color: #205c20;
}

.card-item h3 {
  color: #000;
  font-size: 1.438rem;
  margin-top: 28px;
  font-weight: 600;
}

.card-item .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  color: #000;
  border: 1px solid #000;
  border-radius: 50%;
  margin-top: 40px;
  transition: 0.2s ease;
}

.card-list .card-item:hover .arrow {
  background: #000;
  color: #fff;
}

.card-section {
  /* padding: 30px 20px 75px 20px; */
  /* top padding kept, bottom padding increased */
  display: block;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 0px 10px;
}

.more-features-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
}

body {
  background: #701a21;  
}

html body {
  background-color: #ffffff !important;
}

#faqs {
  padding: 80px 0 60px;
}

@media (max-width: 1200px) {
  .card-list .card-item {
    padding: 15px;
  }
}

@media screen and (max-width: 980px) {
  .card-list {
    margin: 10 auto;
  }
}



/* Default (mobile): use Bootstrap's normal behavior */
.modal {
  text-align: left;
}

/* Enable vertical centering only on tablets and up */
@media (min-width: 768px) {
  .modal {
    text-align: center;
  }

  .modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
  }

  .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
  }
}

/* ================= INTRO FIXES ================= */

#intro {
  position: relative;
  z-index: 2;
}

/* Desktop: allow phones to overflow */
@media (min-width: 768px) {
  #intro,
  #intro .overlay,
  #intro .container,
  #intro .row,
  #intro .intro-content {
    overflow: visible !important;
  }

  /* header bottom padding */
  #intro .intro-content {
    padding-bottom: calc(194px + 5px) !important;
  }

  .intro-title {
    font-size: 20px !important;
  }
}
@media (min-width: 768px) {
  body#page-top #intro .intro-content {
    padding-bottom: 209px !important;
  }

  body#page-top .audience-parallax-section {
    margin-top: 62.25px !important; /* 52.25 + 10 */
  }
}

  body#page-top .audience-parallax-overlay {
    padding: 12px 0 !important;
  }

/* Mobile: restore original tight hero */
@media (max-width: 767.98px) {
  #intro,
  #intro .overlay,
  #intro .container,
  #intro .row,
  #intro .intro-content {
    overflow: hidden !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
}

/* ================= AUDIENCE PARALLAX ================= */

.audience-parallax-section {
  position: relative;
  z-index: 1;
  background-size: cover;
  text-align: center;
}

.audience-parallax-section {
  background: linear-gradient(
    135deg,
    #770b16 0%,
    #ce333b 40%,
    #aa3a47 100%
  );
}


/* Desktop spacing between intro and cards (−5%) */
@media (min-width: 768px) {
  .audience-parallax-section {
    margin-top: calc(55px * 0.95);
  }
}

/* Overlay padding */
.audience-parallax-overlay {
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Desktop overlay padding (−5%) */
@media (min-width: 768px) {
  .audience-parallax-overlay {
    padding: calc(22.5px * 0.95) 0;
  }
}

/* ================= CARDS ================= */

.audience-cards-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.audience-feature-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 16px;
  padding: 23px 30px 22px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* ================= CARD TEXT ================= */

.audience-feature-title {
  color: #000000;
  letter-spacing: 0.15px;
}

.audience-feature-body {
  font-size: 14px;
  line-height: 1.5;
  color: #111;
}

/* ================= BUTTON ================= */

.audience-feature-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: #db313f;
  color: #fff;
  border: 1.5px solid #db313f;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.audience-feature-link:hover {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
  color: #fff;
}

/* ================= MOBILE: REMOVE GAP ================= */

@media (max-width: 767.98px) {
  .audience-parallax-section {
    margin-top: 0 !important;
  }

  .audience-parallax-overlay {
    padding-top: 0 !important;
  }
}

/* Mobile-only: balance parallax padding (top = bottom) */
@media (max-width: 767.98px) {
  .audience-parallax-overlay {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

@media (min-width: 768px) {
  #intro {
    margin-bottom: 10px !important;
  }
}
@media (min-width: 768px) {
  body#page-top .audience-parallax-section {
    margin-top: 60px !important; /* add 10px below intro */
  }
}
