/* Multiple Brands With One Vision */


/* Background Gradient */
.brand-section {
  padding: 80px 20px;
  margin-top: 40px;
  background: linear-gradient(180deg,
      #f7ffe9 0%,
      #f0ffd9 40%,
      #ffffff 100%);
}

/* Card Base */
.brand-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform .4s ease, box-shadow .4s ease;
  height: 100%;
}

/* Heights */
.brand-card.tall {
  height: 440px;
}

.brand-card.wide-tall {
  height: 440px;
}

.brand-card.small {
  height: 220px;
}

/* Zoom-out animation */
.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform .7s ease;
}

.brand-card:hover img {
  transform: scale(1);
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

/* Tags */
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 20px;
  color: #fff;
  z-index: 2;
}

.organic {
  background: #f4b400;
}

.clothing {
  background: #000;
}

.logistics {
  background: #2563eb;
}

.events {
  background: #7c3aed;
}

.finance {
  background: #16a34a;
}

.education {
  background: #0f766e;
}

/*  Mobile: show only 3 cards */
@media (max-width: 600px) {
  .mobile-hide {
    display: none !important;
  }

  .brand-card,
  .brand-card.tall,
  .brand-card.wide-tall {
    height: 220px;
  }
}

/*collaboartion section  */

.collaboration-section {
  padding: 70px 20px;
  background: #fff;
}

/* Feature box */
.feature-box {
  text-align: center;
  padding: 10px 20px;
}

.feature-box p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
}

/* Number badge */
.number-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  color: #0b1c4d;
}

/* Soft colors */
.badge-1 {
  background: #eef2ff;
}

.badge-2 {
  background: #fdecec;
}

.badge-3 {
  background: #fff4d6;
}

/* Link */
.feature-link {
  display: inline-block;
  margin-top: 10px;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.feature-link:hover {
  text-decoration: underline;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .collaboration-section {
    padding: 70px 20px;
  }
}
.feature-box {
  position: relative;
  transition: all 0.35s ease;
  border-radius: 16px;
}

/* Hover lift + shadow */
.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Number badge animation */
.feature-box:hover .number-badge {
  transform: scale(1.15);
}

/* Smooth badge transition */
.number-badge {
  transition: transform 0.35s ease;
}

/* Link slide animation */
.feature-link {
  transition: transform 0.3s ease;
}

.feature-box:hover .feature-link {
  transform: translateX(6px);
}

/* Disable hover on mobile */
@media (max-width: 768px) {
  .feature-box:hover {
    transform: none;
    box-shadow: none;
  }
}


/* CTA SECTION */


.cta-section {
  position: relative;
  border-radius: 20px;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 95, 193, 0.3);
}

/* Background Image */
.cta-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Color Overlay */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(74, 95, 193, 0.9),
      rgba(107, 127, 215, 0.85));
  z-index: 2;
}

/* Content */
.cta-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-title strong {
  font-weight: 500;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  background-color: #fff;
  color: #4a5fc1;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #4a5fc1;
  background-color: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 30px;
    border-radius: 15px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .cta-title {
    font-size: 1.6rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }
}



.connected-brands-section {
  padding: 120px 0;
  background: #f6ffec;
}

/* LEFT */
.left-sticky {
  position: sticky;
  top: 120px;
}

.left-sticky p {
  color: #5f6b5f;
  line-height: 1.7;
  font-size: 15px;
}

.view-more {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c9e6a7;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-item h6 {
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14.5px;
  color: #5f6b5f;
  max-width: 420px;
}

/* DOT */
.dot {
  position: absolute;
  left: -38px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #7cb342;
  border-radius: 50%;
}

/* IMAGE */
.timeline-image {
  margin: 40px 0 60px;
  max-width: 440px;
}

/* MOBILE */
@media (max-width: 991px) {
  .left-sticky {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .dot {
    display: none;
  }

  .timeline-image {
    margin-bottom: 30px;
    /* reduce from 100px / 60px */
  }

  .timeline-item {
    margin-bottom: 40px;
  }
}





/*  */

.connected-section {
  /* background: #f6fbec; */
  padding: 40px 0;
  margin-top: 20px;
}


.left-content {
  position: sticky;
  top: 100px;
}

.left-content h2 {
  font-weight: 600;
  margin-bottom: 20px;
}

.view-more {
  color: #1a55ff;
  text-decoration: none;
  font-weight: 500;
}

.right-content {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.scroll-wrapper {
  position: relative;
  height: 100%;
}

.flip-card {
  position: absolute;
  inset: 0;
  background: #f6fbec;
  padding-left: 40px;
  opacity: 0;
  transform: rotateX(90deg);
  transition: all 0.8s ease;
}

.flip-card.active {
  opacity: 1;
  transform: rotateX(0);
  z-index: 2;
}

.flip-card.prev {
  opacity: 0;
  transform: rotateX(-90deg);
}

.dot {
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 14px;
  background: #7cb342;
  border-radius: 50%;
}

.flip-card h5 {
  font-weight: 600;
}

.image-box {
  height: 220px;
  background: #ddd;
  border-radius: 16px;
  margin: 24px 0;
}

.small {
  font-size: 14px;
  color: #555;
}



/* Prevent edge touching */
.container {
  padding-left: 16px;
  padding-right: 16px;
}

.section-title {
  font-weight: 500;
  margin-bottom: 20px;
}

.view-more {
  color: #1a55ff;
  text-decoration: none;
  font-weight: 500;
}

.right-card {
  background: transparent;
  padding: 24px;
}

.card-header h5 {
  font-weight: 600;
}

.green-dot {
  width: 12px;
  height: 12px;
  background: #7cb342;
  border-radius: 50%;
}

.image-box {
  height: 260px;
  background: #ddd;
  border-radius: 18px;
  margin-top: 20px;
}

/* MOBILE FIXES */
@media (max-width: 768px) {
  .connected-section {
    min-height: auto;
    padding: 50px 0;
  }

  .image-box {
    height: 200px;
  }
}

.connected-section {
  background: var(--tertiory-color);
  padding: 40px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.section-title {
  font-weight: 700;
  margin-bottom: 20px;
}

.view-more {
  color: #1a55ff;
  text-decoration: none;
  font-weight: 500;
}

.right-card {
  padding: 24px;
}



.image-box {
  height: 360px;
  background: #ddd;
  border-radius: 18px;
  margin-top: 20px;
}

/* ===== ANIMATION ===== */
.animate-card {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.7s ease;
}

.animate-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE: NO ANIMATION ===== */
@media (max-width: 768px) {
  .connected-section {
    min-height: auto;
    padding: 50px 0;
  }

  .animate-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .image-box {
    height: 200px;
  }
}

.connected-section {
  background: #f6fbec;

  /* REDUCED HEIGHT */
  min-height: auto;

  /* SPACING FIX */
  padding: 60px 0;
  margin-top: 80px;
  /* space from previous section */

  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .connected-section {
    padding: 40px 0;
    margin-top: 50px;
  }

  .right-card {
    position: static;
    height: auto;
  }
}

.right-content {
  position: relative;
  height: auto;
  min-height: 420px;
}

.right-content .image-box  {
  height: 280px;
  /* was 260px */
}

@media (max-width: 768px) {
  .connected-section {
    padding: 40px 0;
    margin-top: 50px;
  }

  .right-content,
  .right-card {
    position: static;
    height: auto;
  }

  .image-box {
    height: 180px;
  }
}

.flip-card {
  position: absolute;
  inset: 0;
  padding: 24px 24px 40px;

  opacity: 0;
  transform: rotateX(90deg);
  transform-origin: top;
  transition:
    transform 0.8s ease,
    opacity 0.6s ease;
}
.image-box {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin: 14px 0;
  background: #f2f2f2;
}

/* Image inside box */
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* prevents distortion */
  display: block;
}

/* Active card */
.flip-card.active {
  opacity: 1;
  transform: rotateX(0deg);
  z-index: 2;
}

/* Previous card */
.flip-card.prev {
  opacity: 0;
  transform: rotateX(-90deg);
  z-index: 1;
}

/* ===== MOBILE: SINGLE CARD SLOT WITH ANIMATION ===== */
@media (max-width: 768px) {

  .right-content {
    position: relative;
    height: 420px;

    overflow: hidden;
    text-align: center;
  }

  .scroll-wrapper {
    position: relative;
    height: 100%;
  }

  .flip-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .flip-card.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
  }

  .image-box {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .left-content {
    position: static;
    margin-left: 0;
    text-align: center;
  }
}

/* service section */

.service-section {
  margin: 80px 0px; /* top space */
}

.text-content h2 {
  font-size: 2rem;
}

.text-content p {
  color: #666;
  line-height: 1.7;
}

/* Image styling */
.service-img {
  max-width: 50%;
}

/* Mobile styles */
@media (max-width: 768px) {
  .text-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .text-content h2 {
    font-size: 2rem;
  }
}

/* contct section */
.contact-card {
  display: flex;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}


/* LEFT PANEL WIDTH */
.contact-left {
  width: 40%;
  background: #5468ff;
  color: #fff;
  padding: 50px 40px;
}

/* RIGHT PANEL WIDTH */
.contact-right {
  width: 60%;
  padding: 50px 60px;
}

/* Text */
.contact-left p {
  font-size: 14px;
  line-height: 1.7;
  color: #e8ebff;
}

/* Bullet list */
.help-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.help-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
}

.help-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #6cff90;
  font-size: 20px;
}

/* Inputs */
.form-control {
  border-radius: 10px;
  padding: 12px;
}
.form-header {
    margin-bottom: 32px; /* 👈 gap between heading & form */
}
/* RESPONSIVE FIX */
@media (max-width: 991px) {
  .contact-card {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    padding: 30px;
  }

  .contact-left {
    text-align: center;
  }
}
.btn-success {
  background-color: #729E40 !important;
  border-color: #729E40 !important;
}

.btn-success:hover {
  background-color: #5f8435 !important;
}
