/* 1. Hero Section */
.hero-section {
  width: 100%;
  min-height: 500px;
  background-image: linear-gradient(77.9deg, rgba(0, 0, 0, 0.8) 1.58%, rgba(0, 0, 0, 0) 93.61%), url('/sites/syc/img/synchrony-secured-installment-loans-hero-2400x1000.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* padding: 60px 20px; */
}

.hero-content {
  max-width: 1260px;
  width: 100%;
  text-align: left;
  color: white;
  z-index: 2;
  position: relative;
  padding: 100px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  justify-content: flex-start;
  padding-bottom: 50px;
}

.hero-content-inner {
  width: 57%;
  padding-right: 40px;
}

.hero-content h1 {
  font-size: 3rem;
  margin: 0 0 20px 0;
  /* font-weight: 700; */
  color: white;
  font-size: 64px;
  line-height: normal;
}

.hero-content p {
  font-size: 1.3rem;
  font-size: 24px;
  margin: 0 0 30px 0;
  line-height: normal;
  max-width: 75%;
}

.hero-content a {
  font-size: 24px;
  color: white;
  text-decoration-color: gold;
}

.hero-content a :focus-visible {
 outline-color: white;
}

.hero-content .hero-cta {
  display: inline-block;
  padding: 15px 40px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-content .hero-cta:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    flex-direction: column;
    background-image: none;
    /* background-color: #2D2E35; */
    padding: 0px !important;
  }

  .hero-content {
    order: 2;
    background: #2D2E35;
    color: #333;
    margin-bottom: 20px;
    padding: 30px 20px;
    justify-content: center;
    padding-bottom: 0;
  }

  .hero-content-inner {
    width: 100%;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
    color: white;
    /* margin: 0; */
  }

  .hero-content p {
    font-size: 1rem;
    color: white;
    max-width: 100%;
    /* margin-top: 0px; */
  }

.hero-content .sign-in {
    font-size: 16px;
   font-weight: 500;
    margin-top: 30px;
  }

  .hero-content .sign-in a {
  font-size: 16px;
  color: white;
  text-decoration-color: gold;
}
  .hero-image-mobile {
    order: 1;
    width: 100%;
    /* border-radius: 8px; */
    overflow: hidden;
  }

  .hero-image-mobile img {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (min-width: 768px) {
  .hero-image-mobile {
    display: none;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 20px;
  }
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 335px), 1fr));
  gap: 30px;
  padding: 20px 0;
  /* max-width: 1164px; */
  margin: 0 auto;
  place-items: start center;
}

.grid-title {
    display: block;
}

@media (max-width: 991px) {
    .grid-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px;
    }
}


.text-center {
    text-align: center;
}

/* 2. The Individual Card */
.card {
  background: #ffffff;
  display: flex;
  flex-direction: column;                /* Stacks img, p, and span vertically */
  transition: transform 0.3s ease;
  transform: translateY(0px);
  width: 100%;
  /* max-width: 360px; */
}

.card:hover {
  transform: translateY(-10px);           /* Slight lift effect on hover */
}

.card-logo {
  position: absolute;
  background: #3B3D49;
  color: white;
  border-radius: 60px;
  width: 32px;
  height: 32px;
  top: 12px;
  right: 16px;
  bottom: 12px;
  left: 12px;
  z-index: 20;
  /* margin: auto; */
  /* max-height: 3.75rem; */
  /* max-width: 9.375rem; */
}



.card-network {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height:10px;
  /* width:20px; */
}

/* 3. Image Container with Border */
.card-image-container {
  border: 2px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 15px;
  height: 160px;
}

.card img {
  object-fit: contain;                   /* Prevents image stretching */
  max-width: 305px;
  max-height: 160px;
  width: 305px;
  height: 160px;
}

.card-logo img {
  /* width: 16px; */
  height: 33px;
  object-fit: contain
}

.card-content {
  /* padding: 20px; */
  display: flex;
  flex-direction: column;
  gap: 0px;                             /* Space between p, span, and h3 */
}

.category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #3498db;
  font-weight: bold;
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
  text-decoration: underline;
  color: #3B3D49;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.card-actions a {
  padding: 12px 24px;
  /* border: 2px solid #3498db; */
  /* background-color: white; */
  /* color: #3498db; */
  border-radius: 6px;
  cursor: pointer;
  /* font-size: 0.95rem; */
  /* font-weight: 600; */
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
}

/* .card-actions a:hover {
  background-color: #3498db;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.card-actions a.primary {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
}

.card-actions a.primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  box-shadow: 0 4px 12px rgba(41, 128, 185, 0.4);
}

.card-actions a:active {
  transform: translateY(0);
} */

/* 4. Responsive Adjustment — auto-fill handles column count automatically */

/* Card counter and load more styles */
.card-counter {
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0;
  color: #333;
}

.load-more-container {
  text-align: center;
  margin: 30px 0;
  margin-bottom: 100px;
}

.load-more-btn {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.load-more-btn:hover {
  background-color: #2980b9;
}

.load-more-btn:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

.chevron {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
}

.no-results {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin: 30px 0;
}

.card.hidden {
  display: none;
}

.grid-content {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    margin-bottom: 20px;
    color: #3B3D49;
}

.no-cards-message {
  text-align: center;
  font-size: 1.2rem;
  color: #999;
  padding: 50px 20px;
}

.category-tabs-swiper .swiper-slide:last-of-type {
        margin-right: 0px !important; }

@media (max-width: 991px) {
    .category-tabs-swiper.active {
        margin-top: -108px;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .category-tabs-swiper.active {
        margin-top: -85px;
    }
}


/* Two Column Info Section */
.info-section {
  max-width: 1440px;
  margin: 80px auto;
  padding-top: 1px;
  /* margin-right: 0; */
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 50px;
  margin-bottom: 50px;
}

.info-image {
  overflow: hidden;
  border-top-right-radius: 24px;
  display: flex;
  align-items: stretch;
  padding-bottom: 50px;
  transform: translateY(-50px);
}

.info-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  flex: 1;
}

.info-content {
  padding: 64px 70px 64px 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom-left-radius: 24px;
  background: #F3F6F6;
}

.info-content h2 {
  font-size: 48px;
  margin: 0 0 25px 0;
  font-weight: 700;
  color: #3B3D49;
}

.info-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-content ul li {
  font-size: 20px;
  padding-left: 30px;
  position: relative;
  color: #3B3D49;
  line-height: 28px;
}

.info-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: normal;
  font-size: 1.5rem;
}

.info-content ul span {
  font-weight: bold;
}

.info-content ul li a {
  color: #3F647C;
  text-decoration-color: #3F647C;
}

@media (max-width: 1267px) {
  .info-content {
    padding: 64px;
  }
}

@media (max-width: 991px) {
  .info-section {
    margin: 40px auto;
    padding: 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
    margin-bottom: 0;
    gap: 0;
  }

  .info-image {
    order: 1;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    padding-bottom: 0;
    transform: translateY(0);
    margin: 0;
  }

  .info-image img {
    min-height: 250px;
    display: block;
    margin: 0;
  }

  .info-content {
    order: 2;
    padding: 30px 20px;
    border-bottom-left-radius: 0;
    margin: 0;
  }

  .info-content h2 {
    font-size: 32px;
  }

  .info-content ul li {
    font-size: 18px;
  }
}


/* Feature Section with Image Border */
.feature-section {
  max-width: 1440px;
  margin: 80px auto;
  padding: 0 0 20px 20px;
  overflow: hidden;
  /* margin-right: 0; */
  padding-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 60px; */
  align-items: center;
  /* overflow: hidden; */
}

.feature-content {
  padding: 10% 21% 10% 10%;
}

.feature-content h2 {
  font-size: 42px;
  margin: 0 0 20px 0;
  font-weight: 700;
  color: #3B3D49;
}

.feature-content p {
  font-size: 24px;
  line-height: 1.6;
  color: #3B3D49;
  margin: 0 0 30px 0;
  font-weight: 500;
}

.feature-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #FBC600;
  color: #3B3D49;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  /* transition: all 0.3s ease; */
  border: none;
  cursor: pointer;
  /* width: -webkit-fill-available; */
  max-width: 360px;
  width: 276px;
  text-align: center;
}

.feature-btn .external {
  margin-left: 16px;
}

.feature-btn:hover {
  background-color: #fcd74c;
   }
.feature-btn:visited {
  background-color: #fbc600;
   }



.feature-image {
  position: relative;
  width: 100%;
  height: auto;
  padding-right: 20px;
}

.feature-image-border {
  position: absolute;
  border: 8px solid #FBC600;
  border-right: 0;
  border-bottom-left-radius: 44px;
  width: 100%;
  height: 95%;
  top: 38px;
  right: 20px;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 0 24px;
  position: relative;
  z-index: 2;
}


@media (max-width: 1267px) {
  .feature-content {
    padding: 10% 15% 10% 7%;
  }
}

@media (max-width: 991px) {
  .feature-section {
    margin: 40px 0px;
    /* padding: 40px 20px; */
    padding-left: 0px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-image {
    order: 1;
    left: 20px;
    margin-bottom: 30px;
  }

  .feature-content {
    order: 2;
    padding: 0;
    margin-left: 20px;
  }

  .feature-content h2 {
    font-size: 32px;
    line-height: 38px;
    margin-right: 20px;
  }

  .feature-content p {
    font-size: 18px;
    margin-right: 20px;
    line-height: 24px;
  }

  .feature-image-border {
    border: 4px solid #FBC600;
    top: 32px;
    right: 10px;
    border-radius: 0 0 0 34px;
  }
  
  .feature-btn {    
    width: -webkit-fill-available;
    margin-right: 20px;
    max-width: none;
  }
}
  @media screen and (max-width: 768px) and (orientation: portrait) {
    .feature-image-border {
    border: 4px solid #FBC600;
    top: 22px;
    right: 10px;
    border-radius: 0 0 0 34px;
  }
  }

/* --- Tablet Portrait Mode Only (768px+) --- */
  @media screen and (min-width: 768px) and (orientation: portrait) {

  /* @media only screen and (min-width: 481px) and (max-width: 767px) { */
    .hero-content-inner {
      width: 80%;
      }
    .feature-content h2 {
  font-size: 37px;
  line-height: 43px;
    }
    .feature-content p {
    font-size: 20px;
    line-height: 29px;
    }
    .feature-btn {
      font-size: 20px;
    }
    .feature-image-border {
      top: 30px;
    }
  }


  
/* --- iPhone 17 Pro (1206 x 2622 - 6.3") & Samsung Galaxy S25 (1080 x 2340 - 6.2") --- */
@media only screen and (min-width: 376px) and (max-width: 430px) and (min-height: 800px) and (orientation: portrait){

.feature-btn {
 font-size: 20px;
 }
}



/* --- Tablet: Card & Grid Content --- */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .grid-container {
    padding: 0px;
    max-width: 100%;
  }
  .grid-content {
    font-size: 20px;
    line-height: 28px;
  }
}

/* --- Mobile: Card & Grid Content --- */
@media screen and (max-width: 767px) {
  .grid-container {
    padding: 0px;
    max-width: 100%;
  }
  .card {
    max-width: none;
  }
  .card-counter {
    margin: 20px 0;
    font-size: 18px;
  }

  .grid-title {
     margin: 20px 0;
     
  }
  .grid-content {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }
  .heading-1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0px !important;
  }
  .category-mobile-menu-button {
    padding: 0;
  }
  .card img {
  max-width: 275px;
  width: 275px;
}
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles for iPhone SE (2nd & 3rd gen) */
 .feature-btn {
 font-size: 20px;
 }
 .card {
    max-width: none;
  }

}

