/* =====  =====  =====  ===== main page style here above are the headder and nav style  =====  =====  =====  ===== */
/* =====  =====  =====  ===== main page style here above are the headder and nav style  =====  =====  =====  ===== */
/* HERO */
:root {
  --navbar-height: 80px; /* adjust if your navbar height is different */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
}

.hero {
  display: flex;
  min-height: calc(100vh - var(--navbar-height));
  margin-top: var(--navbar-height);
  overflow: hidden;
}

/* LEFT IMAGE SIDE */
.hero-left {
  width: 55%;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.9s ease;
}

.hero-left:hover img {
  transform: scale(1.05);
}

/* RIGHT CONTENT SIDE */
.hero-right {
  width: 60%;
  background: #fbfbfd;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* ===== 1. Animated Mesh Gradient ===== */
.hero-right::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  /*background:
    radial-gradient(
      circle at 25% 30%,
      rgba(255, 140, 0, 0.25),
      transparent 40%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(255, 140, 0, 0.18),
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    );*/
  animation: meshMove 20s ease-in-out infinite alternate;
  z-index: 0;
}

/* ===== 2. Wavy Light Overlay ===== */
.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='600' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 300 Q150 250 300 300 T600 300 V600 H0 Z' fill='rgba(255,140,0,0.08)'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.5;
  animation: waveMove 15s linear infinite;
  z-index: 0;
}

/* Mesh movement */
@keyframes meshMove {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-60px, -40px) rotate(6deg);
  }
}

/* Wave movement */
@keyframes waveMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 400px 0;
  }
}

/* ===== Content stays above background ===== */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #0b0a24;
  animation: fadeUp 1s ease forwards;
}

/* Title Styling */
.hero-content h1 {
  font-size: 40px;
  color: #0b0a24;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 18px;
  letter-spacing: 1px;
}

/* Broad Underline Full Width */
.hero-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #ff8c00, rgba(255, 140, 0, 0.3));
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

/* Paragraph Styling */
.hero-content p {
  font-size: 18px;
  font-weight: bold;

  line-height: 1.6;
  color: #0b0a24;

  margin-bottom: 10px;
  text-align: justify;
  letter-spacing: 0.1px;
  position: relative;
}

/* Subtle paragraph highlight on hover */
.hero-content p:hover {
  color: #091654;
  transform: translateX(5px);
  transition: 0.3s ease;
}

/* Fade animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left img {
    height: 260px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* =========================================================
   EXPERIENCE SECTION
   ========================================================= */

.experience-section {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 70px 10%;

  background: linear-gradient(135deg, #fbfbfd, #f8f9fb);
  color: #0b0a24;

  position: relative;
  gap: 58px;

  flex-wrap: wrap;

  overflow: hidden;
}

/* =========================================================
   LEFT SIDE
   ========================================================= */

.experience-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;

  flex: 1;
  min-width: 320px;

  margin-left: -40px;
}

/* =========================================================
   CIRCLE WRAPPER
   ========================================================= */

.circle-wrapper {
  position: relative;

  width: 480px;
  height: 480px;

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

  flex-shrink: 0;
}

/* =========================================================
   OUTER SEGMENTED RING
   ========================================================= */

.circle-ring {
  position: absolute;

  width: 100%;
  height: 100%;

  inset: 0;

  border-radius: 50%;

  background: conic-gradient(
    #207ac9 0deg 72deg,
    #517fc8 72deg 144deg,
    #a6b7e3 144deg 216deg,
    #87b1f4 216deg 288deg,
    #a0c9ff 288deg 360deg
  );

  animation: slowRotate 35s linear infinite;

  box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   INNER CIRCLE
   ========================================================= */

.circle-wrapper::after {
  content: "";

  position: absolute;

  width: 58%;
  height: 58%;

  top: 21%;
  left: 21%;

  background: linear-gradient(135deg, #93aee5, #7fa0de);

  border-radius: 50%;

  z-index: 1;
}

/* =========================================================
   CENTER CONTENT
   ========================================================= */

.circle-center {
  position: absolute;

  width: 54%;
  height: 54%;

  top: 23%;
  left: 23%;

  border-radius: 50%;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center;

  z-index: 2;
}

/* 10+ */

.exp-number {
  font-size: 72px;

  line-height: 1;

  font-weight: 900;

  white-space: nowrap;

  background: linear-gradient(180deg, #0b0a24, #1a192f);

  background-clip: text;
  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  text-shadow: 0 10px 25px #5d6cb6;
}

/* Years Experience */

.exp-text {
  font-size: 20px;

  letter-spacing: 0.5px;

  color: #0b0a24;

  text-align: center;

  font-weight: bold;

  white-space: nowrap;

  margin-top: 5px;
}

/* =========================================================
   CIRCLE TEXT
   ========================================================= */

.circle-text {
  position: absolute;

  width: 105px;

  text-align: center;

  font-size: 14px;

  line-height: 1.1;

  font-weight: 700;

  color: #0b0a24;

  z-index: 3;

  /* prevents letters from breaking strangely */
  word-break: normal;
  overflow-wrap: normal;
}

/* =========================================================
   DESKTOP TEXT POSITIONS
   ========================================================= */

/* Detailed Engineering */

.text1 {
  top: 50px;

  left: 50%;

  transform: translateX(-50%);
}

/* Project Management */

.text2 {
  top: 185px;

  right: 10px;
}

/* Support */

.text3 {
  bottom: 75px;

  right: 70px;
}

/* Automation */

.text4 {
  bottom: 75px;

  left: 70px;
}

/* Implementation */

.text5 {
  top: 185px;

  left: 10px;
}

/* =========================================================
   ROTATION
   ========================================================= */

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   RIGHT SIDE
   ========================================================= */

.experience-right {
  flex: 1;

  min-width: 320px;

  margin-right: -80px;
}

.experience-right p {
  font-size: 18px;

  font-weight: 600;

  line-height: 1.8;

  margin-bottom: 40px;

  color: #0b0a24;

  font-family: "Helvetica", "Arial", sans-serif;
}

/* =========================================================
   PROFILE IMAGE
   ========================================================= */

.profile-image-box {
  position: relative;

  border-radius: 20px;

  overflow: hidden;

  max-width: 550px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.profile-image-box img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: 0.8s ease;
}

/* Dark overlay */

.profile-image-box::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Hover */

.profile-image-box:hover img {
  transform: scale(1.08);
}

/* =========================================================
   PROFILE BUTTON
   ========================================================= */

.profile-btn {
  position: absolute;

  bottom: 30px;
  left: 30px;

  z-index: 2;

  background: linear-gradient(135deg, #ff8c00, #ff5e00);

  color: #0b0a24;

  border: none;

  padding: 14px 32px;

  font-size: 16px;

  font-weight: 600;

  border-radius: 50px;

  cursor: pointer;

  transition: 0.3s ease;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.profile-btn:hover {
  transform: scale(1.08) translateY(-3px);

  box-shadow: 0 10px 25px rgba(255, 94, 0, 0.6);
}

/* =========================================================
   RESPONSIVE EXPERIENCE SECTION
   ========================================================= */

/* =========================================================
   TABLET - UP TO 992px
   ========================================================= */

@media (max-width: 992px) {
  .experience-section {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 50px 20px;
    gap: 45px;

    overflow: hidden;
  }

  /* LEFT */

  .experience-left {
    width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 0;

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

  /* CIRCLE */

  .circle-wrapper {
    width: 350px;
    height: 350px;

    max-width: 92vw;
    max-height: 92vw;

    margin: 0 auto;

    position: relative;
    flex-shrink: 0;
  }

  /* OUTER RING */

  .circle-ring {
    width: 100%;
    height: 100%;

    inset: 0;

    border-radius: 50%;

    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
  }

  /* INNER CIRCLE */

  .circle-wrapper::after {
    width: 55%;
    height: 55%;

    top: 22.5%;
    left: 22.5%;
  }

  /* CENTER */

  .circle-center {
    width: 51%;
    height: 51%;

    top: 24.5%;
    left: 24.5%;
  }

  .exp-number {
    font-size: 55px;
    line-height: 1;
  }

  .exp-text {
    font-size: 14px;
    margin-top: 5px;
  }

  /* =======================================================
     CIRCLE TEXT
     ======================================================= */

  .circle-text {
    width: 68px;

    font-size: 9px;
    line-height: 1.08;

    font-weight: 700;

    text-align: center;

    word-break: normal;
    overflow-wrap: normal;

    z-index: 3;
  }

  /* Detailed Engineering */

  .text1 {
    top: 45px;
    left: 50%;

    transform: translateX(-50%);
  }

  /* Project Management */

  .text2 {
    top: 143px;
    right: 8px;
  }

  /* Support */

  .text3 {
    bottom: 45px;
    right: 25px;
  }

  /* Automation */

  .text4 {
    bottom: 45px;
    left: 25px;
  }

  /* Implementation */

  .text5 {
    top: 143px;
    left: 8px;
  }

  /* =======================================================
     RIGHT SIDE
     ======================================================= */

  .experience-right {
    width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 0 10px;

    text-align: center;
  }

  .experience-right p {
    font-size: 17px;
    line-height: 1.6;

    margin-bottom: 25px;
  }

  /* IMAGE */

  .profile-image-box {
    width: 100%;
    max-width: 550px;

    margin: 0 auto;

    border-radius: 18px;
  }

  .profile-image-box img {
    width: 100%;
    height: auto;

    display: block;
  }

  /* BUTTON */

  .profile-btn {
    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    padding: 12px 25px;

    font-size: 14px;

    white-space: nowrap;
  }

  .profile-btn:hover {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* =========================================================
   MOBILE - 444px / 480px
   ========================================================= */

@media (max-width: 480px) {
  .experience-section {
    width: 100%;

    padding: 35px 0;

    gap: 30px;

    overflow: hidden;
  }

  .experience-left {
    width: 100%;

    margin: 0 !important;
    padding: 0;

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

  /* =======================================================
     CIRCLE
     ======================================================= */

  .circle-wrapper {
    width: 340px;
    height: 340px;

    max-width: 94vw;
    max-height: 94vw;

    margin: 0 auto;

    position: relative;
  }

  /* =======================================================
     OUTER RING
     ======================================================= */

  .circle-ring {
    position: absolute;

    width: 100%;
    height: 100%;

    inset: 0;

    border-radius: 50%;

    background: conic-gradient(
      #207ac9 0deg 72deg,
      #517fc8 72deg 144deg,
      #a6b7e3 144deg 216deg,
      #87b1f4 216deg 288deg,
      #a0c9ff 288deg 360deg
    );

    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
  }

  /* =======================================================
     INNER CIRCLE
     ======================================================= */

  .circle-wrapper::after {
    content: "";

    position: absolute;

    width: 56%;
    height: 56%;

    top: 22%;
    left: 22%;

    background: linear-gradient(135deg, #93aee5, #7fa0de);

    border-radius: 50%;

    z-index: 1;
  }

  /* =======================================================
     CENTER
     ======================================================= */

  .circle-center {
    position: absolute;

    width: 52%;
    height: 52%;

    top: 24%;
    left: 24%;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    z-index: 2;
  }

  .exp-number {
    font-size: 50px;

    line-height: 1;

    white-space: nowrap;
  }

  .exp-text {
    font-size: 13px;

    line-height: 1.2;

    margin-top: 5px;

    white-space: nowrap;
  }

  /* =======================================================
     OUTER TEXT
     ======================================================= */

  .circle-text {
    position: absolute;

    width: 72px;

    font-size: 9px;

    line-height: 1.08;

    font-weight: 700;

    text-align: center;

    color: #0b0a24;

    z-index: 3;

    white-space: normal;

    word-break: normal;

    overflow-wrap: normal;
  }

  /* =======================================================
     1 - DETAILED ENGINEERING
     ======================================================= */

  .text1 {
    top: 42px;

    left: 50%;

    transform: translateX(-50%);
  }

  /* =======================================================
     2 - PROJECT MANAGEMENT
     ======================================================= */

  .text2 {
    top: 137px;

    right: 5px;
  }

  /* =======================================================
     3 - SUPPORT
     ======================================================= */

  .text3 {
    bottom: 62px;

    right: 45px;
  }

  /* =======================================================
     4 - AUTOMATION
     ======================================================= */

  .text4 {
    bottom: 62px;

    left: 45px;
  }

  /* =======================================================
     5 - IMPLEMENTATION
     ======================================================= */

  .text5 {
    top: 137px;

    left: 5px;
  }

  /* =======================================================
     RIGHT SIDE
     ======================================================= */

  .experience-right {
    width: 100%;

    min-width: 0;

    margin: 0 !important;

    padding: 0 15px;

    text-align: center;
  }

  .experience-right p {
    font-size: 15px;

    line-height: 1.55;

    padding: 0 5px;
  }

  .profile-image-box {
    width: 100%;

    max-width: 550px;

    margin: auto;
  }

  .profile-image-box img {
    width: 100%;
    height: auto;
  }
}

/* =========================================================
   SMALL PHONES - 380px
   ========================================================= */

@media (max-width: 380px) {
  .circle-wrapper {
    width: 310px;
    height: 310px;

    max-width: 94vw;
    max-height: 94vw;
  }

  .circle-text {
    width: 62px;

    font-size: 8px;

    line-height: 1.05;
  }

  /* Detailed Engineering */

  .text1 {
    top: 38px;
  }

  /* Project Management */

  .text2 {
    top: 125px;
    right: 3px;
  }

  /* Support */

  .text3 {
    bottom: 39px;
    right: 15px;
  }

  /* Automation */

  .text4 {
    bottom: 39px;
    left: 15px;
  }

  /* Implementation */

  .text5 {
    top: 125px;
    left: 3px;
  }

  .exp-number {
    font-size: 45px;
  }

  .exp-text {
    font-size: 12px;
  }
}

/* =========================================================
   VERY SMALL PHONES - 320px
   ========================================================= */

@media (max-width: 320px) {
  .circle-wrapper {
    width: 285px;
    height: 285px;
  }

  .circle-text {
    width: 56px;

    font-size: 7px;

    line-height: 1.03;
  }

  .text1 {
    top: 35px;
  }

  .text2 {
    top: 115px;
    right: 2px;
  }

  .text3 {
    bottom: 35px;
    right: 10px;
  }

  .text4 {
    bottom: 35px;
    left: 10px;
  }

  .text5 {
    top: 115px;
    left: 2px;
  }

  .exp-number {
    font-size: 41px;
  }

  .exp-text {
    font-size: 11px;
  }
}
/* ================= COMMITMENT SECTION ================= */

.commitment-section {
  width: 100%;
  padding: 90px 8%;
  background: #fbfbfd;
  color: #0b0a24;
}

.commitment-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 70px;
  flex-wrap: wrap;
}

/* LEFT SIDE */

.commitment-left {
  flex: 1;
  min-width: 320px;
  position: relative;
}

.quote-wrapper {
  position: relative;
  margin-top: 40px;
}

/* Director Image */

.director-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 2;
}

.director-image img {
  width: 180px;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
}

/* Quote Box */

.commitment-box {
  margin-left: 200px;
  height: 100%;
  max-height: 600px;
  padding: 30px 30px 30px 80px;
  background: linear-gradient(135deg, #bdc3d5, #bbc7dd);
  border-left: 4px solid #e6e7ea;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: 0.8s ease;
}

/* Speech Triangle */

.commitment-box::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: 45px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid #e6e7ea;
}

/* Hover */

.commitment-box:hover {
  transform: translateY(-6px);
  border-left: 4px solid #ff5e00;
}

/* Quote Text */

.quote {
  font-size: 15px;
  line-height: 1.7;
  color: #0b0a24;
  font-weight: bolder;
}

.author {
  margin-top: 20px;
  font-weight: bold;
  color: #0b0a24;
}

/* RIGHT SIDE */

.commitment-right {
  flex: 1;
  min-width: 320px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Responsive */

@media (max-width: 992px) {
  .director-image {
    position: relative;
    margin-bottom: 20px;
  }

  .commitment-box {
    margin-left: 0;
    padding: 25px;
  }

  .commitment-box::before {
    display: none;
  }
}

/* ================= RIGHT SIDE ================= */

.commitment-right {
  flex: 1;
  min-width: 320px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card {
  background: linear-gradient(135deg, #bdc3d5, #bbc7dd);
  color: #0b0a24;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid transparent;
  margin-top: 40px;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-bottom: 6px solid #ff5e00;
}

.icon {
  font-size: 38px;
  margin-bottom: 10px;
  color: #3b82f6;
}

.feature-card h4 {
  margin-bottom: 5px;
  font-size: 16px;
  color: #0b0a24;
}

.feature-card p {
  font-size: 15px;
  color: #0b0a24;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .commitment-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .director-image {
    position: static;
    margin-top: 80px;
  }
}

/* ==========================
   TEAM SECTION
========================== */

.team-section {
  padding: 80px 5%;
  background: #fafafa;
}

.team-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #16345d;
  margin-bottom: 50px;
}

/* ==========================
   TEAM GRID
========================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================
   TEAM CARD
========================== */

.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-card img {
  width: 100%;
  height: 320px; /* Reduce from 360px */
  object-fit: contain;
  background: #f5f5f5;
  display: block;
}

.team-info {
  padding: 12px 15px;
  text-align: center;
}

.member-name {
  margin: 0;
  color: #16345d;
  font-size: 22px;
  font-weight: 700;
}

.member-designation {
  margin-top: 6px;
  color: #ff7a00;
  font-size: 16px;
  font-weight: 600;
}

/* Hidden content */

.member-popup {
  display: none;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   MODAL
========================== */

.team-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.65);

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

  padding: 20px;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;

  z-index: 99999;
}

.team-modal.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================
   MODAL BOX
========================== */

.team-modal-box {
  width: 900px;
  max-width: 95%;
  max-height: 90vh;

  overflow-y: auto;

  background: #fff;

  border-radius: 20px;

  padding: 35px;

  position: relative;

  animation: popup 0.35s ease;
}

@keyframes popup {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================
   CLOSE BUTTON
========================== */

.close-btn {
  position: absolute;

  right: 20px;
  top: 20px;

  width: 45px;
  height: 45px;

  border: none;

  border-radius: 50%;

  background: #ff7a00;

  color: #fff;

  font-size: 30px;

  cursor: pointer;

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

  transition: 0.3s;
}

.close-btn:hover {
  background: #16345d;
}

/* ==========================
   MODAL CONTENT
========================== */

#modalContent {
  display: flex;
  gap: 35px;
  align-items: flex-start;
}

#modalContent img {
  width: 280px;
  height: 330px;

  object-fit: cover;

  border-radius: 18px;

  flex-shrink: 0;
}

/* ==========================
   MEMBER DETAILS
========================== */

.member-details {
  flex: 1;
}

.member-details h3 {
  margin: 0;

  font-size: 32px;

  color: #16345d;
}

.member-details h5 {
  margin: 10px 0 20px;

  font-size: 20px;

  color: #ff7a00;
}

.member-details p {
  font-size: 16px;

  line-height: 1.8;

  color: #555;

  margin-bottom: 25px;

  text-align: justify;
}

.member-details ul {
  list-style: none;

  padding: 0;
  margin: 0;
}

.member-details li {
  padding: 12px 0;

  border-bottom: 1px solid #eee;

  font-size: 16px;
}

.member-details strong {
  color: #16345d;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #modalContent {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #modalContent img {
    width: 220px;
    height: 260px;
  }

  .member-details p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card img {
    height: 240px;
  }

  .team-modal-box {
    padding: 25px;
  }

  .member-details h3 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  #modalContent img {
    width: 180px;
    height: 220px;
  }

  .close-btn {
    width: 38px;
    height: 38px;

    font-size: 24px;
  }
}
