
#our-approach-section {
  /* background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); */
  background-image: url('../assets//images/03_Kind_Fox_May_Main_What_to_Expect_Wallpaper_2.webp');
  background-size: cover;
  min-height: 100vh;
  z-index: 8;
  position: relative;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.our-approach-content-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-width: 80vw;
  z-index: 3;
  overflow-x:hidden;
  overflow-y: hidden;
}

.our-approach-title h1 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.our-approach-title hr {
  width: 0%;
  transition: width 0.5s ease-in-out 0.35s;
}

.our-approach-title.active h1 {
  opacity: 1;
}
.our-approach-title.active hr {
  width: 80%;
}

.our-approach-sub-title {
  color: var(--nav-bg-colour);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out 0.75s;
}

.our-approach-sub-title.active {
  opacity: 1;
}

.our-approach-sub-title p {
  margin: 0;
  padding: 2px;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'atkinson';
  width: 60vw;
  text-align: center;
}

.our-approach-container {
  position: relative;
  width: 80vw;
  height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.8) rotateY(90deg);
  transform-origin: center;
  transition: transform 0.75s ease-in-out 0.25s, opacity 0.75s ease-in-out 0.25s;
}

.our-approach-container.active {
  opacity: 1;
  transform: scale(1) rotateY(0);
}

.our-approach-img-bg {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 1000px;
  height: auto;
  z-index: -1;
  opacity: 0.5;
}

.center-circle {
    position: absolute;
    margin-top: 50px;
    width: 210px;
    height: 210px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    z-index: 20;
    text-align: center;
    padding: 20px;
}

.center-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

.center-circle-logo {
  max-width: 200px;
  transform: translate(-50% -50%);
  left: 50%;
  top: 50%;
  margin-top: -20px;
}

.center-circle h2 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 8px;
    font-family: 'poppins';
}

.center-circle p {
    color: #7f8c8d;
    font-size: 14px;
    font-family: 'atkinson';
}

.section-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 15;
}

@keyframes circle-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
.section-circle-first {
  animation: circle-pulse 1.5s infinite;
  /* Optional: ensures smooth scaling */  
}

.section-circle:hover {
    transform: translate(-50%, -50%) translateY(-10px) scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    background-color: var(--orange);
    
}

.section-circle:hover .section-number {
  color: var(--white);
}

.section-number {
    font-size: 1.5rem;
    font-family: 'nunito';
    font-weight: bold;
    /* color: #2c3e50; */
    color: var(--white);
    transition: all 0.3s ease;
}

.section-title {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 1.25rem !important;
    font-weight: 600;
    color: var(--nav-bg-colour);
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'poppins';
}

.our-approach-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.our-approach-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.our-approach-modal-card {
    position: relative;
    width: 680px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) rotateY(90deg);
    transform-origin: center;
    transition: transform 0.5s ease, opacity 0.5s ease; /* Specify properties */
    opacity: 0;
}

.our-approach-modal-card.active {
    transform: scale(1) rotateY(0);
    opacity: 1;
}

.our-approach-modal-header {
    padding: 20px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'poppins';
}

.our-approach-modal-header h2 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.our-approach-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.our-approach-close-btn:hover {
    transform: rotate(90deg);
}

.our-approach-modal-content {
    padding: 25px;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.6;
    max-height: 70vh;
    overflow: scroll;
    scroll-behavior: smooth;
}

.our-approach-modal-content h2 {
  font-family: 'poppins';
  color: var(--orange);
  margin-top: 10px;
}

.our-approach-modal-content hr {
  background-color: var(--orange);
  height: 3px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.our-approach-modal-content p {

}

.our-approach-modal-list {
  font-family: 'atkinson';
  font-size: 17px;
  padding-left: 5%;
}

.our-approach-section-intro {
  font-size: 17px;
  font-family: 'poppins';
}

.our-approach-modal-content-section p {
  font-family: 'atkinson';
  font-size: 17px;
}

.our-approach-modal-footer {
    padding: 15px 25px;
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.our-approach-prev-btn {
    padding: 10px 20px;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    font-family: 'atkinson';
}

.our-approach-prev-btn:hover {
    background: #2980b9;
}

.our-approach-next-btn {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    font-family: 'atkinson';
}

.our-approach-next-btn:hover {
    background: #2980b9;
}

.our-approach-read-more-btn {
    margin-top: 10px;
    font-family: 'atkinson';
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    align-self: flex-end;
}

.our-approach-read-more-btn:hover {
    background-color: var(--orange);
}

@media screen and (min-width: 768px) and (max-width: 1366px) {}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .section-circle::after {
    content: "→";
    margin-left: auto;
    font-size: 1.2rem;
    opacity: 0.8;
  }

  .our-approach-content-section {
    margin-top: 0;
  }

  .our-approach-sub-title p {
    font-size: 17PX;
  }

  .our-approach-container {
    width: 100%;
    height: auto;
    min-height: auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;

    padding:
      2rem
      1rem
      4rem;

    transform: none !important;
  }

  .center-circle {
    position: relative;
    margin-top: 0;

    width: 140px;
    height: 140px;

    flex-shrink: 0;
    display: none;
  }

  .center-circle:hover {
    transform: none;
  }

  .center-circle-logo {
    max-width: 100px;
    margin-top: 0;
    display: none;
  }

  .section-circle {
    position: relative !important;

    left: auto !important;
    top: auto !important;
    transform: none !important;

    width: 100%;
    max-width: 420px;
    min-height: 72px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 1rem;

    gap: 1rem;

    margin: 0;

    box-shadow:
      0 4px 12px rgba(0,0,0,0.15);
  }

  .section-circle:hover {
    transform: none !important;
  }

  .section-number {
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .section-title {
    position: static !important;
    transform: none !important;
    font-size: 1rem !important;
    font-weight: 700;
    text-align: left;
    white-space: normal;
    margin: 0;
    padding: 0;
    flex: 1;
  }

  .our-approach-modal-card {
    width: 94vw;
    max-height: 90vh;
  }

  .our-approach-modal-content {
    padding: 1rem;
  }

  .our-approach-modal-content-section p,
  .our-approach-modal-list {
    font-size: 16px;
  }

  .our-approach-section-intro {
    font-size: 16px;
  }

  .our-approach-modal-footer {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .our-approach-prev-btn,
  .our-approach-next-btn {
    flex: 1;
  }
}