:root {
  --accent: #f76922;
  --dark: #161825;
  --text-dark: #161825;
  --text-body: #374151;
  --section-bg: #f8f9ff;
  --blue-border: #dbe1f7;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* NAV */
header.navbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4% 4px 4%;
  transition: background .25s ease, box-shadow .25s ease;
  background-color: #161825;
  border-bottom: 1px rgba(60, 60, 60, 0.57) solid;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  /* border: solid 1px red; */
}

.brand img {
  width: 200px;
  height: 65px;
  object-fit: contain;
  border-radius: 6px;
}

.brand .title {
  font-weight: 700;
  color: var(--text);
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 20px
}

nav.primary a {
  color: #f7f7f7;
  text-decoration: none;
  font-weight: 300;
  padding: 8px 6px;
}

nav.primary a:hover {
  color: var(--accent);
}

.cta {
  margin-left: 16px;
  padding: 5px 16px !important;
  border-radius: 5px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 400;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 4px 0;
  border-radius: 2px;
}

main{
    padding: 30px 3%;
}


/* WRAPPING LAYOUT CONTAINER */
.ft-main-content{
  background: var(--section-bg);
  padding: 60px 5% 40px 5%;
  /* border: solid 1px red; */
}

/* Wrapper for text wrap */
.ft-wrapper{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 ;
  flex-wrap: wrap;
}

/* VIDEO FLOAT AREA */
.ft-wrapper .ft-video-box{
  flex: 0 0 42%; 
  min-width: 320px;
}

.ft-video-box iframe{
  width: 100%;
  border-radius: 14px;
  border: 2px solid var(--blue-border);
  aspect-ratio: 16/9;
  box-shadow: 0 10px 32px rgba(77,125,255,0.15);
  background: rgba(22,24,37,0.1);
}

/* TEXT WRAPPING AREA */
.ft-text-wrap{
  flex: 1 1 55%;
  min-width: 280px;
}

.ft-text-wrap p{
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* BOTTOM DESCRIPTION */
.ft-bottom-text{
  margin-top: 20px;
  text-align: left;
}

.ft-bottom-text p{
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 12px;
}

/* WHO CAN USE PILLS */
.whocan{
  padding: 40px 5%;
}

.pill-row{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}

.pill-row span{
  padding:8px 18px;
  border-radius:8px;
  border:2px solid #161825;
  font-size:15px;
  font-weight:500;
  background:#fff;
  color:#161825;
  transition:0.25s;
}

.pill-row span:hover{
  border-color: var(--accent);
  background: #fff4ef;
  transform: translateY(-2px);
}

/* RESPONSIVENESS: tablets */
@media(max-width: 1024px){
  .ft-wrapper .ft-video-box{
    flex: 0 0 100%; /* Mawala float sa tablet pababa */
  }

  .ft-text-wrap, .ft-text-wrap p{
    text-align:center;
  }

  .ft-bottom-text p{
    text-align:center;
  }
}

/* PHONE VIEW */
@media(max-width: 768px){
  .ft-wrapper{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ft-text-wrap{
    width:100%;
  }

  .ft-text-wrap p, .ft-bottom-text p{
    font-size: 0.95rem;
  }
}

/* INVITATION */

.promodeal{
  color: #f76922;
  padding: 2% 0;
}

.sbp-invite-block {
  position: relative; /* REQUIRED para gumana ang absolute child */
  background: #ffffff;
  border-radius: 16px;
  padding: 42px;
  border: 1px solid #e8ecff;
  text-align: start;
  box-shadow: 0 10px 30px rgba(112,129,255,0.09);
}

/* BUTTON FIX */
.invite-open-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: #161825;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;

  padding: 14px 24px;  /* PWEDE MO NA I-ADJUST ANG PADDING ✅ */
  border-radius: 8px;
  border: 2px solid #f76922;

  transition: 0.25s ease;
}

/* Hover effect retained */
.invite-open-btn:hover {
  background: #fff4ef;
  border-color: #f76922;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(247,105,34,0.25);
}

.sbp-invite-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 42px;
  border: 1px solid #e8ecff;
  text-align: start;
  box-shadow: 0 10px 30px rgba(112, 129, 255, 0.09);
  /* border: solid 1px red; */
}

.invite-title {
  font-size: 30px;
  font-weight: 700;
  color: #161825;
  margin-bottom: 16px;
}

.invite-text {
  font-size: 16px;
  line-height: 1.2;
  color: #3a3f5a;
  margin-bottom: 30px;
}


.benefits-box h3 {
  text-align: start;
  font-size: 22px;
  font-weight: 600;
  color: #161825;
  margin-bottom: 12px;
}

.benefits-list {
  border-radius: 12px;
  margin-top: 16px;
  box-shadow: 0 4px 14px rgba(112, 144, 255, 0.07);
}

.benefits-list li {
  font-size: 16px;
  color: #2f354b;
  margin-bottom: 8px;
}

/* BENEFITS LIST */
.benefits-list {
  list-style: none;
  padding-left: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f8f9ff;;
  border-radius: 8px;
  border: 1px solid #e8ecff;
  transition: 0.25s;
}

.benefits-list li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(247, 105, 34, 0.18);
}


.pill-row{
  display:flex;
  justify-content: start;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}

.pill-row span{
  padding:8px 18px;
  border-radius:8px;
  border:2px solid #161825;
  font-size:15px;
  font-weight:500;
}

.whocan{
  padding: 3% ;
}



/* RESPONSIVENESS */
@media(max-width: 768px){
  .sbp-invite-block {
    padding: 30px 20px;
  }

  .invite-title {
    font-size: 24px;
  }

  .invite-text {
    font-size: 15px;
  }

  .benefits-list li {
    font-size: 14px;
  }
}

@media(max-width: 768px){
  .invite-open-btn {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
  }

  .ft-wrapper, .ft-two-col {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sbp-invite-block {
    padding: 30px 20px;
    text-align: center;
  }
}




/* ---------- FOOTER */
.cs-footer {
  background: #161825;
  color: #e5e7f5;
  padding: 60px 5%;
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-logo {
  width: 150px;
  margin-bottom: 12px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 600;
}

.footer-col p,
.footer-col a {
  font-size: 15px;
  color: #d0d4e4;
  margin-bottom: 6px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #f76922;
}

/* SOCIAL LINKS */
.footer-socials {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.footer-socials li {
  margin-bottom: 6px;
}

.footer-btn {
  display: inline-block;
  padding: 10px 16px;
  background: #f76922;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s;
}

.footer-btn:hover {
  background: #c54e17;
}

.footer-copy {
  color: #aeb3cc;
  font-size: 14px;
  margin-top: 10px;
}

/* RESPONSIVE */
@media(max-width: 820px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 20px;
  }

  .footer-logo {
    margin: 0 auto 14px;
  }
}


@media(max-width:600px){
  .invite-box{
    padding:34px;
  }
  .deal-box{
    padding:34px 20px;
  }
  .pill-row span{
    font-size:13px;
  }
  .brand img{
    width:170px;
  }
}

.carousel-section{
  padding: 40px 5%;
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.carousel-container{
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 25vh; /* 25% screen height */
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--accent);
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.carousel-track{
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease;
}

.carousel-track img{
  height: 100%;
  width: 33.333%; /* 3 images visible per view */
  flex: 0 0 33.333%;
  object-fit: cover;
  border-right: 2px solid var(--accent);
}

/* Remove border sa last visible card */
.carousel-track img:last-child{
  border-right: none;
}

/* BUTTONS */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.2);
  border: 2px solid #f76922;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-btn:hover{
  background: rgba(247,105,34,0.3);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(247,105,34,0.4);
}

.carousel-btn.prev{
  left: 14px;
}

.carousel-btn.next{
  right: 14px;
}

/* RESPONSIVE: 2 per view sa tablet, 1 per view sa phone */
@media(max-width: 1024px){
  .carousel-track img{
    width: 50%;
    flex: 0 0 50%;
  }
}

@media(max-width: 768px){
  .carousel-track img{
    width: 100%;
    flex: 0 0 100%;
  }
  .carousel-btn{
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
