/*theme effects*/
body.theme-dark .resolution-wrapper-container,
body.theme-yellow .resolution-wrapper-container,
body.theme-cyan .resolution-wrapper-container,
body.theme-red .resolution-wrapper-container {
  background-image: none;
}

body.theme-dark .raising-container::after,
body.theme-dark .raising-container::before,
body.theme-yellow .raising-container::after,
body.theme-yellow .raising-container::before,
body.theme-cyan .raising-container::after,
body.theme-cyan .raising-container::before,
body.theme-red .raising-container::after,
body.theme-red .raising-container::before {
  display: none;
  content: none;
}

/*section 1*/
.introduction-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-wrapper {
  max-width: 1440px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 50px clamp(50px, 7vw, 100px);
  gap: clamp(50px, 11.32vw, 163px);
  margin: 0 auto;
}

.intro-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 610px;
}

.intro-txt h2 {
  color: var(--alltyDark-blue-yellow);
}

.intro-img {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 454px;
}

.intro-img img {
  min-width: 256px;
  width: 31.75vw;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 1024.98px) {
  .intro-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 50px 40px;
    gap: 32px;
  }
  .intro-txt {
    text-align: center;
    max-width: 100%;
    gap: 18px;
  }
  .intro-txt p {
    font-size: 1.2rem;
  }
  .intro-txt h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 769px) {
  .intro-txt p {
    font-size: 1.286rem;
  }
  .intro-txt h2 {
    font-size: 2.286rem;
  }
}

@media (max-width: 480px) {
  .intro-wrapper {
    gap: 24px;
    padding: 36px 24px;
  }

  .intro-txt p {
    font-size: 1.333rem;
  }
}
/* section 2 */
.raising-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--blue-bg);
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.raising-container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 540px;
  max-height: 540px;
  background: radial-gradient(
    circle,
    rgba(47, 109, 255, 1) 0%,
    rgb(34, 86, 208, 0.3) 40%
  );
  border-radius: 40%;
  filter: blur(60px);
  top: -160px;
  left: -240px;
  z-index: 0;
  overflow-x: hidden;
  pointer-events: none;
}
.raising-container::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 540px;
  max-height: 540px;
  background: radial-gradient(
    circle,
    rgba(47, 109, 255, 1) 0%,
    rgb(34, 86, 208, 0.3) 40%
  );
  border-radius: 40%;
  filter: blur(80px);
  right: -160px;
  bottom: -160px;
  z-index: 1;
  overflow-y: hidden;
  pointer-events: none;
}
.raising-wrapper-container {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px clamp(50px, 9.31vw, 134px);
  gap: clamp(5px, 2.4vw, 34px);
  align-items: center;
  z-index: 3;
}

.qtnMark-image {
  display: flex;
  align-items: flex-start;
}
.qtnMark-image img {
  object-fit: contain;
  width: clamp(210px, 21.2vw, 316px);
  height: auto;
}
.resolving-box {
  background-color: var(--standerd-white);
  border-radius: 12px;
  border: 1px solid var(--blue-border);
  padding: 42px 51px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* Shadow setup */
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 -8px 16px rgba(0, 0, 0, 0.2),
    inset 8px 0 16px rgba(0, 0, 0, 0.2),
    inset -8px 0 16px rgba(0, 0, 0, 0.2);
}

.box-para {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.box-para p {
  text-transform: capitalize;
  line-height: 34px;
}

@media (max-width: 1240px) {
  .raising-wrapper-container {
    align-items: flex-start;
  }
  .resolving-box {
    text-align: center;
    padding: 40px 28px;
  }
}
@media (max-width: 1024.98px) {
  .raising-wrapper-container {
    padding: 50px 40px;
    gap: 5px;
  }
  .resolving-box {
    padding: 40px 26px;
  }
  .resolving-box h2 {
    font-size: 2.2rem;
  }
  .box-para {
    gap: 8px;
  }
  .box-para p {
    font-size: 1.28rem;
  }
}
@media (max-width: 769px) {
  .resolving-box h2 {
    font-size: 2.286rem;
  }
  .box-para p {
    font-size: 1.286rem;
  }
}
@media (max-width: 767.98px) {
  .raising-wrapper-container {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .raising-wrapper-container {
    padding: 36px 24px;
  }
  .resolving-box {
    gap: 19px;
    padding: 36px 24px;
  }
  .box-para p {
    font-size: 1.333rem;
  }
}
/* section 3*/
.process-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.process-wrapper {
  max-width: 1440px;
  width: 100%;
  padding: 50px 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process-wrapper h2 {
  text-align: center;
  color: var(--standerd-black);
}

.process-cards {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.process-card {
  flex: 1;
  padding: 24px 30px;
  border-radius: 12px;
  background-color: var(--standerd-white);
  border: 1px solid var(--blue-border);
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.process-card img {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.process-txt {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process-txt h3 {
  text-transform: capitalize;
  margin: 0;
}

.process-txt p {
  text-transform: capitalize;
  margin: 0;
  line-height: 34px;
}

@media (max-width: 1024.98px) {
  .process-wrapper {
    padding: 50px 40px;
  }
  .process-wrapper h2 {
    font-size: 2.286rem;
  }
  .process-cards {
    flex-direction: column;
  }
  .process-txt h3 {
    font-size: 1.5rem;
  }
  .process-txt p {
    font-size: 1.28rem;
  }
}
@media (max-width: 769px) {
  .process-txt h3 {
    font-size: 1.716rem;
  }
  .process-txt p {
    font-size: 1.286rem;
  }
}

@media (max-width: 580px) {
  .process-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .process-wrapper {
    padding: 36px 24px;
  }
  .process-wrapper h2 {
    font-size: 2.5rem;
  }
  .process-card {
    gap: 12px;
    padding: 25px;
  }
  .process-card p {
    font-size: 1.334rem;
  }
  .process-txt {
    gap: 12px;
  }
}
/* section 4 */
/* FULL WIDTH BLUE SECTION */
.resolution--introduction {
  width: 100%;
  margin: 0 auto; /* spacing comes from section, not wrapper */
}

/* 1240px CENTERED WRAPPER (NO PADDING) */
.resolution-wrapper-container {
  height: clamp(309px, 24.7vw, 356px);
  max-width: 1240px;
  margin: 0 auto;
  margin-top: 100px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--blue-bg);
  border-radius: 12px;
}

.resolution-wrapper-container {
  background-image:
    url("../../assets/images/elips-top-blur.png"),
    url("../../assets/images/Ellipse-blur.png");

  background-repeat: no-repeat, no-repeat;
  background-position:
    top right,
    bottom left;
  background-size:
    100% 100%,
    100% 100%;
}
/* LEFT IMAGE */
.intro-left {
  flex: 1;
}

.intro-left img {
  margin-left: clamp(50px, 5.5vw, 80px);
  width: clamp(168px, 17.6vw, 253px);
  height: auto;
  display: block;
}

/* RIGHT CARD */
.intro-card {
  display: flex;
  flex-direction: column;
  width: clamp(493px, 43.7vw, 629px);
  background: var(--standerd-white);
  border-radius: 8px;
  padding: 30px 35px;
  gap: 26px;
  margin-left: auto;
  border: 1px solid var(--blue-border);
  position: relative;
  top: -100px;
  left: -60px; /* lifts card above blue section */
}

/* TEXT */
.intro-card h2 {
  font-weight: 700;
  color: var(--alltyDark-blue-yellow);
}

.intro-card p {
  text-transform: capitalize;
  line-height: 34px;
}

@media (max-width: 1024.98px) {
  .resolution-wrapper-container {
    margin-top: 120px;
  }
  .intro-card {
    padding: 18px 20px;
    left: -40px;
  }
  .intro-card h2 {
    font-size: 2.2rem;
  }
  .intro-card p {
    font-size: 1.28rem;
  }
}

@media (max-width: 769px) {
  .intro-card h2 {
    font-size: 2.286rem;
  }
  .intro-card p {
    font-size: 1.286rem;
  }
}

@media (max-width: 767.98px) {
  .resolution-wrapper-container {
    padding: 0 24px;
    align-items: center;
    justify-content: end;
    flex-direction: column-reverse;
    height: auto;
    margin-top: 280px;
  }
  .intro-card {
    width: clamp(190px, 87vw, 492px);
    margin: 0 24px;
    text-align: center;
    top: -280px;
    left: 0;
    padding: 18px 14px;
    gap: 12px;
  }
  .intro-left img {
    margin: 0;
    margin-top: -250px;
  }
}
@media (max-width: 480px) {
  .intro-card p {
    font-size: 1.333rem;
  }
}

/* section 5 */
.complaints-data {
  width: 100%;
  margin: 0 auto;
}
.complaints-data-wrapper {
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 50px);
  padding: 50px 100px;
  margin: 0 auto;
}

.data-table {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
/* Wrapper for overflow safety */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

/* Table base */
.complaint-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
}

/* Header */
.complaint-table thead th {
  background: var(--blue-bg); /* deep blue */
  color: var(--white-text);
  font-size: 1.112rem;
  font-weight: 500;
  padding: 18px 10px;
  width: 248px;
  text-align: center;
}

/* Body cells */
.complaint-table tbody td {
  padding: 18px 10px;
  text-align: center;
  border-bottom: 1px solid var(--standerd-grey);
}

/* First column left aligned */
.complaint-table tbody td:first-child {
  text-align: center;
  padding-left: 24px;
}

@media (max-width: 1024.98px) {
  .complaints-data-wrapper {
    gap: 24px;
    padding: 50px 40px;
  }
  .complaints-data-wrapper p {
    font-size: 1.28rem;
  }
  .complaints-data-wrapper h2 {
    font-weight: 600;
    font-size: 2.286rem;
  }
  .complaint-table thead th {
    font-size: 1.286rem;
  }
  .complaint-table tbody tr td {
    font-size: 1.286rem;
    min-width: 75px;
  }
  .data-table {
    gap: 18px;
  }
}

/* Pixel-perfect styles for 640px screens */
@media (max-width: 640px) {
  .complaint-table {
    display: flex;
    border-collapse: collapse;
    width: 100%;
    /* Removes standard table behavior to allow the 'flipped' look */
  }

  .complaint-table thead {
    display: block;
    flex: 0 0 30%; /* Adjusts the width of the dark blue sidebar */
  }

  .complaint-table tbody {
    display: flex;
    flex: 1;
    overflow-x: auto; /* Allows horizontal scrolling if you have many months */
    scroll-behavior: smooth;
  }

  .complaint-table tr {
    display: flex;
    flex-direction: column; /* Stacks the cells vertically */
    flex: 1;
    min-width: 75px; /* Ensures columns don't get too squashed */
  }

  /* The Dark Blue Sidebar (Headers) */
  .complaint-table th {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 8px;
    height: 50px; /* Matches the "Hug" height */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-sizing: border-box;
  }
  .complaint-table thead th {
    width: auto;
    min-width: 100px;
    padding: 12px 8px;
  }

  .complaint-table tbody td {
    padding: 12px 8px;
    align-items: center;
    justify-content: center;
    min-width: 60px;
  }
  .complaint-table tbody td:first-child {
    text-align: center;
    padding-left: 8px;
    min-width: 75px;
  }
  /* The Pink Data Columns */
  .complaint-table td {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 12px 8px;
    height: 50px;
    border-bottom: 1px solid var(--standerd-grey);
    border-right: 1px solid var(--standerd-grey); /* Subtle column separation */
    box-sizing: border-box;
  }

  /* Clean up borders */
  .complaint-table th:last-child,
  .complaint-table td:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .complaints-data-wrapper {
    padding: 36px 24px;
  }
  .complaints-data-wrapper h2 {
    font-weight: 600;
    font-size: 2.5rem;
  }
  .complaints-data-wrapper p {
    font-size: 1.333rem;
  }
}

/* section 6*/
/* ===== SECTION ===== */
.ctn-profile-container {
  width: 100%;
  background: var(--blue-bg);
  margin-bottom: 50px;
}

/* ===== WRAPPER ===== */
.profile-wrapper-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px clamp(50px, 7.94vw, 114px);
  display: flex;
  gap: 69px;
  align-items: stretch;
}

/* ===== LEFT PROFILE CARD ===== */
.profile-dtls {
  max-width: 573px;
  flex: 1.2;
  background: var(--standerd-white);
  border-radius: 16px;
  padding: 64px 50px;
  display: flex;
  gap: 24px;
}

/* PROFILE IMAGE */
.profile-dtls img {
  max-width: 238px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* PROFILE TEXT */
.dtls-info h3 {
  font-size: 1.667rem;
  font-weight: 600;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-info a {
  font-size: 18px;
  text-decoration: none;
}

/* ===== RIGHT COLUMN ===== */
.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 566px;
}

/* EMAIL + PHONE CARDS */
.email-addrs,
.phone-num {
  background: var(--standerd-white);
  border-radius: 16px;
  padding: 36px 70px;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* ICONS */
.email-addrs svg,
.phone-num svg {
  flex-shrink: 0;
  color: var(--blue-txt);
}

/* TEXT */
.mail-dtls,
.num-dtls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mail-dtls h3,
.num-dtls h3 {
  font-size: 1.667rem;
  font-weight: 600;
  color: #000000;
}

.mail-dtls p,
.num-dtls p {
  line-height: 34px;
}

@media (max-width: 1281px) {
  .profile-wrapper-container {
    flex-direction: column;
  }
  .profile-dtls {
    max-width: 100%;
  }
  .contact-details {
    max-width: 100%;
  }
}

@media (max-width: 1024.98px) {
  .profile-dtls {
    gap: 22px;
    padding: 40px;
  }
  .profile-wrapper-container {
    gap: 24px;
    padding: 50px 40px;
  }
  .contact-details {
    gap: 24px;
  }
  .dtls-info h3 {
    font-weight: 600;
    font-size: 2.15rem;
    margin-bottom: 24px;
  }
  .email-addrs,
  .phone-num {
    padding: 18px;
    padding-left: 22px;
  }
  .mail-dtls h3,
  .num-dtls h3 {
    font-size: 2.15rem;
  }
  .mail-dtls p,
  .num-dtls p {
    font-size: 1.286rem;
  }
}

@media (max-width: 769px) {
  .ctn-profile-container {
    margin-bottom: 20px;
  }
  .profile-wrapper-container {
    gap: 18px;
  }
  .contact-details {
    gap: 18px;
  }
}

@media (max-width: 581px) {
  .profile-dtls {
    align-items: center;
    flex-direction: column;
    gap: 18px;
  }
  .dtls-info h3 {
    text-align: center;
    margin-bottom: 18px;
  }
  .email-addrs svg,
  .phone-num svg {
    width: 38px;
    height: auto;
  }
  .contact-info {
    margin-bottom: 6px;
  }
  .email-addrs,
  .phone-num {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .profile-wrapper-container {
    padding: 36px 24px;
  }
  .profile-dtls {
    padding: 18px 40px;
  }
  .email-addrs,
  .phone-num {
    padding-left: 18px;
  }
  .mail-dtls,
  .num-dtls {
    gap: 12px;
  }
  .mail-dtls p,
  .num-dtls p {
    font-size: 1.333rem;
  }
}
