/* ==========================================================================
   Techfinity - Main Stylesheet
   Version: 3.0
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Root
   ========================================================================== */
:root {
    --white: #F9FBFC;
    --whiteblue: #D9FFFE;
    --p1: #063C6B;
    --p2: #04549D;
    --p3: #0B928E;
    --p4: #17A97C;
    --p5: #51CA6D;
    --shadow-sm: 0px 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0px 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0px 4px 32px rgba(0, 0, 0, 0.25);
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 25px;
    --transition: 0.3s ease;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--white);
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.6;
}

section {
    width: 100%;
}

/* ==========================================================================
   3. Pre-Navigation Bar
   ========================================================================== */
.pre-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background-color: var(--p2);
    color: var(--white);
    width: 100%;
    padding: 10px 100px;
    align-items: center;
}

.pre-nav a {
    display: flex;
    color: var(--white);
    text-decoration: none;
    font-size: small;
    gap: 10px;
    align-items: center;
}

.pre-nav a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   4. Desktop Navigation
   ========================================================================== */
.nav-pc {
    position: fixed;
    top: 0;
    height: max-content;
    width: 100%;
    background-color: var(--white);
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-pc > div:nth-child(2) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 100px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: bold;
    font-size: 32px;
}

.logo img {
    height: 100%;
    width: 150px;
    object-fit: contain;
}

nav ul li a {
    height: 100%;
    color: black;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color var(--transition);
}

nav ul li a:hover {
    color: var(--p3);
}

.li-list {
    height: 100%;
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.li-list li {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dropdown Menu */
.our-products {
    display: none;
    position: absolute;
    top: 100%;
    background-color: var(--white);
    list-style: none;
    min-width: 150px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.our-products li a {
    padding: 0.5em 1em;
    white-space: nowrap;
}

.our-products li a:hover {
    background-color: var(--whiteblue);
}

.dropdown:hover .our-products {
    display: block;
}

.dropdown-line {
    height: 2px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Quote Button */
.call-quote-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-quote-button-container a {
    text-decoration: none;
}

.call-quote-button-space {
    margin-right: 20px;
}

.call-quote-button-space > p {
    color: var(--p1);
    font-size: 14px;
}

.quote-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7.5px 15px;
    border-radius: 100px;
    background-color: var(--p1);
    transition: background-color var(--transition);
    cursor: pointer;
}

.quote-button > p {
    font-size: 16px;
    color: var(--white);
}

.quote-button:hover {
    background-color: var(--p2);
}

/* ==========================================================================
   5. Mobile Navigation & Drawer
   ========================================================================== */
.nav-mobile {
    display: none;
}

.hamburger {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition);
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-drawer {
    display: none;
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero-container {
    display: flex;
    flex-direction: row;
    background-color: var(--white);
    padding-top: 120px;
    text-align: center;
}

.hero-container-left {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.hero-container-right {
    display: flex;
    width: 50%;
    height: 500px;
}

.hero-img {
    opacity: 0;
    transition: opacity 1s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img.show {
    opacity: 1;
}

.hero-text-container {
    padding: 100px 50px 0 100px;
    text-align: left;
    min-height: 350px;
}

.hero-button-container {
    padding: 40px 100px;
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.hero-product-list-button,
.hero-contact-sales-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid var(--p3);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-decoration: none
}

.hero-product-list-button {
    background-color: var(--p3);
    color: var(--white);
}

.hero-product-list-button-a, .hero-contact-sales-button-a {
    text-decoration: none;
}

.hero-contact-sales-button {
    background-color: var(--white);
    color: var(--p3);
}

.hero-product-list-button:hover {
    background-color: var(--white);
    color: var(--p3);
}

.hero-contact-sales-button:hover {
    background-color: var(--p3);
    color: var(--white);
}

.hero-product-list-button svg {
    fill: none;
    transition: stroke var(--transition);
    stroke-width: 1;
    stroke: var(--white);
}

.hero-contact-sales-button svg {
    fill: none;
    transition: stroke var(--transition);
    stroke-width: 1;
    stroke: var(--p3);
}

.hero-product-list-button:hover svg {
    stroke: var(--p3);
}

.hero-contact-sales-button:hover svg {
    stroke: var(--white);
}

.hero-p1 {
    font-size: 56px;
    line-height: 70px;
}

.hero-p2 {
    font-size: 56px;
    font-weight: 600;
}

.hero-p1,
.hero-p2 {
    opacity: 1;
    min-height: 1.2em;
}

.hero-p1.typing::after,
.hero-p2.typing::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 2px;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ==========================================================================
   7. Benefits Section
   ========================================================================== */
.benefits-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 640px;
    padding: 60px 20px;
    background-image: url(../images/backgrounds/biometricbackground.png);
    background-size: cover;
    background-position: center;
    transition: background-image 0.4s ease;
}

.benefits-card {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.benefits-image {
    height: 358px;
    width: 600px;
    max-width: 100%;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.benefits-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.benefits-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.benefits-buttons button {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    background-color: var(--white);
    border: 2px solid var(--p3);
    color: var(--p3);
    transition: all var(--transition);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    box-shadow: var(--shadow-lg);
}

.benefits-btn:hover {
    background-color: var(--p5);
    border-color: var(--white);
    color: var(--white);
}

.benefits-btn.active {
    background-color: var(--p3);
    border-color: var(--white);
    color: var(--white);
}

.benefits-btn:active {
    background-color: var(--p1);
    border-color: var(--white);
    color: var(--white);
}

.benefits-text {
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.benefits-text p {
    font-size: 24px;
    color: var(--white);
    text-shadow: 0px 4px 32px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   8. Clients Section
   ========================================================================== */
#clients {
    background-color: var(--white);
    text-align: center;
}

.clients-container {
    margin: 50px 0 70px;
}

.clients-title {
    font-size: 40px;
}

.infinite-scroll {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 20px;
}

.scroll-content {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    will-change: transform;
}

.scroll-content img {
    max-width: 200px;
    max-height: 100px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   9. Trusted Brands Section
   ========================================================================== */
.trusted-brands-container {
    width: 100%;
    background-image: url(../images/backgrounds/trusted1a.png);
    background-size: cover;
    background-position: center;
}

.trusted-brands {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 94px 20px;
    justify-content: center;
    align-items: center;
}

.trusted-brands-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.trusted-brands-card-p {
    font-size: 40px;
    text-align: center;
}

.trusted-brands-pngs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.trusted-brands-pngs img {
    max-width: 200px;
    max-height: 100px;
    flex-shrink: 0;
}

.brands-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.brands-p {
    font-size: 20px;
    text-align: center;
    max-width: 350px;
}

/* ==========================================================================
   10. Contact Section
   ========================================================================== */
.contacts-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 812px;
    padding: 60px 20px;
    background-color: var(--p3);
}

.contacts-card {
    width: 100%;
    max-width: 500px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contacts-card-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.contacts-card-p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--p3);
    font-size: 21px;
}

label {
    font-size: 14px;
    margin-top: 24px;
    color: var(--p3);
}

input,
textarea {
    width: 100%;
    margin: 0;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--p3);
    background-color: rgba(11, 146, 142, 0.08);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--p2);
    box-shadow: 0 0 0 3px rgba(11, 146, 142, 0.15);
}

textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contact-submit {
    width: fit-content;
    height: fit-content;
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    background-color: var(--p3);
    gap: 10px;
    border: 1px solid var(--white);
    transition: all var(--transition);
    cursor: pointer;
}

.contact-submit p {
    color: var(--white);
    transition: color var(--transition);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.contact-submit:hover {
    background-color: var(--white);
    border-color: var(--p3);
}

.contact-submit:hover p {
    color: var(--p3);
}

.contact-submit svg {
    fill: none;
    transition: stroke var(--transition);
    stroke-width: 2;
    stroke: var(--white);
}

.contact-submit:hover svg {
    stroke: var(--p3);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 100px;
}

.footer-main img {
    height: auto;
    width: 200px;
    object-fit: contain;
}

.footer-main p {
    margin-top: 16px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 70px;
}

.footer-title {
    font-weight: 800;
}

.footer-overview,
.footer-company,
.footer-explore,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-overview a,
.footer-company a,
.footer-explore a,
.footer-social a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-overview a:hover,
.footer-company a:hover,
.footer-explore a:hover,
.footer-social a:hover {
    color: var(--p3);
}

.footer-social-icons {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.footer-social-icons a svg {
    fill: #121212;
    transition: fill var(--transition);
}

.footer-social-icons a svg:hover {
    fill: var(--p3);
}

.footer-line {
    height: 2px;
    width: 100%;
    background-color: #DBDDE0;
}

.footer-trademark {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* ==========================================================================
   12. About Us Page
   ========================================================================== */
.about-us-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--p3);
    width: 100%;
    padding: 80px 20px;
}

.about-us-container > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    color: var(--white);
    text-align: center;
    gap: 20px;
}

.about-us-container > div h2 {
    font-size: 36px;
    margin: 0;
}

.about-us-container .company-tagline {
    font-size: 20px;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 10px;
}

.about-us-container > div > p {
    font-size: 16px;
    line-height: 1.8;
}

.company-solutions {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 25px 40px;
    margin: 10px 0;
}

.company-solutions p {
    font-weight: 600;
    margin-bottom: 15px;
}

.company-solutions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
}

.company-solutions li {
    position: relative;
    padding-left: 20px;
}

.company-solutions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--p5);
    border-radius: 50%;
}

.core-values-container {
    padding: 100px 20px;
}

.core-values-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
}

.core-values {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.core-values-top,
.core-values-bot {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.core-values-one,
.core-values-two,
.core-values-three,
.core-values-four {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: 280px;
    width: 400px;
    max-width: 100%;
    padding: 30px 25px;
    gap: 15px;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.core-values-one:hover,
.core-values-two:hover,
.core-values-three:hover,
.core-values-four:hover {
    background-color: var(--whiteblue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.core-value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--whiteblue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition);
}

.core-values-one:hover .core-value-icon,
.core-values-two:hover .core-value-icon,
.core-values-three:hover .core-value-icon,
.core-values-four:hover .core-value-icon {
    background-color: var(--p3);
}

.core-values-one:hover .core-value-icon svg path,
.core-values-two:hover .core-value-icon svg path,
.core-values-three:hover .core-value-icon svg path,
.core-values-four:hover .core-value-icon svg path {
    fill: var(--white);
}

.core-value-icon svg path {
    transition: fill var(--transition);
}

.core-values-one h3,
.core-values-two h3,
.core-values-three h3,
.core-values-four h3 {
    font-size: 20px;
    color: var(--p1);
    margin: 0;
}

.core-values-one p,
.core-values-two p,
.core-values-three p,
.core-values-four p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* ==========================================================================
   13. Product Pages
   ========================================================================== */
.page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding-top: 160px;
    padding-bottom: 40px;
}

.biometric-header h1 {
    color: black;
}

.biometric-cards-container,
.door-access-cards-container {
    padding: 0 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    width: 100%;
}

.product-grid a {
    color: black;
    text-decoration: none;
}

.product-card {
    background-color: white;
    border-radius: var(--radius-md);
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition);
    overflow: hidden;
    border: 2px solid transparent;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--p3);
}

.product-header {
    width: 100%;
    padding: 15px 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.product-header h4 {
    font-size: 22px;
    margin: 0;
    color: var(--p1);
}

.popular-badge {
    background-color: #FF6B35;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.premium-badge {
    background-color: #8B5CF6;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.product-img {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
}

.product-img img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: transform var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.brand-badge {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-zkteco {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.brand-granding {
    background-color: #E3F2FD;
    color: #1565C0;
}

.brand-generic {
    background-color: #F5F5F5;
    color: #616161;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 5px 15px 15px;
}

.feature-tag {
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: var(--whiteblue);
    color: var(--p3);
}

.product-desc {
    padding: 0 20px 20px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.product-desc p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   14. Privacy Policy
   ========================================================================== */
.privacy-policy-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 120px 20px 60px;
    max-width: 800px;
    gap: 10px;
    text-align: justify;
}

/* ==========================================================================
   15. Form Sent Page
   ========================================================================== */
.form-sent-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 60px 20px;
    background-color: var(--bg);
}

.form-sent-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 60px 50px;
    max-width: 560px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.form-sent-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--p2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-sent-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--p1);
}

.form-sent-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.form-sent-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.form-sent-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background-color: var(--bg);
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.form-sent-detail-item svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.form-sent-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 40px;
    background-color: var(--p2);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition);
}

.form-sent-btn:hover {
    background-color: var(--p1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   16. Message Button
   ========================================================================== */
.message-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: var(--p2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    z-index: 999;
}

.message-btn:hover {
    background-color: var(--p1);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   17. Tablet Responsive (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .pre-nav {
        padding: 10px 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-pc > div:nth-child(2) {
        padding: 10px 40px;
    }

    .li-list {
        gap: 20px;
    }

    .call-quote-button-space {
        display: none;
    }

    .hero-text-container {
        padding: 60px 40px 0;
        min-height: 180px;
    }

    .hero-button-container {
        padding: 40px;
    }

    .hero-p1,
    .hero-p2 {
        font-size: 42px;
        line-height: 1.3;
    }

    .footer-container {
        padding: 50px 40px;
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
    }
}

/* ==========================================================================
   18. Mobile Responsive (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Hide desktop nav, show mobile nav */
    .nav-pc {
        display: none;
    }

    /* Message button on mobile */
    .message-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .nav-mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        width: 100%;
        background-color: var(--white);
        color: black;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        z-index: 1000;
        box-shadow: var(--shadow-sm);
    }

    .nav-mobile a img {
        height: 60px;
        padding: 5px 0;
    }

    .mobile-drawer {
        position: fixed;
        top: 0;
        right: -85vw;
        height: 100vh;
        width: 85vw;
        max-width: 320px;
        background: #090c10;
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .mobile-drawer a {
        color: white;
        text-decoration: none;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #333;
        transition: background-color var(--transition);
    }

    .mobile-drawer a:hover {
        background: #333;
    }

    .mobile-drawer.open {
        right: 0;
    }

    /* Hero Section Mobile */
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero-container-left {
        width: 100%;
        height: auto;
        gap: 20px;
    }

    .hero-container-right {
        display: none;
    }

    .hero-text-container {
        padding: 20px;
        text-align: center;
        min-height: 140px;
    }

    .hero-button-container {
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .hero-p1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .hero-p2 {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.4;
    }

    /* Benefits Section Mobile */
    .benefits-container {
        min-height: auto;
        padding: 40px 15px;
    }

    .benefits-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;
        box-shadow: none;
    }

    .benefits-image img {
        border-radius: var(--radius-md);
    }

    .benefits-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .benefits-buttons button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .benefits-text p {
        font-size: 18px;
    }

    /* Clients Section Mobile */
    .clients-container {
        margin: 40px 0;
    }

    .clients-title {
        font-size: 28px;
    }

    /* Trusted Brands Mobile */
    .trusted-brands-container {
        padding: 0;
    }

    .trusted-brands {
        padding: 40px 15px;
    }

    .trusted-brands-card {
        padding: 30px 20px;
        gap: 25px;
    }

    .trusted-brands-card-p {
        font-size: 24px;
    }

    .trusted-brands-pngs {
        flex-direction: column;
        gap: 20px;
    }

    .brands-details {
        flex-direction: column;
        gap: 20px;
    }

    .brands-p {
        font-size: 16px;
    }

    /* Contact Section Mobile */
    .contacts-container {
        min-height: auto;
        padding: 40px 15px;
    }

    .contacts-card {
        padding: 30px 20px;
    }

    .contacts-card-title {
        flex-direction: column;
        text-align: center;
    }

    .contacts-card-p {
        font-size: 21px;
        flex-direction: row;
        text-align: center;
    }

    .contacts-card-title svg {
        display: none;
    }

    /* Footer Mobile */
    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        text-align: center;
        gap: 30px;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-trademark {
        padding: 30px 20px;
    }

    /* Product Grid Mobile */
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        gap: 20px;
    }

    .product-header h4 {
        font-size: 20px;
    }

    .product-img img {
        width: 150px;
        height: 150px;
    }

    .product-desc p {
        font-size: 12px;
    }

    /* Page Header Mobile */
    .page-header {
        min-height: 160px;
        padding-top: 90px;
        padding-bottom: 20px;
    }

    .page-header h1 {
        font-size: 24px;
        text-align: center;
        padding: 0 20px;
    }

    /* About Us Mobile */
    .about-us-container {
        padding: 50px 20px;
    }

    .about-us-container > div {
        padding: 10px;
        gap: 15px;
    }

    .about-us-container > div h2 {
        font-size: 28px;
    }

    .about-us-container .company-tagline {
        font-size: 16px;
    }

    .about-us-container > div > p {
        font-size: 15px;
    }

    .company-solutions {
        padding: 20px;
    }

    .company-solutions ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .core-values-container {
        padding: 60px 15px;
    }

    .core-values-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .core-values-top,
    .core-values-bot {
        flex-direction: column;
    }

    .core-values-one,
    .core-values-two,
    .core-values-three,
    .core-values-four {
        width: 100%;
        max-width: 350px;
        min-height: 240px;
        padding: 25px 20px;
    }

    .core-value-icon {
        width: 70px;
        height: 70px;
    }

    .core-value-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   19. Small Mobile (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .hero-p1,
    .hero-p2 {
        font-size: 24px;
    }

    .hero-product-list-button,
    .hero-contact-sales-button {
        padding: 10px 18px;
        font-size: 14px;
    }

    .benefits-text p {
        font-size: 16px;
    }

    .clients-title {
        font-size: 24px;
    }

    .trusted-brands-card-p {
        font-size: 20px;
    }

    .contacts-card-p {
        font-size: 17px;
    }
}
