/* =========================================
   GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f8;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.brand:hover {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   HEADER
========================================= */

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(8px);
}

.main-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    min-height: 65px;
    height: auto;
    margin: 0;
    padding: 10px 5%;
    background: #4058ad;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* BRAND */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: white;
}

.logo img {
    display: block;
    width: 45px;
    height: 45px;
    max-width: 100%;
    object-fit: contain;
}

.logo span {
    font-size: 28px;
    filter: grayscale(1) brightness(0) invert(1);
}

.company-name {
    margin-left: 8px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

/* NAVIGATION LINKS */

.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    min-width: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link.active {
    background: rgb(225, 237, 252);
    color: #4058ad;
    padding-left: 35px;
    padding-right: 35px;
    min-width: 100px;
    text-align: center;
    box-sizing: border-box;

}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
}

.nav-link.active:hover {
    background: white;
    color: #4058ad;
}

/* =========================================
   MOBILE HAMBURGER BUTTON
========================================= */

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    background: transparent;
    color: white;

    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-toggle:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

/* =========================================
   SEARCH
========================================= */

.nav-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 5px;
}

#navSearchForm {
    display: flex;
    align-items: center;

    width: 175px;
    max-width: 100%;
    height: 39px;

    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    overflow: hidden;
    background: transparent;

    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#navSearchForm:focus-within {
    border-color: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

#navSearchInput {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 0 0 12px;

    border: none;
    outline: none;
    background: transparent;
    color: white;

    font-size: 13px;
    font-family: inherit;
}

#navSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

#navSearchInput::-webkit-search-cancel-button {
    cursor: pointer;
}

#navSearchForm button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;

    width: 36px;
    height: 100%;
    padding: 0;

    border: none;
    background: transparent;
    color: white;
    cursor: pointer;

    transition: color 0.25s ease;
}

#navSearchForm button:hover {
    color: #d6d6d6;
}

#navSearchForm button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* SEARCH RESULTS */

.nav-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    width: 280px;
    max-width: calc(100vw - 30px);
    max-height: 300px;
    overflow-y: auto;
    padding: 6px;

    border-radius: 10px;
    background: white;
    color: #222;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.nav-search-results.active {
    display: block;
}

.nav-search-result {
    display: block;
    width: 100%;
    padding: 11px 12px;

    border: none;
    border-radius: 6px;
    background: transparent;
    color: #222;

    text-align: left;
    font-size: 13px;
    cursor: pointer;
}

.nav-search-result:hover,
.nav-search-result:focus {
    background: #f1f3f5;
    outline: none;
}

.nav-search-message {
    padding: 12px;
    color: #666;
    font-size: 13px;
}

.search-highlight {
    background-color: #eaee0f !important;
    color: #222 !important;
    outline: 2px solid #e6b800;
    outline-offset: 3px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    scroll-margin-top: 120px;
}

/* =========================================
   TABLET AND MOBILE NAVIGATION
========================================= */

@media screen and (max-width: 900px) {

    .main-header {
        padding: 10px 20px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .company-name {
        font-size: 13px;
        white-space: normal;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .navigation {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 5px;

        padding: 12px 0 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    .navigation.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 14px;
        white-space: normal;
    }

    .nav-search {
        width: 100%;
        max-width: 100%;
        margin: 8px 0 0;
    }

    #navSearchForm {
        width: 100%;
        max-width: 100%;
    }

    .nav-search-results {
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
    }
}

/* SMALL PHONES */

@media screen and (max-width: 480px) {

    .main-header {
        padding: 9px 12px;
        gap: 8px;
    }

    .brand {
        gap: 6px;
        max-width: calc(100% - 55px);
        min-width: 0;
    }

    .logo {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .company-name {
        margin-left: 3px;
        font-size: 11px;
        overflow-wrap: anywhere;
    }

    .nav-toggle {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}
.hero-carousel {
   position: absolute
   background-image: ;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Dark overlay */
.carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
    90deg,
    rgba(5, 32, 52, 0.94),
    rgba(8, 40, 64, 0.76) 10%,
    rgba(8, 35, 54, 0.22)
  );
}
/* Text */
.carousel-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    max-width: 600px;
}
.carousel-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: 700;
}
.carousel-content p {
    font-size: 20px;
    margin-bottom: 30px;
}
.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background: rgb(60,81,164);
    color: #fdfdfd;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}
.hero-btn:hover {
    background: #5f645d;
    color: white;
}
/* Arrows */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
}
.carousel-prev {
    left: 25px;
}
.carousel-next {
    right: 25px;
}
.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.5);
}
/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background: rgb(255, 255, 255);
}
/*WHY CHOOSE US Section*/
.why-section {
    padding: 10px 10px;
    background: #ffffff;
    overflow: hidden;
}
.why-container {
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.6fr 1.2fr;
    gap: 70px;
    align-items: start;
}


/* =========================
   LEFT HEADING
========================= */

.why-heading {
    position: sticky;
    top: 120px;
}

.why-heading span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #000000;
}

.why-heading h2 {
    font-size: 52px;
    line-height: 1.05;
    margin: 18px 0 25px;
    font-weight: 400;
    color: #4054A6;
}

.why-heading h2 strong {
    font-weight: 700;
}

.why-heading p {
    max-width: 400px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================
   WHY LIST
========================= */

.why-list {
    display: flex;
    flex-direction: column;
}


/* =========================
   ROW
========================= */

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    opacity: 0;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


/* First border */
.why-item:first-child {
    border-top: 1px solid #e5e5e5;
}
/*STARTING POSITIONS*/
/* Odd rows come from LEFT */
.why-left {
    transform: translateX(-100px);
}
/* Even rows come from RIGHT */
.why-right {
    transform: translateX(100px);
}
/* =========================
   ACTIVE STATE
========================= */

.why-item.show {
    opacity: 1;
    transform: translateX(0);
}

/* =========================
   NUMBER
========================= */

.why-number {
    min-width: 45px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    padding-top: 4px;
}

/* =========================
   CONTENT
========================= */

.why-content h3 {
    margin: 0 0 8px;
    color: #4054A6;
    font-size: 20px;
    font-weight: 500;
}

.why-content p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
    max-width: 550px;
}

/* =========================
   HOVER EFFECT
========================= */

.why-item {
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        padding-left 0.3s ease;
}

.why-item:hover {
    padding-left: 10px;
}

.why-item:hover .why-number {
    color: #ee910f;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .why-section {
        padding: 20px 5%;
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .why-heading {
        position: static;
    }

    .why-heading h2 {
        font-size: 30px;
    }

    .why-item {
        gap: 10px;
        padding: 18px 0;
    }

    .why-content h3 {
        font-size: 15px;
    }

    .why-content p {
        font-size: 12px;
    }

}
/* Third Section*/
/* =========================
   WHAT WE DO
========================= */

.what-we-do {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #ffffff;
}


/* BACKGROUND IMAGE */
.what-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.what-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 1.5s ease;
}


/* DARK RIGHT PANEL */
.what-overlay {
    position: absolute;
    top: 0;
    right: 2%;
    width: 700px;
    height: 100%;
    background: rgba(33, 39, 49, 0.78);
    display: flex;
    align-items: center;
    padding: 0 60px;
    box-sizing: border-box;
}
/* CONTENT */
.what-content {
    max-width: 470px;
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}
/* LABEL */
.what-label {
    display: block;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 28px;
}
/* Text-Founded */
.what-content {
    padding-left: 60px;
    max-width: 550px;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 1s ease,
        transform 1s ease;
}
/* DESCRIPTION */
.what-content p {
    margin: 0 0 35px;
    font-size: 17px;
    line-height: 1.7;
    color: #ffffff;
}
/* BUTTON */
.what-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 28px;
    background: #ffffff;
    color: #3C51A4;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}
.what-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
}
/* ANIMATION*/
.what-we-do.show .what-image img {
    transform: scale(1);
}

.what-we-do.show .what-content {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

    .what-we-do {
        height: 650px;
    }

    .what-overlay {
        right: 0;
        width: 65%;
        padding: 0 45px;
    }

    .what-content h2 {
        font-size: 32px;
    }

    .what-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {

    .what-we-do {
        height: auto;
        min-height: 650px;
    }

    .what-overlay {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 650px;
        padding: 70px 30px;
        background: rgba(10, 20, 30, 0.72);
    }

    .what-content {
        max-width: 100%;
    }

    .what-content h2 {
        font-size: 30px;
    }

    .what-content p {
        font-size: 15px;
    }

}
/*Activity Section*/
.how-we-do-it {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas: "image text";
    align-items: center;
    gap: 65px;
    max-width: 1250px;
    min-height: 600px;
    margin: 0 auto;
    padding: 80px 5px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

/* LEFT TEXT */
.how-text h1 {
    color: #3C51A4;
    font-size: 45px;
    font-weight: 700;
    margin: 0 0 22px;
    letter-spacing: 2px;
    padding-bottom: 20px;
}

.how-text h3 {
    color: #000000;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 25px;
    padding-bottom: 20px;
}

.how-text p {
    color: #777;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 32px;
}

.read-more-btn {
    display: inline-block;
    padding: 15px 25px;
    background: #3C51A4;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #294e75;
}

/* IMAGE ON THE LEFT */
.how-carousel {
    grid-area: image;
    position: relative;
    width: 100%;
    height: 410px;
    overflow: hidden;
    border-radius: 3px;
}
.how-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.how-slides img {
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    object-fit: cover;
}

/* CAROUSEL ARROWS */
.how-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 16px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.how-arrow:hover {
    background: #3C51A4;
    color: #fff;
}

.how-arrow.prev {
    left: 18px;
}

.how-arrow.next {
    right: 18px;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .how-we-do-it {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 25px;
    }

    .how-text h2 {
        font-size: 28px;
    }

    .how-text h3 {
        font-size: 27px;
    }

    .how-carousel {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .how-text h3 {
        font-size: 23px;
    }

    .how-text p {
        font-size: 15px;
    }

    .how-carousel {
        height: 260px;
    }
}

/* Fifth Section */
.vmg-section {
    padding: 70px 7%;
    background: #e7e7e7;
}

.vmg-title {
    text-align: center;
    margin-bottom: 50px;
}

.vmg-title span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
}

.vmg-title h2 {
    font-size: 42px;
    margin: 10px 0;
}

.vmg-title p {
    color: #777;
    font-size: 17px;
}

.vmg-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.vmg-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
}

.vmg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.vmg-card:hover img {
    transform: scale(1.15);
}

.vmg-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    color: white;
    background: linear-gradient(transparent,rgba(0, 0, 0, 0.95)
    );
}

.vmg-icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.vmg-overlay h3 {
    font-size: 28px;
    margin: 0 0 10px;
}

.vmg-overlay p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}
/* =========================
   MOBILE
========================= */
<!--
@media (max-width: 768px) {

    .partners-section {
        padding: 50px 5%;
    }

    .partners-container {
        flex-direction: column;
        gap: 25px;
    }

    .partner-logo {
        width: 180px;
        height: 80px;
    }

} -->
/*TRUINE GROUP OF COMPANIES INQUIRY SECTION */

.truine-inquiry,
.truine-inquiry * {
  box-sizing: border-box;
}

.truine-inquiry {
  --truine-navy: #102a43;
  --truine-navy-light: #173e5c;
  --truine-gold: #3C51A4;
  --truine-gold-hover: #3C51A4;
  --truine-text: #334155;
  --truine-muted: #64748b;
  --truine-border: #dbe3ec;
  --truine-background: #f2f5fc;
  width: 100%;
  padding: 50px 5%;
  background: var(--truine-background);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}
.truine-inquiry-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
}

/* =========================================
   LEFT INFORMATION COLUMN
========================================= */

.truine-inquiry-info {
  min-width: 0;
  padding: 15px 0;
}

.truine-inquiry-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--truine-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ee910f;
  margin-bottom: 20px;
}

.truine-inquiry-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--truine-gold);
}

.truine-inquiry-info h2 {
  color:  #3C51A4;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 0 0 24px;
}

.truine-inquiry-info h2 span {
  color: #3C51A4;
}

.truine-inquiry-description {
  color: var(--truine-muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 480px;
  margin: 0 0 35px;
}

/* Contact detail rows */

.truine-inquiry-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.truine-inquiry-detail {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-width: 0;
  transition: transform 0.3s ease;
}

.truine-inquiry-detail:hover {
  transform: translateX(5px);
}

.truine-inquiry-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3C51A4;
  border-radius: 50%;
  background: #ffffff;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.truine-inquiry-detail:hover .truine-inquiry-icon {
  background: var(--truine-navy);
  border-color: var(--truine-navy);
}

.truine-inquiry-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--truine-gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.truine-inquiry-detail:hover .truine-inquiry-icon svg {
  stroke: #ffffff;
}

.truine-inquiry-detail h3 {
  color: var(--truine-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 2px 0 6px;
}

.truine-inquiry-detail p {
  color: var(--truine-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* Bottom note */
.truine-inquiry-note {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 38px;
}

.truine-inquiry-note-line {
  display: block;
  width: 35px;
  height: 2px;
  background: var(--truine-gold);
}

.truine-inquiry-note p {
  color: var(--truine-navy);
  font-size: 13px;
  font-style: italic;
  margin: 0;
}

/* =========================================
   RIGHT FORM CARD
========================================= */

.truine-inquiry-form-card {
  width: 100%;
  min-width: 0;
  padding: 38px;
  background: #ffffff;
  border: 1px solid rgba(219, 227, 236, 0.8);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(16, 42, 67, 0.08);
  animation: truineInquiryFadeIn 0.8s ease both;
}

.truine-form-heading {
  margin-bottom: 28px;
}

.truine-form-heading h3 {
  color: #3C51A4;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.3;

  margin: 0 0 8px;
}

.truine-form-heading p {
  color: var(--truine-muted);
  font-size: 13px;
  line-height: 1.7;

  margin: 0;
}

/* Form grid */

.truine-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 18px;
}

.truine-form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.truine-form-full {
  grid-column: 1 / -1;
}

.truine-form-group label {
  color: var(--truine-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;

  margin-bottom: 9px;
}

.truine-form-group label span,
.truine-form-required span {
  color: #c0392b;
}

/* Inputs, select, and textarea */

.truine-inquiry-form-card input,
.truine-inquiry-form-card select,
.truine-inquiry-form-card textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--truine-border);
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: var(--truine-text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.truine-inquiry-form-card input,
.truine-inquiry-form-card select {
  min-height: 47px;
}

.truine-inquiry-form-card input::placeholder,
.truine-inquiry-form-card textarea::placeholder {
  color: #9aa7b6;
  opacity: 1;
}

.truine-inquiry-form-card select {
  cursor: pointer;
}

.truine-inquiry-form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.truine-inquiry-form-card input:focus,
.truine-inquiry-form-card select:focus,
.truine-inquiry-form-card textarea:focus {
  border-color: var(--truine-gold);
  box-shadow: 0 0 0 3px rgba(183, 121, 31, 0.12);
  background: #fffefd;
}

/* Required field note */

.truine-form-required {
  color: var(--truine-muted);
  font-size: 11px;
  margin: 16px 0 17px;
}

/* =========================================
   SUBMIT BUTTON
========================================= */

.truine-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  min-height: 52px;
  padding: 14px 22px;

  border: 1px solid var(--truine-navy);
  border-radius: 8px;

  background: #3C51A4;
  color: #ffffff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.truine-submit-button svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 0.25s ease;
}

.truine-submit-button:hover:not(:disabled) {
  background: var(--truine-gold);
  border-color: var(--truine-gold);
  box-shadow: 0 8px 18px rgba(183, 121, 31, 0.2);
  transform: translateY(-2px);
}

.truine-submit-button:hover:not(:disabled) svg {
  transform: translate(3px, -2px);
}

.truine-submit-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* =========================================
   SUBMISSION STATUS
========================================= */

.truine-inquiry-status {
  display: none;
  padding: 12px 14px;
  margin-top: 16px;

  border-radius: 7px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.truine-inquiry-status:not(:empty) {
  display: block;
}

.truine-status-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.truine-status-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* Hide the spam honeypot */

.truine-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================
   ENTRY ANIMATION
========================================= */

@keyframes truineInquiryFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
  .truine-inquiry {
    padding: 75px 5%;
  }

  .truine-inquiry-container {
    gap: 35px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .truine-inquiry-form-card {
    padding: 28px;
  }

  .truine-inquiry-info h2 {
    font-size: 38px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
  .truine-inquiry {
    padding: 55px 20px;
  }

  .truine-inquiry-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .truine-inquiry-info {
    padding: 0;
  }

  .truine-inquiry-info h2 {
    font-size: clamp(32px, 8vw, 42px);
  }

  .truine-inquiry-description {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .truine-inquiry-details {
    gap: 22px;
  }

  .truine-inquiry-note {
    margin-top: 28px;
  }

  .truine-inquiry-form-card {
    padding: 25px 20px;
    border-radius: 13px;
  }

  .truine-form-heading h3 {
    font-size: 23px;
  }
}

/* Small mobile screens */

@media (max-width: 420px) {
  .truine-inquiry {
    padding: 45px 15px;
  }

  .truine-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .truine-form-full {
    grid-column: auto;
  }

  .truine-inquiry-form-card {
    padding: 22px 16px;
  }

  .truine-inquiry-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  .truine-inquiry *,
  .truine-inquiry *::before,
  .truine-inquiry *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

 /* =========================
    FOOTER
 ========================= */
.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 17px 7%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
}

/* FOOTER */
.site-footer {
    width: 100%;
    padding: 15px 80px;
    background: #505153;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

/* Copyright text */
.footer-copyright {
    line-height: 1.6;
}

/* Social and contact links */
.footer-contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
}

/* Individual contact */
.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.25s ease;
}

.footer-contact:hover {
    opacity: 0.75;
}

/* Contact icons */
.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Solid Facebook icon */
.footer-contact[aria-label="Facebook"]
 svg {
    fill: currentColor;
    stroke: rgb(255, 255, 255);
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
    display: block;
    border: 1.3px solid #ffffff;
    border-radius: 10%;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .site-footer {
        flex-direction: column;
        text-align: center;
        padding: 22px 15px;
    }

    .footer-contacts {
        justify-content: center;
        gap: 14px;
    }

    .footer-copyright {
        font-size: 11px;
    }
}

/* ==========================================
   TRUINE PRODUCT SECTIONS
========================================== */

.product-list-section {
    padding: 75px 6%;
    font-family: 'Montserrat', sans-serif;
    scroll-margin-top: 100px;
    text-align: left;
    overflow: visible;
    color: #3C51A4;
    background-color: #f0f7ff;
}

.product-list-section:nth-of-type(even) {
    background: #f1f1f1;
}

/* PRODUCT SECTION HEADING */
.product-list-heading {
    max-width: 750px;
    margin: 0 0 40px;
    text-align: left;
}

.product-list-heading span {
    display: inline-block;
    margin-bottom: 2px;
    color: #3C51A4;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-list-heading h2 {
    margin: 3px 0;
    color: #ee910f;
    font-size: 25px;
    line-height: 1.3;
}

.product-list-heading p {
    margin: 0;
    color: #3C51A4;
    font-size: 15px;
    line-height: 1.8;
}

/* ==========================================
   PRODUCT GRID
   5 COLUMNS / 2 ROWS FOR 10 PRODUCTS
========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    animation:truineInquiryFadeIn 0.5s ease both;
}

/* ==========================================
   PRODUCT CARD
========================================== */

.product-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e8e9ed;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease,
        border-color 0.5s ease;
}

/* Hover effect */

.product-item:hover {
    z-index: 3;
    transform: translateY(-20px);
    border-color: #3C51A4;
    box-shadow: 0px 30px 30px rgba(41, 78, 117, 0.18);
}

/* Keyboard focus */

.product-item:focus-visible {
    outline: 3px solid #c8b394;
    outline-offset: 4px;
}

/* ==========================================
   PRODUCT IMAGE
   Never overlaps the text below
========================================== */

.product-item > img {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 0 14px;
    object-fit: contain;
    object-position: center;
    background: #f7f8fa;
    border-radius: 8px;
    transform: none;
    cursor: pointer;
}

/* No image zoom on hover */

.product-item:hover > img {
    transform: none;
}

/* ==========================================
   PRODUCT INFORMATION
========================================== */

.product-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-width: 0;
    background: #ffffff;
}

.product-info h3 {
    margin: 0 0 8px;
    color: #3C51A4;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;

    transition: color 0.3s ease;
}

.product-item:hover .product-info h3 {
    color: #ee910f;
}

.product-info p {
    margin: 0;
    color: #515255;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* ==========================================
   PRODUCT IMAGE POPUP
========================================== */

.product-image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 65px 20px 25px;
    background: rgba(10, 20, 32, 0.88);
    backdrop-filter: blur(5px);
}

.product-image-modal.is-open {
    display: flex;
    animation: productModalFadeIn 0.25s ease;
}

@keyframes productModalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* POPUP CONTENT */
.product-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 850px;
    max-height: 88vh;
    padding: 30px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

    animation: productModalScaleIn 0.25s ease;
}

@keyframes productModalScaleIn {
    from {
        transform: scale(0.96);
    }

    to {
        transform: scale(1);
    }
}

/* ENLARGED IMAGE */

.product-modal-content img {
    display: block;
    width: 80%;
    height: 70%;
    max-width: 50%;
    max-height: 50%;
    object-fit: fill;
    object-position: center;
    background: #f7f8fa;
    border-radius: 8px;
}

/* POPUP TITLE */

.product-modal-content h3 {
    width: 100%;
    margin: 18px 0 8px;
    color: #294e75;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
}

/* POPUP DESCRIPTION */

.product-modal-content p {
    width: 100%;
    margin: 0;
    color: #707782;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    overflow-wrap: anywhere;
}

/* CLOSE BUTTON */

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: #ffffff;
    color: #294e75;
    font-size: 35px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.product-modal-close:hover {
    background: #3C51A4;
    color: #ffffff;
    transform: rotate(90deg);
}

.product-modal-close:focus-visible {
    outline: 3px solid #c8b394;
    outline-offset: 3px;
}

/* DISABLE BACKGROUND SCROLL */

body.product-modal-active {
    overflow: hidden;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
    .product-list-section {
        padding: 65px 5%;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {
    .product-list-section {
        padding: 50px 5%;
    }

    .product-list-heading {
        margin-bottom: 28px;
    }

    .product-list-heading h2 {
        font-size: 30px;
    }

    .product-list-heading p {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-item {
        padding: 10px;
        border-radius: 10px;
    }

    .product-item > img {
        margin-bottom: 10px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .product-info p {
        font-size: 12px;
        line-height: 1.6;
    }

    .product-item:hover {
        transform: translateY(-4px);
    }

    .product-modal-content {
        padding: 15px;
        border-radius: 10px;
        max-height: 82vh;
    }

    .product-modal-content img {
        max-height: 55vh;
    }

    .product-modal-content h3 {
        font-size: 18px;
    }

    .product-modal-content p {
        font-size: 13px;
    }

    .product-modal-close {
        top: 12px;
        right: 14px;
        width: 20px;
        height: 20px;
        font-size: 28px;
    }
}

/* EXTRA SMALL PHONES */

@media (max-width: 380px) {
    .product-grid {
        gap: 10px;
    }

    .product-item {
        padding: 8px;
    }

    .product-info h3 {
        font-size: 13px;
    }

    .product-info p {
        font-size: 11px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .product-item,
    .product-info h3,
    .product-modal-close {
        transition: none;
    }

    .product-image-modal.is-open,
    .product-modal-content {
        animation: none;
    }

    .product-item:hover {
        transform: none;
    }
}
/*About us CSS*/

.about-page {
  --about-navy: #103653;
  --about-dark: #082941;
  --about-gold: #c8a16b;
  --about-gold-light: #dfbd8e;
  --about-text: #24445f;
  --about-muted: #64788a;
  --about-light: #f3f6f9;
  color: var(--about-text);
  background: #fff;
  font-family: inherit;
  line-height: 1.7;
  overflow: hidden;
}

.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p {
  margin-top: 0;
}

.about-page h2 {
  margin-bottom: 16px;
  color: var(--about-navy);
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.25;
}

.about-page h2 span,
.about-hero h1 span {
  color: var(--about-gold);
}

.about-page p {
  color: var(--about-muted);
  font-size: 14px;
}

.about-page img {
  display: block;
  max-width: 100%;
}

.about-page a {
  text-decoration: none;
}

.about-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #ee910f ;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.about-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
}

/* HERO */

.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 350px;
  color: #fff;
  background:
    url("images/ebod1.jpg") center 48% / cover no-repeat,
    var(--about-dark);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 32, 52, 0.94),
    rgba(8, 40, 64, 0.76) 55%,
    rgba(8, 35, 54, 0.22)
  );
}

.about-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 55px;
  padding-bottom: 55px;
  animation: aboutHeroEnter 0.8s ease both;
}

.about-page .about-eyebrow {
  color: #ee910f;
}

.about-page .about-eyebrow.light {
  color: #ee910f;
}

.about-hero h1 {
  max-width: 580px;
  margin-bottom: 18px;
  color: white;
  font-size: clamp(36px, 4.5vw, 55px);
  font-weight: 800;
  line-height: 1.15;
}

.about-hero p {
  max-width: 530px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.85;
}

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 22px;
  border-radius: 5px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.about-button:hover {
  transform: translateY(-3px);
}

.about-play-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid white;
  border-radius: 50%;
  font-size: 10px;
}

.about-button-gold {
  background: #3C51A4;
}

.about-button-gold:hover {
  color: var(--about-dark);
  background: #ee910f;
}

/* OUR STORY */

.about-story {
  padding: 75px 0;
  background:#e7e7e7 ;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 65px;
}

.about-story-text > p {
  margin-bottom: 15px;
}

.about-story-text .about-button {
  margin-top: 8px;
}

.about-story-image {
  position: relative;
  padding: 0 0 20px 15px;
}

.about-story-image::before {
  content: "";
  position: absolute;
  top: -13px;
  right: -10px;
  width: 90px;
  height: 90px;
  border-top: 12px solid #3C51A4;
  border-right: 12px solid #3C51A4;
}

.about-story-image > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 320px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(14, 70, 112, 0.13);
  transition: transform 0.4s ease;
}

.about-story-image:hover > img {
  transform: scale(1.015);
}

.about-trust-card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 10px);
  padding: 15px 18px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 54, 83, 0.15);
}

.about-trust-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border: 2px solid #3C51A4 ;
  border-radius: 50%;
  color: #3C51A4;
  font-size: 20px;
}

.about-trust-card strong {
  display: block;
  color: var(--about-navy);
  font-size: 12px;
}

.about-trust-card p {
  margin: 2px 0 0;
  font-size: 11px;
}

/* MISSION, VISION AND VALUES */

.about-purpose {
  padding: 70px 0;
  background: var(--about-light);
}

.about-section-heading {
  max-width: 650px;
  margin-bottom: 30px;
}

.about-section-heading > p {
  margin-bottom: 0;
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-purpose-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: white;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.about-purpose-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgba(16, 54, 83, 0.11);
}

.about-purpose-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #3C51A4, #3C51A4);
  font-size: 25px;
}

.about-purpose-card h3 {
  margin: 5px 0 10px;
  color: var(--about-navy);
  font-size: 16px;
}

.about-purpose-card p {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.85;
}

/* IMPACT */

.about-impact {
  position: relative;
  padding: 65px 0;
  color: white;
  background:
    url("images/ebod2.jpg") center / cover no-repeat,
    var(--about-dark);
}

.about-impact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 36, 58, 0.96),
    rgba(8, 43, 68, 0.84)
  );
}

.about-impact-content {
  position: relative;
  z-index: 1;
}

.about-impact h2 {
  margin-bottom: 32px;
  color: white;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-stat {
  padding: 0 24px;
  border-right: 1px solid #ee910f;
}

.about-stat:first-child {
  padding-left: 0;
}

.about-stat:last-child {
  border-right: 0;
}

.about-stat-icon {
  display: block;
  margin-bottom: 4px;
  color: var(#ee910f);
  font-size: 29px;
}

.about-stat strong {
  display: block;
  color: white;
  font-size: 33px;
  line-height: 1.35;
}

.about-stat p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

/* TEAM */

.about-team {
  padding: 75px 0;
  background: white;
}

.about-team-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.about-team-heading p {
  max-width: 510px;
  margin-bottom: 0;
}

.about-outline-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 17px;
  border: 2px solid;
  border-radius: 8px;
  color: #fdfdfd;
  background-color: #3C51A4;
  font-size: 12px;
  transition: background 0.3s, color 0.3s;
}

.about-outline-button:hover {
  color: white;
  background-color: #ee910f;
}


.about-team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

/* Responsive layout */
@media (max-width: 1000px) {
  .about-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 450px) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
}


/* CONTACT BANNER */

.about-contact-cta {
  padding: 45px 0;
  color: white;
  background:
    linear-gradient(rgba(6, 36, 58, 0.94), rgba(6, 36, 58, 0.94)),
    url("images/hero-mining.jpg") center / cover no-repeat;
}

.about-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.about-cta-content h2 {
  margin-bottom: 10px;
  color: white;
  font-size: clamp(25px, 3vw, 34px);
}

.about-cta-content p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

/* REVEAL ANIMATION */

.about-page .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.about-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-purpose-card:nth-child(2),
.about-team-card:nth-child(2) {
  transition-delay: 0.1s;
}

.about-purpose-card:nth-child(3),
.about-team-card:nth-child(3) {
  transition-delay: 0.2s;
}

.about-team-card:nth-child(4) {
  transition-delay: 0.3s;
}

@keyframes aboutHeroEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */

@media (max-width: 900px) {
  .about-story-grid {
    gap: 35px;
  }

  .about-purpose-grid {
    grid-template-columns: 1fr;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-team-card > img {
    height: 260px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .about-container {
    width: calc(100% - 36px);
  }

  .about-hero {
    min-height: 390px;
    background-position: 58% center;
  }

  .about-hero-content {
    padding-block: 55px;
  }

  .about-hero h1 {
    font-size: 37px;
  }

  .about-hero p {
    font-size: 13px;
  }

  .about-story,
  .about-team {
    padding: 58px 0;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-story-image {
    margin-right: 5px;
    padding-left: 0;
  }

  .about-story-image > img {
    height: 260px;
  }

  .about-trust-card {
    right: -5px;
    padding: 11px;
  }

  .about-trust-card strong {
    font-size: 10px;
  }

  .about-purpose {
    padding: 58px 0;
  }

  .about-purpose-card {
    padding: 20px 15px;
    gap: 13px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }

  .about-stat {
    padding: 0 13px;
  }

  .about-stat:nth-child(2) {
    border-right: 0;
  }

  .about-stat:nth-child(3) {
    padding-left: 0;
  }

  .about-stat strong {
    font-size: 29px;
  }

  .about-team-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-team-grid {
    gap: 12px;
  }

  .about-team-card > img {
    height: 175px;
  }

  .about-team-info h3 {
    font-size: 11px;
  }

  .about-team-info p {
    font-size: 10px;
  }

  .about-cta-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .about-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* Inquiry submission status */
.truine-inquiry-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.truine-inquiry-status:empty {
    display: none;
}

.truine-inquiry-status.loading {
    background: #eef3ff;
    color: #294e75;
}

.truine-inquiry-status.success {
    background: #eaf7ee;
    color: #216e39;
}

.truine-inquiry-status.error {
    background: #fff0f0;
    color: #a12626;
}

.truine-submit-button:disabled {
    opacity: 0.65;
    cursor: wait;
}


/* =====================================
   MOBILE HEADER NAVIGATION FIX
===================================== */

/* Header layout */
.main-header {
    width: 100%;
    min-height: 65px;
    height: auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Company branding */
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    text-decoration: none;
    flex-shrink: 1;
}

.logo img {
    display: block;
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.company-name {
    color: white;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
}

/* Desktop navigation */
.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 45px;
    min-width: 0;
}

.navigation .nav-link {
    white-space: nowrap;
}

/* Hamburger button - hidden on desktop */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    background: transparent;
    color: white;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

/* Search */
.nav-search {
    flex-shrink: 0;
}

#navSearchForm {
    max-width: 100%;
}

/* Tablet and mobile */
@media screen and (max-width: 900px) {

    .main-header {
        position: sticky;
        top: 0;
        padding: 10px 4%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand {
        margin-right: auto;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .company-name {
        font-size: 13px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .navigation {
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        flex-basis: 100%;
        gap: 5px;
        padding: 12px 0 5px;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    .navigation.is-open {
        display: flex;
    }

    .navigation .nav-link {
        display: block;
        width: 100%;
        padding: 12px 15px;
        text-align: left;
        white-space: normal;
    }

    .nav-search {
        width: 100%;
        margin: 5px 0 0;
    }

    #navSearchForm {
        width: 100%;
        height: 40px;
    }

    #navSearchInput {
        width: 100%;
        min-width: 0;
    }

    .nav-search-results {
        width: 100%;
        right: 0;
        box-sizing: border-box;
    }
}

/* Small mobile phones */
@media screen and (max-width: 380px) {

    .main-header {
        padding-left: 13px;
        padding-right: 18px;
    }

    .company-name {
        font-size: 12px;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
    }
}


/* =====================================================
   TRUINE TRADING CORPORATION
   COMPLETE RESPONSIVE LAYOUT
   Add this code at the VERY BOTTOM of style.css
===================================================== */

/* GLOBAL RESPONSIVE FIXES */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

section {
    scroll-margin-top: 85px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* =====================================================
   1. HEADER AND MOBILE NAVIGATION
===================================================== */

.main-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-width: 0;
    min-height: 65px;
    height: auto;
    padding: 10px 5%;
    background: #4058ad;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
    text-decoration: none;
}

.logo {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-name {
    min-width: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 45px;
    min-width: 0;
}

.navigation .nav-link {
    flex-shrink: 0;
    padding: 10px 13px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.nav-toggle:focus-visible {
    outline: px solid white;
    outline-offset: 5px;
}

.nav-search {
    min-width: 0;
    flex-shrink: 1;
    margin-left: 5px;
}

#navSearchForm {
    width: 175px;
    max-width: 100%;
}

#navSearchInput {
    min-width: 0;
}

@media (max-width: 1050px) {
    .main-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 4%;
    }

    .brand {
        margin-right: auto;
        max-width: calc(100% - 55px);
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .navigation {
        display: none;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 5px;
        width: 100%;
        padding: 12px 0 5px;
        border-top: 1px solid rgba(255,255,255,.25);
    }

    .navigation.is-open {
        display: flex;
    }

    .navigation .nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: auto;
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
        white-space: normal;
    }

    .nav-search {
        width: 100%;
        margin: 6px 0 0;
    }

    #navSearchForm {
        width: 100%;
        height: 42px;
    }

    #navSearchInput {
        width: 100%;
    }

    .nav-search-results {
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* =====================================================
   2. HERO CAROUSEL
===================================================== */

/* Corrects the incomplete original hero-carousel rule */
.hero-carousel {
    position: relative;
    width: 100%;
    height: clamp(430px, 90vh, 760px);
    min-height: 430px;
    overflow: hidden;
    background: #102a43;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-content {
    top: 50%;
    left: clamp(20px, 8%, 120px);
    right: 20px;
    width: auto;
    max-width: 650px;
    transform: translateY(-50%);
}

.carousel-content h1 {
    max-width: 100%;
    font-size: clamp(32px, 4.5vw, 60px);
    line-height: 1.12;
    margin-bottom: 18px;
}

.carousel-content p {
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.6;
    margin-bottom: 25px;
}

.carousel-prev,
.carousel-next {
    width: 44px;
    height: 44px;
    font-size: 23px;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 430px;
        max-height: 600px;
    }

    .carousel-content {
        left: 22px;
        right: 22px;
        max-width: 100%;
    }

    .carousel-content h1 {
        font-size: clamp(30px, 8vw, 43px);
        line-height: 1.15;
        margin-bottom: 35px;
    }

    .carousel-content p {
        font-size: 14px;
        padding-top: 25px;
        margin-bottom: 15px;
    }

    .hero-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 15px;
    }
}

@media (max-width: 380px) {
    .hero-carousel {
        min-height: 400px;
    }

    .carousel-content {
        left: 18px;
        right: 18px;
    }

    .carousel-content h1 {
        font-size: 29px;
    }
}

/* =====================================================
   3. WHY CHOOSE US
===================================================== */

.why-section {
    width: 100%;
    padding: 70px 5%;
    overflow: hidden;
}

.why-container {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: clamp(25px, 5vw, 70px);
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

.why-heading {
    min-width: 0;
}

.why-heading h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
}

.why-list {
    min-width: 0;
    width: 100%;
}

.why-item {
    min-width: 0;
}

.why-content {
    min-width: 0;
}

.why-content h3 {
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.4;
}

.why-content p {
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .why-section {
        padding: 20px 8%;
    }

    .why-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        height: auto;
    }

    .why-heading {
        position: static;
    }

    .why-heading h2 {
        font-size: clamp(32px, 8vw, 42px);
        margin: 0 0 10px;
    }

    .why-heading p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.7;
    }

    .why-item {
        gap: 10px;
        padding: 10px 0;
    }

    .why-number {
        flex: 0 0 35px;
        min-width: 35px;
        font-size: 13px;
    }

    .why-content h3 {
        font-size: 16px;
    }

    .why-content p {
        font-size: 13px;
    }
}

/* =====================================================
   4. COMPANY STORY
===================================================== */

.about-story {
    width: 100%;
    padding: 75px 0;
    overflow: hidden;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(25px, 5vw, 65px);
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.about-story-text,
.about-story-image {
    min-width: 0;
}

.about-story-text h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-story-text p {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 15px;
}

.about-story-image {
    position: relative;
    padding: 0 0 20px 15px;
}

.about-story-image > img {
    display: block;
    width: 100%;
    height: clamp(250px, 32vw, 380px);
    object-fit: cover;
    border-radius: 9px;
}

.about-trust-card {
    max-width: calc(100% - 15px);
}

@media (max-width: 768px) {
    .about-story {
        padding: 25px 0;
    }

    .about-story-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        width: calc(100% - 36px);
    }

    .about-story-text h1 {
        font-size: clamp(31px, 8vw, 40px);
    }

    .about-story-text p {
        font-size: 13px;
        line-height: 1.8;
    }

    .about-story-image {
        padding: 0 0 18px;
        margin: 0 5px;
    }

    .about-story-image > img {
        height: 260px;
    }

    .about-trust-card {
        right: -5px;
        bottom: 0;
        gap: 9px;
        padding: 11px;
    }

    .about-trust-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .about-trust-card strong {
        font-size: 10px;
    }

    .about-trust-card p {
        font-size: 10px;
    }
}

/* =====================================================
   5. ACTIVITY / IMAGE CAROUSEL
===================================================== */

.how-we-do-it {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "text image";
    align-items: center;
    gap: clamp(25px, 5vw, 65px);
    width: 100%;
    max-width: 1250px;
    min-height: 0;
    margin: 0 auto;
    padding: 70px 5%;
}

.how-text {
    grid-area: text;
    min-width: 0;
}

.how-text h1 {
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;
}

.how-text h3 {
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.45;
}

.how-carousel {
    grid-area: image;
    position: relative;
    width: 100%;
    min-width: 0;
    height: clamp(260px, 33vw, 410px);
    overflow: hidden;
}

.how-slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.how-slides img {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 850px) {
    .how-we-do-it {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "text"
            "image";
        gap: 15px;
        padding: 20px 6%;
    }

    .how-text h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .how-text h3 {
        font-size: clamp(20px, 5vw, 26px);
        line-height: 1.5;
    }

    .how-carousel {
        height: clamp(240px, 65vw, 380px);
    }
}

/* =====================================================
   6. VISION, MISSION AND GOALS
===================================================== */

.vmg-section {
    width: 100%;
    padding: 65px 6%;
    overflow: hidden;
}

.vmg-title {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.vmg-title h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.25;
}

.vmg-title p {
    font-size: 15px;
    line-height: 1.7;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-purpose-card {
    min-width: 0;
    height: 100%;
}

@media (max-width: 900px) {
    .about-purpose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .vmg-section {
        padding: 30px 5%;
    }

    .vmg-title {
        margin-bottom: 28px;
    }

    .vmg-title h2 {
        font-size: 28px;
    }

    .vmg-title p {
        font-size: 13px;
    }

    .about-purpose-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .about-purpose-card {
        padding: 20px;
    }
}

/* =====================================================
   7. INQUIRY SECTION AND CONTACT FORM
===================================================== */

.truine-inquiry {
    width: 100%;
    padding: 65px 5%;
    overflow: hidden;
}

.truine-inquiry-container {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(25px, 5vw, 55px);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.truine-inquiry-info,
.truine-inquiry-form-card {
    min-width: 0;
}

.truine-inquiry-form-card {
    padding: clamp(20px, 3vw, 38px);
}

.truine-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.truine-form-group {
    min-width: 0;
}

.truine-form-full {
    grid-column: 1 / -1;
}

.truine-inquiry-form-card input,
.truine-inquiry-form-card select,
.truine-inquiry-form-card textarea {
    width: 100%;
    min-width: 0;
    font-size: 14px;
}

@media (max-width: 900px) {
    .truine-inquiry {
        padding: 55px 5%;
    }

    .truine-inquiry-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .truine-inquiry-description {
        max-width: 100%;
    }

    .truine-inquiry-form-card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .truine-inquiry {
        padding: 32px 15px;
    }

    .truine-inquiry-form-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .truine-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .truine-form-full {
        grid-column: auto;
    }

    .truine-form-heading h3 {
        font-size: 21px;
    }

    .truine-inquiry-info h2 {
        font-size: 32px;
        letter-spacing: -.5px;
    }

    .truine-inquiry-detail {
        gap: 12px;
    }

    .truine-inquiry-detail h3 {
        font-size: 15px;
    }

    .truine-inquiry-detail p {
        font-size: 12px;
    }
}

/* =====================================================
   8. FOOTER
===================================================== */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    padding: 13px 5%;
}

.footer-copyright {
    min-width: 0;
    line-height: 1.7;
}

.footer-contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px 20px;
    min-width: 0;
}

.footer-contact {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .site-footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 25px 15px;
        text-align: center;
    }

    .footer-contacts {
        justify-content: center;
        gap: 15px;
    }

    .footer-contact {
        justify-content: center;
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 10px;
    }
}

/* =====================================================
   9. PRODUCT SECTIONS
   Applies to pages using .product-list-section
===================================================== */

.product-list-section {
    padding: 60px 5%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.product-item {
    min-width: 0;
}

.product-item > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-info {
    min-width: 0;
}

@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 650px) {
    .product-list-section {
        padding: 42px 5%;
    }

    .product-list-heading {
        margin-bottom: 25px;
    }

    .product-list-heading span {
        font-size: 30px;
    }

    .product-list-heading h2 {
        font-size: 22px;
    }

    .product-list-heading p {
        font-size: 13px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-item {
        padding: 9px;
    }

    .product-info h3 {
        font-size: 13px;
        line-height: 1.45;
    }

    .product-info p {
        font-size: 11px;
        line-height: 1.6;
    }

    .product-item:hover {
        transform: translateY(-3px);
    }

    .product-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 82vh;
        padding: 16px;
    }

    .product-modal-content img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 55vh;
        object-fit: contain;
    }

    .product-modal-content h3 {
        font-size: 18px;
    }

    .product-modal-content p {
        font-size: 13px;
    }

    .product-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-info p {
        font-size: 13px;
    }
}

/* =====================================================
   10. ABOUT US PAGE RESPONSIVENESS
===================================================== */

.about-container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.about-page img {
    max-width: 100%;
}

.about-purpose-grid {
    width: 100%;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.about-team-card {
    min-width: 0;
}

.about-team-card > img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.about-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

@media (max-width: 1000px) {
    .about-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .about-container {
        width: calc(100% - 36px);
    }

    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .about-team-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-cta-content {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 450px) {
    .about-team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-team-card > img {
        height: auto;
        max-height: 380px;
    }

    .about-hero h1 {
        font-size: 34px;
    }
}

/* =====================================================
   11. TABLET AND PHONE SAFETY OVERRIDES
===================================================== */

@media (max-width: 768px) {
    .why-container,
    .about-story-grid,
    .how-we-do-it,
    .about-purpose-grid,
    .truine-inquiry-container {
        max-width: 100%;
    }

    .why-container {
        height: auto;
    }

    .about-story-image img,
    .how-carousel img {
        max-width: 100%;
    }

    .vmg-title h2 {
        overflow-wrap: anywhere;
    }

    .truine-inquiry-form-card,
    .product-modal-content {
        min-width: 0;
    }
}

/* Extra-small devices */
@media (max-width: 380px) {
    .main-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand {
        gap: 5px;
        max-width: calc(100% - 48px);
    }

    .logo {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .company-name {
        font-size: 11px;
        white-space: normal;
    }

    .nav-toggle {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}


/* FIX: Make all team photos uniform */
.about-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}

.about-team-card {
    min-width: 0;
    overflow: hidden;
}

.about-team-card > img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
}

/* Tablet */
@media (max-width: 900px) {
    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-team-card > img {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .about-team-card > img {
        height: 200px;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-team-card > img {
        height: 300px;
    }
}
