/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors extracted from Figma CSS */
  --primary-color: #000000;
  /* Primary Black */
  --secondary-color: #ec1c24;
  /* Red accent */
  --accent-blue: #364199;
  /* Bright Blue for strong text */
  --stats-bg: #062d69;
  --heading-color: #000000;
  --body-color: #000000;
  --text-muted: #6f7172;
  --white: #ffffff;
  --black: #000000;
  --bg-light: #fafafa;
  --bg-blue-light: #f1f7ff;
  --border-color: rgba(0, 0, 0, 0.08);
  --footer-bg: #03163a;
  --footer-text: #ffffff;

  /* Layout Variables */
  --container-width: 1200px;
  --max-width: 1440px;
  --padding-x: 120px;
  --section-gap: 48px;
  --grid-gap: 32px;
  --card-gap: 24px;

  /* Typography */
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "DM Sans", sans-serif;
  --font-alt: "Aldrich", sans-serif;

  /* Spacing */
  --section-padding: 48px 0;
  /* Updated to 48px to match section vertical gap requirement */

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-card: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeUpPageLoad {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInPageLoad {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
  font-family: var(--font-body);
  color: var(--body-color);
  background-color: var(--white);
  line-height: normal;
  overflow-x: hidden;
  padding-top: 86px;
  /* Offset for the fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.custom-pagination-lines .swiper-pagination-bullet {
  width: 25px;
  height: 2px;
  border-radius: 0;
  background-color: #d1d1d1;
  opacity: 1;
  margin: 0 4px !important;
}

.custom-pagination-lines .swiper-pagination-bullet-active {
  background-color: var(--secondary-color);
  /* Red */
}

.custom-pagination-lines-light .swiper-pagination-bullet {
  width: 30px;
  height: 1px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
  margin: 0 !important;
}

.custom-pagination-lines-light .swiper-pagination-bullet-active {
  background-color: #ec1c24;
  /* Red */
}

/* Hide default swiper arrows because we are using custom font-awesome icons */
.transactions-slider .swiper-button-next::after,
.transactions-slider .swiper-button-prev::after {
  display: none;
}

.text-accent {
  color: var(--accent-blue);
}

.font-heading {
  font-family: var(--font-heading) !important;
}

.font-body {
  font-family: var(--font-body) !important;
}

/* Main Navigation — Font & Color (active underline handled by .header__menu below) */
.navbar-nav .nav-link {
  font-family: "DM Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #000000 !important;
  position: relative;
  white-space: nowrap;
}

.navbar-nav .nav-link.active {
  color: #000000 !important;
}

/* ── Dropdown Menu Panel ── */
.header__menu .dropdown-menu {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  padding: 0.4rem 0;
  min-width: 200px;
  top: 2rem;
  margin-top: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  background: #fff;
}

/* Transparent bridge: fills the gap between nav link and dropdown so
   mouseleave doesn't fire while crossing the gap on desktop */
@media (min-width: 992px) {
  .header__menu .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -2rem;
    /* covers the gap = same value as top offset */
    left: 0;
    right: 0;
    height: 2rem;
    background: transparent;
  }
}

/* ── Dropdown Items ── */
.header__menu .dropdown-item {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.header__menu .dropdown-item:hover,
.header__menu .dropdown-item:focus {
  background-color: #f4f7fb;
  color: #e51b23;
}

/* Remove Bootstrap's default caret on dropdown-item toggles */
.header__menu .dropdown-item.dropdown-toggle::after {
  display: none;
}

/* Custom right-pointing arrow for submenu items */
.header__menu .dropdown-submenu>.dropdown-item.dropdown-toggle::after {
  content: "\203A";
  /* › single right angle quotation */
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  color: #888;
  margin-left: auto;
  padding-left: 8px;
  transition: color 0.15s ease;
}

.header__menu .dropdown-submenu>.dropdown-item.dropdown-toggle:hover::after,
.header__menu .dropdown-submenu.show>.dropdown-item.dropdown-toggle::after {
  color: #e51b23;
}

/* ── Submenu Container ── */
.header__menu .dropdown-submenu {
  position: relative;
}

/* Desktop: submenu flies out to the right */
.header__menu .dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.4rem;
  margin-left: 2px;
  transform: translateX(8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

/* ── Show states ── */
.header__menu .dropdown.show>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header__menu .dropdown-submenu.show>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

/* Desktop hover-open (supplements JS click) */
@media (min-width: 992px) {
  .header__menu .dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header__menu .dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }
}

/* Header hide on scroll down */
.header {
  transition:
    transform 0.3s ease-in-out,
    background-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.header.hide-header {
  transform: translateY(-100%);
}

/* Universal Section Spacing */
.py-5,
.py-4,
section:not([class*="hero"]) {
  padding-top: 74px !important;
  padding-bottom: 74px !important;
}

/* Responsive Container & Section Padding */
/* Desktop */
@media (min-width: 992px) {

  section:not([class*="hero"]) .container,
  .footer .container,
  .site-footer .container {
    max-width: 1440px !important;
    padding-left: clamp(40px, 8vw, 120px) !important;
    padding-right: clamp(40px, 8vw, 120px) !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {

  .py-5,
  .py-4,
  section:not([class*="hero"]) {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  section:not([class*="hero"]) .container,
  .footer .container,
  .site-footer .container {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

/* Mobile & Small Devices */
@media (max-width: 767px) {

  .py-5,
  .py-4,
  section:not([class*="hero"]) {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  section:not([class*="hero"]) .container,
  .footer .container,
  .site-footer .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.mt-n1 {
  margin-top: -10px !important;
}

/* ==========================================================================
   Components: Hero Section
   ========================================================================== */
.hero {
  background-color: var(--white);
  padding-bottom: 60px;
}

.hero__content-col {
  padding-left: 176px;
}

.hero__content {
  max-width: 440px;
  padding: 50px 0;
}

/* Tab Navigation Styling */
.people-tab-link {
  border-bottom: 2px solid transparent !important;
  transition: all 0.3s ease;
}

.people-tab-link.active {
  border-bottom: 2px solid #ec1c24 !important;
}

.hero__title,
.hero-animate-title {
  font-size: 68px !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  font-weight: 500 !important;
  margin-bottom: 25px;
  margin-left: -30px;
}

.hero__title-accent {
  color: var(--accent-blue);
}

.hero__title span,
.hero-animate-title {
  opacity: 0;
}

body.page-loaded .hero__title span,
body.page-loaded .hero-animate-title {
  animation: fadeUpPageLoad 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.page-loaded .hero__title span:nth-child(1) {
  animation-delay: 0.1s;
}

body.page-loaded .hero__title span:nth-child(2) {
  animation-delay: 0.2s;
}

body.page-loaded .hero__title span:nth-child(3) {
  animation-delay: 0.3s;
}

body.page-loaded .hero__title span:nth-child(4) {
  animation-delay: 0.4s;
}

body.page-loaded .hero-animate-title {
  animation-delay: 0.1s;
}

.hero__desc p,
.hero-animate-desc {
  font-size: 18px !important;
  line-height: 1.8 !important;
  max-width: 480px;
  opacity: 0;
  margin-left: -25px;
}

body.page-loaded .hero__desc p,
body.page-loaded .hero-animate-desc {
  animation: fadeUpPageLoad 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

.hero__image-wrapper {
  height: 530px;
  width: 100%;
  overflow: hidden;
  opacity: 0;
}

body.page-loaded .hero__image-wrapper {
  animation: fadeInPageLoad 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.hero__image,
.hero-animate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.05);
}

body.page-loaded .hero__image,
body.page-loaded .hero-animate-image {
  transform: scale(1);
}

/* Stats Bar */
.stats-bar {
  background-color: var(--stats-bg);
  color: var(--white);
  position: relative;
  margin-top: 28px;
  /* White gap between hero and stats bar */
  z-index: 10;
}

.stats-bar__row {
  padding: 0 20px;
}

.stats-bar__item {
  display: flex;
  align-items: center;
  padding: 20px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 24px;
}

.stats-bar__text {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.stats-bar__number {
  margin-right: 10px;
}

/* ==========================================================================
   Components: Header
   ========================================================================== */
.header {
  background-color: var(--white);
  box-shadow: none;
  border-bottom: 1px solid #f2f2f2;
  transition: var(--transition);
  height: 108px;
  display: flex;
  align-items: center;
  padding: 0;
}

.header-container {
  padding-left: 130px !important;
  padding-right: 120px !important;
}

@media (max-width: 1200px) {
  .header-container {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

@media (max-width: 991.98px) {
  .header {
    height: auto;
    min-height: 70px;
  }

  .header-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 575.98px) {
  .header-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

.header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  letter-spacing: 0.5px;
  margin-right: 40px;
}

.header__menu {
  gap: 25px;
  /* Spacing between nav items */
}

.header__menu .nav-item {
  display: flex;
  align-items: center;
}

.header__menu .nav-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color) !important;
  position: relative;
  padding: 5px 0 !important;
}

/* Underline hover effect for non-dropdown nav links */
.header__menu .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.header__menu .nav-link:not(.dropdown-toggle):hover::after,
.header__menu .nav-link:not(.dropdown-toggle).active::after {
  width: 100%;
}

/* Dropdown-toggle gets no underline (caret already appears via ::after) */
.header__menu .nav-link.dropdown-toggle::after {
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

/* Desktop dropdown-toggle caret: re-add using border triangle via a separate rule */
.header__menu>li.dropdown>.nav-link.dropdown-toggle {
  padding-right: 18px !important;
  position: relative;
}

.header__menu>li.dropdown>.nav-link.dropdown-toggle::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 0.32em solid currentColor;
  border-right: 0.32em solid transparent;
  border-left: 0.32em solid transparent;
  vertical-align: middle;
}

.header__actions {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

/* User profile button styling */
.header__user-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #364199;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.header__user-btn:hover {
  background-color: #2c3582;
  color: var(--white);
}

/* ==========================================================================
   Components: Shared Sections
   ========================================================================== */
.horizontal-divider {
  width: 20px;
  height: 2px;
  background-color: var(--secondary-color);
}

.tracking-widest {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.tracking-wide {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
}

.link-know-more {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  transition: var(--transition);
}

.link-know-more i {
  transition: var(--transition);
}

.link-know-more:hover {
  color: var(--secondary-color);
  transform: scale(1.02);
}

.link-know-more:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   Components: Service Card
   ========================================================================== */
.service-card {
  transition: var(--transition-card);
  border: 1px solid transparent;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-color);
  transform: translateY(-8px);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: 0;
}

.service-card__desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--body-color);
  line-height: 1.7;
}

.service-card__link {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  font-weight: 600;
}

.service-card__link i {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-card__link {
  color: var(--secondary-color);
}

.service-card:hover .service-card__link i {
  transform: translateX(4px);
}

/* ==========================================================================
   Components: Principles & Values
   ========================================================================== */
.bg-blue-light {
  background-color: var(--bg-blue-light);
}

.principle-card {
  transition: var(--transition-card);
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.principle-divider {
  width: 20px;
  height: 4px;
  background-color: var(--secondary-color);
}

.value-block {
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.value-block:hover {
  border-left-color: var(--secondary-color);
  background-color: #fcfcfc;
}

/* Services Accordion Styling */
.custom-accordion .accordion-item {
  border: 1px solid #eaeaea;
  border-radius: 0;
  margin-bottom: 15px;
  background-color: transparent;
  transition: var(--transition);
}

.custom-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

/* Red border when open */
.custom-accordion .accordion-item:has(.accordion-collapse.show) {
  border-left: 5px solid #e51b23;
}

.custom-accordion .accordion-header {
  margin: 0;
}

.custom-accordion .accordion-button {
  background-color: transparent;
  color: #555555;
  font-family: var(--font-heading);
  font-size: 34px;
  padding: 22px 30px;
  box-shadow: none !important;
  border: none;
  position: relative;
  font-weight: 500;
}

/* Color change when active */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #364199;
  box-shadow: none;
}

/* Custom Icons */
.custom-accordion .accordion-button::after {
  background-image: none;
  content: "+";
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 300;
  color: #364199;
  transform: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  content: "\00d7";
  /* Multiplication sign / x */
  background-image: none;
  transform: none;
}

.custom-accordion .accordion-body {
  padding: 0 30px 40px 30px;
}

/* ==========================================================================
   Transactions Page Styles
   ========================================================================== */

/* Transactions Hero */
.transactions-hero {
  background-color: #fafafa;
}

/* Primary Tabs */
.transactions-tabs .nav-link {
  color: #6c78a8;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.transactions-tabs .nav-link:hover {
  color: #364199;
}

.transactions-tabs .nav-link.active {
  color: #364199;
  border-bottom: 2px solid #e51b23;
}

/* Transactions Secondary Pills */
.transactions-pills {
  gap: 12px;
}


/* Secondary Tabs */
.transactions-pills .nav-link {
  background: transparent;
  color: #333;
  border: 1px solid #eaeaea;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 14px;
  /* 11px ऐवजी */
  font-weight: 500;
  line-height: 1.4;
  transition: var(--transition);
}

.transactions-pills .nav-link:hover {
  background-color: #f5f5f5;
}

.transactions-pills .nav-link.active {
  background-color: #364199;
  color: #fff;
  border-color: #364199;
}

/* Deal Cards */
.deal-card {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  transition: var(--transition-card);
}

.deal-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--border-color);
}

/* Pagination */
.custom-pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.custom-pagination .page-item .page-link,
.custom-pagination .page-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: transparent;
  color: #333;
  border: none;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: var(--transition);
}

.custom-pagination .page-item a:hover {
  background-color: #f5f5f5;
}

.custom-pagination .page-item.active a {
  background-color: #e51b23;
  color: #fff;
}

.custom-pagination .page-item.disabled a {
  color: #ccc;
  pointer-events: none;
}

/* ==========================================================================
   Careers Page Styles
   ========================================================================== */

.careers-hero {
  background-color: #fafafa;
}

.careers-accordion-item {
  background-color: #f8f9fa !important;
  border: 1px solid #f0f0f0 !important;
  border-radius: 4px !important;
}

.careers-accordion .accordion-button {
  background-color: transparent;
  padding: 24px 30px;
  box-shadow: none !important;
  border: none;
}

.careers-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #333;
}

.careers-accordion .accordion-body {
  padding: 0 30px 24px 30px;
  border-top: none;
}

.careers-opening-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.careers-opening-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.4px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.careers-opening-btn i {
  font-size: 12px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.careers-opening-btn--primary {
  background-color: #364199;
  border-color: #364199;
  color: #ffffff !important;
}

.careers-opening-btn--outline {
  background-color: #ffffff;
  border-color: #d8dbe8;
  color: #364199 !important;
}

.careers-opening-btn:hover {
  transform: translateY(-2px);
}

.careers-opening-btn--primary:hover,
.careers-opening-btn--primary:focus-visible {
  background-color: #ec1c24;
  border-color: #ec1c24;
  color: #ffffff !important;
}

.careers-opening-btn--outline:hover,
.careers-opening-btn--outline:focus-visible {
  background-color: #f5f7ff;
  border-color: #364199;
  color: #364199 !important;
}

.careers-opening-btn--outline:hover i,
.careers-opening-btn--outline:focus-visible i {
  transform: translateX(3px);
}

.careers-opening-btn:focus-visible {
  outline: 3px solid rgba(54, 65, 153, 0.25);
  outline-offset: 3px;
}

/* Specific styling for the chevron icon to match design */
.careers-accordion .accordion-button::after {
  width: 14px;
  height: 14px;
  background-size: 14px;
  filter: invert(40%) sepia(8%) saturate(2284%) hue-rotate(188deg) brightness(91%) contrast(85%);
  /* matches greyish-blue */
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.office-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition-card);
}

.office-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.office-card__image img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.office-card:hover .office-card__image img {
  transform: scale(1.05);
}

.contact-detail-row {
  gap: 0.85rem;
}

.contact-detail-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  object-fit: contain;
}

.contact-info-text {
  word-break: break-word;
}

/* ==========================================================================
   Insights Page Styles
   ========================================================================== */

.featured-post-link h2,
.sidebar-posts a p,
.insight-item h4 {
  transition: color 0.3s ease;
}

.featured-post-link:hover h2,
.sidebar-posts a:hover p,
.insight-item:hover h4 {
  color: #364199 !important;
}

.featured-post-link img,
.sidebar-posts a img,
.insight-item img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-post-link:hover img,
.sidebar-posts a:hover img,
.insight-item:hover img {
  transform: scale(1.03);
}

.social-icons-red a {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  display: inline-block;
}

.social-icons-red a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/* ==========================================================================
   Blog Single Page Styles
   ========================================================================== */

.category-pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  color: #555 !important;
  transition: all 0.2s ease;
}

/* ==========================================================================
   Footer Overrides
   ========================================================================== */
.site-footer {
  background-color: #ffffff !important;
  color: #333333;
  border-top: 1px solid #e8e8e8 !important;
}

.site-footer h6 {
  font-family: "DM Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #e51b23 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

.site-footer ul a {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #333333 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.site-footer ul a:hover {
  color: #364199 !important;
}

.site-footer p {
  color: #333333 !important;
}

.site-footer .footer-nav-link {
  color: #333333 !important;
}

.site-footer .footer-nav-link:hover {
  color: #364199 !important;
}

/* ==========================================================================
   Large Paragraph (about-text-container)
   ========================================================================== */
.about-text-container p {
  font-family: var(--font-body);
  font-size: 18px !important;
  font-weight: 300;
  line-height: 1.7 !important;
}

.category-pill:hover {
  border-color: #364199;
  color: #364199 !important;
  background-color: #f8f9fc;
}

.custom-bullet-list {
  padding-left: 20px;
}

.custom-bullet-list li {
  position: relative;
  list-style-type: disc;
  padding-left: 5px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.section-testimonials {
  min-height: 420px;
}

.testimonial-content {
  padding: 10px 0;
}

.testimonial-quote {
  position: absolute;
  left: 0;
  top: -12px;
  z-index: 0;
  width: 35px;
  height: 48px;
  object-fit: contain;
  opacity: 0.95;
}

.testimonial-quote-text {
  position: relative;
  z-index: 1;
  padding-left: 38px;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.85;
}

.testimonial-divider {
  padding-left: 38px;
  margin-top: 22px;
}

.testimonial-author {
  padding-left: 38px;
}

/* Pagination dots/lines inside testimonials */
.swiper-pagination-test .swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: background 0.3s ease;
  display: inline-block;
}

.swiper-pagination-test .swiper-pagination-bullet-active {
  background: #b91d22;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-testimonials {
    padding: 60px 0 !important;
  }

  .testimonial-content p {
    font-size: 14px !important;
  }

  .section-testimonials h2 {
    font-size: 36px !important;
  }

  .testimonial-quote {
    width: 38px;
    height: 38px;
    top: -8px;
  }

  .testimonial-quote-text {
    padding-left: 28px;
    font-size: 15px;
  }

  .testimonial-divider,
  .testimonial-author {
    padding-left: 28px;
  }
}

/* Image Hover Zoom Effect for engaging animations */
.image-hover-zoom {
  overflow: hidden;
}

.image-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-hover-zoom:hover img {
  transform: scale(1.04);
}

/* Careers Accordion Hover */
.careers-accordion-item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.careers-accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

/* Insights Primary Tabs */
.insights-tabs .nav-link {
  color: #6c78a8;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 15px 12px 15px;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 400;
  /* Regular */
  transition: var(--transition);
}

.insights-tabs .nav-link:hover {
  color: #364199;
}

.insights-tabs .nav-link.active {
  color: #364199;
  border-bottom: 2px solid #e51b23;
}

/* ==========================================================================
   Service Offerings Thematic Colors
   ========================================================================== */
.accordion-item.theme-fire {
  transition: all 0.3s ease;
}

.accordion-item.theme-fire:has(.accordion-button:not(.collapsed)) {
  border-left: 6px solid #c83200 !important;
}

.accordion-item.theme-earth {
  transition: all 0.3s ease;
}

.accordion-item.theme-earth:has(.accordion-button:not(.collapsed)) {
  border-left: 6px solid #806043 !important;
}

.accordion-item.theme-air {
  transition: all 0.3s ease;
}

.accordion-item.theme-air:has(.accordion-button:not(.collapsed)) {
  border-left: 6px solid #4682b4 !important;
}

.accordion-item.theme-water {
  transition: all 0.3s ease;
}

.accordion-item.theme-water:has(.accordion-button:not(.collapsed)) {
  border-left: 6px solid #0a5b6e !important;
}

.accordion-item.theme-ether {
  transition: all 0.3s ease;
}

.accordion-item.theme-ether:has(.accordion-button:not(.collapsed)) {
  border-left: 6px solid #4b0082 !important;
}

/* ==========================================================================
   Track Record / Custom Accordion Styles
   ========================================================================== */
.custom-accordion .accordion-item {
  border-bottom: 1px solid #dee2e6 !important;
}

.custom-accordion .accordion-button {
  box-shadow: none !important;
}

.custom-accordion .accordion-button::after {
  background-image: none !important;
  content: "\f068";
  /* fa-minus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #888;
  font-size: 14px;
  transform: none !important;
}

.custom-accordion .accordion-button.collapsed::after {
  content: "\f067";
  /* fa-plus */
}

/* Vertical dashed line for document trees */
.tree-doc-list {
  border-left: 1px dashed #ccc !important;
}

/* ==========================================================================
   Regulatory Page / Vertical Tabs
   ========================================================================== */
.custom-v-tabs .nav-link {
  color: #364199 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  background: transparent !important;
  transition: all 0.2s ease;
}

.custom-v-tabs .nav-link:hover {
  color: #ec1c24 !important;
}

.custom-v-tabs .nav-link.active {
  color: #364199 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.custom-v-tabs .nav-link i {
  display: none;
}

.custom-v-tabs .nav-link.active i {
  display: inline-block;
}

/* ==========================================================================
   Regulatory Page / Grievance Accordion
   ========================================================================== */
.custom-accordion-grievance .accordion-button::after {
  background-image: none !important;
  content: "\f067";
  /* fa-plus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #888;
  font-size: 10px;
  background-color: #f0f0f0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
  margin-left: auto;
}

.custom-accordion-grievance .accordion-button:not(.collapsed)::after {
  content: "\f068";
  /* fa-minus */
}

/* Policies Cards */
.policy-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.policy-card h4,
.policy-card p {
  transition: all 0.3s ease;
}

.policy-card .policy-link {
  transition: all 0.3s ease;
  opacity: 0;
}

.policy-card:hover {
  background-color: #364199 !important;
  border-color: #364199 !important;
}

.policy-card:hover h4 {
  color: #ffffff !important;
}

.policy-card:hover p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.policy-card:hover .policy-link {
  opacity: 1;
  color: #ffffff !important;
}

/* Custom Modal Close Button for Team Pop-up */
.btn-close-custom {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 38px;
  height: 38px;
  background-color: #364199 !important;
  border-radius: 50%;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  z-index: 1061;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  padding: 0;
}

.btn-close-custom span {
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-top: -1px;
}

.btn-close-custom:hover {
  background-color: #2a3580 !important;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .btn-close-custom {
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
  }

  .btn-close-custom span {
    font-size: 18px;
  }
}

/* ===================================
   Premium Corporate Scrollbar
=================================== */

html {
  scroll-behavior: smooth;
}

/* Chrome, Edge & Safari */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 50px;
}

::-webkit-scrollbar-thumb {

  background: linear-gradient(180deg,
      rgb(6, 45, 105) 0%,
      rgb(12, 70, 150) 50%,
      rgb(6, 45, 105) 100%);

  border-radius: 50px;
  border: 3px solid #eef2f7;
  transition: .3s ease;

}

::-webkit-scrollbar-thumb:hover {

  background: linear-gradient(180deg,
      rgb(4, 35, 82),
      rgb(6, 45, 105),
      rgb(18, 90, 180));

}

::-webkit-scrollbar-corner {
  background: #eef2f7;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgb(6, 45, 105) #eef2f7;
}

/* popup boxes */

.regulatory-modal {
  width: 80%;
  max-width: 1250px !important;
}

@media (max-width:768px) {

  .regulatory-modal {
    width: 98%;
    max-width: 98%;
    margin: 10px auto;
  }

}

.regulatory-popup {

  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .30);

}

.regulatory-header {

  background: linear-gradient(135deg, #364199, #27347c);

  color: #fff;

  padding: 10px;


  text-align: center;

}

.regulatory-icon {

  width: 75px;
  height: 75px;

  margin: auto;

  border-radius: 50%;

  background: rgba(255, 255, 255, .18);

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 32px;

  margin-bottom: 18px;

}

.regulatory-header h2 {

  font-size: 34px;

  font-weight: 700;

  margin-bottom: 10px;

  color: white;

}

.regulatory-header p {

  margin: 0;

  opacity: .9;

  font-size: 16px;

}

.regulatory-body {

  padding: 40px;

  background: #fff;

}

.regulatory-body p {

  font-size: 17px;

  line-height: 1.6;

  padding-left: 20px;
  padding-right: 20px;
  color: #444;

  text-align: justify;

  margin-bottom: 22px;

}

.regulatory-alert {

  display: flex;

  align-items: center;

  gap: 15px;

  background: #eef4ff;

  border-left: 5px solid #364199;

  padding: 18px 22px;

  margin: 20px;

  border-radius: 10px;

}

.regulatory-alert i {

  font-size: 26px;

  color: #364199;

}

.regulatory-footer {

  padding: 25px 40px;

  border-top: 1px solid #eee;

  display: flex;

  justify-content: flex-end;

  gap: 15px;

  background: #fafafa;

}

.regulatory-close {

  position: absolute;

  right: 18px;

  top: 18px;

  color: white;
  border-radius: 50%;

  opacity: 1;


}

.modal {
  backdrop-filter: blur(8px);
}

.modal-backdrop.show {
  opacity: .82;
  background: rgba(0, 0, 0, .85);
}

.modal-dialog {
  max-width: 500px;
  width: 90%;
  margin: 1.75rem auto;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 3.5rem);
}

.modal-content {
  border: none;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, .35),
    0 10px 30px rgba(0, 0, 0, .15);
  animation: popupZoom .45s ease;
}

.modal-body {
  padding: 0;
  text-align: center;
  position: relative;
}

.modal-body img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.btn-close {

  position: absolute;
  top: 35px;
  left: 18px;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  opacity: 1;

  z-index: 999;
  transition: .3s;

}

/* Popup Animation */

@keyframes popupZoom {

  0% {

    opacity: 0;

    transform: scale(.75) translateY(40px);

  }

  70% {

    transform: scale(1.03);

  }

  100% {

    opacity: 1;

    transform: scale(1);

  }

}

/* Mobile */

@media(max-width:768px) {

  .modal-dialog {

    width: 95%;
    margin: 15px auto;

  }

  .modal-content {

    border-radius: 15px;

  }

  .btn-close {

    width: 36px;
    height: 36px;

    top: 12px;
    right: 12px;

  }

}




.custom-main-heading {
  font-size: 20px;
  font-weight: 600;
  color: #364199;
  background: #fff;
  border-bottom: 2px solid #ececec;
  padding: 18px 0;
}

.company-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #fff;
}

.company-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.arrow {
  font-size: 20px;
  color: #666;
}

.document-list {
  list-style: none;
  padding: 0 20px 18px 40px;
  margin: 0;
}

.document-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
}

.document-list li:last-child {
  border-bottom: none;
}

.document-list a {
  text-decoration: none;
  color: #364199;
  font-size: 14px;
}

.document-list a:hover {
  color: #e51b23;
}