/* PrimeCNC - Main stylesheet
   Styles used by the current HTML only.
*/

:root {
  --bg: #090a0f;
  --surface: #151720;
  --surface-2: #1d1f2a;
  --line: rgba(255,255,255,.09);
  --muted: #9ca3b0;
  --text: #f7f7f8;
  --accent: #990000;
  --accent-bright: #d41414;
  --accent-soft: rgba(164,0,0,.16);
  --green: #25c77a;
  --max: 1180px;
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 12px 35px rgba(0,0,0,.28);
}

.topbar {
  background: #222334;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.brand-social,
.contact-strip {
  display: flex;
  align-items: center;
}

.brand-social {
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .08em;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #3b3d49;
  border-radius: 50%;
  color: #c7c9d0;
  transition: .25s;
  font-size: 12px;
}

.socials a:hover {
  color: white;
  border-color: var(--accent-bright);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.contact-strip {
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.contact-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid #343744;
  border-radius: 50%;
  color: #e51b1b;
  background: #11131b;
  font-size: 12px;
}

.contact-item small {
  display: block;
  text-transform: uppercase;
  color: #858996;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.contact-item strong {
  display: block;
  color: #e5e6ea;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.contact-divider {
  height: 34px;
  width: 1px;
  background: #3a3c47;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
  background: var(--accent);
}

.nav-inner {
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.nav-links > a,
.nav-dropdown-toggle {
  padding: 10px 14px;
  color: #ffe9e9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: 8px;
  background: transparent;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown-toggle:hover {
  background: rgba(75,0,0,.38);
  color: white;
}

.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}

.nav-dropdown-toggle i {
  font-size: 9px;
  transition: .2s;
}

.nav-dropdown.open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 230px;
  padding: 8px;
  background: #171923;
  border: 1px solid #30323e;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  color: #d8dae0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--accent-soft);
  color: white;
}

.dropdown-menu i {
  width: 17px;
  color: #ef3535;
}


/* =========================
   ORDER BUTTON
========================= */

.order-btn {
  background: #222334;
  color: white;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .05em;
}

.order-btn {
  padding: 12px 18px;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: .25s;
}

.order-btn:hover {
  transform: translateY(-2px);
}


/* =========================
   MOBILE
========================= */

.mobile-brand,
.menu-btn,
.mobile-menu {
  display: none;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

  .topbar-inner {
    align-items: flex-start;
    padding-block: 15px;
  }

  .contact-strip {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links > a,
  .nav-dropdown-toggle {
    padding-inline: 9px;
    font-size: 10px;
  }
}


@media (max-width: 850px) {

  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .topbar-inner {
    flex-direction: column;
  }

  .brand-social {
    width: 100%;
    justify-content: space-between;
  }

  .contact-strip {
    width: 100%;
    justify-content: space-between;
  }

  .desktop-order,
  .nav-links {
    display: none;
  }

  .mobile-brand {
    display: inline-flex;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: white;
    background: #700000;
  }

  .mobile-menu {
    padding: 10px 15px 18px;
    background: var(--accent);
  }

  .mobile-menu.open {
    display: grid;
    gap: 4px;
  }

  .mobile-menu > a,
  .mobile-menu summary {
    padding: 10px;
    color: #ffeaea;
    font-size: 11px;
    font-weight: 800;
    border-radius: 8px;
    list-style: none;
  }

  .mobile-menu > a:hover,
  .mobile-menu summary:hover {
    background: #720000;
  }

  .mobile-menu details a {
    display: block;
    margin: 2px 0 2px 12px;
    padding: 8px 10px;
    color: #ffdada;
    font-size: 11px;
    border-left: 1px solid rgba(255,255,255,.2);
  }

  .mobile-menu details summary i {
    float: right;
  }

  .mobile-menu .order-btn {
    margin-top: 8px;
    justify-content: center;
  }
}


@media (max-width: 580px) {

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .topbar-inner {
    gap: 13px;
  }

  .contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .contact-divider {
    display: none;
  }

  .contact-item strong {
    font-size: 9px;
    white-space: normal;
  }

  .contact-item:last-child {
    grid-column: 1 / -1;
  }
}

/* =========================
   ORDER FORM MODAL
========================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  background: #151720;
  border: 1px solid #30323e;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .55);
  transform: translateY(20px) scale(.98);
  transition: .25s ease;
}

.modal.show .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #222334;
  color: #fff;
  font-size: 15px;
}

.modal-close:hover {
  background: var(--accent);
}

.modal-label {
  display: inline-block;
  margin-bottom: 6px;
  color: #ef3535;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.modal-header h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 28px;
}

.modal-header p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 13px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #e5e6ea;
  font-size: 11px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #343744;
  border-radius: 9px;
  outline: none;
  background: #11131b;
  color: #fff;
  font-size: 12px;
  transition: .2s;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #777b88;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 5px;
}


/* =========================
   SUCCESS TOAST
========================= */

.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid #30323e;
  border-radius: 10px;
  background: #222334;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: .25s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast i {
  color: var(--green);
}


/* =========================
   FORM RESPONSIVE
========================= */

@media (max-width: 580px) {

  .modal {
    padding: 12px;
  }

  .modal-box {
    padding: 25px 18px;
    border-radius: 15px;
  }

  .modal-header h2 {
    font-size: 24px;
  }

  .toast {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
  position: relative;
  min-height: 600px;

  display: flex;
  align-items: center;

  overflow: hidden;
}


/* ========================================
   HERO IMAGE
======================================== */

.hero-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center right;

  z-index: 0;
}


/* ========================================
   DARK OVERLAY
======================================== */

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.90) 27%,
      rgba(0, 0, 0, 0.55) 48%,
      rgba(0, 0, 0, 0.12) 72%,
      rgba(0, 0, 0, 0.05) 100%
    );

  z-index: 1;
  pointer-events: none;
}


/* ========================================
   HERO CONTENT
======================================== */

.hero-inner {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 40px), 1180px);
  min-height: 600px;

  margin: 0 auto;

  display: flex;
  align-items: center;
}

.hero-content {
  width: 700px;
  max-width: 100%;

  padding: 70px 0;
}


/* ========================================
   EYEBROW
======================================== */

.hero-eyebrow {
  display: block;

  margin-bottom: 14px;

  color: #ffffff;

  font-size: 16px;
  font-weight: 400;

  letter-spacing: 0.20em;
  line-height: 1.5;
}


/* ========================================
   HEADING
======================================== */

.hero-content h1 {
  margin: 0;

  font-size: clamp(42px, 4vw, 54px);
  line-height: 1.1;

  font-weight: 800;
  letter-spacing: -0.03em;
}


/* ========================================
   DESCRIPTION
======================================== */

.hero-content p {
  max-width: 700px;

  margin: 10px 0 30px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}


/* ========================================
   BUTTON
======================================== */

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  min-width: 225px;
  padding: 15px 25px;

  background: var(--accent-bright);
  color: #ffffff;

  border-radius: 4px;

  font-size: 13px;
  font-weight: 800;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-btn i {
  font-size: 12px;

  transition: transform 0.25s ease;
}

.hero-btn:hover {
  background: #222334;
  transform: translateY(-2px);
}

.hero-btn:hover i {
  transform: translateX(4px);
}

/* ========================================
   HERO RESPONSIVE
======================================== */

@media (max-width: 900px) {

  .hero {
    min-height: 560px;
  }

  .hero-inner {
    min-height: 560px;
    width: calc(100% - 40px);
  }

  .hero-content {
    width: 520px;
    padding-block: 60px;
  }

  .hero-image {
    object-position: center right;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-content p {
    font-size: 16px;
  }
}


@media (max-width: 700px) {

  .hero {
    min-height: 520px;
  }

  .hero-inner {
    min-height: 520px;
    width: calc(100% - 30px);
  }

  .hero-content {
    width: 480px;
    padding-block: 50px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 15px;
    max-width: 450px;
  }
}


@media (max-width: 500px) {

  .hero {
    min-height: 500px;
  }

  .hero-inner {
    min-height: 500px;
    width: calc(100% - 24px);
  }

  .hero-content {
    width: 100%;
    padding-block: 40px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.05;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.10em;
  }

  .hero-content p {
    font-size: 14px;
    margin: 10px 0 24px;
  }

  .hero-btn {
    min-width: 200px;
    padding: 14px 20px;
  }

  .hero-image {
    object-position: 65% center;
  }

}

/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
  position: relative;

  padding: 110px 0;

  background: #ffffff;

  overflow: hidden;
}


/* ========================================
   MAIN GRID
======================================== */

.about-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns: 5fr 7fr;

  gap: 70px;

  align-items: center;
}


/* ========================================
   LEFT IMAGE AREA
======================================== */

/* ========================================
   ABOUT VISUAL
======================================== */

.about-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ========================================
   HEX CONTAINER
======================================== */

.about-hex-container {
  position: relative;
  top: -30px;
  width: 580px;
  height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* ========================================
   COMMON ABOUT HEX SHAPE
======================================== */

.about-hex {
  position: absolute;

  clip-path: shape(
    from 93.52% 70.48%,
    curve to 90.06% 76.62%
      with 93.56% 74.55%,

    line to 54.02% 97.93%,

    curve to 46.98% 98%
      with 50.52% 100%,

    line to 10.51% 77.45%,

    curve to 6.92% 71.38%
      with 6.96% 75.45%,

    line to 6.48% 29.52%,

    curve to 9.94% 23.38%
      with 6.44% 25.45%,

    line to 45.98% 2.07%,

    curve to 53.02% 2%
      with 49.48% 0%,

    line to 89.49% 22.55%,

    curve to 93.08% 28.62%
      with 93.04% 24.55%
  );
}


/* ========================================
   NAVY HEX
======================================== */

.about-hex-navy {
  top: -110px;
  left: -110px;

  width: 650px;
  height: 520px;

  background: #222334;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.20);

  /* Keep the shape on the left side */
  clip-path: shape(
    from 93.52% 70.48%,
    curve to 90.06% 76.62%
      with 93.56% 74.55%,
    line to 54.02% 97.93%,
    curve to 46.98% 98%
      with 50.52% 100%,
    line to 10.51% 77.45%,
    curve to 6.92% 71.38%
      with 6.96% 75.45%,
    line to 6.48% 29.52%,
    curve to 9.94% 23.38%
      with 6.44% 25.45%,
    line to 45.98% 2.07%,
    curve to 53.02% 2%
      with 49.48% 0%,
    line to 72.49% 23.55%,
    curve to 62.08% 23.62%
      with 76.04% 25.55%
  );
}


/* ========================================
   RED HEX
======================================== */

.about-hex-red {
  left: -50px;
  bottom: -5px;

  width: 380px;
  height: 380px;

  background: #990000;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.20);
}


/* ========================================
   MAIN WHITE HEX
======================================== */

.about-hex-main {
  position: relative;

  width: 640px;
  height: 550px;

  padding: 7px;

  background: #ffffff;

  z-index: 3;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35);
}


/* ========================================
   IMAGE SHAPE
======================================== */

.about-image-inner {
  width: 100%;
  height: 100%;

  overflow: hidden;

  clip-path: shape(
    from 93.52% 70.48%,
    curve to 90.06% 76.62%
      with 93.56% 74.55%,

    line to 54.02% 97.93%,

    curve to 46.98% 98%
      with 50.52% 100%,

    line to 10.51% 77.45%,

    curve to 6.92% 71.38%
      with 6.96% 75.45%,

    line to 6.48% 29.52%,

    curve to 9.94% 23.38%
      with 6.44% 25.45%,

    line to 45.98% 2.07%,

    curve to 53.02% 2%
      with 49.48% 0%,

    line to 89.49% 22.55%,

    curve to 93.08% 28.62%
      with 93.04% 24.55%
  );
}


/* ========================================
   IMAGE
======================================== */

.about-image-inner img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.7s ease;
}


/* ========================================
   IMAGE HOVER
======================================== */

.about-hex-main:hover .about-image-inner img {

}

/* ========================================
   RESPONSIVE — LEFT VISUAL ONLY
======================================== */

/* ----------------------------------------
   TABLET
---------------------------------------- */
@media (max-width: 900px) {

  .about-hex-container {
    width: 100%;
    max-width: 580px;
    height: 500px;
    top: 0;
  }

  /* NAVY — stays large */
  .about-hex-navy {
    top: -40px;
    left: -45px;
    width: 570px;
    height: 470px;
  }

  /* RED — smaller */
  .about-hex-red {
    left: -10px;
    bottom: 0;

    width: 300px;
    height: 300px;
  }

  /* IMAGE — keeps its own proportions */
  .about-hex-main {
    width: 540px;
    height: 465px;
    padding: 7px;
  }

  .about-image-inner {
    width: 100%;
    height: 100%;
  }

  .about-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}


/* ----------------------------------------
   SMALL TABLET
---------------------------------------- */
@media (max-width: 700px) {

  .about-hex-container {
    width: 100%;
    max-width: 500px;
    height: 450px;
  }

  /* NAVY remains dominant */
  .about-hex-navy {
    top: -55px;
    left: -35px;

    width: 490px;
    height: 410px;
  }

  /* RED gets smaller */
  .about-hex-red {
    left: -5px;
    bottom: 0;

    width: 250px;
    height: 250px;
  }

  /* IMAGE scales proportionally */
  .about-hex-main {
    width: 460px;
    height: 400px;
    padding: 6px;
  }

  .about-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}


/* ----------------------------------------
   MOBILE
---------------------------------------- */
@media (max-width: 520px) {

  .about-hex-container {
    width: 100%;
    max-width: 430px;
    height: 370px;
  }

  /* NAVY stays larger */
  .about-hex-navy {
    top: -35px;
    left: -25px;

    width: 420px;
    height: 350px;
  }

  /* RED becomes noticeably smaller */
  .about-hex-red {
    left: 10px;
    bottom:20px;

    width: 205px;
    height: 205px;
  }

  /* IMAGE */
  .about-hex-main {
    width: 390px;
    height: 340px;
    padding: 5px;
  }

  .about-image-inner {
    width: 100%;
    height: 100%;
  }

  .about-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}


/* ----------------------------------------
   SMALL MOBILE
---------------------------------------- */
@media (max-width: 430px) {

  .about-hex-container {
    max-width: 370px;
    height: 325px;
  }

  /* NAVY */
  .about-hex-navy {
    top: -30px;
    left: -18px;

    width: 365px;
    height: 305px;
  }

  /* RED */
  .about-hex-red {
    left: 0;
    bottom: 0;

    width: 180px;
    height: 180px;
  }

  /* IMAGE */
  .about-hex-main {
    width: 340px;
    height: 295px;
    padding: 5px;
  }

  .about-image-inner img {
    object-fit: cover;
    object-position: center;
  }
}


/* ----------------------------------------
   VERY SMALL MOBILE
---------------------------------------- */
@media (max-width: 360px) {

  .about-hex-container {
    max-width: 320px;
    height: 285px;
  }

  /* NAVY — still larger than red */
  .about-hex-navy {
    top: -25px;
    left: -12px;

    width: 315px;
    height: 270px;
  }

  /* RED — smaller */
  .about-hex-red {
    left: 0;
    bottom: 0;

    width: 155px;
    height: 155px;
  }

  /* IMAGE */
  .about-hex-main {
    width: 295px;
    height: 260px;
    padding: 4px;
  }

  .about-image-inner img {
    object-fit: cover;
    object-position: center;
  }
}
/* ========================================
   RIGHT CONTENT
======================================== */

.about-content {
  min-width: 0;

  padding-right: 20px;
}


/* ========================================
   LABEL
======================================== */

.about-label {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 16px;

  color: #990000;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.20em;

  text-transform: uppercase;
}


.about-label-line {
  width: 28px;
  height: 2px;

  flex-shrink: 0;

  background: #990000;
}


/* ========================================
   HEADING
======================================== */

.about-title {
  margin: 0 0 22px;

  max-width: 700px;

  color: #222334;

  font-size: clamp(34px, 3.4vw, 46px);

  font-weight: 800;

  line-height: 1.12;

  letter-spacing: -0.035em;
}


/* ========================================
   DESCRIPTION
======================================== */

.about-description {
  max-width: 760px;

  margin: 0 0 34px;

  color: #666d81;
  font-weight: 400;
  font-size: 15px;

  line-height: 1.8;
}


/* ========================================
   FEATURES
======================================== */

.about-features {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px 25px;

  margin-bottom: 34px;
}


.about-feature {
  display: flex;

  align-items: flex-start;

  gap: 14px;
}


.about-feature-icon {
  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #990000;

  color: #ffffff;

  box-shadow:
    0 8px 20px rgba(153, 0, 0, 0.25);
}


.about-feature-icon i {
  font-size: 17px;
}


.about-feature-text {
  min-width: 0;
}


.about-feature-text h3 {
  margin: 0 0 5px;

  color: #222334;

  font-size: 14px;

  font-weight: 700;

  line-height: 1.45;
}


.about-feature-text p {
  margin: 0;

  color: #666d81;

  font-size: 13px;

  line-height: 1.55;
}


/* ========================================
   KNOW MORE BUTTON
======================================== */

.about-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 14px 28px;

  background: #990000;

  color: #ffffff;


  border-radius: 10px;

  font-size: 13px;

  font-weight: 700;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.about-btn:hover {
  background: #222334;

  transform: translateY(-2px);

}


.about-btn i {
  font-size: 11px;

  transition: transform 0.25s ease;
}


.about-btn:hover i {
  transform: translateX(4px);
}


/* ========================================
   DECORATIVE GEAR - BOTTOM RIGHT
======================================== */

.about-gear {
  position: absolute;
  right: -96px;
  bottom: -96px;

  width: 380px;
  height: 380px;

  opacity: 0.09;
  color: #0f172a;

  pointer-events: none;
  z-index: 1;
}

.about-gear svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* ========================================
   LARGE TABLET
======================================== */

@media (max-width: 1100px) {

  .about-grid {
    grid-template-columns: 1fr;

    gap: 65px;
  }

  .about-visual {
    padding-top: 10px;
  }

  .about-content {
    padding-right: 0;

    max-width: 850px;

    margin: 0 auto;
  }

}


/* ========================================
   TABLET
======================================== */

@media (max-width: 700px) {

  .about-section {
    padding: 80px 0;
  }

  .about-grid {
    gap: 45px;
  }



  .about-title {
    font-size: 35px;
  }

  .about-description {
    font-size: 14px;

    line-height: 1.75;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 520px) {

  .about-section {
    padding: 65px 0;
  }

  .about-grid {
    gap: 35px;
  }

  .about-label {
    font-size: 10px;

    letter-spacing: 0.15em;
  }

  .about-title {
    font-size: 30px;

    line-height: 1.12;
  }

  .about-description {
    font-size: 13px;

    line-height: 1.7;
  }

  .about-features {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .about-feature-icon {
    width: 44px;
    height: 44px;
  }

  .about-feature-text h3 {
    font-size: 13px;
  }

  .about-feature-text p {
    font-size: 12px;
  }

  .about-btn {
    width: 100%;
  }

  .about-gear {
    right: -150px;
    bottom: -150px;

    width: 300px;
    height: 300px;
  }

}


.cnc-hero {
    position: relative;
    height: 360px;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.cnc-hero-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.cnc-hero-content {
    position: relative;
    z-index: 5;
    padding: 105px 20px 0;
}

.cnc-hero-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
}

.cnc-hero-brand::before,
.cnc-hero-brand::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #990000;
}

.cnc-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.08;
    font-weight: 800;
}

.cnc-hero p {
    margin: 0;
    font-size: 22px;
    line-height: 1.5;
}

.cnc-hero:after {
    content:"";
    position:absolute;
    z-index:2;
    left:-5%;
    bottom:-105px;
    width:110%;
    height:170px;
    background:#fff;
    border-radius:50% 50% 0 0/65% 65% 0 0
}

.cnc-hero-wave {
    position:absolute;
    z-index:4;
    left:0;
    right:0;
    bottom:-2px;
    height:85px
}

.cnc-hero-wave:before {
    content:"";
    position:absolute;
    left:-5%;
    top:38px;
    width:110%;
    height:55px;
    border-top:5px solid #222334;
    border-radius:50%;
    transform:rotate(-2deg)
}

.cnc-hero-wave:after {
    content:"";
    position:absolute;
    right:-5%;
    top:42px;
    width:35%;
    height:55px;
    border-top:6px solid #990000;
    border-radius:50%;
    transform:rotate(-4deg)
}
.impact{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 10%,#fff 0%,#f8fafc 65%,#eef3f9 100%);padding:45px 5% 75px}
.impact:before,.impact:after{content:"";position:absolute;width:110px;height:120px;opacity:.55;background-image:radial-gradient(#cfd8e6 3px,transparent 3px);background-size:24px 24px}
.impact:before{left:-2px;top:75px}.impact:after{right:-2px;top:95px}
.impact-inner{width:min(1400px,100%);margin:auto;position:relative;z-index:2}
.section-label{display:flex;justify-content:center;align-items:center;gap:12px;color:#990000;font-size:20px;font-weight:600;letter-spacing:2px;text-transform:uppercase;margin-bottom:15px}
.section-label span{width:40px;height:2px;background:#990000}
.impact-title{text-align:center;max-width:800px;margin:0 auto 55px;color:#222334;font-size:clamp(35px,3.6vw,44px);line-height:1.15;font-weight:800}
/* =========================================================
   PRIME XCNC
   IMPACT / STATISTICS SECTION
   ========================================================= */


/* =========================================================
   CARDS GRID
   ========================================================= */

.cards-grid {
    display: grid;

    /*
       Card + divider + card + divider + card + divider + card
    */
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    column-gap: 2rem;

    width: 100%;
}


/* =========================================================
   IMPACT CARD
   ========================================================= */

.impact-card {
    position: relative;

    min-height: 205px;

    padding: 4.5rem 1.5rem 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    background: #ffffff;

    border: 1px solid #f1f5f9;

    border-radius: 1.5rem;
    margin-top: 30px;
    box-shadow:
        0 14px 25px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.impact-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 32px rgba(15, 23, 42, 0.12);
}


/* =========================================================
   CARD BADGE / ICON
   ========================================================= */

.card-badge {
    position: absolute;

    top: -2.25rem;
    left: 50%;

    width: 5rem;
    height: 5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateX(-50%);

    background: #990000;

    color: #ffffff;

    border: 4px solid #ffffff;

    border-radius: 50%;

    box-shadow:
        0 12px 22px rgba(220, 38, 38, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/*
   Important:
   The badge moves with the card.
   The divider does NOT.
*/

.impact-card:hover .card-badge {
    transform: translateX(-50%) scale(1.05);

    box-shadow:
        0 16px 28px rgba(220, 38, 38, 0.32);
}


/* =========================================================
   SVG ICON
   ========================================================= */

.card-badge svg {
    width: 3.25rem;
    height: 2.75rem;

    display: block;

    fill: currentColor;
}


/* =========================================================
   LARGE NUMBER
   ========================================================= */

.card-number {
    margin: 0 0 0.5rem;

    font-size: 3rem;

    line-height: 1;

    font-weight: 900;

    color: #990000;

    letter-spacing: -0.04em;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   SMALL RED LINE
   ========================================================= */

.card-line {
    width: 2.5rem;
    height: 2px;

    margin-bottom: 1rem;

    background: #990000;
}


/* =========================================================
   CARD LABEL
   ========================================================= */

.card-label {
    max-width: 190px;

    font-size: 0.875rem;

    line-height: 1.4;

    font-weight: 600;

    color: #222334;

    text-align: center;
}


/* =========================================================
   FIXED DIVIDER
   =========================================================

   IMPORTANT:
   This is a separate grid element.
   Therefore it does NOT move when a card moves.
   ========================================================= */

.stats-divider {
    width: 1px;
    height: 55px;

    background: #cbd5e1;

    justify-self: center;

    pointer-events: none;
}


/* =========================================================
   TABLET
   992px and below
   ========================================================= */

@media (max-width: 991px) {

    .cards-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 2.5rem 2rem;
    }


    /*
       Hide desktop dividers because cards
       are now arranged in two columns.
    */

    .stats-divider {
        display: none;
    }


    .impact-card {
        min-height: 200px;
    }
}


/* =========================================================
   MOBILE
   575px and below
   ========================================================= */

@media (max-width: 575px) {

    .cards-grid {
        grid-template-columns: 1fr;

        gap: 3rem;
    }


    .impact-card {
        min-height: 195px;

        padding: 4.5rem 1.25rem 2rem;
    }


    .card-number {
        font-size: 2.75rem;
    }


    .card-badge {
        width: 4.5rem;
        height: 4.5rem;
    }


    .card-badge svg {
        width: 2rem;
        height: 2rem;
    }


    .card-label {
        font-size: 0.875rem;
    }
}
@media(max-width:1000px){
    .cards-grid{grid-template-columns:repeat(2,1fr)}
    .stats-divider{display:none}
    .cnc-hero{height:340px}
}

@media(max-width:1000px){
    .cards-grid{grid-template-columns:repeat(2,1fr)}
    .stats-divider{display:none}
    .cnc-hero{height:340px}
}

@media(max-width:650px){
    .cnc-hero{height:280px}
    .cnc-hero-content{padding-top:80px}
    .cnc-hero-brand{font-size:12px;gap:10px}
    .cnc-hero-brand:before,.cnc-hero-brand:after{width:30px}
    .cnc-hero h1{font-size:28px}
    .cnc-hero p{font-size:17px}
    .impact{padding:45px 20px 60px}
    .impact-title{font-size:22px;margin-bottom:55px}
    .section-label{font-size:18px}
    .cards-grid{grid-template-columns:1fr;gap:55px}
    .impact-card{min-height:190px}
    .products-title{font-size:26px;gap:12px}
    .products-title:before,.products-title:after{width:30px}
}

/* ================================
   OUR FEATURED PRODUCTS
================================ */

/* Full-width background */
.featured-section {
    width: 100%;
    background: #f0f5f1;
    padding: 20px 0;
}

/* Keep content width controlled */
.featured-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Heading */
.featured-header {
    text-align: center;
    margin-bottom: 35px;
}

.featured-header h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 800;
    color: #222334;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.product-card:hover {
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
}

/* Same image structure for every product */
.product-image {
    width: 100%;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-cjk0640 {
    width: 100%;
    height: 220px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    overflow: hidden;
    background: #fff;
}

.product-cjk0640 img {
    width: 100%;
    height: 220px;

    object-fit: contain;
    object-position: center top;

    display: block;

    transform: scale(1.12);
    transform-origin: center top;
}

.product-xt400 {
    width: 100%;
    height: 220px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    overflow: hidden;
    background: #fff;
}

.product-xt400 img {
    width: 100%;
    height: 220px;

    object-fit: contain;
    object-position: center top;

    display: block;

    transform: scale(1.15);
    transform-origin: center top;
}

.product-ck6152e {
    width: 100%;
    height: 220px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    overflow: hidden;
    background: #fff;
}

.product-ck6152e img {
    width: 115%;
    height: 220px;

    object-fit: contain;
    object-position: center center;

    display: block;

    transform: translateY(12px) scale(1.52);
    transform-origin: center center;
}
/* Product Information */
.product-info {
    padding: 0 20px 20px;
}

.product-info h3 {
    margin: 0 0 15px;
    font-size: 30px;
    font-weight: 800;
    color: #222334;
}

.product-info p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.15;
    color: #000000;
  font-weight: 400;
}

/* Button */
.product-btn {
    display: inline-block;
    padding: 14px 40px;

    background: #990000;
    color: #fff;

    border-radius: 30px;
    text-decoration: none;

    font-size: 20px;
    font-weight: 700;
}

.product-btn:hover {
    background: #222334;
}

/* Responsive */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .featured-header h2 {
        font-size: 36px;
    }
}

/* =========================================
   WHY CHOOSE US
========================================= */

.why-choose-section {
    position: relative;
    width: 100%;
    padding: 90px 30px 100px;

    background: #222334;
    color: #fff;

    overflow: hidden;
}


/* =========================================
   HEADER
========================================= */

.why-header {
    position: relative;
    z-index: 2;

    max-width: 1000px;
    margin: 0 auto 70px;

    text-align: center;
}

.why-label {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;
    margin-bottom: 20px;
}

.why-label span {
    width: 40px;
    height: 2px;

    background: #990000;
}

.why-label small {
    color: #fff;

    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
}

.why-header h2 {
    margin: 0 0 18px;

    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;

    color: #fff;
}

.why-header h2 strong {
    color: #990000;
}

.why-header p {
    max-width: 700px;
    margin: 0 auto;

    color: #ffffff;
    opacity: 0.85;


    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   MAIN CONTENT
========================================= */

.why-content {
    position: relative;

    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 260px 1fr;

    align-items: center;

    gap: 45px;
}


/* =========================================
   FEATURE COLUMNS
========================================= */

.why-column {
    display: flex;
    flex-direction: column;

    gap: 30px;
}


/* =========================================
   FEATURE CARD
========================================= */

.why-card {
    position: relative;

    min-height: 130px;

    display: flex;
    align-items: center;

    gap: 25px;

    padding: 25px 30px;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);

    background: #2d2e41;

    border-color: rgba(224, 0, 0, 0.5);
}


/* =========================================
   LEFT / RIGHT CARD SHAPES
========================================= */

.why-left .why-card {
    border-radius: 18px 35px 35px 18px;
}

.why-right .why-card {
    border-radius: 35px 18px 18px 35px;
}


/* =========================================
   ICON
========================================= */

.why-icon {
    position: relative;

    flex-shrink: 0;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #e00000;

    border: 2px solid #990000;

    transform: rotate(45deg);

    transition: all 0.3s ease;
}

.why-icon i {
    font-size: 22px;

    transform: rotate(-45deg);
}

.why-card:hover .why-icon {
    background: #990000;
    color: #fff;
}


/* =========================================
   CARD TEXT
========================================= */

.why-card-content {
    flex: 1;
}

.why-card-content h3 {
    margin: 0 0 8px;

    color: #fff;

    font-size: 20px;
    font-weight: 800;
}

.why-card-content p {
    margin: 0;

    color: #c5c6cf;

    font-size: 14px;
    line-height: 1.55;
}


/* =========================================
   CENTER CNC ELEMENT
========================================= */

.why-center {
    position: relative;

    width: 260px;
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Outer circle */

.center-ring {
    position: relative;

    width: 210px;
    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #990000;

    border-radius: 50%;

    box-shadow:
        0 0 0 15px #222334,
        0 0 0 17px rgba(224, 0, 0, 0.35);

    animation: centerPulse 3s ease-in-out infinite;
}


/* Inner circle */

.center-inner {
    width: 140px;
    height: 140px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}

.center-inner i {
    color: #fff;

    font-size: 55px;

    animation: gearRotate 12s linear infinite;
}


/* =========================================
   CARD CONNECTION LINES
========================================= */

.why-content {
    position: relative;
}

.why-center {
    position: relative;
    z-index: 5;
}

/* All connection lines */
.connection-line {
    position: absolute;

    height: 2px;

    background: #990000;

    z-index: 1;

    pointer-events: none;
}


/* =========================================
   LEFT SIDE
========================================= */

/* Top - Reliable */
.why-left .why-card:nth-child(1) .connection-line {
    right: -105px;
    top: 50%;

    width: 105px;

    transform-origin: left center;
    transform: translateY(-50%) rotate(43deg);
}

/* Middle - Transparent */
.why-left .why-card:nth-child(2) .connection-line {
    right: -45px;
    top: 50%;

    width: 44px;

    transform: translateY(-50%);
}

/* Bottom - Quality */
.why-left .why-card:nth-child(3) .connection-line {
    right: -105px;
    top: 50%;

    width: 105px;

    transform-origin: left center;
    transform: translateY(-50%) rotate(-43deg);
}


/* =========================================
   RIGHT SIDE
========================================= */

/* Top - Innovative */
.why-right .why-card:nth-child(1) .connection-line {
    left: -105px;
    top: 50%;

    width: 105px;

    transform-origin: right center;
    transform: translateY(-50%) rotate(-43deg);
}

/* Middle - Customer Focused */
.why-right .why-card:nth-child(2) .connection-line {
    left: -45px;
    top: 50%;

    width: 44px;

    transform: translateY(-50%);
}

/* Bottom - Trusted */
.why-right .why-card:nth-child(3) .connection-line {
    left: -105px;
    top: 50%;

    width: 105px;

    transform-origin: right center;
    transform: translateY(-50%) rotate(43deg);
}


/* =========================================
   CONNECTION DOTS
========================================= */

.connection-line::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 50%;

    background: #990000;

    border-radius: 50%;

    transform: translateY(-50%);
}


/* LEFT = dot at center side */
.why-left .connection-line::after {
    right: -3px;
}


/* RIGHT = dot at center side */
.why-right .connection-line::after {
    left: -3px;
}


/* =========================================
   CENTER GEAR ABOVE CONNECTIONS
========================================= */

.why-center {
    position: relative;
    z-index: 5;
}

.center-ring {
    position: relative;
    z-index: 6;
}
/* =========================================
   ANIMATIONS
========================================= */

@keyframes centerPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 15px #222334,
            0 0 0 17px rgba(224, 0, 0, 0.25);
    }

    50% {
        box-shadow:
            0 0 0 15px #222334,
            0 0 0 20px rgba(224, 0, 0, 0.45);
    }
}

@keyframes gearRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .why-content {
        grid-template-columns: 1fr 200px 1fr;
        gap: 25px;
    }

    .why-center {
        width: 200px;
        height: 200px;
    }

    .center-ring {
        width: 160px;
        height: 160px;
    }

    .center-inner {
        width: 105px;
        height: 105px;
    }

    .center-inner i {
        font-size: 42px;
    }

    .why-card {
        gap: 18px;
        padding: 20px;
    }

    .why-icon {
        width: 52px;
        height: 52px;
    }
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 800px) {

    .why-choose-section {
        padding: 70px 20px;
    }

    .why-header {
        margin-bottom: 45px;
    }

    .why-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .why-center {
        order: 1;
    }

    .why-left {
        order: 2;
        width: 100%;
    }

    .why-right {
        order: 3;
        width: 100%;
    }

    .why-center::before,
    .why-center::after {
        display: none;
    }

    .why-card {
        width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .why-choose-section {
        padding: 60px 15px;
    }

    .why-header h2 {
        font-size: 30px;
    }

    .why-header p {
        font-size: 14px;
    }

    .why-label span {
        width: 30px;
    }

    .why-card {
        min-height: auto;
        padding: 22px;
    }

    .why-icon {
        width: 48px;
        height: 48px;
    }

    .why-icon i {
        font-size: 18px;
    }

    .why-card-content h3 {
        font-size: 18px;
    }

    .why-card-content p {
        font-size: 13px;
    }
}


/* =========================================================
   PRIMEX CNC PROJECT GALLERY
   Existing gallery styling retained; video/play styles added.
========================================================= */

.px-project-gallery {
    width: 100%;
    background: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

.px-project-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    margin-bottom: -80px;
}

/* HEADER */
.px-project-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.px-project-heading { max-width: 720px; }

.px-project-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #990000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.px-project-label::before {
    content: "";
    width: 38px;
    height: 2px;
    background: #990000;
}

.px-project-heading h2 {
    margin: 0;
    color: #222334;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.px-project-heading h2 span { display: block; color: #990000; }

.px-project-heading p {
    max-width: 650px;
    margin: 22px 0 0;
    color: #666d81;
    font-size: 15px;
    line-height: 1.8;
}

/* VIEW ALL PROJECTS BUTTON */
.px-project-main-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 0 25px;
    background: #990000;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.px-project-main-btn i { font-size: 12px; transition: transform 0.25s ease; }
.px-project-main-btn:hover { background: #222334; color: #ffffff; transform: translateY(-2px); }
.px-project-main-btn:hover i { transform: translateX(4px); }

/* PROJECT FILTERS */
.px-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.px-portfolio-filter {
    border: 1px solid #d7d8dd;
    background: #ffffff;
    color: #222334;
    padding: 13px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.px-portfolio-filter:hover,
.px-portfolio-filter.active { background: #222334; border-color: #222334; color: #ffffff; }
.px-portfolio-filter.active { border-left: 4px solid #990000; }

/* PROJECT GRID */
.px-portfolio-grid { display: flex; flex-wrap: wrap; gap: 25px; }

/* PROJECT CARD */
.px-portfolio-card {
    flex: 1 1 calc(33.333% - 17px);
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #e0e1e5;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.px-portfolio-card:hover { transform: translateY(-7px); box-shadow: 0 18px 45px rgba(34, 35, 52, 0.13); }

/* VIDEO AREA — keeps the original image dimensions and card layout */
.px-portfolio-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #222334;
}

.px-project-video-wrap { isolation: isolate; }

.px-project-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #222334;
}

.px-video-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #990000;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.px-video-play i { margin-left: 3px; font-size: 17px; }
.px-video-play:hover { background: #222334; transform: translate(-50%, -50%) scale(1.07); }
.px-video-play.is-hidden { opacity: 0; pointer-events: none; }

/* PROJECT NUMBER */
.px-portfolio-image .px-project-number {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #990000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    pointer-events: none;
}

/* PROJECT CONTENT */
.px-portfolio-content { padding: 28px; }
.px-portfolio-content small { color: #990000; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.px-portfolio-content h2 { margin: 10px 0 0; color: #222334; font-size: 24px; line-height: 1.2; font-weight: 800; }
.px-portfolio-content p { margin: 15px 0 0; color: #666d81; font-size: 14px; line-height: 1.7; }

/* HIDDEN PROJECTS */
.px-portfolio-card[hidden] { display: none !important; }

/* BOTTOM CTA */
.px-project-bottom {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #dedfe4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.px-project-bottom span { color: #666d81; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.px-project-bottom a { display: inline-flex; align-items: center; gap: 10px; color: #990000; text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.px-project-bottom a i { transition: transform 0.3s ease; }
.px-project-bottom a:hover i { transform: translateX(5px); }

/* TABLET */
@media (max-width: 900px) {
    .px-project-gallery { padding: 80px 0; }
    .px-project-header { align-items: flex-start; flex-direction: column; gap: 25px; }
    .px-portfolio-card { flex: 1 1 calc(50% - 13px); }
}

/* MOBILE */
@media (max-width: 600px) {
    .px-project-gallery { padding: 65px 0; }
    .px-project-container { width: min(calc(100% - 30px), 1200px); }
    .px-project-header { margin-bottom: 35px; }
    .px-project-heading h2 { font-size: 36px; letter-spacing: -1px; }
    .px-project-heading p { font-size: 14px; line-height: 1.7; }
    .px-project-main-btn { width: 100%; }
    .px-portfolio-filters { flex-direction: column; }
    .px-portfolio-filter { width: 100%; text-align: left; }
    .px-portfolio-grid { flex-direction: column; }
    .px-portfolio-card { flex: 1 1 100%; min-width: 0; }
    .px-portfolio-image { height: 250px; }
    .px-portfolio-content { padding: 23px 20px 25px; }
    .px-project-bottom { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .px-project-video, .px-video-play, .px-portfolio-card { transition: none; }
}




/* =========================================
   PROFESSIONAL TEAM
========================================= */

.team-section {
    width: 100%;
    padding: 90px 20px 80px;
    background: #ffffff;
}

.team-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.team-heading {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.team-heading-center {
    text-align: center;
}

/* Lines belong ONLY to OUR TEAM label */
.section-label-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}

.section-label-line {
    width: 40px;
    height: 2px;
    flex: 0 0 40px;
    background: #990000;
}

.team-label,
.partners-label {
    color: #990000;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-heading h2,
.partners-heading h2 {
    margin: 0;
    color: #222334;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.team-card {
    position: relative;
    min-height: 170px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3e5ea;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: #990000;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.13);
}

.team-number {
    align-self: stretch;
    width: 75px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222334;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.team-card:hover .team-number {
    background: #990000;
}

.team-card-content {
    padding: 25px 20px;
}

.team-card-content h3 {
    margin: 0 0 8px;
    color: #222334;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.team-card-content p {
    margin: 0;
    color: #666d81;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.team-accent {
    position: absolute;
    left: 75px;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #990000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.team-card:hover .team-accent {
    transform: scaleX(1);
}


/* =========================================
   TRUSTED BUSINESS PARTNERS
========================================= */

.partners-section {
    width: 100%;
    padding: 85px 20px 100px;
    background: #f5f7fa;
    border-top: 1px solid #e7e9ee;
    overflow: hidden;
}

.partners-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.partners-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.partners-heading .section-label-row {
    margin-bottom: 10px;
}

.partners-heading p {
    max-width: 620px;
    margin: 14px auto 0;
    color: #666d81;
    opacity: 0.85;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   OWL CAROUSEL
   NO CARDS / NO DOTS
========================================= */

.carousel-wrapper {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-wrapper.carousel-visible {
    opacity: 1;
    transform: translateY(0);
}

.partner-carousel {
    width: 100%;
}

/* Remove Owl dots completely */
.partner-carousel .owl-dots {
    display: none !important;
}

/* No arrows */
.partner-carousel .owl-nav {
    display: none !important;
}

.partner-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.partner-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-slide {
    width: 100%;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.partner-logo {
    width: 100%;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 175px;
    max-height: 125px;
    object-fit: contain;
    object-position: center;
}

/* First logo is naturally wider */
.partner-logo-wide img {
    max-width: 190px;
    max-height: 110px;
}

/* Keep square logos visually balanced */
.partner-slide:nth-child(2) img,
.partner-slide:nth-child(3) img,
.partner-slide:nth-child(4) img,
.partner-slide:nth-child(5) img {
    max-width: 135px;
    max-height: 125px;
}

/* Do not zoom logos */
.partner-logo img:hover {
    transform: none;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .team-grid {
        grid-template-columns: 1fr;
    }

    .partners-section {
        padding: 75px 20px 85px;
    }

    .partner-slide {
        height: 145px;
    }

    .partner-logo {
        height: 135px;
    }
}


@media (max-width: 768px) {

    .team-section {
        padding: 70px 15px 65px;
    }

    .partners-section {
        padding: 65px 15px 75px;
    }

    .team-heading {
        margin-bottom: 35px;
    }

    .team-card {
        min-height: 145px;
    }

    .partner-slide {
        height: 150px;
    }

    .partner-logo {
        height: 140px;
    }

    .partner-logo img {
        max-width: 165px;
        max-height: 115px;
    }

    .partner-slide:nth-child(2) img,
    .partner-slide:nth-child(3) img,
    .partner-slide:nth-child(4) img,
    .partner-slide:nth-child(5) img {
        max-width: 125px;
        max-height: 115px;
    }
}


@media (max-width: 576px) {

    .team-section {
        padding: 60px 15px;
    }

    .partners-section {
        padding: 60px 15px 70px;
    }

    .section-label-row {
        gap: 10px;
    }

    .section-label-line {
        width: 32px;
        flex-basis: 32px;
    }

    .team-number {
        width: 60px;
    }

    .team-accent {
        left: 60px;
    }

    .team-card-content {
        padding: 20px 15px;
    }

    .team-card-content h3 {
        font-size: 19px;
    }

    .team-card-content p {
        font-size: 13px;
    }

    .partner-slide {
        height: 140px;
    }

    .partner-logo {
        height: 130px;
    }

    .partner-logo img {
        max-width: 170px;
        max-height: 105px;
    }

    .partner-slide:nth-child(2) img,
    .partner-slide:nth-child(3) img,
    .partner-slide:nth-child(4) img,
    .partner-slide:nth-child(5) img {
        max-width: 115px;
        max-height: 105px;
    }
}



/* ==========================================
   FULL WIDTH VIDEO HERO
========================================== */

.video-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 900;
    overflow: hidden;
    background: #000;
}

.video-hero-media {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
    pointer-events: none;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .video-hero {
        height: 650px;
    }

    .video-hero-media {
        object-position: center center;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .video-hero {
        height: 500px;
    }

    .video-hero-media {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .video-hero {
        height: 380px;
    }

    .video-hero-media {
        object-fit: cover;
        object-position: center center;
    }
}



/* ==========================================
   BLOG SECTION
========================================== */

.blog-section {
    width: 100%;
    padding: 40px 20px;
    background: #ffffff;
}


/* ==========================================
   SCROLLABLE BLOG AREA
========================================== */

.blog-container {
    width: min(1150px, 100%);
    height: 700px;

    margin: 0 auto;

    background: #ffffff;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 45px 55px;

    box-sizing: border-box;
}


/* ==========================================
   BLOG CONTENT
========================================== */

.blog-content {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}


/* ==========================================
   H1
========================================== */

.blog-content h1 {
    margin: 0 0 30px;

    color: #131D3B;

    font-size: 48px;
    line-height: 1.08;

    font-weight: 800;
}


/* ==========================================
   H2
========================================== */

.blog-content h2 {
    margin: 38px 0 18px;

    color: #131D3B;

    font-size: 32px;
    line-height: 1.2;

    font-weight: 800;
}


/* ==========================================
   H3
========================================== */

.blog-content h3 {
    margin: 30px 0 15px;

    color: #131D3B;

    font-size: 25px;
    line-height: 1.25;

    font-weight: 700;
}


/* ==========================================
   H4
========================================== */

.blog-content h4 {
    margin: 22px 0 12px;

    color: #131D3B;

    font-size: 19px;
    line-height: 1.3;

    font-weight: 700;
}


/* ==========================================
   PARAGRAPHS
========================================== */

.blog-content p {
    margin: 0 0 20px;

    color: #666d81;

    font-size: 16px;
    line-height: 1.75;
}


/* ==========================================
   LISTS
========================================== */

.blog-content ul {
    margin: 0 0 24px;

    padding-left: 25px;

    color: #666d81;

    font-size: 16px;
    line-height: 1.75;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content strong {
    color: #131D3B;
}


/* ==========================================
   CUSTOM SCROLLBAR
========================================== */

.blog-container::-webkit-scrollbar {
    width: 9px;
}

.blog-container::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.blog-container::-webkit-scrollbar-thumb {
    background: #888888;
    border-radius: 10px;
}

.blog-container::-webkit-scrollbar-thumb:hover {
    background: #555555;
}


/* Firefox */

.blog-container {
    scrollbar-width: thin;
    scrollbar-color: #888888 #f1f3f5;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .blog-container {
        height: 700px;
        padding: 40px 35px;
    }

    .blog-content h1 {
        font-size: 40px;
    }

    .blog-content h2 {
        font-size: 29px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .blog-section {
        padding: 20px 10px;
    }

    .blog-container {
        height: 650px;
        padding: 30px 20px;
    }

    .blog-content h1 {
        font-size: 32px;
    }

    .blog-content h2 {
        font-size: 26px;
    }

    .blog-content h3 {
        font-size: 21px;
    }

    .blog-content h4 {
        font-size: 18px;
    }

    .blog-content p,
    .blog-content ul {
        font-size: 15px;
        line-height: 1.7;
    }

}



/* ========================================
   FAQ SECTION
======================================== */

.faq-section {
    width: 100%;
    padding: 100px 0;
    background: #f7f8fa;
}


/* ========================================
   BOX SIZING
======================================== */

.faq-section,
.faq-section * {
    box-sizing: border-box;
}


/* ========================================
   MAIN CONTAINER
======================================== */

.faq-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.35fr;

    column-gap: 80px;

    align-items: start;
}


/* ========================================
   LEFT INTRO
======================================== */

.faq-intro {
    min-width: 0;
    align-self: start;
    padding-top: 50px;
}


/* ========================================
   FAQ LABEL
======================================== */

.faq-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    color: #990000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.faq-label span {
    display: block;

    width: 28px;
    height: 2px;

    background: #990000;
}


/* ========================================
   TITLE
======================================== */

.faq-title {
    width: 100%;
    max-width: 430px;

    margin: 0 0 24px;

    color: #222334;

    font-size: clamp(40px, 4vw, 48px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
}


/* RED "QUESTIONS" */

.faq-title span {
    color: #990000;
}


/* ========================================
   DESCRIPTION
======================================== */

.faq-description {
    max-width: 430px;

    margin: 0;

    color: #697386;

    font-size: 15px;
    line-height: 1.8;
}


/* ========================================
   CONTACT CARD
======================================== */

.faq-contact {
    width: 100%;
    max-width: 420px;

    margin-top: 48px;
    padding: 18px;

    display: flex;
    align-items: center;
    gap: 14px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;

    box-shadow:
        0 15px 35px rgba(20, 25, 40, 0.06);

    text-decoration: none;
    color: inherit;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-contact:hover {
    border-color: #990000;

    box-shadow:
        0 18px 40px rgba(20, 25, 40, 0.09);
}


/* ========================================
   CONTACT ICON
======================================== */

.faq-contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #990000;
    color: #ffffff;
}

.faq-contact-icon i {
    font-size: 18px;
}


/* ========================================
   CONTACT TEXT
======================================== */

.faq-contact-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.faq-contact-text strong {
    color: #222334;

    font-size: 14px;
    font-weight: 700;
}

.faq-contact-text span {
    color: #7b8497;

    font-size: 12px;
}


/* ========================================
   CONTACT ARROW
======================================== */

.faq-contact-arrow {
    width: 40px;
    height: 40px;

    margin-left: auto;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f2f4;
    color: #222334;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.faq-contact:hover .faq-contact-arrow {
    background: #990000;
    color: #ffffff;

    transform: translateX(3px);
}


/* ========================================
   RIGHT FAQ LIST
======================================== */

.faq-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;

    align-self: start;
}


/* ========================================
   FAQ ITEM
======================================== */

.faq-item {
    width: 100%;

    background: #ffffff;

    border: 1px solid #dfe3e8;
    border-radius: 15px;

    overflow: hidden;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* ========================================
   OPEN ITEM
======================================== */

.faq-item.active {
    border-color: #990000;

    box-shadow:
        0 12px 30px rgba(153, 0, 0, 0.08);
}


/* ========================================
   QUESTION BUTTON
======================================== */

.faq-question {
    width: 100%;
    min-height: 82px;

    padding: 12px 22px;

    display: grid;

    grid-template-columns:
        40px
        minmax(0, 1fr)
        42px;

    align-items: center;

    gap: 16px;

    border: 0;

    background: transparent;

    color: #222334;

    text-align: left;

    cursor: pointer;

    font-family: inherit;
}


/* ========================================
   NUMBER
======================================== */

.faq-number {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #f1f2f4;
    color: #737c8d;

    font-size: 12px;
    font-weight: 800;
}


/* ========================================
   ACTIVE NUMBER
======================================== */

.faq-item.active .faq-number {
    background: #990000;
    color: #ffffff;
}


/* ========================================
   QUESTION TEXT
======================================== */

.faq-question-text {
    min-width: 0;

    color: #292d3d;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}


/* ========================================
   PLUS / CLOSE ICON
======================================== */

.faq-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f2f4;
    color: #222334;

    font-size: 13px;
}

.faq-icon i {
    transition: transform 0.3s ease;
}


/* ========================================
   ACTIVE ICON
======================================== */

.faq-item.active .faq-icon {
    background: #990000;
    color: #ffffff;
}

.faq-item.active .faq-icon i {
    transform: rotate(45deg);
}


/* ========================================
   ANSWER
======================================== */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.35s ease;
}

.faq-answer p {
    min-height: 0;

    overflow: hidden;

    margin: 0;

    padding: 0 80px 0 80px;

    color: #697386;

    font-size: 13px;
    line-height: 1.75;

    opacity: 0;

    transition:
        opacity 0.25s ease,
        padding 0.35s ease;
}


/* ========================================
   OPEN ANSWER
======================================== */

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-top: 0;
    padding-bottom: 24px;

    opacity: 1;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

    .faq-section {
        padding: 80px 0;
    }

    .faq-container {
        width: min(900px, calc(100% - 40px));

        column-gap: 45px;

        grid-template-columns:
            0.8fr
            1.2fr;
    }

    .faq-intro {
        padding-top: 50px;
    }

    .faq-title {
        font-size: clamp(36px, 5vw, 48px);
    }

    .faq-description {
        font-size: 14px;
    }

    .faq-contact {
        margin-top: 35px;
    }

    .faq-question {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            38px;

        gap: 12px;

        padding: 12px 16px;
    }

    .faq-answer p {
        padding-left: 66px;
        padding-right: 55px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .faq-section {
        padding: 70px 0;
    }

    .faq-container {
        width: calc(100% - 30px);

        display: flex;
        flex-direction: column;

        gap: 45px;
    }


    /* LEFT */

    .faq-intro {
        width: 100%;
        padding-top: 0;
    }

    .faq-label {
        margin-bottom: 16px;

        font-size: 11px;
    }

    .faq-label span {
        width: 24px;
    }

    .faq-title {
        max-width: 100%;

        margin-bottom: 18px;

        font-size: clamp(36px, 10vw, 48px);
        line-height: 1;
    }

    .faq-description {
        max-width: 100%;

        font-size: 14px;
        line-height: 1.7;
    }


    /* CONTACT */

    .faq-contact {
        max-width: 100%;

        margin-top: 30px;
    }


    /* FAQ LIST */

    .faq-list {
        width: 100%;
        gap: 10px;
    }

    .faq-item {
        border-radius: 12px;
    }


    /* QUESTION */

    .faq-question {
        min-height: 72px;

        padding: 10px 14px;

        grid-template-columns:
            36px
            minmax(0, 1fr)
            36px;

        gap: 10px;
    }


    /* NUMBER */

    .faq-number {
        width: 34px;
        height: 34px;

        border-radius: 9px;

        font-size: 11px;
    }


    /* QUESTION TEXT */

    .faq-question-text {
        font-size: 13px;
        line-height: 1.4;
    }


    /* ICON */

    .faq-icon {
        width: 34px;
        height: 34px;

        font-size: 12px;
    }


    /* ANSWER */

    .faq-answer p {
        padding-left: 60px;
        padding-right: 45px;

        font-size: 12px;
        line-height: 1.7;
    }

    .faq-item.active .faq-answer p {
        padding-bottom: 20px;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .faq-section {
        padding: 55px 0;
    }

    .faq-container {
        width: calc(100% - 24px);

        gap: 35px;
    }


    /* LABEL */

    .faq-label {
        gap: 8px;

        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .faq-label span {
        width: 20px;
        height: 2px;
    }


    /* TITLE */

    .faq-title {
        font-size: 38px;
        line-height: 1;
        letter-spacing: -0.04em;
    }


    /* DESCRIPTION */

    .faq-description {
        font-size: 13px;
        line-height: 1.7;
    }


    /* CONTACT */

    .faq-contact {
        padding: 14px;

        gap: 10px;

        border-radius: 12px;
    }

    .faq-contact-icon {
        width: 42px;
        height: 42px;

        border-radius: 10px;
    }

    .faq-contact-icon i {
        font-size: 16px;
    }

    .faq-contact-text strong {
        font-size: 13px;
    }

    .faq-contact-text span {
        font-size: 11px;
    }

    .faq-contact-arrow {
        width: 34px;
        height: 34px;
    }


    /* QUESTION */

    .faq-question {
        min-height: 68px;

        padding: 9px 11px;

        grid-template-columns:
            32px
            minmax(0, 1fr)
            32px;

        gap: 8px;
    }


    /* NUMBER */

    .faq-number {
        width: 32px;
        height: 32px;

        border-radius: 8px;

        font-size: 10px;
    }


    /* QUESTION TEXT */

    .faq-question-text {
        font-size: 12px;
        line-height: 1.4;
    }


    /* ICON */

    .faq-icon {
        width: 32px;
        height: 32px;

        font-size: 11px;
    }


    /* ANSWER */

    .faq-answer p {
        padding-left: 50px;
        padding-right: 25px;

        font-size: 11.5px;
        line-height: 1.65;
    }

    .faq-item.active .faq-answer p {
        padding-bottom: 18px;
    }
}


/* ========================================
   CONTACT CTA
======================================== */

.contact-cta {
  position: relative;

  width: 100%;
  min-height: 400px;

  overflow: hidden;

  display: flex;
  align-items: center;
}


/* ========================================
   BACKGROUND IMAGE
======================================== */

.contact-cta-bg {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top left;
  
  z-index: 0;
}


/* ========================================
   DARK IMAGE OVERLAY
======================================== */

.contact-cta-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.30);

  z-index: 1;

  pointer-events: none;
}


/* ========================================
   ANGLED LEFT PANEL
======================================== */

.contact-cta-panel {
  position: absolute;

  top: 0;
  left: 0;

  width: 57%;
  height: 100%;

  background: rgba(34, 35, 52, 0.92);

  clip-path: polygon(
    0 0,
    100% 0,
    82% 100%,
    0 100%
  );

  z-index: 2;

  pointer-events: none;
}


/* ========================================
   CONTENT CONTAINER
======================================== */

.contact-cta-inner {

  position: relative;

  z-index: 3;

  width: min(calc(100% - 40px), 1180px);

  min-height: 400px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 50px;
}


/* ========================================
   LEFT CONTENT
======================================== */

.contact-cta-content {
  width: 60%;

  padding: 60px 0;
}


.contact-cta-content h2 {
  margin: 0 0 22px;

  color: #ffffff;

  font-size: clamp(34px, 3.2vw, 46px);

  font-weight: 800;

  line-height: 1.15;

  letter-spacing: -0.03em;
}


.contact-cta-content p {
  margin: 0;

  max-width: 600px;

  color: #ffffff;

  font-size: 16px;

  font-weight: 500;

  line-height: 1.7;
}


/* ========================================
   BUTTON AREA
======================================== */

.contact-cta-action {
  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;
}


/* ========================================
   CONTACT BUTTON
======================================== */

.contact-cta-btn {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 14px;

  min-width: 205px;

  padding: 17px 28px;

  background: #990000;

  color: #ffffff;

  border: 2px solid #ffffff;

  text-decoration: none;

  font-size: 16px;

  font-weight: 700;

  line-height: 1;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.contact-cta-btn i {
  font-size: 17px;

  transition: transform 0.25s ease;
}


.contact-cta-btn:hover {

  background: #222334;

  transform: translateY(-3px);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.30);
}


.contact-cta-btn:hover i {
  transform: translateX(2px);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

  .contact-cta {
    min-height: 350px;
  }

  .contact-cta-inner {
    min-height: 350px;
  }

  .contact-cta-panel {
    width: 62%;
  }

  .contact-cta-content {
    width: 60%;
  }

  .contact-cta-content h2 {
    font-size: 38px;
  }

  .contact-cta-content p {
    font-size: 14px;
  }

  .contact-cta-btn {
    min-width: 185px;

    padding: 15px 22px;

    font-size: 14px;
  }
}


/* ========================================
   MOBILE / TABLET
======================================== */

@media (max-width: 750px) {

  .contact-cta {
    min-height: 380px;
  }


  /* Remove diagonal on small screens */
  .contact-cta-panel {

    width: 100%;

    background: rgba(34, 35, 52, 0.88);

    clip-path: none;
  }


  .contact-cta-inner {

    min-height: 380px;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    gap: 30px;
  }


  .contact-cta-content {

    width: 100%;

    padding: 0;
  }


  .contact-cta-content h2 {

    margin-bottom: 14px;

    font-size: 36px;
  }


  .contact-cta-content p {

    max-width: 600px;

    font-size: 14px;
  }


  .contact-cta-action {

    width: auto;
  }


  .contact-cta-btn {

    min-width: 180px;

    padding: 15px 24px;
  }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 520px) {

  .contact-cta {
    min-height: 420px;
  }


  .contact-cta-inner {

    width: min(calc(100% - 30px), 1180px);

    min-height: 420px;

    gap: 28px;
  }


  .contact-cta-content h2 {

    font-size: 31px;

    line-height: 1.15;
  }


  .contact-cta-content p {

    font-size: 13px;

    line-height: 1.7;
  }


  .contact-cta-btn {

    min-width: 170px;

    padding: 14px 22px;

    font-size: 13px;
  }


  .contact-cta-btn i {
    font-size: 15px;
  }
}


/* ========================================
   LATEST NEWS SECTION
======================================== */

.news-section {
  position: relative;

  padding: 110px 0;

  background: #ffffff;

  overflow: hidden;
}


/* ========================================
   HEADER
======================================== */

.news-header {

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 40px;

  margin-bottom: 55px;
}


/* ========================================
   LABEL
======================================== */

.news-label {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 16px;

  color: #990000;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.news-label-line {

  width: 30px;

  height: 2px;

  background: #990000;
}


/* ========================================
   TITLE
======================================== */

.news-title {

  max-width: 650px;

  margin: 0;

  color: #222334;

  font-size: clamp(34px, 4vw, 50px);

  font-weight: 800;

  line-height: 1.1;

  letter-spacing: -0.035em;
}


.news-title span {

  color: #990000;

  display: block;
}


/* ========================================
   VIEW ALL
======================================== */

.news-view-all {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  flex-shrink: 0;

  padding-bottom: 7px;

  color: #222334;

  font-size: 14px;

  font-weight: 700;

  text-decoration: none;

  transition:
    color 0.25s ease,
    gap 0.25s ease;
}


.news-view-all:hover {

  color: #990000;

  gap: 15px;
}


.news-view-all i {

  font-size: 12px;
}


/* ========================================
   NEWS GRID
======================================== */

.news-grid {

  display: grid;

  grid-template-columns: 1.35fr 1fr;

  gap: 30px;

  align-items: stretch;
}


/* ========================================
   FEATURED ARTICLE
======================================== */

.news-featured {

  position: relative;

  overflow: hidden;

  background: #f5f6f8;

  border-radius: 18px;

  display: flex;

  flex-direction: column;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.news-featured:hover {

  transform: translateY(-5px);

  box-shadow:
    0 20px 45px rgba(34, 35, 52, 0.12);
}


/* ========================================
   FEATURED IMAGE
======================================== */

.news-featured-image {

  position: relative;

  height: 350px;

  overflow: hidden;
}


.news-featured-image img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

}


.news-featured:hover
 {

  transform: scale(1.04);
}


/* ========================================
   CATEGORY
======================================== */

.news-category {

  position: absolute;

  top: 20px;

  left: 20px;

  padding: 8px 13px;

  background: #990000;

  color: #ffffff;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.1em;

  border-radius: 5px;
}


/* ========================================
   FEATURED CONTENT
======================================== */

.news-featured-content {

  padding: 28px 30px 32px;
}


/* ========================================
   META
======================================== */

.news-meta {

  display: flex;

  align-items: center;

  gap: 20px;

  margin-bottom: 13px;

  color: #7a8194;

  font-size: 12px;

  font-weight: 500;
}


.news-meta span {

  display: flex;

  align-items: center;

  gap: 6px;
}


.news-meta i {

  color: #990000;
}


/* ========================================
   FEATURED TITLE
======================================== */

.news-featured-content h3 {

  max-width: 700px;

  margin: 0 0 14px;

  color: #222334;

  font-size: 25px;

  font-weight: 800;

  line-height: 1.25;

  letter-spacing: -0.02em;
}


/* ========================================
   FEATURED DESCRIPTION
======================================== */

.news-featured-content p {

  max-width: 700px;

  margin: 0 0 22px;

  color: #666d81;

  font-size: 14px;

  line-height: 1.75;
}


/* ========================================
   READ MORE
======================================== */

.news-read-more {

  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: #990000;

  font-size: 13px;

  font-weight: 800;

  text-decoration: none;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}


.news-read-more:hover {

  color: #222334;

  gap: 14px;
}


.news-read-more i {

  font-size: 11px;
}


/* ========================================
   SIDE NEWS
======================================== */

.news-side {

  display: flex;

  flex-direction: column;

  gap: 30px;
}


/* ========================================
   SIDE CARD
======================================== */

.news-side-card {

  min-height: 0;

  display: grid;

  grid-template-columns: 230px 1fr;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 16px;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


.news-side-card:hover {

  transform: translateX(-5px);

  border-color: rgba(153, 0, 0, 0.35);

  box-shadow:
    0 15px 35px rgba(34, 35, 52, 0.10);
}


/* ========================================
   SIDE IMAGE
======================================== */

.news-side-image {

  height: 100%;

  min-height: 235px;

  overflow: hidden;
}


.news-side-image img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  
}


.news-side-card:hover
 {

  transform: scale(1.05);
}


/* ========================================
   SIDE CONTENT
======================================== */

.news-side-content {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  padding: 25px;
}


/* ========================================
   SIDE CATEGORY
======================================== */

.news-side-category {

  margin-bottom: 9px;

  color: #990000;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.12em;
}


/* ========================================
   SIDE META
======================================== */

.news-side-meta {

  margin-bottom: 9px;

  color: #8a90a0;

  font-size: 11px;

  font-weight: 500;
}


/* ========================================
   SIDE TITLE
======================================== */

.news-side-content h3 {

  margin: 0 0 18px;

  color: #222334;

  font-size: 17px;

  font-weight: 750;

  line-height: 1.4;

  letter-spacing: -0.015em;
}


/* ========================================
   SIDE LINK
======================================== */

.news-side-link {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: #222334;

  font-size: 12px;

  font-weight: 800;

  text-decoration: none;

  transition:
    color 0.25s ease,
    gap 0.25s ease;
}


.news-side-link:hover {

  color: #990000;

  gap: 13px;
}


.news-side-link i {

  font-size: 10px;
}


/* ========================================
   LARGE TABLET
======================================== */

@media (max-width: 1050px) {

  .news-grid {

    grid-template-columns: 1fr;
  }


  .news-featured-image {

    height: 400px;
  }


  .news-side {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
  }


  .news-side-card {

    grid-template-columns: 1fr;

  }


  .news-side-image {

    height: 230px;

    min-height: 230px;
  }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 700px) {

  .news-section {

    padding: 80px 0;
  }


  .news-header {

    align-items: flex-start;

    flex-direction: column;

    margin-bottom: 35px;

    gap: 20px;
  }


  .news-title {

    font-size: 38px;
  }


  .news-side {

    grid-template-columns: 1fr;
  }


  .news-featured-image {

    height: 320px;
  }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 520px) {

  .news-section {

    padding: 65px 0;
  }


  .news-title {

    font-size: 31px;
  }


  .news-featured {

    border-radius: 13px;
  }


  .news-featured-image {

    height: 230px;
  }


  .news-featured-content {

    padding: 22px;
  }


  .news-featured-content h3 {

    font-size: 21px;
  }


  .news-featured-content p {

    font-size: 13px;

    line-height: 1.7;
  }


  .news-meta {

    gap: 12px;

    font-size: 10px;
  }


  .news-side-card {

    grid-template-columns: 130px 1fr;

    border-radius: 12px;
  }


  .news-side-image {

    min-height: 190px;

    height: 100%;
  }


  .news-side-content {

    padding: 17px;
  }


  .news-side-content h3 {

    font-size: 14px;

    margin-bottom: 12px;
  }


  .news-side-category {

    font-size: 9px;
  }


  .news-side-meta {

    font-size: 10px;
  }


  .news-side-link {

    font-size: 11px;
  }
}



/* Base state — hidden before reveal */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fade Up */
[data-reveal="fade-up"] {
  transform: translateY(40px);
}

/* Fade Down (bonus, in case you need it) */
[data-reveal="fade-down"] {
  transform: translateY(-40px);
}

/* Fade Left (content slides in from the right) */
[data-reveal="fade-left"] {
  transform: translateX(60px);
}

/* Fade Right (content slides in from the left) */
[data-reveal="fade-right"] {
  transform: translateX(-60px);
}

/* Zoom */
[data-reveal="zoom"] {
  transform: scale(0.8);
}

/* Slide (a bigger horizontal slide-in) */
[data-reveal="slide"] {
  transform: translateX(-100px);
}

/* Slide Right */
[data-reveal="slide-right"] {
  transform: translateX(100px);
}

/* When element becomes visible */
[data-reveal].reveal-active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}



/* =========================
   EVENTS NAVIGATION
========================= */

.nav-links > a.active {
  background: rgba(75,0,0,.38);
  color: white;
}

.mobile-menu > a.active {
  background: rgba(75,0,0,.38);
  color: white;
} 

/* Zoom In (stronger effect than the basic zoom) */
[data-reveal="zoom-in"] {
  transform: scale(0.5);
}

[data-reveal="zoom-in"].reveal-active {
  transform: scale(1);
}




