body {
  font-family: "poppins", sans-serif;
  background-color: #fff;
  color: #155998;
}

/* === Overrides: make branding cards match services hover/overlay behavior === */
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.card-image-wrapper:hover img,
.branding-card:hover .branding-card__img img {
  transform: scale(1.08);
  filter: none;
}

.branding-card__img img,
.branding-card img {
  transition: transform 0.6s ease !important;
}

.card-overlay {
  background: rgba(21, 89, 152, 0.3) !important;
  transition: opacity 0.4s ease, background 0.3s ease !important;
}

.branding-card:hover .card-overlay,
.card-image-wrapper:hover .card-overlay {
  opacity: 0.5 !important;
  /* background: rgba(21, 89, 152, 0.5) !important; */
}

.branding-card:hover .card-title,
.branding-card:hover .branding-card-title {
  color: #FF1493 !important;
}


.branding-container {
  background: #ffffff;
  color: #155998;
  padding: 60px 0;
}

/* ================================
   Branding Intro Section
================================ */
.branding-intro {
  text-align: start;
  margin-bottom: 40px;
}

/* .branding-intro .intro-title {
  font-size: 32px;
  color: #155998;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
} */

.branding-intro .intro-sub {
  font-size: 16px;
  color: #155998;
  margin-bottom: 20px;
  line-height: 1.6;
}

.intro-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff1493 0%, #4acecd 100%);
  margin-top: 20px;
  border-radius: 2px;
}

/* ================================
   Branding Cards Grid
================================ */
.branding-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.branding-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(21, 89, 152, 0.08);
  border-radius: 8px;
}

.branding-card:hover {
  box-shadow: 0 12px 30px rgba(21, 89, 152, 0.15);
  transform: translateY(-4px);
}

.branding-card.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.branding-card.reverse > * {
  direction: ltr;
}

.branding-card__img {
  position: relative;
  width: 100%;
  max-height: 320px !important;
  min-height: 320px !important;
  overflow: hidden;
}

.branding-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  max-height: 320px !important;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 89, 152, 0.3);
  transition: background 0.3s ease, opacity 0.4s ease;
  z-index: 1;
  opacity: 0;
}

.branding-card:hover .card-overlay {
  /* background: rgba(21, 89, 152, 0.5); */
  opacity: 0.5;
}

.branding-card:hover .branding-card__img img {
  transform: scale(1.05);
}

.branding-card__text {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f8f9fa;
  position: relative;
  z-index: 2;
  height: 320px;
  max-height: 320px !important;
}

.branding-card:nth-child(odd) .branding-card__text {
  background: #ffffff;
}

.branding-card:nth-child(even) .branding-card__text {
  background: #f8f9fa;
}

.card-number {
  font-size: 48px;
  font-weight: 700;
  color: #ff1493;
  opacity: 0.1;
  margin-bottom: 10px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #155998;
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.branding-card:hover .card-title {
  color: #ff1493;

}

.card-desc {
  font-size: 16px;
  color: #155998;
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-read {
  color: #ff1493;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  width: fit-content;
}

.card-read:hover {
  gap: 12px;
  color: #155998;
}

.card-read i {
  transition: transform 0.3s ease;
}

.card-read:hover i {
  transform: translateX(4px);
}

/* ================================
   They Trust Us Section
================================ */
.they-trust-us-section {
  margin: 0 !important;
  padding: 40px 0 20px 0 !important;
}

/* ================================
   CTA Section
================================ */
.branding-cta {
  grid-column: 1 / -1;
  padding: 40px 40px;
  margin: 0 !important;
  background: linear-gradient(
    135deg,
    rgba(255, 20, 147, 0.05) 0%,
    rgba(74, 206, 205, 0.05) 100%
  );
  border-radius: 12px;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-sub {
  font-size: 32px;
  font-weight: 600;
  color: #155998;
  margin-bottom: 12px;
  line-height: 1.4;
}

.cta-text {
  font-size: 16px;
  color: #155998;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-contact-primary {
  font-size: 16px !important;
  padding: 14px 32px !important;
  background: #185fa0 !important;
  border: 1px solid #185fa0 !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.btn-contact-primary:hover {
  background: #ff1493 !important;
  border-color: #ff1493 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 20, 147, 0.2);
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 1024px) {
  .branding-intro .intro-title {
    font-size: 28px;
  }

  .branding-intro .intro-sub {
    font-size: 15px;
  }

  .branding-card {
    grid-template-columns: 1fr;
  }

  .branding-card.reverse {
    grid-template-columns: 1fr;
  }

  .branding-card.reverse > * {
    order: 2;
  }

  .branding-card__text {
    padding: 40px 30px;
    height: 320px;
    max-height: 320px !important;
  }

  .branding-card__img {
    max-height: 320px !important;
    min-height: 320px !important;
  }

  .card-number {
    font-size: 36px;
  }

  .card-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .branding-container {
    padding: 40px 0;
  }

  .branding-intro .intro-title {
    font-size: 24px;
  }

  .branding-intro .intro-sub {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .branding-card__text {
    padding: 30px 20px;
    height: 250px;
    max-height: 250px !important;
  }

  .branding-card__img {
    max-height: 250px !important;
    min-height: 250px !important;
  }

  .card-number {
    font-size: 32px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-desc {
    font-size: 15px;
  }

  .cta-sub {
    font-size: 24px;
  }

  .cta-text {
    font-size: 15px;
  }

  .branding-cta {
    padding: 40px 30px;
  }
}

@media (max-width: 576px) {
  .branding-intro .intro-title {
    font-size: 20px;
  }

  .branding-intro .intro-sub {
    font-size: 14px;
  }

  .branding-card__text {
    padding: 25px 15px;
    min-height: auto;
  }

  .branding-card__img {
    min-height: 200px;
  }

  .card-number {
    font-size: 28px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-desc {
    font-size: 14px;
  }

  .cta-sub {
    font-size: 20px;
  }

  .cta-text {
    font-size: 14px;
  }

  .branding-cta {
    padding: 30px 20px;
  }

  .btn-contact-primary {
    font-size: 14px !important;
    padding: 12px 24px !important;
  }
}

/* Image wrapper with overlay */
.card-image-wrapper {
  position: relative;
  width: 305px;
  height: 424px;
  overflow: hidden;
}

/* Image box */
.branding-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

/* Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(76, 206, 205, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  padding: 20px;
}

.overlay-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  font-family: Poppins;
  margin: 0;
}

.card-image-wrapper:hover img {
  filter: blur(4px);
}

.card-image-wrapper:hover .card-overlay {
  opacity: 0.5;
}



.strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #4acecd;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
  width: 100%;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.branding-card:hover .strip {
  opacity: 0;
  pointer-events: none;
}

.branding-card-title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #155998;
  line-height: 1.3;
}

.branding-note {
  padding: 20px;
  text-align: center;
}

.branding-note h3 {
  font-size: 36px;
  font-weight: 600;
}

.branding-note p {
  font-size: 36px;
  font-weight: 400;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* 1024px - Tablet */
@media (max-width: 1024px) {
  .section-title {
    font-size: 28px;
  }
  .intro-title {
    font-size: 28px;
  }
  .intro-sub {
    font-size: 15px;
  }
  .branding-cards {
    gap: 35px 50px;
    padding: 45px 20px;
  }
  .branding-card {
    width: 280px;
  }
  .branding-card img {
    width: 280px;
    height: 380px;
  }
  .strip {
    width: 280px;
    height: auto;
    padding: 10px 8px;
    font-size: 15px;
  }
}

/* 768px - Tablet */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
    margin-top: 25px;
  }
  .intro-title {
    font-size: 24px;
  }
  .intro-sub {
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
  }
  .branding-cards {
    gap: 25px 30px;
    padding: 30px 15px;
  }
  .branding-card {
    width: 48%;
  }
  .branding-card img {
    width: 100%;
    height: 250px;
  }
  .strip {
    width: 100%;
    height: auto;
    padding: 8px 6px;
    font-size: 14px;
  }
  .branding-card-title {
    font-size: 14px;
  }
  .branding-note h3 {
    font-size: 28px;
  }
  .branding-note p {
    font-size: 28px;
  }
}

/* 576px - Mobile Large */
@media (max-width: 576px) {
  .section-title {
    font-size: 20px;
    margin-top: 20px;
  }
  .intro-title {
    font-size: 20px;
  }
  .intro-sub {
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 20px;
  }
  .branding-cards {
    gap: 20px 15px;
    padding: 25px 10px;
  }
  .branding-card {
    width: 100%;
  }
  .branding-card img {
    width: 100%;
    height: 220px;
  }
  .strip {
    width: 100%;
    height: auto;
    padding: 8px 6px;
    font-size: 13px;
  }
  .branding-card-title {
    font-size: 13px;
    margin-top: 8px;
  }
  .branding-note h3 {
    font-size: 22px;
  }
  .branding-note p {
    font-size: 22px;
  }
}

/* 425px - Mobile Medium */
@media (max-width: 425px) {
  .section-title {
    font-size: 18px;
  }
  .intro-title {
    font-size: 18px;
  }
  .intro-sub {
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  .branding-cards {
    gap: 15px 10px;
    padding: 20px 8px;
  }
  .branding-card {
    width: 100%;
  }
  .branding-card img {
    width: 100%;
    height: 200px;
  }
  .strip {
    width: 100%;
    height: auto;
    padding: 7px 6px;
    font-size: 12px;
  }
  .branding-card-title {
    font-size: 12px;
    margin-top: 6px;
  }
  .branding-note h3 {
    font-size: 20px;
  }
  .branding-note p {
    font-size: 20px;
  }
}

/* 375px - Mobile Small */
@media (max-width: 375px) {
  .section-title {
    font-size: 1.15rem;
  }
  .intro-title {
    font-size: 1rem;
  }
  .intro-sub {
    font-size: 0.9rem;
    margin-top: 8px;
    margin-bottom: 12px;
  }
  .branding-cards {
    gap: 12px 8px;
    padding: 18px 6px;
  }
  .branding-card {
    width: 100%;
  }
  .branding-card img {
    width: 100%;
    height: 180px;
  }
  .strip {
    width: 100%;
    height: auto;
    padding: 6px 5px;
    font-size: 11px;
  }
  .branding-card-title {
    font-size: 11px;
    margin-top: 5px;
  }
  .branding-note h3 {
    font-size: 18px;
  }
  .branding-note p {
    font-size: 18px;
  }
}

/* 320px - Very Small Mobile */
@media (max-width: 320px) {
  .section-title {
    font-size: 1.1rem;
  }
  .intro-title {
    font-size: 0.95rem;
  }
  .intro-sub {
    font-size: 0.85rem;
    margin-top: 6px;
    margin-bottom: 10px;
  }
  .branding-cards {
    gap: 10px 6px;
    padding: 15px 5px;
  }
  .branding-card {
    width: 100%;
  }
  .branding-card img {
    width: 100%;
    height: 160px;
  }
  .strip {
    width: 100%;
    height: auto;
    padding: 5px 4px;
    font-size: 10px;
  }
  .branding-card-title {
    font-size: 10px;
    margin-top: 4px;
  }
  .branding-note h3 {
    font-size: 16px;
  }
  .branding-note p {
    font-size: 16px;
  }
}
