@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary: #123d7a;
  --primary-rgb: 18, 61, 122;
  --secondary: #1e4e9a;
  --accent: #f47a20;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --dark: #0f172a;
  /* Slate 900 */
  --text-muted: #475569;
  /* Slate 600 */
  --border-color: #e2e8f0;
  /* Slate 200 */
  --font-heading: "Poppins", "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.7;
  padding-left: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  /* mobile: allow vertical scroll only, block horizontal swipe */
  -webkit-font-smoothing: antialiased;
}

html {
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
}

p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--white);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Common Layout Components */
.section-padding {
  padding: 60px 0;
}

.bg-light {
  background-color: var(--light-bg);
}

.text-accent {
  color: var(--accent);
}

.btn-custom {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 28px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary-custom {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary-custom:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent-custom {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent-custom:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark-custom {
  background-color: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline-dark-custom:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.section-title-wrapper {
  margin-bottom: 70px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.text-center .section-title {
  display: inline-block;
}

/* Navigation Header */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  overflow: visible;
}

@media (max-width: 991px) {
  .navbar-custom {
    padding: 15px 0;
  }
}

.navbar-custom.scrolled {
  background-color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar-brand-logo {
  max-height: 40px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.navbar-custom.scrolled .navbar-brand-logo {
  max-height: 34px;
}

.nav-link-custom {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--dark) !important;
  padding: 8px 16px !important;
  opacity: 0.85;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary) !important;
  opacity: 1;
}

.navbar-custom .nav-item.dropdown {
  position: relative;
}

/* Services item needs relative for dropdown positioning */
.nav-services-item {
  position: relative;
}

/* Services dropdown — hover trigger, no Bootstrap click */
.nav-services-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  /* no gap — arrow sits right after text */
  cursor: default;
}

/* Remove right-side padding from the Services link so arrow is flush */
.nav-services-item .nav-link-custom {
  padding-right: 4px !important;
}

.nav-dropdown-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  color: var(--dark);
  opacity: 0.7;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
  padding: 8px 10px 8px 0;
  cursor: default;
  line-height: 1;
}

/* Rotate only the icon — not the padded wrapper — so it spins in place */
.nav-dropdown-arrow i {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}

.nav-services-item:hover .nav-dropdown-arrow {
  color: var(--primary);
  opacity: 1;
}

.nav-services-item:hover .nav-dropdown-arrow i {
  transform: rotate(180deg);
}

.nav-services-item:hover .nav-link-custom {
  color: var(--primary) !important;
  opacity: 1;
}

/* Override Bootstrap's default dropdown-toggle caret */
.navbar-custom .nav-link-custom.dropdown-toggle::after {
  content: none !important;
  display: none !important;
}

/* Dropdown panel — custom class avoids Bootstrap JS interference */
.navbar-services-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 230px;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  pointer-events: none;
}

/* Show on hover — li.nav-services-item is the trigger */
.nav-services-item:hover>.navbar-services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Keep Bootstrap's .dropdown-menu hidden (used on other pages / mobile fallbacks) */
.navbar-custom .dropdown-menu {
  display: none;
}

.navbar-custom .dropdown-item,
.navbar-services-dropdown .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.85rem 1.25rem;
  color: var(--dark);
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.6s ease,
    color 0.6s ease;
}

.navbar-custom .dropdown-item:hover,
.navbar-services-dropdown .dropdown-item:hover {
  background-color: rgba(18, 61, 122, 0.05);
  color: var(--primary);
  padding-left: 1.5rem;
  transition: all 0.4s ease;
}

.navbar-cta-btn {
  margin-left: 20px;
  padding: 8px 20px;
  font-size: 0.8rem;
}

.mobile-menu-btn {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  color: var(--dark);
  font-size: 1.35rem;
  cursor: pointer;
  display: none;
  outline: none;
}

.mobile-menu-btn i {
  font-size: 22px;
  color: #1f2937;
  transition: 0.3s;
}

@media (max-width: 991px) {
  .mobile-menu-btn {
    display: block;
  }

  .navbar-nav-container,
  .navbar-cta-btn {
    display: none !important;
  }
}

.navbar-nav-container {
  overflow: visible;
}

/* Offcanvas Menu — full flex-column layout */
.offcanvas-custom {
  background-color: var(--white);
  width: 300px !important;
  border-right: 1px solid var(--border-color);
  display: flex !important;
  flex-direction: column !important;
}

.offcanvas-logo {
  max-height: 36px;
}

/* Scrollable nav body — grows to fill, allows scroll */
.offcanvas-custom .offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

/* Sticky brochure footer */
.offcanvas-footer {
  flex-shrink: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: var(--white);
}

/* Nav links */
.offcanvas-nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 13px 0;
  border-bottom: 1px solid var(--border-color);
  display: block;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
  text-decoration: none;
}

.offcanvas-nav-link:hover,
.offcanvas-nav-link.active {
  color: var(--primary);
  padding-left: 5px;
}

/* Services accordion group */
.offcanvas-services-group {
  border-bottom: 1px solid var(--border-color);
}

.offcanvas-services-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
}

.offcanvas-services-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  text-decoration: none;
  flex: 1;
  text-align: left;
  transition: color 0.2s ease;
}

.offcanvas-services-link:hover,
.offcanvas-services-link.active {
  color: var(--primary);
}

.offcanvas-services-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s ease;
  padding: 4px 10px;
  flex-shrink: 0;
}

.offcanvas-services-toggle[aria-expanded="true"] .offcanvas-services-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Services submenu — collapsed by default, animates open */
.offcanvas-services-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--light-bg);
  border-radius: 6px;
  margin-bottom: 4px;
}

.offcanvas-services-menu.open {
  max-height: 400px;
}

.offcanvas-nav-sub-link {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 10px 16px;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
  text-decoration: none;
}

.offcanvas-nav-sub-link i {
  font-size: 0.75rem;
  width: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.offcanvas-nav-sub-link:hover {
  color: var(--primary);
  padding-left: 20px;
}

/* 3. Hero Section (Fixed Layer) */
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #000000;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 60px;
}

.hero-content-box {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0;
  border-radius: 0;
  max-width: 600px;
  color: var(--white);
  box-shadow: none;
}

@media (max-width: 767px) {
  .hero-content-box {
    padding: 30px;
    margin: 0 15px;
  }
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  display: inline-block;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
}

.hero-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-section .btn-outline-dark-custom {
  color: var(--white);
  border-color: var(--white);
}

.hero-section .btn-outline-dark-custom:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* 4. Scrolling Main Wrapper */
.main-content-wrapper {
  position: relative;
  z-index: 5;
  background-color: var(--white);
  margin-top: 100vh;
  /* Scrolls up over the fixed video */
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.03);
  max-width: 100vw;
}

/* About Us Section */
.about-stats-container {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 35px;
  margin-top: 45px;
}

.about-stat-box {
  text-align: left;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 575px) {
  .about-stats-container {
    flex-wrap: wrap;
    gap: 25px;
  }

  .about-stat-box {
    width: 45%;
  }
}

.about-editorial-image {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  padding: 10px;
  background-color: var(--white);
}

/* 5. Services Section (Sticky & Stacking Layout) */
.services-sticky-section {
  position: relative;
}

@media (min-width: 992px) {
  .services-sticky-header {
    position: sticky;
    top: 140px;
    align-self: start;
  }
}

.services-stack-wrapper {
  display: flex;
  flex-direction: column;
  gap: 180px;
  padding-bottom: 50px;
}

.services-stack-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 8px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s,
    box-shadow 0.4s,
    z-index 0.4s;
  box-shadow: var(--shadow-sm);
}

/* Desktop Sticky Stacking Offsets */
@media (min-width: 992px) {
  .services-stack-card {
    position: sticky;
    height: 220px;
    /* Compact height to fit all screens */
    justify-content: flex-start !important;
    padding: 25px 30px !important;
    pointer-events: auto;
  }

  .services-stack-card:nth-child(1) {
    top: 100px;
    z-index: 1;
  }

  .services-stack-card:nth-child(2) {
    top: 110px;
    z-index: 2;
  }

  .services-stack-card:nth-child(3) {
    top: 120px;
    z-index: 3;
  }

  .services-stack-card:nth-child(4) {
    top: 130px;
    z-index: 4;
  }

  .services-stack-card:nth-child(5) {
    top: 140px;
    z-index: 5;
  }

  .services-stack-card:nth-child(6) {
    top: 150px;
    z-index: 6;
  }
}

.services-stack-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.54);
  /* Premium dark slate overlay */
  z-index: 0;
  transition: var(--transition-smooth);
}

/* All text/icon children sit above the overlay */
.services-stack-card>* {
  position: relative;
  z-index: 1;
}

/* Services Stack Hover Effects - Smooth scale and glow */
.services-stack-card.hovered {
  border-color: var(--primary) !important;
  transform: translateY(-8px) scale(1.03) !important;
  /* Small Y translation to prevent hover flickering */
  box-shadow: 0 20px 30px rgba(18, 61, 122, 0.15) !important;
  z-index: 100 !important;
  opacity: 1 !important;
}

.services-stack-card.hovered::before {
  background: rgba(18, 61, 122, 0.85);
  /* Primary Blue overlay on hover */
}

/* Remove sibling translations to keep cursor position stable and prevent rapid flickering */
.services-stack-card.sibling-above,
.services-stack-card.sibling-below {
  transform: scale(0.97) !important;
}

.service-minimal-icon {
  /* display: inline-block !important; */
  font-size: 2.25rem;
  color: var(--accent);
  /* Accent Orange color pop */
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

@media (min-width: 992px) {
  .service-minimal-icon {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }
}

.services-stack-card.hovered .service-minimal-icon {
  color: var(--white);
  transform: scale(1);
  /* transform-origin: center right !important; */
}

.services-stack-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
  .services-stack-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 8px !important;
  }
}

/* Collapsed description until hover */
.service-subtext-collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0;
}

.services-stack-card.hovered .service-subtext-collapsed {
  max-height: 80px;
  opacity: 1;
  margin-top: 5px;
  margin-bottom: 15px;
}

.services-stack-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.service-minimal-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.service-minimal-link i {
  font-size: 0.75rem;
  transition: var(--transition-smooth);
}

.services-stack-card.hovered .service-minimal-link i {
  transform: translateX(5px);
}

/* 6. Why Choose Us (Checklist & Viewport Side Collages) */
.why-choose-section {
  background-color: var(--white);
}

.why-checklist {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.why-check-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 25px;
  background: var(--light-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.why-check-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.why-check-icon {
  font-size: 1.5rem;
  color: var(--accent);
  /* Accent Orange checkmarks */
  line-height: 1;
}

.why-check-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.why-check-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Side Collages Layout */
.why-collage {
  position: absolute;
  top: 10%;
  width: 250px;
  height: 80%;
  z-index: 2;
  pointer-events: none;
  /* Make sure users can hover through collages */
}

.why-collage-left {
  left: 20px;
  /* Extends off screen */
}

.why-collage-right {
  right: 20px;
  /* Extends off screen */
}

.collage-img-wrapper {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.collage-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coordinates and clip-paths/angles for "half cut" stylish collage placement */
.cut-1 {
  top: 10%;
  left: 20px;
  transform: rotate(-10deg);
}

.cut-2 {
  top: 40%;
  left: 80px;
  transform: rotate(5deg);
  width: 150px;
  height: 150px;
}

.cut-3 {
  top: 70%;
  left: 30px;
  transform: rotate(-5deg);
}

.cut-4 {
  top: 10%;
  right: 20px;
  transform: rotate(10deg);
  width: 150px;
  height: 150px;
}

.cut-5 {
  top: 40%;
  right: 10px;
  transform: rotate(-5deg);
}

.cut-6 {
  top: 70%;
  right: 30px;
  transform: rotate(5deg);
  width: 150px;
  height: 150px;
}

/* Collages enter reveal states (GSAP target) */
.reveal-swipe-left {
  opacity: 0;
  transform: translateX(-150px);
  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-swipe-right {
  opacity: 0;
  transform: translateX(150px);
  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-swipe-left.active,
.reveal-swipe-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* 7. Industries We Serve (Overlaid Cover Images) */
.industry-square {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border-color);
  padding: 50px 30px;
  border-radius: 6px;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

.industry-square::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.62);
  /* Translucent dark slate overlay */
  z-index: -1;
  transition: var(--transition-smooth);
}

.industry-square:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.industry-square:hover::before {
  background: rgba(18, 61, 122, 0.8);
  /* Primary Blue on hover */
}

.industry-square-icon {
  font-size: 2rem;
  color: var(--accent);
  /* Accent Orange color pop */
  margin-bottom: 15px;
  transition: var(--transition-smooth);
}

.industry-square:hover .industry-square-icon {
  color: var(--white);
  transform: scale(1.1);
}

.industry-square h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 8. Global Network */
.network-card-minimal {
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 4px;
}

.network-map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 784 / 458;
  max-height: 380px;
}

.network-illustration-box {
  width: 100%;
  height: 100%;
  background: url("../images/world-map.svg") no-repeat center;
  background-size: 100% 100%;
  opacity: 0.15;
}

.network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* 9. Shipping Process (Timeline Strip) */
.process-strip-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.process-strip-wrapper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border-color);
  z-index: 1;
}

.process-strip-step {
  width: 18%;
  position: relative;
  z-index: 2;
  background-color: var(--white);
}

.process-strip-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.process-strip-step:hover .process-strip-dot {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.process-strip-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-strip-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .process-strip-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .process-strip-wrapper::before {
    display: none;
  }

  .process-strip-step {
    width: 100%;
    display: flex;
    gap: 15px;
    align-items: flex-start;
  }

  .process-strip-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* 10. Testimonials Premium Slider */
.testimonial-swiper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 10px 65px;
  position: relative;
}

.testimonial-swiper .swiper-slide {
  transform: scale(0.88);
  opacity: 0.5;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-swiper .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.testimonial-premium-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 30px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(18, 61, 122, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.testimonial-premium-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 12px 36px 0 rgba(18, 61, 122, 0.06);
}

.testimonial-premium-card::after {
  content: "“";
  font-family: serif;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 5.5rem;
  color: rgba(244, 122, 32, 0.05);
  line-height: 0.8;
  font-weight: 900;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.testimonial-premium-card:hover::after {
  color: rgba(244, 122, 32, 0.08);
  transform: scale(1.1);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
  background-color: var(--light-bg);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.testimonial-premium-card:hover .client-avatar-wrapper {
  border-color: var(--primary);
  transform: scale(1.05);
}

.client-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-meta {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1px;
}

.client-designation {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

.company-logo-wrapper {
  max-width: 85px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.testimonial-premium-card:hover .company-logo-wrapper {
  opacity: 1;
}

.client-company-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rating-stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 0.85rem;
  color: var(--dark);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Custom Swiper Controls */
.testimonial-swiper .swiper-pagination {
  bottom: 15px !important;
}

.testimonial-swiper .swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 0.35;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--primary) !important;
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.testimonial-swiper .swiper-button-prev::after,
.testimonial-swiper .swiper-button-next::after {
  font-size: 1rem;
  font-weight: bold;
}

.testimonial-swiper .swiper-button-prev:hover,
.testimonial-swiper .swiper-button-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {

  .testimonial-swiper .swiper-button-prev,
  .testimonial-swiper .swiper-button-next {
    display: none;
  }

  .testimonial-swiper {
    padding: 10px 10px 50px;
  }
}

@media (min-width: 768px) {
  .testimonial-swiper .swiper-button-prev {
    left: -20px;
  }

  .testimonial-swiper .swiper-button-next {
    right: -20px;
  }
}

/* 11. FAQ Accordion (Clean Underlined Panels) */
.faq-accordion-clean .accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  border-radius: 0 !important;
  margin-bottom: 0;
}

.faq-accordion-clean .accordion-button {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark);
  font-size: 1rem;
  padding: 24px 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.faq-accordion-clean .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: transparent;
}

.faq-accordion-clean .accordion-button::after {
  background-image: none;
  content: "+";
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-accordion-clean .accordion-button:not(.collapsed)::after {
  content: "-";
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-accordion-clean .accordion-body {
  padding: 0 0 24px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 12. Contact Section (Minimal Inputs) */
.contact-details-info {
  border-left: 2px solid var(--accent);
  padding-left: 25px;
  height: 100%;
}

.contact-details-info h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-detail-row {
  margin-bottom: 25px;
}

.contact-detail-row h5 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-detail-row p {
  font-size: 0.95rem;
  margin: 0;
}

.contact-detail-row a:hover {
  color: var(--accent);
}

/* Minimal Line Inputs */
.quote-clean-card {
  padding-left: 30px;
}

@media (max-width: 991px) {
  .quote-clean-card {
    padding-left: 0;
    margin-top: 50px;
  }
}

.quote-clean-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.input-line-group {
  position: relative;
  margin-bottom: 20px;
}

.input-line-control {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition-smooth);
}

.input-line-control:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.input-line-label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  pointer-events: none;
}

/* Floating Label Logic */
.input-line-control:focus~.input-line-label,
.input-line-control:not(:placeholder-shown)~.input-line-label {
  top: -15px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* Custom Select Dropdown Redesign */
.custom-select-wrapper {
  position: relative;
  cursor: pointer;
  margin-bottom: 20px;
}

.custom-select-control {
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  user-select: none;
  outline: none;
}

.custom-select-wrapper.focus .custom-select-control,
.custom-select-wrapper.open .custom-select-control {
  border-bottom-color: var(--primary);
  color: var(--dark);
}

.custom-select-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-arrow {
  font-size: 0.75rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  margin-top: 5px;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.custom-select-option i {
  font-size: 0.95rem;
  color: var(--text-muted);
  width: 18px;
  text-align: center;
  transition: var(--transition-smooth);
}

.custom-select-option:hover {
  background-color: var(--light-bg);
  color: var(--primary);
}

.custom-select-option:hover i {
  color: var(--accent);
}

.custom-select-option.selected {
  background-color: rgba(18, 61, 122, 0.06);
  color: var(--primary);
  font-weight: 600;
}

.custom-select-option.selected i {
  color: var(--primary);
}

/* Custom Scrollbar for Select Dropdown */
.custom-select-dropdown::-webkit-scrollbar {
  width: 5px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Footer (Contemporary Clean Grid) */
.footer-minimal {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 90px 0 0;
  /* Ensures footer is always above the fixed hero on subpages */
  position: relative;
  z-index: 5;
}

/* Footer link arrow — shifts text to right on hover */
.footer-link-row {
  margin-bottom: 10px;
  overflow: hidden;
}

.footer-link-row a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s ease;
  padding-left: 0;
  gap: 0;
}

.footer-link-row a .footer-arrow {
  display: inline-block;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary);
  font-style: normal;
  white-space: nowrap;
}

.footer-link-row a:hover {
  color: var(--primary);
}

.footer-link-row a:hover .footer-arrow {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
  margin-right: 4px;
}

.footer-widget h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  color: var(--dark);
}

.footer-widget img {
  max-height: 38px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-social-strip {
  display: flex;
  gap: 15px;
}

.footer-social-icon {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-social-icon:hover {
  color: var(--primary);
}

.footer-link-list {
  list-style: none;
  padding: 0;
}

.footer-contact-row {
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-row strong {
  color: var(--dark);
  display: block;
}

.footer-bottom-strip {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  margin-top: 70px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-strip a {
  color: var(--accent);
  font-weight: 600;
}

/* Animation utilities */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}

/* Page Preloader Overlay */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.preloader-logo {
  width: 200px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: none;
  /* Let GSAP control positions directly */
}

/* Scroll Lock during Preload */
body.preloading {
  overflow: hidden !important;
}

/* ==========================================
   SUBPAGE STYLING ADDITIONS
   ========================================== */

/* Subpage Hero Section */
.hero-section.subpage-hero {
  height: 65vh;
  min-height: 380px;
}

.hero-section.subpage-hero .hero-container {
  padding-top: 100px;
}

.subpage-content-wrapper {
  position: relative;
  z-index: 5;
  background-color: var(--white);
  margin-top: 65vh;
  /* matches subpage hero height */
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.03);
}

@media (max-width: 991px) {
  .hero-section.subpage-hero {
    height: 65vh;
    min-height: 320px;
  }

  .subpage-content-wrapper {
    margin-top: 60vh;
  }
}

/* Form Validation Styles */
.form-error {
  display: none;
  color: #dc3545;
  font-size: 0.85em;
  margin-top: 0.25rem;
}

.form-error.active {
  display: block;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-image-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  /* Slate 900 custom overlay */
  z-index: 2;
}

/* Interactive Journey Timeline */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 0;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background-color: var(--accent);
  height: 0%;
  /* Filled via scroll animation / GSAP */
  transition: height 0.1s ease-out;
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  z-index: 2;
  width: 100%;
  min-height: 200px;
  /* ensures image panel has minimum height */
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::after {
  content: "";
  display: table;
  clear: both;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--border-color);
  transform: translateX(-50%);
  z-index: 3;
  transition: var(--transition-smooth);
}

.timeline-item.active .timeline-node {
  border-color: var(--accent);
  background-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(244, 122, 32, 0.2);
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 25px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Timeline image — placed on the opposite side of each card */
.timeline-image {
  position: absolute;
  top: 5px;
  width: 42%;
  height: calc(100% - 10px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-image img {
  transform: scale(1.06);
}

/* Odd items: content left → image right */
.timeline-item:nth-child(odd) .timeline-image {
  left: calc(55% + 15px);
}

/* Even items: content right → image left */
.timeline-item:nth-child(even) .timeline-image {
  right: calc(55% + 15px);
  left: auto;
}

@media (max-width: 767px) {
  .timeline-image {
    position: static;
    width: 100%;
    height: 180px;
    margin-left: 50px;
    margin-bottom: 12px;
    margin-top: 12px;
    border-radius: 6px;
    width: calc(100% - 50px);
  }

  .timeline-item:nth-child(odd) .timeline-image,
  .timeline-item:nth-child(even) .timeline-image {
    left: auto;
    right: auto;
  }
}

/* ==========================================
   MISSION / VISION / VALUES — PREMIUM SECTION
   ========================================== */

.mvv-section {
  padding-top: 0 !important;
  /* section-padding handles top via header */
  overflow: hidden;
}

/* Each MVV row — compact card-style split layout */
.mvv-row {
  display: flex;
  min-height: 360px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.mvv-row:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.mvv-row-reverse {
  flex-direction: row-reverse;
}

/* Image half — compact width */
.mvv-image-panel {
  flex: 0 0 38%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.mvv-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(18, 61, 122, 0.45) 0%,
      rgba(15, 23, 42, 0.2) 100%);
  transition: opacity 0.4s ease;
}

.mvv-row:hover .mvv-image-panel::after {
  opacity: 0.7;
}

.mvv-image-overlay {
  display: none;
  /* handled by ::after */
}

/* Content half — compact padding */
.mvv-content-panel {
  flex: 0 0 62%;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  position: relative;
}

/* Normal row: image left, content right — add left border accent */
.mvv-content-left {
  border-left: none;
}

/* Reversed row: image right, content left */
.mvv-content-right {
  background: var(--light-bg);
}

/* Top label tag */
.mvv-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 4px 14px;
  border: 1px solid rgba(244, 122, 32, 0.3);
  border-radius: 50px;
  width: fit-content;
  background: rgba(244, 122, 32, 0.06);
}

/* Big icon — compact */
.mvv-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(18, 61, 122, 0.2);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.mvv-row:hover .mvv-icon-wrap {
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 14px 32px rgba(18, 61, 122, 0.28);
}

.mvv-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.mvv-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 460px;
}

/* Checklist */
.mvv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
}

.mvv-list li i {
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(244, 122, 32, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Values pill grid */
.mvv-values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.mvv-value-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition-smooth);
  cursor: default;
}

.mvv-value-pill i {
  font-size: 0.75rem;
  color: var(--accent);
}

.mvv-value-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mvv-value-pill:hover i {
  color: var(--white);
}

/* Divider line between rows */
.mvv-row+.mvv-row {
  border-top: 1px solid var(--border-color);
}

/* Responsive: stack on tablet */
@media (max-width: 991px) {

  .mvv-row,
  .mvv-row-reverse {
    flex-direction: column;
    min-height: auto;
  }

  .mvv-image-panel {
    flex: 0 0 200px;
    height: 200px;
    width: 100%;
  }

  .mvv-content-panel {
    flex: 1;
    padding: 30px 25px;
  }

  .mvv-title {
    font-size: 1.4rem;
  }

  .mvv-desc {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .mvv-image-panel {
    height: 160px;
  }

  .mvv-content-panel {
    padding: 24px 16px;
  }

  .mvv-title {
    font-size: 1.25rem;
  }

  .mvv-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .mvv-values-grid {
    gap: 6px;
  }

  .mvv-value-pill {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-node {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-content {
    width: calc(100% - 50px);
    float: right !important;
    margin-left: 50px;
  }
}

/* Alternating Services Layout */
.service-details-row {
  margin-bottom: 100px;
  align-items: center;
}

.service-details-row:last-child {
  margin-bottom: 0;
}

.service-details-image-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  padding: 10px;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.service-details-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.service-details-image-wrapper:hover img {
  transform: scale(1.03);
}

.service-details-content {
  padding: 20px;
}

.service-details-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 25px;
}

.service-details-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-details-desc {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: var(--text-muted);
}

.service-details-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.service-details-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 500;
}

.service-details-list-item i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Gallery Filtering & Lightbox */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.gallery-filter-btn {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 24px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  padding: 8px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

/* Instagram-style masonry gallery */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
  padding: 0;
}

.gallery-masonry-item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 16px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.gallery-masonry-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(18, 61, 122, 0.12);
}

.gallery-masonry-item img,
.gallery-masonry-item video {
  width: 100%;
  display: block;
  border-radius: 7px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-masonry-item:hover img,
.gallery-masonry-item:hover video {
  transform: scale(1.04);
}

/* Tall items — reduced from 3/4 to 4/5 for smaller cards */
.gallery-masonry-item.tall img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Wide items — reduced from 16/9 to 3/2 */
.gallery-masonry-item.wide img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Square items */
.gallery-masonry-item.sq img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Short landscape — reduced from 4/3 to 5/3 */
.gallery-masonry-item.short img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.gallery-masonry-item video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-masonry-item .gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 61, 122, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 18px;
  opacity: 0;
  border-radius: 7px;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--white);
}

.gallery-masonry-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-hover-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 6px;
}

.gallery-hover-icon {
  font-size: 1.5rem;
}

@media (max-width: 991px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 575px) {
  .gallery-masonry {
    columns: 1;
  }
}

/* Keep old gallery-card styles for backward compatibility */
.gallery-image-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 61, 122, 0.85);
  /* Primary overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: var(--white);
}

.gallery-card:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-hover-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery-hover-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

video.lightbox-media {
  width: 900px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: #000;
}

.lightbox-modal.active .lightbox-media {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--primary);
  color: var(--white);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

@media (max-width: 767px) {
  .lightbox-prev {
    left: -40px;
  }

  .lightbox-next {
    right: -40px;
  }
}

/* Interactive Global Network Map Page elements */
.interactive-map-container {
  position: relative;
  background-color: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 40px 20px;
  margin-bottom: 60px;
}

.map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: var(--accent);
  border: 2px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.map-pin::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: pinPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pinPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.map-pin:hover,
.map-pin.active {
  background-color: var(--primary);
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(18, 61, 122, 0.25);
  z-index: 6;
}

.map-pin[data-hub="india"] {
  background-color: var(--primary);
  width: 18px;
  height: 18px;
}

.map-pin[data-hub="india"]::after {
  border-color: var(--primary);
}

.map-popup-card {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 290px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  text-align: left;
}

.map-popup-card.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.map-popup-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}

.map-popup-details {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.map-popup-details strong {
  color: var(--dark);
}

@media (min-width: 992px) {
  .map-popup-card {
    left: 40px;
    transform: translateY(10px);
  }

  .map-popup-card.active {
    transform: translateY(0);
  }
}

/* Certifications styles */
.cert-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.cert-icon {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.cert-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cert-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Redesigned Services Row Layout */
.service-row-card {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 20px 60px 20px;
  transition: var(--transition-smooth);
}

.service-row-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-row-image {
  width: 260px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.service-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-row-card:hover .service-row-image img {
  transform: scale(1.05);
}

.service-row-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 25px;
}

.service-row-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-row-icon {
  font-size: 1.5rem;
  color: var(--accent);
  background-color: rgba(244, 122, 32, 0.08);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.service-row-card:hover .service-row-icon {
  background-color: var(--primary);
  color: var(--white);
}

.service-row-text {
  flex-grow: 1;
}

.service-row-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.service-row-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.service-row-action {
  flex-shrink: 0;
  margin-left: 20px;
}

/* Mobile responsive styles */
@media (max-width: 767px) {
  .service-row-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .service-row-image {
    width: 100%;
    height: 160px;
    margin-bottom: 15px;
  }

  .service-row-content {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    gap: 15px;
  }

  .service-row-info {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .service-row-action {
    width: 100%;
    margin-left: 0;
  }

  .service-row-action .btn-custom {
    width: 100%;
  }
}

/* ==========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ========================================== */

/* ------ Tablets (max 991px) ------ */
@media (max-width: 991px) {

  /* Section Padding */
  .section-padding {
    padding: 50px 0;
  }

  .section-title-wrapper {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  /* Footer */
  .footer-minimal {
    padding: 60px 0 0;
  }

  .footer-bottom-strip {
    margin-top: 40px;
  }

  /* About stats */
  .about-stats-container {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* Services stack */
  .services-stack-wrapper {
    gap: 30px;
  }

  /* Hero on subpages */
  .hero-section.subpage-hero {
    height: 50vh;
    min-height: 280px;
  }

  .subpage-content-wrapper {
    margin-top: 50vh;
  }

  /* Why collages — hide on tablet */
  .why-collage {
    display: none;
  }

  /* Sticky sidebar becomes normal flow */
  .sticky-sidebar {
    position: static !important;
  }

  /* Timeline */
  .timeline-container {
    margin-top: 30px;
  }
}

/* ------ Mobile (max 767px) ------ */
@media (max-width: 767px) {

  /* Base typography */
  body {
    font-size: 0.9rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-title-wrapper {
    margin-bottom: 30px;
  }

  /* Navbar */
  .navbar-custom {
    padding: 12px 0;
  }

  .navbar-brand-logo {
    max-height: 32px;
  }

  /* Hero */
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn-custom {
    width: 100%;
    justify-content: center;
  }

  /* Subpage hero */
  .hero-section.subpage-hero {
    height: 45vh;
    min-height: 240px;
  }

  .subpage-content-wrapper {
    margin-top: 45vh;
  }

  .hero-section.subpage-hero .hero-container {
    padding-top: 70px;
  }

  /* Services stack cards */
  .services-stack-wrapper {
    gap: 20px;
  }

  .services-stack-card {
    min-height: 200px;
    padding: 25px 20px !important;
  }

  /* Why choose items */
  .why-check-item {
    padding: 15px;
    gap: 15px;
  }

  .why-check-icon {
    font-size: 1.25rem;
  }

  /* Process timeline strip */
  .process-strip-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .process-strip-wrapper::before {
    display: none;
  }

  .process-strip-step {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }

  .process-strip-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  /* Gallery filters */
  .gallery-filters {
    gap: 8px;
    margin-bottom: 30px;
  }

  .gallery-filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  /* Gallery masonry */
  .gallery-masonry {
    columns: 1;
  }

  /* Footer */
  .footer-minimal {
    padding: 45px 0 0;
  }

  .footer-widget {
    margin-bottom: 10px;
  }

  .footer-bottom-strip {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-top: 30px;
  }

  .footer-bottom-strip .d-flex {
    justify-content: center;
  }

  /* Contact section */
  .contact-details-info {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding-left: 0;
    padding-top: 25px;
    height: auto;
    margin-top: 30px;
  }

  /* Quote card */
  .quote-clean-card {
    padding-left: 0;
    margin-top: 30px;
  }

  /* Service details layout */
  .service-details-image-wrapper img {
    height: 260px;
  }

  /* Timeline */
  .timeline-line {
    left: 16px;
    transform: none;
  }

  .timeline-node {
    left: 16px;
    transform: translateX(-50%);
  }

  .timeline-content {
    width: calc(100% - 45px);
    float: right !important;
    margin-left: 45px;
  }

  /* Offcanvas menu */
  .offcanvas-custom {
    width: 85vw !important;
  }

  /* Network card */
  .network-card-minimal {
    padding: 20px 15px;
  }

  /* Testimonials */
  .testimonial-swiper {
    padding: 10px 5px 50px;
  }

  /* Stat numbers */
  .about-stat-number {
    font-size: 1.75rem;
  }

  /* CTA sections */
  .d-flex.justify-content-center.gap-3 {
    flex-direction: column;
    align-items: center;
  }

  .d-flex.justify-content-center.gap-3 .btn-custom {
    width: 100%;
    max-width: 320px;
  }
}

/* ------ Small mobile (max 480px) ------ */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .hero-subtitle,
  .section-subtitle {
    font-size: 0.7rem;
  }

  .about-stat-number {
    font-size: 1.5rem;
  }

  .cert-card {
    padding: 20px 15px;
  }

  .gallery-filter-btn {
    padding: 5px 12px;
    font-size: 0.73rem;
  }

  .lightbox-prev {
    left: -28px;
  }

  .lightbox-next {
    right: -28px;
  }

  .footer-minimal {
    padding: 35px 0 0;
  }

  .navbar-cta-btn {
    display: none !important;
  }
}

/* ============================================================
   MANAGEMENT TEAM CARDS (about_us.php)
   ============================================================ */
.team-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(18, 61, 122, 0.12);
}

.team-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.team-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-photo {
  transform: scale(1.04);
}

.team-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.team-card-role {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.team-card-body {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
}

.team-social-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.team-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--primary);
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.team-social-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */

/* Perk Cards (Why Join Us grid) */
.career-perk-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition-smooth);
  height: 100%;
}

.career-perk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 61, 122, 0.15);
}

.career-perk-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(18, 61, 122, 0.08), rgba(244, 122, 32, 0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 auto 16px;
}

.career-perk-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.career-perk-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Opening Cards */
.career-opening-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-smooth);
}

.career-opening-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 61, 122, 0.2);
}

.career-opening-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(244, 122, 32, 0.08);
  border: 1px solid rgba(244, 122, 32, 0.2);
  border-radius: 4px;
  padding: 4px 10px;
  width: fit-content;
}

.career-opening-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}

.career-opening-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.career-opening-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.career-opening-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.career-opening-meta i {
  color: var(--primary);
  font-size: 0.7rem;
}

.career-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 4px;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.career-apply-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* Application Form Card */
.career-form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 575px) {
  .career-form-card {
    padding: 30px 20px;
  }
}

/* Field Groups */
.career-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.career-field-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.career-field-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.career-field-input::placeholder {
  color: #94a3b8;
}

.career-field-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 61, 122, 0.08);
}

.career-field-textarea {
  resize: vertical;
  min-height: 140px;
}

/* Select wrapper */
.career-select-wrap {
  position: relative;
}

.career-field-select {
  cursor: pointer;
  padding-right: 40px;
}

.career-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* Resume Upload Zone */
.career-upload-zone {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: 10px;
  background: var(--light-bg);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
  cursor: pointer;
  overflow: hidden;
}

.career-upload-zone:hover {
  border-color: var(--primary);
  background: rgba(18, 61, 122, 0.03);
}

.career-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.career-upload-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  text-align: center;
  pointer-events: none;
}

.career-upload-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0.7;
}

.career-upload-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.career-upload-browse {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.career-upload-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

.career-upload-chosen {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(18, 61, 122, 0.04);
  font-size: 0.88rem;
  color: var(--dark);
}

.career-upload-chosen i {
  color: var(--primary);
  font-size: 1.1rem;
}

.career-upload-chosen span {
  flex: 1;
  word-break: break-all;
}

.career-upload-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 2px 4px;
  transition: color 0.2s ease;
  line-height: 1;
}

.career-upload-remove:hover {
  color: #ef4444;
}

/* Success State */
.career-success-state {
  text-align: center;
  padding: 40px 20px;
}

.career-success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 20px;
  animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes successPop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.career-success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.career-success-msg {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 10px;
  line-height: 1.65;
}

.career-success-sub {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
}

@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
    min-height: 320px;
  }

  .hero-section.subpage-hero {
    height: 60vh;
    min-height: 220px;
  }

  .subpage-content-wrapper {
    margin-top: 60vh;
  }
}


.captcha-box {
  display: flex;
  /* align-items: center; */
  /* margin-top: 33px; */
  flex-direction: row;
}

.captcha-code {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  width: 100px;
  background: #2b4c79;
  font-size: 20px;
  color: white;
  letter-spacing: 1.3px;
  user-select: none;
  border-radius: 2px;
  margin-right: 10px;
}

.refresh-captcha {
  background-color: transparent;
  border-color: transparent;
  transition: transform 0.6s ease;
  font-size: 20px;
  color: #738da5;
  padding: 0;
  width: 0;
  height: 0;
  margin-left: 12px;
  margin: unset !important;
}

.contact-details .content-column .inner-column form .type-feild .cap-icon {
  position: relative;
}

.refresh-captcha:hover {
  background-color: #f8f8f8;
  border-color: #f8f8f8;
  color: #738da5;
  cursor: pointer;
  cursor: pointer;
  /* transform: rotate(360deg);  */
}

:not(.btn-check)+.btn:active {
  color: transparent;
  background-color: transparent;
  border-color: transparent;
}

#captcha-lable {
  left: 12px !important;
}