/* =========================================
   FULLY RESPONSIVE CLIENT TESTIMONIAL SECTION
========================================= */

#portfolio {
  position: relative;
  overflow: hidden;
  padding: 200px 0;
  background: linear-gradient(
    to bottom,
    #eef9f2,
    #f0f7ff,
    #f5f0ff
  );
}

/* ======================
   CONTAINER
====================== */

.portfolio-container {
  width: 100%;
  max-width: 1250px;
  margin: auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ======================
   FLOATING EMOJIS
====================== */

.floating-emoji {
  position: absolute;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
  animation: floatEmoji 6s ease-in-out infinite;
}

.emoji-1 {
  top: 80px;
  left: 60px;
  font-size: 90px;
  transform: rotate(-15deg);
}

.emoji-2 {
  right: 80px;
  bottom: 100px;
  font-size: 75px;
}

@keyframes floatEmoji {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(6deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ======================
   SECTION HEADING
====================== */

.portfolio-heading {
  text-align: center;
  margin-bottom: 70px;
}

.heading-emoji {
  font-size: 60px;
  margin-bottom: 15px;
  animation: bounceEmoji 3s infinite;
}

@keyframes bounceEmoji {
  0%,
  100% {
    transform: rotate(-8deg);
  }

  50% {
    transform: rotate(8deg) scale(1.1);
  }
}

.portfolio-heading h2 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;

  background: linear-gradient(
    to right,
    #16a34a,
    #2563eb
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-heading p {
  color: #666;
  font-size: 18px;
  line-height: 1.7;
}

.portfolio-heading .sub-text {
  margin-top: 8px;
  font-weight: 600;
}

/* ======================
   CARD WRAPPER
====================== */

.portfolio-cards {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

/* ======================
   MAIN CARD
====================== */

.portfolio-card {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

/* ======================
   CARD INNER
====================== */

.portfolio-card-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 35px;
}

/* ======================
   IMAGE
====================== */

.portfolio-image {
  flex: 1;
  min-width: 300px;
}

.portfolio-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 24px;

  transition: 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.04);
}

/* ======================
   CONTENT
====================== */

.portfolio-content {
  flex: 1;
}

.client-emoji {
  font-size: 58px;
  margin-bottom: 15px;

  animation: pulseEmoji 3s infinite;
}

@keyframes pulseEmoji {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.portfolio-content h3 {
  font-size: 34px;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.3;
}

.portfolio-content p {
  color: #666;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ======================
   STATS GRID
====================== */

.clients-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-box {
  padding: 22px 15px;
  border-radius: 20px;
  text-align: center;
}

.stat-box.blue {
  background: linear-gradient(
    135deg,
    #dbeafe,
    #bfdbfe
  );
}

.stat-box.green {
  background: linear-gradient(
    135deg,
    #dcfce7,
    #bbf7d0
  );
}

.stat-box.yellow {
  background: linear-gradient(
    135deg,
    #fef9c3,
    #fde68a
  );
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-number {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: #555;
}

/* ======================
   BUTTON
====================== */

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  padding: 16px 20px;

  border: none;
  border-radius: 18px;

  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  background: linear-gradient(
    to right,
    #3b82f6,
    #9333ea
  );

  transition: 0.4s ease;
}

.portfolio-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.3);
}

/* ======================
   RESPONSIVE
====================== */

/* ---------- LARGE TABLET ---------- */

@media (max-width: 1100px) {

  .portfolio-card-inner {
    gap: 25px;
  }

  .portfolio-content h3 {
    font-size: 28px;
  }

  .portfolio-image img {
    height: 380px;
  }
}

/* ---------- TABLET ---------- */

@media (max-width: 900px) {

  #portfolio {
    padding: 80px 0;
  }

  .portfolio-heading h2 {
    font-size: 42px;
  }

  .portfolio-card-inner {
    flex-direction: column;
    padding: 28px;
  }

  .portfolio-image,
  .portfolio-content {
    width: 100%;
  }

  .portfolio-image img {
    height: 350px;
  }

  .portfolio-content h3 {
    font-size: 30px;
  }

  .clients-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

  #portfolio {
    padding: 70px 0;
  }

  .portfolio-container {
    padding: 0 15px;
  }

  .floating-emoji {
    display: none;
  }

  .heading-emoji {
    font-size: 48px;
  }

  .portfolio-heading {
    margin-bottom: 50px;
  }

  .portfolio-heading h2 {
    font-size: 32px;
    line-height: 1.3;
  }

  .portfolio-heading p {
    font-size: 15px;
  }

  .portfolio-card {
    border-radius: 24px;
  }

  .portfolio-card-inner {
    padding: 18px;
    gap: 22px;
  }

  .portfolio-image {
    min-width: 100%;
  }

  .portfolio-image img {
    height: 250px;
    border-radius: 18px;
  }

  .client-emoji {
    font-size: 46px;
  }

  .portfolio-content h3 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .portfolio-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .clients-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-box {
    padding: 18px 12px;
  }

  .stat-number {
    font-size: 22px;
  }

  .portfolio-btn {
    padding: 14px;
    font-size: 15px;
    border-radius: 14px;
  }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 400px) {

  .portfolio-heading h2 {
    font-size: 28px;
  }

  .portfolio-image img {
    height: 220px;
  }

  .portfolio-content h3 {
    font-size: 22px;
  }

  .client-emoji {
    font-size: 40px;
  }
}


/* =========================================
   PRESCHOOL SETUP SECTION
========================================= */

.preschool-section {
  padding: 100px 0;
  background: linear-gradient(
    to bottom,
    #f8fbff,
    #eef7ff
  );
  overflow: hidden;
}

.preschool-container {
  width: 100%;
  max-width: 1250px;
  margin: auto;
  padding: 0 20px;
}

/* ======================
   HEADING
====================== */

.setup-heading {
  text-align: center;
  margin-bottom: 60px;
}

.setup-heading h3 {
  font-size: 48px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 15px;
}

.setup-heading p {
  font-size: 18px;
  color: #6b7280;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* ======================
   GRID
====================== */

.setup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ======================
   CARD
====================== */

.setup-card {
  position: relative;
  /* height: 320px; */
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;

  background: #fff;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* IMAGE */

.setup-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 0.6s ease;
}



/* ======================
   TILT HOVER EFFECT
====================== */

.tilt-card:hover {
  transform:
    perspective(1000px)
    rotateX(5deg)
    rotateY(-8deg)
    translateY(-12px)
    scale(1.03);

  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.18);
}

.tilt-card:hover img {
  transform: scale(1.08);
}

.tilt-card:hover .setup-overlay {
  opacity: 1;
}

/* ======================
   WHITE CARD
====================== */

.white-bg {
  background: #fff;
  padding: 10px;
}

/* ======================
   RESPONSIVE
====================== */

/* ---------- LAPTOP ---------- */

@media (max-width: 1100px) {

  .setup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .setup-card {
    height: 300px;
  }
}

/* ---------- TABLET ---------- */

@media (max-width: 768px) {

  .preschool-section {
    padding: 80px 0;
  }

  .setup-heading h3 {
    font-size: 38px;
  }

  .setup-heading p {
    font-size: 16px;
  }

  .setup-grid {
    gap: 18px;
  }

  .setup-card {
    height: 260px;
    border-radius: 22px;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

  .preschool-container {
    padding: 0 15px;
  }

  .setup-heading {
    margin-bottom: 40px;
  }

  .setup-heading h3 {
    font-size: 30px;
    line-height: 1.3;
  }

  .setup-heading p {
    font-size: 15px;
    line-height: 1.7;
  }

  .setup-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .setup-card {
    height: 240px;
  }

  .tilt-card:hover {
    transform:
      translateY(-8px)
      scale(1.02);
  }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 400px) {

  .setup-heading h3 {
    font-size: 26px;
  }

  .setup-card {
    height: 210px;
  }
}


/* =========================================
   PARTNER TESTIMONIAL SECTION
========================================= */

.partner-section {
  padding: 100px 0;
  background:
    linear-gradient(
      to bottom,
      #f7fbff,
      #eef6ff
    );
}

.partner-container {
  width: 100%;
  max-width: 1250px;
  margin: auto;
  padding: 0 20px;
}

/* ======================
   HEADING
====================== */

.partner-heading {
  text-align: center;
  margin-bottom: 60px;
}

.partner-heading h3 {
  font-size: 30px;
  font-weight: 400;
  color: #1f2937;
  /* margin-bottom: 16px; */
}



.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ======================
   CARD
====================== */

.partner-card {
  position: relative;

  background: #fff;
  border-radius: 28px;

  padding: 35px 30px;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.08);

  overflow: hidden;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* HOVER EFFECT */

.partner-card:hover {
  transform:
    translateY(-12px)
    rotate(-1deg);

  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.14);
}



.partner-card p {
  color: #4b5563;

  font-size: 17px;
  line-height: 1.9;

  margin-bottom: 25px;
}

/* ======================
   FOOTER
====================== */

.partner-card footer {
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
}

/* ======================
   RESPONSIVE
====================== */

/* ---------- TABLET ---------- */

@media (max-width: 992px) {

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-heading h3 {
    font-size: 30px;
    font-weight: 400;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

  .partner-section {
    padding: 80px 0;
  }

  .partner-heading {
    margin-bottom: 45px;
  }

  .partner-heading h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  .partner-heading p {
    font-size: 16px;
    line-height: 1.7;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .partner-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .partner-card p {
    font-size: 15px;
  }

  .quote-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 480px) {

  .partner-container {
    padding: 0 15px;
  }

  .partner-heading h3 {
    font-size: 28px;
  }

  .partner-card {
    padding: 24px 18px;
  }

  .partner-card:hover {
    transform:
      translateY(-6px);
  }

  .partner-card p {
    line-height: 1.8;
  }
}