/* ================================================== */
/* =================== GLOBAL ======================= */
/* ================================================== */

html,
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-color: #474747 #111827;
  scrollbar-width: none;
}

/* Custom Scrollbar Styles for WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  height: auto;
  /* prevent aspect-ratio distortion from HTML width/height attrs */
}

/* Restore pointer-events for clickable machine images */
img.expandable-img {
  pointer-events: auto;
  cursor: pointer;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #f4f8fb;
  background-image:
    radial-gradient(at 0% 0%, hsla(210, 100%, 96%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(200, 100%, 94%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(190, 100%, 95%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(205, 100%, 96%, 1) 0px, transparent 50%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
  overscroll-behavior: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.header {
  background-color: #000000b1;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(80px) saturate(180%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  z-index: 1000;
  box-shadow:
    0 1px 24px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1faff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.35s ease, border-bottom-color 0.35s ease;
  /* Isolate header layout from the rest of the page */
  contain: layout style;
}

/* When the mobile menu is open, remove the header's shadow but keep the border */
.header:has(.hamburger.open) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.header-left {
  display: flex;
  align-items: center;
}

.header-logo {
  height: clamp(44px, 5vw, 70px);
  width: clamp(44px, 5vw, 70px);
  margin-right: clamp(10px, 1.5vw, 20px);
  border-radius: 6px;
  animation: fadeIn 1.2s ease-out;
}

.header-separator {
  width: 3px;
  height: clamp(28px, 4vw, 44px);
  background-color: #ffffff;
  margin-right: clamp(10px, 1.5vw, 20px);
  display: inline-block;
  align-self: center;
}

.header-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: bold;
}

.hamburger {
  display: none;
  /* Hidden on desktop; shown via media query on mobile */
  background: none;
  border: 1px solid rgba(160, 195, 224, 0.2);
  color: #a0c3e0;
  font-size: 22px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: background 0.25s ease, border-color 0.25s ease;
  line-height: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  /* Kill the blue tap-highlight box on mobile */
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

.hamburger:hover {
  background: rgba(160, 195, 224, 0.15);
  border-color: rgba(160, 195, 224, 0.4);
}

/* Hamburger ☰ bars — drawn with pseudo-elements */
.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #a0c3e0;
  border-radius: 2px;
  position: absolute;
  will-change: transform, opacity, top;
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.18s ease, top 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.hamburger-bar:nth-child(1) {
  top: 11px;
}

.hamburger-bar:nth-child(2) {
  top: 18px;
}

.hamburger-bar:nth-child(3) {
  top: 25px;
}

/* Open state — morph into X */
.hamburger.open .hamburger-bar:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}

.hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger-bar:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

/* ================================================== */
/* =================== NAVIGATION =================== */
/* Desktop: fixed right-side horizontal nav bar      */
/* ================================================== */

.navigation {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  right: 15px;
  height: 86px;
  z-index: 1001;
}

.navigation a {
  color: rgba(220, 235, 248, 0.9);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 20px;
  margin: 4px;
  margin-right: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50%;
  height: 2px;
  background-color: #a0c3e0;
  border-radius: 1px;
  transition: transform 0.25s ease;
}

.navigation a:hover {
  background-color: rgba(140, 190, 230, 0.15);
  color: #ffffff;
  border-color: rgba(160, 200, 235, 0.15);
}

.navigation a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navigation a.active {
  background-color: rgba(120, 179, 225, 0.2);
  color: #ffffff;
  border-color: rgba(160, 200, 235, 0.2);
}

.navigation a.active::after {
  transform: translateX(-50%) scaleX(1);
  background-color: #78b3e1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 0 20px;
  flex: 1 0 auto;
}

.full-width-background {
  background-color: rgb(46, 75, 77);
  padding: 15px;
  padding-bottom: 170px;
  margin-bottom: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}

/* ================================================== */
/* ================= HERO BANNER ==================== */
/* ================================================== */

.hero-banner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 30px 0px;
  background: linear-gradient(160deg, #0f2427 0%, #1b3a4d 40%, #2d4a5e 70%, #1a3040 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(160, 195, 224, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(74, 122, 155, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-matrix-grid {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(rgba(160, 195, 224, 0.12) 1.5px, transparent 1.5px);
  background-size: 50px 50px;
  transform: perspective(600px) rotateX(0deg) translateY(-8%) translateZ(0);
  transform-origin: center center;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
  animation: matrixMove 100s linear infinite;
  will-change: background-position;
}

@keyframes matrixMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 1000px;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: clamp(-1px, -0.15vw, -2px);
  margin: -30px auto 80px auto;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: heroBlurIn 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 22px);
  color: rgba(209, 224, 236, 0.85);
  font-weight: 300;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 44px;
  animation: heroBlurIn 1.6s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
  opacity: 0;
}

@keyframes heroBlurIn {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.06);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.hero-cta {
  display: inline-block;
  padding: 16px 42px;
  background: linear-gradient(135deg, #4a7a9b, #6f96b9);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(160, 195, 224, 0.3);
  box-shadow: 0 8px 30px rgba(74, 122, 155, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: heroBlurIn 1.8s cubic-bezier(0.35, 1, 0.5, 0.75);
}

.hero-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(74, 122, 155, 0.5);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.hero-scroll-arrow {
  display: block;
  font-size: 28px;
  color: #a0c3e080;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }
}

/* ================================================== */
/* ============== PROFILE SECTION =================== */
/* ================================================== */

.profile-section {
  background: #f1fbff;
  padding: 80px 0 100px;
}

.profile-section .container {
  max-width: 1400px;
}

.profile-layout {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
  background: #ffffff;
  padding: clamp(24px, 4vw, 70px) clamp(20px, 5vw, 80px);
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid #3b78a0;
}

.profile-image {
  flex: 1.35;
}

.profile-image img {
  width: 100%;
  height: auto;
}

.profile-text {
  flex: 1;
}

.profile-heading {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 700;
  color: #1a3a50;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0px auto 30px auto;
  text-align: center;
}

.profile-description {
  font-size: clamp(15px, 1.4vw, 20px);
  color: #4a5e6d;
  line-height: 1.85;
  margin-bottom: 30px;
  text-align: justify;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #4a7a9b;
  padding: 16px 32px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(74, 122, 155, 0.3);
}

.profile-link:hover {
  background: #2d5a78;
  box-shadow: 0 4px 15px rgba(45, 90, 120, 0.5);
}

.profile-link .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  font-size: 1.4em;
  line-height: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-link:hover .arrow {
  transform: translateX(6px);
}


/* ================================================== */
/* ============= GLOBAL TYPOGRAPHY ================== */
/* ================================================== */

h2 {
  text-align: center;
  color: #4a7a9b;
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Outsourced Machinery Line */
h4 {
  background: linear-gradient(45deg, #c5ddfc 0%, #f0f4f8 100%);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.105);
  border: 1px solid #a0c3e08e;
  padding: clamp(16px, 2vw, 20px);
  margin: clamp(60px, 10vw, 200px) clamp(15px, 12vw, 250px) 0px clamp(15px, 12vw, 250px);
  text-align: center;
  color: #282c33;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  text-shadow: #0000002e 0 2px 8px;
}

.about-section h2 {
  margin-top: 60px;
  text-align: left;
  font-size: 42px;
}

p {
  font-size: 18px;
  line-height: 1.8;
  color: #4a5568;
  font-weight: 400;
}

.about-image {
  padding-right: 0;
  width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
}

.about-text {
  flex: 2;
}

.text-center {
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  touch-action: none;
  overscroll-behavior: none;
}

.modal-content {
  margin: auto;
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 75vh;
  object-fit: contain;
}

#caption {
  margin: 15px auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-size: 20px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.3s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

hr {
  height: 2px;
  border: none;
  background: linear-gradient(90deg, transparent, #a0c3e0, transparent);
  box-shadow: 0 1px 4px rgba(160, 195, 224, 0.3);
}

h1 {
  text-align: center;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* ================================================== */
/* ============= CLIENTS SECTION ==================== */
/* ================================================== */

.clients-section {
  background: #f1fbff;
  padding: 80px 30px 200px;
}

.clients-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.clients-heading {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 600;
  color: #4b7fad;
  letter-spacing: clamp(1px, 0.3vw, 3px);
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0px 0px 20px #27272752;
}

.clients-title {
  font-size: clamp(22px, 3.5vw, 46px);
  font-weight: 300;
  color: #2f6ba0;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.clients-heading [data-aos="underline-slide"] {
  display: block;
  width: 100%;
}

.clients-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6f96b9, #a0c3e0);
  border-radius: 2px;
  margin: 0 auto 100px;
}

.clients-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-card {
  background: #ffffff;
  border: 1px solid rgba(160, 195, 224, 0.3);
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.client-card:hover {
  transform: translateY(-8px);
  border-color: rgba(160, 195, 224, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.client-card img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  mix-blend-mode: multiply;
}

.client-card:hover img {
  transform: scale(1.1);
}

.large-client-logo {
  transform: scale(1.4);
}

.client-card:hover .large-client-logo {
  transform: scale(1.55);
}

.extra-large-client-logo {
  transform: scale(1.6);
}

.client-card:hover .extra-large-client-logo {
  transform: scale(1.75);
}

.sp-engineers-logo {
  transform: scale(1.25);
  max-width: 75%;
  object-fit: contain;
}

.client-card:hover .sp-engineers-logo {
  transform: scale(1.38);
}

.small-client-logo {
  transform: scale(0.85);
}

.client-card:hover .small-client-logo {
  transform: scale(0.98);
}



/* ================================================== */
/* ============= PRODUCTS HERO ====================== */
/* ================================================== */

.products-hero {
  margin-bottom: -80px;
  padding: 160px 30px 80px;
  text-align: center;
  background: linear-gradient(160deg, #0f2427 0%, #1b3a4d 40%, #2d4a5e 70%, #1a3040 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(160, 195, 224, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.products-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.products-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: clamp(-0.5px, -0.1vw, -1.5px);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: zoomBlurIn 1.8s ease-out;
}

.products-hero-subtitle {
  font-size: clamp(15px, 2vw, 26px);
  margin-top: 30px;
  color: rgba(209, 224, 236, 0.75);
  font-weight: 300;
  line-height: 1.6;
  animation: blurFadeIn 1.8s ease-out;
}

/* ================================================== */
/* ============= PRODUCT GRID & CARDS =============== */
/* ================================================== */

@media (min-width: 1025px) {
  .products-gallery-container {
    max-width: 1450px;
  }

  .product-card-img {
    padding: 10px 12px !important;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  padding: 10px 0 80px;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(160, 195, 224, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.6s ease,
    box-shadow 0.6s ease,
    border-color 0.6s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  border-color: rgba(160, 195, 224, 0.5);
}

.product-card-img {
  background: #ffffff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.4s ease, transform 0.4s ease, filter 0.4s ease;
  filter: brightness(1.05) contrast(1.05);
}

.product-card:hover .product-card-img img {
  border-color: rgba(160, 195, 224, 0.5);
  transform: scale(1.02);
}

.product-card-label {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #2d5a78;
  text-align: center;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(160, 195, 224, 0.15);
}

.product-list {
  margin-top: 100px;
}

.product-entry {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  margin-bottom: 80px;
  padding: 36px;
  border-radius: 40px;
  border: 1px solid #2d6b8ada;
  transition: all 0.6s ease;
  position: relative;
}

.product-entry::before {
  content: '';
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 50%;
  width: 2px;
  background: rgba(74, 123, 155, 0.61);
  transform: translateX(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
  z-index: 1;
}

.product-entry.aos-animate::before {
  transform: translateX(-50%) scaleY(1);
}

.product-entry.aos-animate:hover {
  transform: scale(1.108);
  box-shadow: 0 15px 40px rgba(74, 122, 155, 0.25);
}

/* Shared card background gradient for all product-entry cards */
.bg-1,
.bg-2,
.bg-3 {
  background: linear-gradient(225deg, #f8fbff 0%, #e8f4fb 45%, #b8d4e8 75%, #7ea8c8 100%);
  box-shadow: none;
}

.product-image {
  flex: 1;
  padding-left: 24px;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.product-image img:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(160, 195, 224, 0.4);
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-entry .product-details {
  text-align: right;
  align-items: flex-end;
  padding-right: 24px;
}

.product-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #4a7a9b;
  background: rgba(74, 122, 155, 0.08);
  padding: 5px 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(74, 122, 155, 0.12);
}

.product-details::after {
  content: '';
  display: none;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4a7a9b, #a0c3e0);
  margin-top: 18px;
  margin-left: auto;
}

.product-details h3 {
  text-shadow: none;
  color: #1a3a50;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  font-size: clamp(22px, 2.5vw, 36px);
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 50px;
  margin-top: 100px;
  margin-bottom: 50px;
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -35px;
}

.contact-details h1 {
  font-size: 46px;
  color: #1a3a50;
  margin-bottom: 5px;
  text-align: left;
  text-shadow: 0 2px 8px rgba(26, 58, 80, 0.12);
}

.contact-details h2 {
  font-size: 22px;
  color: #3d6680;
  margin-bottom: 35px;
  font-weight: 400;
  text-align: left;
  text-shadow: none;
  letter-spacing: 0.2px;
  line-height: 1.5;
}

.contact-details p {
  font-size: 18px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  color: #2c4a5e;
}

.contact-details .icon {
  font-size: 24px;
  color: #ffffffdd !important;
  background: linear-gradient(135deg, #6f96b9 0%, #4a7291 100%);
  padding: 12px;
  border-radius: 50%;
  margin-right: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px hsla(208, 35%, 58%, 0.3);
}

.contact-details a {
  color: #1e4060;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.contact-details a:hover {
  color: #4a7a9b;
  transform: translateX(3px);
  display: inline-block;
}

.contact-logo {
  height: auto;
  width: 70%;
  max-width: 280px;
  display: block;
  margin: 40px 0 0 0;
  border-radius: 20px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.contact-logo:hover {
  transform: translateY(-8px);
}

.contact-form-container {
  flex: 1.2;
  background: #f8fbff;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0px 10px 30px rgba(111, 150, 185, 0.1);
  border: 1px solid rgba(160, 195, 224, 0.3);
}

.form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #e8f0f6;
  border-radius: 12px;
  font-size: 16px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a0c3e0;
  box-shadow: 0 0 0 4px rgba(160, 195, 224, 0.2);
}

.form-group textarea {
  height: 160px;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8fa5ba;
  opacity: 1;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #6f96b9 0%, #4a7291 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(111, 150, 185, 0.3);
}

.submit-btn:hover:not(:disabled) {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(111, 150, 185, 0.6);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}



.footer {
  padding: 10px 20px 10px 0px;
  margin-top: 0;
  background: linear-gradient(135deg, #0f2427 0%, #1b3a4d 50%, #2d4a5e 100%);
  flex-shrink: 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(160, 195, 224, 0.2);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-top: 20px;
}

.footer-heading {
  font-family: 'Ubuntu', sans-serif;
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 0;
  color: #a0c3e0;
  letter-spacing: 1px;
}

.footer-link {
  color: rgb(35, 35, 35);
}

.footer-link-sm {
  color: rgb(35, 35, 35);
  font-size: 18px;
}

.footer-credit {
  text-align: right;
  color: rgb(255, 255, 255);
  margin-top: 30px;
  margin-bottom: -5px;
  font-size: 14px !important;
}

.footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.footer>div,
.footer>p {
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: flex-start;
  margin-top: 10px;
  gap: 20px;
  text-decoration: none;
  font-weight: 300;
}

.footer-row p {
  font-size: 38px !important;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid #a0c3e0;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: flex-end;
  height: 50px;
}

.footer-row a {
  padding-top: 1px;
  color: #dfecf5 !important;
  text-decoration: none;
  font-size: 18px !important;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: 400;
  padding-bottom: 2px;
}

.footer-row a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #a0c3e0;
  transition: width 0.3s ease;
}

.footer-row a:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
}

.footer-row a:hover::after {
  width: 100%;
  left: 0;
}

.footer-logo {
  height: 155px;
  border-radius: 15px;
  align-self: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background-color: #ffffff;
  margin: 20px 20px 0px -20px;
  padding: 15px;
}

.footer-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}


/* ================================================== */
/* ============= ZOOM + BLUR REVEAL ================= */
/* ================================================== */

@keyframes zoomBlurIn {
  from {
    opacity: 0;
    transform: scale(1.1) translateZ(0);
    filter: blur(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateZ(0);
    filter: blur(0px);
  }
}

.zoom-blur-in {
  opacity: 0;
  transform: scale(1.1) translateZ(0);
  filter: blur(16px);
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.zoom-blur-in.zoom-blur-visible {
  animation: zoomBlurIn 1.2s ease-out forwards;
}

/* Stagger the paragraph text slightly later than the heading */
p.zoom-blur-in.zoom-blur-visible {
  animation-delay: 0.3s;
}

/* Underline synced to zoom-blur — sweeps in after blur resolves */
.zoom-blur-underline {
  position: relative;
  display: inline-block;
}

.zoom-blur-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background-color: #5f84a4;
  transform-origin: center;
  transition: none;
}

/* Trigger underline when parent has zoom-blur-visible */
.zoom-blur-visible .zoom-blur-underline::after {
  transform: translateX(-50%) scaleX(1);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s;
}

/* ================================================== */
/* ===================== AOS CUSTOM ================= */
/* ================================================== */

[data-aos="underline-slide"] {
  position: relative;
  display: inline-block;
}

[data-aos="underline-slide"]::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 0%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, #5f84a4 20%, #5f84a4 80%, transparent);
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="underline-slide"].aos-animate::after {
  width: 100%;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* For centered text, expand from middle */
[data-aos="underline-slide"].underline-centered::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Custom AOS animation for horizontal rule slide-in */
[data-aos="hr-slide"] {
  transform: scaleX(0) !important;
  transform-origin: center !important;
  opacity: 0;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.5s ease !important;
}

[data-aos="hr-slide"].aos-animate {
  transform: scaleX(1) !important;
  opacity: 1 !important;
}

/* Specific styling for About Us divider */
.about-hr {
  height: 4px !important;
  border-radius: 4px !important;
  background: linear-gradient(90deg, transparent, #a0c3e0 20%, #a0c3e0 80%, transparent) !important;
  border: none !important;
  box-shadow: 0 1px 4px rgba(160, 195, 224, 0.3) !important;
}

/* Specific timing for Clients Heading fade-up and its child underline slide on reverse */
.clients-heading[data-aos="fade-up"] {
  /* On scroll-out, delay the fade-out/down by 0.6s to let the underline contract first */
  transition-delay: 0.6s !important;
  transition-duration: 0.8s !important;
}

.clients-heading[data-aos="fade-up"].aos-animate {
  /* On scroll-in, animate immediately */
  transition-delay: 0s !important;
  transition-duration: 0.8s !important;
}

.clients-heading [data-aos="underline-slide"]::after {
  /* Increase the gap between the text and underline for clients title */
  bottom: -22px;
  /* On scroll-out, contract immediately and finish in 0.6s */
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s !important;
}

.clients-heading [data-aos="underline-slide"].aos-animate::after {
  /* On scroll-in, wait for heading to fade up first, then slide out */
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s !important;
}

/* ================================================== */
/* =========== AOS: zoom-blur-in custom ============= */
/* ================================================== */

[data-aos="zoom-blur-in"] {
  opacity: 0;
  transform: scale(1.12) translate3d(0, 0, 0);
  filter: blur(12px);
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transition-property: opacity, transform, filter !important;
}

[data-aos="zoom-blur-in"].aos-animate {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  filter: blur(0px);
}

/* ================================================== */
/* =================== TABLET ======================= */
/* Covers hamburger-menu range above 480px           */
/* ================================================== */

@media (min-width: 481px) and (max-width: 1024px) {

  .profile-layout {
    flex-direction: row;
    gap: clamp(20px, 3vw, 50px);
    padding: clamp(24px, 4vw, 50px);
  }

  .profile-image {
    flex: 1.2;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .product-entry {
    padding: clamp(16px, 3vw, 30px);
  }

  .product-image img {
    height: clamp(180px, 25vw, 340px);
  }

  .contact-container {
    flex-direction: row;
    gap: 30px;
    margin-top: 90px;
  }

  .contact-form-container {
    padding: 30px 25px;
  }

  .footer-inner {
    padding: 0 5% !important;
  }

  .footer-row p {
    font-size: clamp(18px, 2.5vw, 28px) !important;
  }

  h4 {
    margin: clamp(60px, 8vw, 140px) clamp(15px, 8vw, 140px) 0px clamp(15px, 8vw, 140px) !important;
  }
}

/* ================================================== */
/* ===================== MOBILE ===================== */
/* ================================================== */

@media (max-width: 1024px) {

  * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  /* Header — compact row: logo left, text right */
  .header {
    padding: 10px 15px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .header-left {
    margin-left: -8px;
    flex-direction: row;
    align-items: flex-end;
  }

  .header-logo {
    margin-right: 10px;
    margin-bottom: 0;
    height: 50px;
    width: 50px;
  }

  .header-title {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1;
    padding-bottom: clamp(6px, 2vw, 12px);
  }

  .hamburger {
    display: flex !important;
    position: relative;
    top: 0;
    right: 0;
    margin-left: auto;
  }

  /* Carpet/unroll reveal — fixed position (NOT inside header's compositing layer) */
  /* Chrome bug: backdrop-filter fails on children of a backdrop-filter parent.     */
  /* Fix: position:fixed takes the nav out of the header's stacking context entirely */
  .navigation {
    position: fixed;
    top: 70px;
    /* perfectly matches header height */
    left: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    /*
      scaleY(0→1) from transform-origin:top = carpet unrolling downward.
      Unlike clip-path, transform works WITH backdrop-filter on all mobile browsers.
    */
    transform: scaleY(0);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.2s ease,
      visibility 0s linear 0.35s;
    will-change: transform, opacity;
    background-color: #000000b6;
    backdrop-filter: blur(90px) saturate(80%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    border: none;
    border-top: 1px solid #88acce6f;
    border-radius: 0 0 18px 18px;
    border-bottom: 1.5px solid #88acce6f;
    padding: 0;
    z-index: 99;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    overflow: hidden;
  }

  .navigation.open {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    touch-action: none;
    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.18s ease,
      visibility 0s linear 0s;
    padding: 10px 10px 10px;

  }

  .navigation a {
    margin: 5px 0;
    width: 90%;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
    /* Simple opacity fade — no transform warp */
    opacity: 0;
    transition:
      color 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      opacity 0.25s ease;
  }

  .navigation.open a {
    opacity: 1;
  }

  /* Stagger links to cascade in one by one */
  .navigation.open a:nth-child(1) {
    transition-delay: 0.12s;
  }

  .navigation.open a:nth-child(2) {
    transition-delay: 0.20s;
  }

  .navigation.open a:nth-child(3) {
    transition-delay: 0.28s;
  }

  .navigation.open a:nth-child(4) {
    transition-delay: 0.36s;
  }

  /* Visible separator lines between items */
  .navigation a {
    border-top: 1px solid rgba(160, 195, 224, 0.3);
  }

  /* Container */
  .container {
    padding: 90px 15px 0 15px;
  }

  /* Typography */
  h1 {
    font-size: clamp(22px, 6vw, 28px) !important;
  }

  h2 {
    font-size: clamp(19px, 5vw, 24px) !important;
  }

  h3 {
    font-size: clamp(16px, 4.5vw, 20px) !important;
  }

  h4 {
    font-size: clamp(14px, 3.5vw, 18px) !important;
    margin: 30px 15px 0 15px !important;
    padding: 18px !important;
  }

  p {
    font-size: clamp(13px, 3.5vw, 15px) !important;
  }

  /* Hero Banner */
  .hero-banner {
    min-height: 85vh;
    padding: 100px 20px 50px;
  }

  .hero-title {
    font-size: clamp(34px, 7vw, 44px) !important;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: clamp(13px, 3.5vw, 16px) !important;
    margin-bottom: 48px !important;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: clamp(13px, 3.5vw, 15px);
  }

  .hero-scroll-hint {
    bottom: 24px;
  }

  /* Profile Section */
  .profile-section {
    padding: 40px 0 50px;
  }

  .profile-layout {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }

  .profile-heading {
    text-align: center !important;
    font-size: 30px !important;
    margin: -10px auto 40px auto !important;
  }

  .profile-description {
    text-align: justify !important;
    font-size: 15px !important;
  }

  .profile-link {
    display: block;
    text-align: center;
    width: 251.5px !important;
    margin: 60px auto 25px auto !important;
  }



  /* Clients Section */
  .clients-section {
    padding: 50px 20px;
  }

  .clients-heading {
    font-size: clamp(42px, 5vw, 38px) !important;
    margin-bottom: 10px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .client-card {
    padding: 16px 12px;
    min-height: 80px;
  }

  .client-card img {
    max-height: 50px;
  }

  .extra-large-client-logo {
    transform: scale(1.2);
  }

  .client-card:hover .extra-large-client-logo {
    transform: scale(1.3);
  }

  .small-client-logo {
    transform: scale(1.1);
  }

  .client-card:hover .small-client-logo {
    transform: scale(1.2);
  }

  /* Products — Hero */
  .products-hero {
    padding: 110px 20px 50px;
  }

  .products-hero-title {
    font-size: clamp(52px, 7vw, 50px) !important;
    letter-spacing: -1px;
  }

  .products-hero-subtitle {
    font-size: clamp(20px, 3.5vw, 18px) !important;
    margin-bottom: -50px !important;
  }

  /* Products — Grid cards */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 24px 0 60px;
  }

  .product-card-img {
    height: 220px;
    min-height: auto;
    padding: 14px;
  }

  .product-card-img img {
    height: 100%;
  }

  .product-card-label {
    font-size: 13px;
    padding: 12px 14px;
  }

  /* About — Sections */
  .h1-a {
    font-size: clamp(50px, 7vw, 50px) !important;
  }

  .about-h2 {
    font-size: 26px !important;
    margin-bottom: 40px !important;
  }

  .p-a2 {
    margin-top: 50px !important;
  }

  .full-width-background {
    padding: 10px;
    padding-bottom: 60px;
  }

  .about-section {
    flex-direction: column;
  }

  .about-why-p {
    text-align: justify;
    margin: 0 2px;
    font-size: clamp(28px, 3.5vw, 32px);
  }

  .about-image {
    padding-right: 0;
    margin-bottom: 20px;
  }

  /* About — Machinery cards */
  .product-list {
    margin-top: 40px;
  }

  .product-entry {
    flex-direction: column !important;
    padding: 24px !important;
    margin-bottom: 50px !important;
    gap: 24px !important;
    border-radius: 20px !important;
  }

  .product-entry::before {
    display: none !important;
  }

  .product-image {
    width: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    flex: none !important;
  }

  .product-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }

  .product-details {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
    flex: none !important;
    border-right: none !important;
  }

  .product-details::after {
    display: block !important;
    margin: 14px auto 0 auto !important;
    border-radius: 0 !important;
  }

  .product-category {
    align-self: center !important;
    border-radius: 0 !important;
  }

  .bg-1,
  .bg-2,
  .bg-3 {
    background: linear-gradient(135deg, rgba(248, 251, 255, 0.95) 0%, rgba(232, 244, 251, 0.95) 50%, rgba(184, 212, 232, 0.7) 100%) !important;
    box-shadow: none !important;
  }

  .product-entry:hover {
    box-shadow: 0 10px 30px rgba(74, 122, 155, 0.2) !important;
  }


  /* About — Why choose us */
  .about-why-choose-us {
    font-size: 36px !important;
    margin-top: 45px !important;
  }

  .text-center p {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .text-center h2 {
    font-size: 30px !important;
  }

  .text-center {
    font-size: 30px !important;
  }

  /* Outsourced text */
  .outsourced {
    margin-top: 80px !important;
  }

  /* Contact */
  .contact-container {
    flex-direction: column;
    gap: 30px;
    padding: 50px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;

  }

  .contact-details {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 0 5px;
    overflow-wrap: break-word;
    margin-top: 0;
  }

  .contact-details hr {
    margin: 0 auto 20px auto !important;
  }

  .contact-details h1 {
    text-align: center;
    font-size: clamp(36px, 6vw, 36px) !important;
    margin-bottom: 40px !important;
  }

  .contact-details h2 {
    text-align: center;
    line-height: 1.5;
    font-size: clamp(18px, 4vw, 20px) !important;
    margin-bottom: 20px !important;
  }

  .contact-details p {
    display: block;
    text-align: left;
    font-size: 16px !important;
    line-height: 1.6;
    margin: 10px 20px 15px 20px;
  }

  .contact-details p a {
    word-break: break-word;
    display: inline-block;
  }

  .contact-details .icon {
    font-size: 16px !important;
    padding: 0 !important;
    width: 28px !important;
    height: 28px !important;
    margin-right: 6px !important;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .info-bg {
    align-self: center;
    margin: 20px;
    padding: 15px;
    border-radius: 20px;
    background: rgba(100, 149, 237, 0.15);
    width: 100%;
    box-sizing: border-box;
    border: 1px rgb(80, 129, 154) solid;
  }

  .contact-logo {
    width: 50%;
    max-width: 180px;
    margin: 15px auto 0 auto;
  }

  .contact-form-container {

    box-sizing: border-box;
    padding: 18px 14px;
    border-radius: 24px;
    overflow: hidden;
  }

  .form-group {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    font-size: 15px;
    margin: 0;
  }

  .form-group textarea {
    height: 110px;
  }

  .submit-btn {
    padding: 13px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
  }


  /* Captcha alignment */
  .g-recaptcha,
  [data-sitekey] {
    transform: scale(0.85);
    transform-origin: center center;
    margin: 0 auto;
  }

  /* Footer */
  .footer {
    margin-top: 0;
    padding: 15px;
  }

  .footer-inner {
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 5% !important;
    gap: 20px;
  }

  .footer-logo {
    height: 90px;
    width: auto;
    margin: 15px auto 10px auto;
    padding: 10px;
    transform: none;
    border-radius: 15px;
  }

  .footer-row {
    align-items: center !important;
    text-align: center !important;
    align-self: center !important;
  }

  .footer-row p {
    font-size: 22px !important;
    height: auto;
    display: inline-block;
    padding-bottom: 2px;
  }

  .footer-row a,
  .footer-row span {
    font-size: 15px !important;
    text-align: center !important;
  }

  .footer>p {
    text-align: center !important;
    font-size: 13px;
  }

  /* Modal */
  .modal-content {
    max-width: 95%;
    max-height: 70vh;
  }

  .close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }

  #caption {
    font-size: 16px;
    width: 90%;
  }

  /* Privacy box */
  .privacy-box {
    margin: 0 auto 100px auto !important;
    width: 100%;
  }

  .privacy-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .privacy-icon {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .privacy-text {
    font-size: 16px !important;
    text-align: justify !important;
  }

}

.privacy-box {
  background: linear-gradient(-20deg, rgba(187, 223, 255, 0.884) 0%, rgb(255, 255, 255) 100%);
  padding: 0;
  border-radius: 28px;
  margin: 0px 10% 100px 10%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  animation: blurFadeIn 1.8s ease-out;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

@keyframes blurFadeIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.privacy-box:hover {
  box-shadow:
    0 16px 48px rgba(74, 122, 155, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.privacy-accent {
  width: 5px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #4a7a9b, #a0c3e0);
  border-radius: 18px 0 0 18px;
}

.privacy-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 40px;
}

.privacy-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  background: linear-gradient(135deg, rgba(74, 122, 155, 0.12), rgba(160, 195, 224, 0.18));
  border-radius: 14px;
  border: 1px solid rgba(160, 195, 224, 0.25);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-text {
  text-align: left;
  font-size: 18px;
  color: #3d5a6e;
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  z-index: 1;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  display: block !important;
  width: 100% !important;
  max-width: 1000px;
}

/* ================================================== */
/* ============= ABOUT PAGE UTILITIES =============== */
/* ================================================== */

.about-hero-bg {
  background: linear-gradient(135deg, #1b3a4d 0%, #0f2427 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-h1 {
  text-align: center;
  font-size: clamp(40px, 6vw, 65px);
  color: #ffffff;
  margin: -5px 0 5px 0;
  font-weight: 600;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-p-light {
  text-align: justify;
  color: #d1e0ec;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
}

.about-mt-120 {
  margin-top: 120px;
}

.about-mt-100 {
  margin-top: 100px;
}



.about-scope-p {
  margin: 60px clamp(15px, 5vw, 60px) 0 clamp(15px, 5vw, 60px);
}

.about-scope-h2 {
  color: #a0c3e0;
  margin-top: 150px;
}

.about-why-choose-us {
  text-align: center;
  font-size: clamp(32px, 5vw, 50px);
  color: #255169;
  margin: 100px 0 80px 0;
}

.about-why-p {
  text-align: justify;
  margin: 0 20px;
}

.about-why-p p {
  margin-bottom: 30px;
  margin: 0 200px;
  font-size: clamp(20px, 3.5vw, 24px);
  color: #4a5568;
}

.about-hr {
  background-color: #647f96;
  border: 1px solid #a0c3e04d;
  border-radius: 10px;
  margin: 200px -20px 0px -20px;
  height: 4px;
  box-shadow: 0px 5px 45px rgba(103, 149, 194, 0.384);
}

.about-mission-p {
  text-align: justify;
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 140px;
  margin-top: 80px;
}