/* ==========================================================================
   FOX LAB - Core CSS Stylesheet
   ========================================================================== */

/* Font imports */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #5835f2;
  --primary-hover: #4b2ecc;
  --primary-active: #2e1bb5;
  --base-color: #4b5563;
  --heading-color: #111827;
  --light-color: #f9fafb;
  --border-color: #e5e7eb;
  --base-font: "Inter", system-ui, -apple-system, sans-serif;
  --heading-font: "Playfair Display", Georgia, serif;
}

body {
  color: var(--base-color);
  font-size: 19px;
  font-family: var(--base-font);
  line-height: 1.6;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font) !important;
  font-weight: 700 !important;
  color: var(--heading-color);
}

p {
  line-height: 33px !important;
  color: var(--base-color) !important;
}

a {
  transition:
    color 0.3s ease,
    border 0.3s ease,
    background 0.3s ease;
  text-decoration: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
  transition: background 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active {
  background: var(--primary-active);
}

html,
body {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #ffffff;
}

/* SVGs and Font Awesome icons global style */
svg,
i {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

i.featureIcon {
  font-size: 55px;
  height: 55px;
  width: 55px;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

/* ===== REUSABLE LAYOUT COMPONENTS ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.container-wide {
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.container-blog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Titles */
.section-title {
  margin-bottom: 40px;
  text-align: left;
}

.section-title.center {
  text-align: center;
}

.section-title .sub-title {
  line-height: 1;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 15px;
  background: #f3f1fe;
  display: inline-block;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--primary-color) !important;
}

.section-title h1,
.section-title h2 {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  letter-spacing: -0.5px;
}

/* Dynamic Font Sizes for Headings on Mobile */
@media (max-width: 768px) {
  .section-title h1,
  .section-title h2 {
    font-size: 28px;
  }
}

/* Lead text style */
.custom-lead-text {
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.4 !important;
  color: #4b5563 !important;
}

.core-text {
  color: #ffffff !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.4 !important;
}

/* ===== PRELOADER & SPINNER ===== */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loadingspinner {
  --square: 26px;
  --offset: 30px;
  --duration: 2.4s;
  --delay: 0.2s;
  --timing-function: ease-in-out;
  --in-duration: 0.4s;
  --in-delay: 0.1s;
  --in-timing-function: ease-out;
  width: calc(3 * var(--offset) + var(--square));
  height: calc(2 * var(--offset) + var(--square));
  position: relative;
  margin: 0 auto;
}

.loadingspinner div {
  display: inline-block;
  background: #ffffff;
  border: none;
  border-radius: 2px;
  width: var(--square);
  height: var(--square);
  position: absolute;
}

.loadingspinner #square1 {
  left: calc(0 * var(--offset));
  top: calc(0 * var(--offset));
  animation:
    square1 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(1 * var(--in-delay))
      var(--in-timing-function) both;
}

.loadingspinner #square2 {
  left: calc(0 * var(--offset));
  top: calc(1 * var(--offset));
  animation:
    square2 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(1 * var(--in-delay))
      var(--in-timing-function) both;
}

.loadingspinner #square3 {
  left: calc(1 * var(--offset));
  top: calc(1 * var(--offset));
  animation:
    square3 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(2 * var(--in-delay))
      var(--in-timing-function) both;
}

.loadingspinner #square4 {
  left: calc(2 * var(--offset));
  top: calc(1 * var(--offset));
  animation:
    square4 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(3 * var(--in-delay))
      var(--in-timing-function) both;
}

.loadingspinner #square5 {
  left: calc(3 * var(--offset));
  top: calc(1 * var(--offset));
  animation:
    square5 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(4 * var(--in-delay))
      var(--in-timing-function) both;
}

/* Preloader background animation keyframes */
@keyframes square1 {
  0% {
    left: calc(0 * var(--offset));
    top: calc(0 * var(--offset));
  }
  8.333% {
    left: calc(0 * var(--offset));
    top: calc(1 * var(--offset));
  }
  100% {
    left: calc(0 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes square2 {
  0% {
    left: calc(0 * var(--offset));
    top: calc(1 * var(--offset));
  }
  8.333% {
    left: calc(0 * var(--offset));
    top: calc(2 * var(--offset));
  }
  16.67% {
    left: calc(1 * var(--offset));
    top: calc(2 * var(--offset));
  }
  25.00% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }
  83.33% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }
  91.67% {
    left: calc(1 * var(--offset));
    top: calc(0 * var(--offset));
  }
  100% {
    left: calc(0 * var(--offset));
    top: calc(0 * var(--offset));
  }
}

@keyframes square3 {
  0%,
  100% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }
  16.67% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }
  25.00% {
    left: calc(1 * var(--offset));
    top: calc(0 * var(--offset));
  }
  33.33% {
    left: calc(2 * var(--offset));
    top: calc(0 * var(--offset));
  }
  41.67% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }
  66.67% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }
  75.00% {
    left: calc(2 * var(--offset));
    top: calc(2 * var(--offset));
  }
  83.33% {
    left: calc(1 * var(--offset));
    top: calc(2 * var(--offset));
  }
  91.67% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes square4 {
  0% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }
  33.33% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }
  41.67% {
    left: calc(2 * var(--offset));
    top: calc(2 * var(--offset));
  }
  50.00% {
    left: calc(3 * var(--offset));
    top: calc(2 * var(--offset));
  }
  58.33% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }
  100% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes square5 {
  0% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }
  50.00% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }
  58.33% {
    left: calc(3 * var(--offset));
    top: calc(0 * var(--offset));
  }
  66.67% {
    left: calc(2 * var(--offset));
    top: calc(0 * var(--offset));
  }
  75.00% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }
  100% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes squarefadein {
  0% {
    transform: scale(0.75);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

body.loading-active {
  overflow: hidden !important;
}

body.loading-active nav,
body.loading-active header,
body.loading-active main,
body.loading-active footer {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ===== PREMIUM BUTTON STYLES ===== */
.theme-btn {
  cursor: pointer;
  font-weight: 600 !important;
  font-family: var(--base-font);
  font-size: 15px !important;
  letter-spacing: 0.05em;
  border-radius: 8px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: white;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(88, 53, 242, 0.1);
  text-decoration: none;
  z-index: 1;
}

.theme-btn span {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px !important;
  transition: color 0.4s;
  width: 100%;
  height: 100%;
  justify-content: center;
  color: var(--primary-color);
  font-size: 15px !important;
  font-weight: 600 !important;
}

.theme-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 130%;
  height: 100%;
  background: #ffffff;
  z-index: 1;
  transform: skew(-15deg);
  transition: transform 0.5s cubic-bezier(0.3, 1, 0.8, 1);
}

.theme-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(88, 53, 242, 0.2);
}

.theme-btn:hover::before {
  transform: translate3d(110%, 0, 0) skew(-15deg);
}

.theme-btn:hover span {
  color: #ffffff !important;
}

.theme-btn:active {
  transform: scale(0.95) translateY(-1px);
}

.theme-btn i,
.theme-btn svg {
  position: relative;
  z-index: 11;
  margin-left: 10px;
  font-size: 19px;
  color: var(--primary-color) !important;
  fill: var(--primary-color) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

.theme-btn:hover i,
.theme-btn:hover svg {
  transform: translateX(5px) rotate(10deg);
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Secondary Button Style: 'get-started' */
.theme-btn.get-started {
  background: #ffffff;
  border: 1px solid var(--primary-color);
}

.theme-btn.get-started::before {
  background: var(--primary-color);
}

.theme-btn.get-started span {
  color: #ffffff !important;
}

.theme-btn.get-started i,
.theme-btn.get-started svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.theme-btn.get-started:hover span {
  color: var(--primary-color) !important;
}

.theme-btn.get-started:hover i,
.theme-btn.get-started:hover svg {
  color: var(--primary-color) !important;
  fill: var(--primary-color) !important;
  transform: translateX(5px) rotate(10deg);
}

@media (max-width: 480px) {
  .theme-btn {
    width: 100% !important;
    max-width: 280px !important;
  }
  .theme-btn span {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
}

/* ===== STICKY NAVBAR ===== */
header {
  width: 100%;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

header.scrolled {
  padding: 10px 0;
  background: rgba(255, 254, 254, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  animation: dropIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-wrapper img {
  height: 50px;
  width: auto;
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-wrapper:hover img {
  animation: wiggle 0.6s ease;
}

/* Desktop Navigation Link List */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  color: #111827;
  font-weight: 500 !important;
  font-size: 15px !important;
  position: relative;
  padding: 5px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.desktop-nav a:hover {
  color: #5138ee;
}

.desktop-nav a.active {
  color: var(--primary-color) !important;
  font-weight: 900 !important;
}

.desktop-nav a.active::after {
  width: 100%;
}

.right-section {
  display: none;
  align-items: center;
}

.menu-icon-btn {
  font-size: 24px;
  cursor: pointer;
  color: #3e578e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.menu-icon-btn:hover {
  color: #5138ee;
}

@media only screen and (max-width: 991px) {
  .desktop-nav {
    display: none;
  }
  .right-section {
    display: flex;
  }
}

/* Mobile Menu Dropdown */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #f8f8f8;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  max-height: 450px;
}

.mobile-menu a {
  padding: 15px 25px;
  color: #000000;
  font-weight: 500 !important;
  font-size: 15px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: #5138ee;
  padding-left: 30px;
  background: rgba(0, 0, 0, 0.02);
}

.mobile-menu a.active {
  color: var(--primary-color) !important;
  font-weight: 900 !important;
  background: rgba(88, 53, 242, 0.05);
}

/* Clock & Live Info Pill in Nav */
.date-time-container {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(88, 53, 242, 0.05);
  border: 1px solid rgba(88, 53, 242, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 15px;
  transition: all 0.3s ease;
  user-select: none;
}

.date-time-container:hover {
  background: rgba(88, 53, 242, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 53, 242, 0.08);
}

.date-time-container span {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}

.date-time-container .clock {
  font-size: 12px !important;
  color: var(--primary-color) !important;
  margin-right: 4px;
  margin-left: 2px;
}

.date-time-container:hover .clock {
  animation: clockWiggle 0.6s ease;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: pulseGlow 2s infinite ease-in-out;
}

.mobile-date-time {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(88, 53, 242, 0.05);
  border: 1px solid rgba(88, 53, 242, 0.12);
  padding: 6px 12px;
  border-radius: 8px;
  margin: 15px 25px;
  align-self: flex-start;
  user-select: none;
}

.mobile-date-time span {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}

.mobile-date-time .clock {
  font-size: 13px !important;
  color: var(--primary-color) !important;
  margin-right: 4px;
  margin-left: 2px;
}

/* Animations for clock wiggles */
@keyframes clockWiggle {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(15deg);
  }
  30% {
    transform: rotate(-15deg);
  }
  45% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(5deg);
  }
  30% {
    transform: rotate(-5deg);
  }
  45% {
    transform: rotate(4deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes dropIn {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== DECORATIVE BACKGROUND SHAPES ===== */
.bg-shape {
  position: absolute;
  height: auto;
  z-index: -1;
  opacity: 0.6;
  animation: floatShape 20s infinite linear;
  pointer-events: none;
}

.bg-shape.dots {
  left: 5%;
  top: 20%;
  width: 52px;
}
.bg-shape.triangle {
  left: 10%;
  bottom: 15%;
  width: 17px;
}
.bg-shape.close {
  right: 10%;
  top: 15%;
  width: 10px;
}
.bg-shape.circle {
  right: 5%;
  bottom: 20%;
  width: 18px;
}

/* For pages with custom shapes */
.background-shape {
  position: absolute;
  height: auto;
  z-index: -1;
  opacity: 0.6;
  animation: floatShape 20s infinite linear;
  pointer-events: none;
}
.background-shape.dots {
  left: 5%;
  top: 10%;
  width: 50px;
}
.background-shape.triangle {
  left: 8%;
  bottom: 15%;
  width: 15px;
}
.background-shape.close {
  right: 10%;
  top: 15%;
  width: 10px;
}
.background-shape.circle {
  right: 5%;
  bottom: 20%;
  width: 12px;
}

@keyframes floatShape {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(90deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(180deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(360deg);
  }
}

/* ===== MODAL DIALOG STYLING ===== */
dialog {
  border: none;
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: white;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
}

dialog .working-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin: 0 auto 25px;
  display: block;
}

dialog .close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
  color: #94a3b8;
  transition: all 0.3s ease;
  padding: 5px;
}

dialog .close-icon:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

dialog h1 {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

dialog p {
  color: var(--base-color);
  font-size: 17px;
  margin-bottom: 30px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  dialog {
    padding: 35px 30px;
    max-width: 450px;
  }
  dialog h1 {
    font-size: 24px;
  }
  dialog p {
    font-size: 16px;
  }
  dialog .working-img {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  dialog {
    padding: 30px 20px;
    width: 92%;
  }
  dialog h1 {
    font-size: 22px;
  }
  dialog p {
    font-size: 15px;
    margin-bottom: 25px;
  }
  dialog .working-img {
    max-width: 260px;
  }
}

/* ===== INDEX PAGE HERO SECTION ===== */
.hero-section {
  position: relative;
  padding: 50px 0 60px;
  z-index: 2;
  overflow: hidden;
}

.hero-section .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-section h1 {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--heading-color);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-section h1 span {
  color: var(--primary-color);
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
}

.hero-section p {
  font-size: 18.62px;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  color: var(--base-color);
  max-width: 500px;
  margin-bottom: 35px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-image {
  animation: fadeInRight 0.8s ease-out forwards;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  animation: floatIllustration 8s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(88, 53, 242, 0.08));
}

.hero-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media (max-width: 991px) {
  .hero-section .grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-section p {
    margin: 0 auto 35px;
  }
  .hero-btn-wrapper {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 40.32px;
  }
}

@media (max-width: 480px) {
  .hero-btn-wrapper {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatIllustration {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* ===== PARTNERS LOGO MARQUEE ===== */
.partners-section {
  padding: 180px 0 80px;
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.partners-section .hero-about-bg {
  position: absolute;
  z-index: -1;
  left: 0;
  top: -650px;
  width: 100%;
  pointer-events: none;
}

.partners-section .hero-about-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.partner-marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
  width: 60%;
  margin-top: 30px;
}

.partner-marquee-row {
  display: flex;
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
  justify-content: flex-start;
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
}

.partner-marquee-track:hover {
  animation-play-state: paused;
}

.partner-marquee-track.left {
  animation: scrollLeft 25s linear infinite;
}

.partner-marquee-track.right {
  animation: scrollRight 25s linear infinite;
}

.partner-item {
  transition: all 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 80px;
  flex-shrink: 0;
}

.partner-item:hover {
  transform: translateY(-3px);
}

.partner-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: 140px;
  height: 50px;
}

@media (max-width: 1400px) {
  .partners-section .hero-about-bg {
    top: -450px;
  }
}
@media (max-width: 991px) {
  .partners-section .hero-about-bg {
    top: -300px;
  }
}
@media (max-width: 768px) {
  .partners-section .hero-about-bg {
    top: -150px;
  }
  .partner-marquee-wrapper {
    width: 100%;
  }
}

@keyframes scrollLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes scrollRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
  padding: 100px 0;
  background: var(--light-color);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.solution-card {
  padding: 30px 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  background: white;
  text-align: left;
}

.solution-card .featureIcon {
  height: 55px;
  width: 55px;
  margin-bottom: 15px;
  transition: all 0.5s ease;
  filter: grayscale(100%) opacity(0.85);
}

.solution-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(81, 56, 238, 0.08);
  transform: translateY(-5px) !important;
}

.solution-card:hover .featureIcon {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1) rotate(5deg);
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.solution-card p {
  color: var(--base-color);
  font-size: 18.62px;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  margin: 0;
}

@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview-section {
  padding: 100px 0 45px;
  position: relative;
  z-index: 1;
}

.about-preview-section .about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-section p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--base-color);
  max-width: 500px;
  margin-bottom: 35px;
}

.about-preview-image img {
  max-width: 100%;
  height: auto;
  animation: floatIllustration 8s ease-in-out infinite;
}

.about-preview-content .section-title {
  margin-bottom: 25px;
}

.about-preview-content p {
  margin-bottom: 30px;
  font-size: 18.62px;
  line-height: 25px !important;
  letter-spacing: 0.5px;
}

.list-style-one {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 30px 0 45px;
  list-style: none;
}

.list-style-one li {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.list-style-one li::before {
  content: "✓";
  height: 24px;
  width: 24px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .about-preview-section .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-preview-section p {
    margin: 0 auto 35px;
  }
}
@media (max-width: 768px) {
  .about-preview-section {
    padding-bottom: 15px;
  }
}

/* ===== CORE FEATURES SECTION ===== */
.features-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--light-color);
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.features-content-area .section-title {
  margin-bottom: 40px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 25px;
}

.feature-item {
  display: flex;
  gap: 15px;
  text-align: left;
}

.feature-item .icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #ffffff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(88, 53, 242, 0.1);
  transition: all 0.3s ease;
}

.feature-item .icon-box i,
.feature-item .icon-box svg {
  color: inherit;
  transition: inherit;
}

.feature-item:hover .icon-box {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(88, 53, 242, 0.25);
}

.feature-item:hover .icon-box i,
.feature-item:hover .icon-box svg {
  color: #ffffff;
}

.feature-item .text-content h3 {
  color: var(--heading-color);
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.feature-item .text-content p {
  margin: 0;
  color: var(--base-color);
  font-size: 18.62px;
  line-height: 25px !important;
  letter-spacing: 0.5px;
}

.image-cluster {
  position: relative;
  max-width: 600px;
  margin-left: auto;
  z-index: 1;
}

.image-cluster img {
  position: relative;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  will-change: transform;
}

.image-cluster .first {
  width: 48%;
  z-index: 1;
  animation: slideUpDown 6s ease-in-out infinite;
}

.image-cluster .second {
  width: 55%;
  margin-left: -7%;
  margin-top: -8%;
  z-index: 2;
  animation: slideLeftRight 7s ease-in-out infinite;
}

.image-cluster .third {
  width: 36%;
  margin-left: 22%;
  margin-top: -14%;
  z-index: 3;
  animation: slideLeftRight 7s ease-in-out infinite 1.5s;
}

.image-cluster .fourth {
  width: 43%;
  margin-left: -3%;
  margin-top: -30%;
  z-index: 5;
  animation: slideUpDown 5.5s ease-in-out infinite 0.5s;
}

.image-cluster .circle-line {
  position: absolute;
  width: 28%;
  right: -8%;
  top: 33%;
  z-index: 4;
  box-shadow: none;
  animation: slideUpRight 6.5s ease-in-out infinite;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-content-area .section-title {
    text-align: center;
  }
  .image-cluster {
    margin: 50px auto 0;
  }
}
@media (max-width: 600px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

@keyframes slideUpDown {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes slideLeftRight {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(20px);
  }
  100% {
    transform: translateX(0px);
  }
}

@keyframes slideUpRight {
  0% {
    transform: translate(0px, 0px);
  }
  50% {
    transform: translate(-20px, 20px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

/* ===== SERVICES COMPONENT SECTION ===== */
.services-tabs-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  z-index: 3;
}

.services-tabs-section .section-title {
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-inline: auto;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}

.tab-btn {
  background: #ffffff;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  padding: 10px 24px;
  border-radius: 5px;
  font-size: 15px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.tab-content-area {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.tab-content-text {
  text-align: left;
}

.tab-content-text h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading-color);
  margin: 0 0 15px;
  letter-spacing: -0.5px;
}

.tab-content-text p {
  font-size: 18.62px;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  color: var(--base-color);
  margin: 0 0 25px;
}

.tab-content-image img {
  max-width: 550px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

@media (max-width: 991px) {
  .tab-content-area {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .tab-content-text {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .tab-btn {
    padding: 8px 14px;
    font-size: 12px !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TESTIMONIALS SLIDER SECTION ===== */
.testimonials-section {
  padding: 100px 0;
  margin: 80px 0 100px;
  background-color: var(--primary-color);
  background-image: url("../images/feedbacks/feedback-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonials-wrapper {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 50px;
  align-items: center;
}

.testimonials-left {
  color: #ffffff;
  text-align: left;
}

.testimonials-left .sub {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 15px;
  background: #ffffff;
  color: var(--primary-color);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonials-left h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 15px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.testimonials-left p {
  font-size: 18px;
  color: #ffffff !important;
  opacity: 0.9;
  line-height: 1.7;
  margin: 0;
}

.testimonials-right {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.testimonials-right.dragging {
  cursor: grabbing;
}

.testimonials-right::-webkit-scrollbar {
  display: none;
}

.testimonials-right {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 30px;
  min-width: 320px;
  max-width: 320px;
  min-height: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: left;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.testimonial-card .top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-card .top img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  border: 2px solid var(--primary-color);
}

.testimonial-card .top span {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #1e293b !important;
}

.testimonial-card p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #4b5563 !important;
  margin: 0;
  flex-grow: 1;
}

.testimonial-card .rating {
  display: flex;
  gap: 4px;
  margin-top: auto;
}

.testimonial-card .rating svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
  fill: var(--primary-color);
}

@media (max-width: 992px) {
  .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .testimonials-left {
    text-align: center;
  }
  .testimonials-left h2 {
    font-size: 38px;
  }
  .testimonials-left p {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
    padding: 25px;
  }
}

/* ===== FOOTER STYLES ===== */
footer {
  position: relative;
  z-index: 1;
  background-color: var(--light-color);
  padding-top: 100px;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

footer .bg-circle {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  animation: pulseCircle 8s infinite ease-in-out;
}

footer .bg-circle.left {
  width: 600px;
  height: 600px;
  left: -300px;
  top: -100px;
}

footer .bg-circle.right {
  width: 500px;
  height: 500px;
  right: -200px;
  bottom: -150px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 4fr 3fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-widget {
  text-align: left;
}

.footer-widget .footer-logo {
  margin-bottom: 25px;
}

.footer-widget .footer-logo img {
  width: 150px;
  max-width: 220px;
}

.footer-widget p {
  color: var(--base-color) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.7;
  margin: 0;
}

.footer-widget .footer-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--heading-color) !important;
  margin: 0 0 25px;
  letter-spacing: -0.3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: var(--base-color) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color) !important;
  transform: translateX(4px);
}

.footer-links.two-column {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 10px 45px;
}

.footer-links.two-column li {
  margin-bottom: 0;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4;
  color: var(--base-color) !important;
}

.footer-contact li span,
.footer-contact li a {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--base-color) !important;
}

.footer-contact li svg {
  color: var(--primary-color);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact li a:hover {
  color: var(--primary-color) !important;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--heading-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.footer-socials a i,
.footer-socials a svg {
  font-size: 16px;
  color: inherit;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(88, 53, 242, 0.25);
}

.copyright-area {
  border-top: 1px solid var(--border-color);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright-area p {
  margin: 0;
  color: var(--base-color) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.policy-links {
  display: flex;
  gap: 30px;
}

.policy-links a {
  color: var(--base-color) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: color 0.2s ease;
}

.policy-links a:hover {
  color: var(--primary-color) !important;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-links.two-column {
    gap: 8px 20px;
  }
}

@media (max-width: 768px) {
  .footer-widget {
    text-align: center;
  }
  .footer-widget .footer-logo {
    display: flex;
    justify-content: center;
  }
  .footer-links,
  .footer-links.two-column {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .footer-contact li {
    justify-content: flex-start;
    text-align: left;
  }
  .footer-socials {
    justify-content: center;
  }
  .copyright-area {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .policy-links {
    gap: 20px;
  }
}

@keyframes pulseCircle {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.about-grid-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content-area p {
  font-size: 18.62px;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  color: #4b5563;
  margin-top: 20px;
  margin-bottom: 30px;
}

.about-content-area ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}

.about-content-area ul li {
  font-family: var(--heading-font) !important;
  font-size: 18px;
  font-weight: 400 !important;
  font-style: italic !important;
  color: #111827;
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.about-content-area ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--primary-color);
  font-size: 15px;
  font-style: normal !important;
}

.about-page-marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.about-page-marquee-wrapper::before,
.about-page-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.about-page-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    #f9fafb 0%,
    rgba(249, 250, 251, 0) 100%
  );
}

.about-page-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f9fafb 0%, rgba(249, 250, 251, 0) 100%);
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: scrollMarquee 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 170px;
  height: 70px;
  margin-right: 90px;
  flex-shrink: 0;
}

.logo-box img {
  width: 170px;
  height: 70px;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.logo-box:hover {
  transform: scale(1.05);
}

/* Why choose us cards in about.html */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.about-why-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.about-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(88, 53, 242, 0.08);
}

.about-why-card .number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 15px;
}

.about-why-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.about-why-card p {
  font-size: 18.62px;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  color: #4b5563;
  margin: 0;
}

/* Aim, vision, mission cards in about.html */
.about-vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0;
}

.about-vm-card {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  border: 1px solid #f3f4f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
}

.about-vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(88, 53, 242, 0.08);
  border-color: rgba(88, 53, 242, 0.2);
}

.about-vm-card .icon-wrapper {
  width: 50px;
  height: 50px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  border-radius: 50%;
  background: rgba(88, 53, 242, 0.08);
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-vm-card .icon-wrapper i,
.about-vm-card .icon-wrapper svg {
  color: inherit !important;
  transition: all 0.4s ease;
}

.about-vm-card .icon-wrapper svg {
  width: 40% !important;
  height: 40% !important;
}

.about-vm-card:hover .icon-wrapper {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.15) rotate(10deg);
}

.about-vm-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 15px;
}

.about-vm-card p {
  font-size: 18.62px !important;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  color: #4b5563;
  margin: 0 auto 12px;
  max-width: 95%;
}

@media (max-width: 991px) {
  .about-grid-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-content-area ul {
    display: inline-block;
    margin: 0 auto 30px;
  }
  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-vm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-vm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-why-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes scrollMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== SERVICES PAGE SPECIFIC ===== */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.services-list-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    rgba(17, 17, 26, 0.03) 0px 1px 0px,
    rgba(17, 17, 26, 0.05) 0px 0px 12px;
  border: 1px solid rgba(88, 53, 242, 0.06);
  overflow: hidden;
}

.services-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #5835f2, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.services-list-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, rgba(88, 53, 242, 0.02), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.services-list-card:hover {
  transform: translateY(-10px);
  border-color: rgba(88, 53, 242, 0.15);
  box-shadow: 0 30px 60px -15px rgba(88, 53, 242, 0.12);
}

.services-list-card:hover::before {
  transform: scaleX(1);
}

.services-list-card:hover::after {
  height: 100%;
}

.services-list-card .icon-box {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  background: rgba(88, 53, 242, 0.04);
  border: 1px solid rgba(88, 53, 242, 0.08);
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.services-list-card .icon-box img,
.services-list-card .icon-box svg {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.5s ease;
  filter: grayscale(100%) opacity(0.85);
}

.services-list-card .icon-box svg {
  color: var(--primary-color);
}

.services-list-card:hover .icon-box {
  transform: scale(1.1) translateY(-5px) rotate(5deg);
  background: rgba(88, 53, 242, 0.08);
  border-color: rgba(88, 53, 242, 0.2);
  box-shadow: 0 10px 25px rgba(88, 53, 242, 0.1);
}

.services-list-card:hover .icon-box img,
.services-list-card:hover .icon-box svg {
  filter: grayscale(0%) opacity(1);
}

.services-list-card h4 {
  font-size: 26px !important;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.services-list-card:hover h4 {
  color: var(--primary-color);
}

.services-list-card p {
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  margin: 0;
}

@media (max-width: 1024px) {
  .services-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 650px) {
  .services-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== BLOG PAGES SPECIFIC ===== */
.blog-layout-wrapper {
  display: flex;
  gap: 40px;
}

.blog-main-column {
  flex: 2;
}

.blog-sidebar-column {
  flex: 1;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 25px;
  position: relative;
  background: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-content h3 {
  font-family: "Inter", sans-serif !important;
  font-size: 1.18rem !important;
  margin-bottom: 15px;
  color: #222 !important;
}

.blog-card-content .meta-tags {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.blog-card-content .meta-tags span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #5e656d !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px;
}

.blog-readmore-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  transition: all 0.3s ease;
}

.blog-readmore-link span.arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.blog-readmore-link:hover {
  color: #3e1ec9 !important;
}

.blog-readmore-link:hover span.arrow {
  transform: translateX(4px);
}

/* Sidebar Container */
.sidebar-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  text-align: left;
}

.sidebar-container h2,
.sidebar-container h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: #222;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.sidebar-post-item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.sidebar-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-post-item:hover {
  transform: translateX(4px);
}

.sidebar-post-image {
  width: 80px;
  height: 75px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  margin-right: 15px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.sidebar-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sidebar-post-content .post-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #1e293b !important;
  margin-bottom: 4px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-post-content .post-title:hover {
  color: var(--primary-color) !important;
}

.sidebar-post-content .sidebar-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.sidebar-post-content .sidebar-meta span {
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .blog-layout-wrapper {
    flex-direction: column;
  }
}

/* ===== BLOG DETAIL PAGE SPECIFIC ===== */
.blog-detail-section {
  position: relative;
  padding: 30px 0;
  z-index: 1;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.blog-detail-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.blog-detail-hero-image {
  height: 400px;
  background-size: cover;
  background-position: center;
}

.blog-detail-content-wrapper {
  padding: 40px;
}

.blog-detail-content-wrapper .detail-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: #777;
  font-weight: 500;
}

.blog-detail-content-wrapper .detail-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  color: #666666 !important;
}

.blog-detail-content-wrapper .detail-meta span svg {
  font-size: 15px !important;
  color: var(--primary-color) !important;
  margin-right: 2px;
}

.blog-detail-content-wrapper h1,
.blog-detail-content-wrapper h2 {
  font-size: 2.09rem !important;
  color: #1a1a1a !important;
  margin-bottom: 25px;
  line-height: 1.3 !important;
}

.blog-detail-content-wrapper p {
  color: #555 !important;
  line-height: 1.8 !important;
  margin-bottom: 20px;
  font-size: 1.05rem !important;
}

.blog-detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eaeaea;
}

.blog-detail-nav-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.blog-detail-nav-item.next {
  align-items: flex-end;
  text-align: right;
}

.blog-detail-nav-item span {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  color: #999 !important;
  text-transform: uppercase;
}

.blog-detail-nav-item p {
  margin: 0;
  font-weight: 600;
  color: #1a1a1a !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease;
}

.blog-detail-nav-item:hover {
  transform: translateX(-5px);
}

.blog-detail-nav-item.next:hover {
  transform: translateX(5px);
}

.blog-detail-nav-item:hover p {
  color: var(--primary-color) !important;
}

/* Sidebar lists inside blog-detail */
.sidebar-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-services-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: default;
}

.sidebar-services-list li:last-child {
  border-bottom: none;
}

.sidebar-services-list li:hover {
  color: #723ef5;
  padding-left: 5px;
}

.sidebar-recent-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.sidebar-recent-meta span {
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .blog-detail-hero-image {
    height: 250px;
  }
  .blog-detail-content-wrapper {
    padding: 20px;
  }
  .blog-detail-nav {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===== CAREER PAGE SPECIFIC ===== */
.career-section {
  padding: 30px 0;
  background-color: #f9fafb;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
}

.career-illustration {
  width: 470px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px;
  display: block;
}

.career-header-area {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.career-header-area .sub-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 15px;
  background: #f3f1fe;
  color: var(--primary-color) !important;
  display: inline-block;
  text-transform: uppercase;
}

.career-header-area h1 {
  font-size: 40px;
}

.career-header-area p {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.career-filter-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.career-filter-btn {
  background: #ffffff;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  padding: 10px 24px;
  border-radius: 5px;
  font-size: 15px !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.career-filter-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.career-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.career-list-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.career-job-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  transition: border 0.3s ease;
}

.career-job-card.selected {
  border-color: var(--primary-color);
}

.career-job-card h3 {
  font-size: 22px !important;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.career-job-card p {
  font-size: 15px !important;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  color: #6b7280 !important;
  margin: 0 0 16px;
  padding: 10px 0;
}

.career-job-card .tags {
  display: flex;
  gap: 8px;
}

.career-job-card .tags span {
  background: #f3f1fe;
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px !important;
  font-weight: 600;
}

.career-details-column {
  position: sticky;
  top: 100px;
  text-align: left;
}

.career-details-pane {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px;
}

.career-details-pane .pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.career-details-pane .pane-header h2 {
  margin: 0;
}

.career-details-pane h3 {
  margin: 30px 0 15px;
}

.career-details-pane p,
.career-details-pane li {
  font-size: 15px !important;
  line-height: 25px !important;
  letter-spacing: 0.5px;
  color: #4b5563 !important;
}

.career-details-pane ul {
  padding-left: 20px;
}

.career-meta-grid {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.career-meta-grid .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.career-meta-grid .meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.career-meta-grid .meta-row strong,
.career-meta-grid .meta-row span {
  font-size: 15px !important;
}

/* Modal Overlay for careers */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 50px;
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 90%;
  max-width: 550px;
  padding: 50px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  max-height: 92vh;
  overflow-y: auto;
  text-align: left;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 10px;
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.modal-content .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f3f4f6;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 30;
}

.modal-content .close-btn:hover {
  background: #e5e7eb;
  color: #111827;
  transform: rotate(90deg);
}

.success-modal-content {
  max-width: 460px;
  text-align: center;
  padding: 42px 32px;
}

.success-check-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.success-modal-content h3 {
  margin-bottom: 12px;
}

.success-modal-content p {
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  transition: color 0.2s ease;
}

.form-group:focus-within label {
  color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 13px;
  font-family: inherit;
  background: #f9fafb;
  color: #111827;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder {
  color: #9ca3af;
  font-size: 13px;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(88, 53, 242, 0.15);
  transform: translateY(-1px);
}

.form-group input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 2px dashed rgba(88, 53, 242, 0.25);
  border-radius: 12px;
  font-size: 12px;
  font-family: inherit;
  background: rgba(88, 53, 242, 0.02);
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-group input[type="file"]:hover {
  background: rgba(88, 53, 242, 0.05);
  border-color: var(--primary-color);
}

.form-group input[type="file"]:hover::file-selector-button {
  background: #422ad1;
}

.form-group input[type="file"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(88, 53, 242, 0.15);
}

.toast-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 14px 20px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  background: #16a34a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
}

.toast-message.error {
  background: #dc2626;
}

@media (max-width: 1024px) {
  .career-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .career-details-column {
    position: static;
  }
  .career-details-pane {
    padding: 28px;
  }
  .modal-content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .career-job-card {
    padding: 18px;
  }
  .career-job-card h3 {
    font-size: 18px;
  }
  .career-details-pane {
    padding: 20px;
  }
  .career-details-pane .pane-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .modal-overlay {
    padding: 10px;
    align-items: flex-start;
  }
  .modal-content {
    padding: 40px 30px;
    width: 92%;
    border-radius: 16px;
  }
  .modal-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 80px 20px 40px;
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2200;
  }
  .modal-content h3 {
    font-size: 24px;
    text-align: center;
  }
  .modal-content .close-btn {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
}

/* Mobile responsive visibility logic (when jobId parameter is set) */
.hide-on-mobile {
  @media (max-width: 991px) {
    display: none !important;
  }
}

/* ===== CONTACT PAGE SPECIFIC ===== */
.contact-wrapper {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.contact-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2500;
}

.contact-success-overlay.is-open {
  display: flex;
}

.contact-success-modal {
  width: min(100%, 460px);
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.25);
}

.contact-success-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 34px;
}

.contact-success-modal h2,
.contact-success-modal h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #111827;
}

.contact-success-modal p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 24px;
}

.contact-form.is-hidden {
  display: none;
}

.contact-wrapper .image-banner {
  width: 100%;
  margin-top: 30px;
  padding: 0 20px;
  animation: fadeInUp 0.6s ease-out forwards;
}

.contact-wrapper .image-banner img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
}

.contact-wrapper .content {
  max-width: 1150px;
  margin: 0 auto;
  padding: 60px 20px 120px;
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.contact-header .sub-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  background: #f3f1fe;
  color: var(--primary-color) !important;
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-header h1 {
  font-size: 42px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.contact-header p {
  font-size: 17px;
  line-height: 1.6;
  color: #6b7280;
}

.contact-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-form {
  border-radius: 16px;
  padding: 48px;
  text-align: left;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 24px;
  text-align: left;
}

.contact-form .form-group label {
  display: block;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  margin-bottom: 8px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px !important;
  color: #111827 !important;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(88, 53, 242, 0.1);
}

.contact-form .form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.success-message {
  text-align: center;
  padding: 60px 20px;
  animation: scaleIn 0.5s ease forwards;
}

.success-message svg {
  font-size: 50px;
  color: #10b981;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.success-message p {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 10px;
  text-align: left;
}

.contact-info .info-section {
  text-align: left;
}

.contact-info .info-section h2,
.contact-info .info-section h3 {
  font-family: var(--base-font) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  margin-bottom: 8px;
}

.contact-info .info-section p {
  color: #0f172a !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin-bottom: 16px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #111827 !important;
  font-weight: 500 !important;
  font-size: 15px !important;
}

.contact-detail svg {
  font-size: 20px !important;
  color: var(--primary-color) !important;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a,
.contact-detail address,
.contact-detail span {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #111827 !important;
  text-decoration: none;
  font-style: normal;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.contact-detail a:hover {
  color: var(--primary-color) !important;
}

.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #4b5563 !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link-item svg {
  font-size: 16px !important;
  color: #6b7280 !important;
  transition: all 0.2s ease;
}

.social-link-item:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: #f5f3ff !important;
}

.social-link-item:hover svg {
  color: var(--primary-color) !important;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .contact-wrapper .image-banner {
    margin-top: 80px;
  }
  .contact-wrapper .image-banner img {
    max-width: 280px;
  }
  .contact-header h1 {
    font-size: 32px;
  }
  .contact-form {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .social-links-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== PRIVACY & TERMS PAGE STYLES ===== */
.legal-section {
  padding: 80px 20px 100px;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.legal-section.terms-bg {
  background-color: #f8fafc;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-header .pill {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  margin-bottom: 20px;
  background: rgba(88, 53, 242, 0.1);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-header h1 {
  font-size: 38px;
  font-weight: 750;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.legal-header p {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-card-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card {
  background: #ffffff;
  border-radius: 5px;
  padding: 40px;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 10px 15px -3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  overflow: hidden;
  text-align: left;
}

.legal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.legal-card:hover::before {
  opacity: 1;
}

.legal-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-card p {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #475569 !important;
  margin-bottom: 16px;
}

.legal-card b,
.legal-card strong {
  color: #1e293b;
  font-weight: 600;
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 16px 20px;
  padding: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
}

.legal-card ul li,
.legal-card ol li {
  margin-bottom: 8px;
  padding-left: 8px;
}

.legal-card ol li b {
  display: inline-block;
  margin-top: 4px;
}

.legal-card.copyright-card {
  background: #ffffff;
  border-color: #0f172a;
}

.legal-card.copyright-card h2,
.legal-card.copyright-card p {
  color: #000000 !important;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
}

.legal-card.copyright-card p {
  font-size: 15px !important;
}

@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 32px;
  }
  .legal-card {
    padding: 30px 24px;
  }
}

.section-column-title {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--heading-color);
  font-weight: 700;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}
