@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');


.source-sans-3 {
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


.onest {
    font-family: "Onest", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


.reddit-sans{
    font-family: "Reddit Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Base Styles */
:root {
    --primary-color: #0072bc;
    --secondary-color: #3ab7f1;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header with White Background */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.white-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Scrolled header state */
.header.scrolled {
    background-color: #0072bc !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Ensure text remains visible on scrolled header */
.header.scrolled .main-nav ul li a,
.header.scrolled .logo a {
    color: white !important;
}

/* Dropdown menu styling for scrolled header */
.header.scrolled .dropdown-menu {
    background-color: #0072bc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .dropdown-menu a {
    color: white !important;
}

.header.scrolled .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    display: block;
    position: relative;
    height: 40px;
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo .logo-default {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.logo .logo-scrolled {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.header.scrolled .logo .logo-default {
    opacity: 0;
}

.header.scrolled .logo .logo-scrolled {
    opacity: 1;
}

/* Search icon color on scroll */
.header.scrolled .search-btn i {
    color: white;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.main-nav a.active,
.main-nav a:hover {
    color: #000;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: fixed;
    top: 70px; /* Height of header */
    left: 0;
    border-radius: 0 0 20px 20px;
    width: 100%;
    height: 286px;
    background-color: #0072bc;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    padding: 0;
    margin: 0;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Allow scrolling when dropdown is open */
body.dropdown-open {
    overflow: auto;
    height: 100%;
}

.dropdown-menu .container {
    max-width: 1440px;
    width: 100%;
    margin: -7px auto;
    padding: 80px 90px 0px;
    height: 100%;
    box-sizing: border-box;
    background-color: #0072bc;
    border-radius: 0 0 8px 8px;
}

.dropdown-grid {
    display: flex;
    gap: 40px;
    height: 100%;
}

.dropdown-column {
    flex: 1;
    padding-right: 20px;
}

.dropdown-column:last-child {
    border-right: none;
}

.dropdown-column h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Source Sans 3', sans-serif;
}

.dropdown-column ul li {
    margin-bottom: 10px;
}

.dropdown-column a {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
    transition: none;
    display: block;
    padding: 8px 0;
    background-color: transparent !important;
}

.dropdown-column a:hover {
    opacity: 1;
    text-decoration: none;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Remove any white background on hover */
.dropdown-menu a:hover {
    background-color: transparent !important;
}

/* Reset any potential pseudo-elements */
.dropdown-column a:before,
.dropdown-column a:after {
    display: none !important;
    content: none !important;
}

/* Ensure list items have no extra spacing */
.dropdown-column ul li {
    margin: 0;
    padding: 0;
    background: transparent !important;
}

/* Make sure the link takes full width */
.dropdown-column ul li a {
    display: block;
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn i {
    margin-left: 8px;
}

.btn-contact {
    background: linear-gradient(90deg, #00BA71, #38D58C);
    color: #fff;
    font-size: 11px;
    width: 134px;
    margin-top: -5px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

/* Box Styles */
.box-60x65 {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 1280px;
    height: 65px;
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.8);
    /*background: linear-gradient(135deg, #0072bc 0%, #0087e6 90%) !important;*/
    display: block;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.3);
}

.box-60x65 p {
    color: #000;
    font-size: 25px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin: 14px auto;
    padding: 0 60px;
}

/* Image Placeholder */
.image-placeholder {
    position: relative;
    width: 100%; 
    max-width: 100%;
    margin: 210px auto 20px;
    text-align: center;
    
}

.image-placeholder img,
.image-placeholder video {
    width: 100%;
    height: 532px;
    border-radius: 0px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* About Cromatex Section */
.about-cromatex {
    padding: 70px 0 30px 0;
    background-color: var(--white);
    position: relative;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1280px;
    flex-direction: row;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.about-text {
    flex: 1;
    max-width: 600px;
    padding: 20px 0 20px 0px;
    margin-left: auto;
}

.about-text h2 {
    font-family: Source Sans 3, sans-serif;
    font-size: 26px;
    font-weight: 550;
    color: var(--text-color);
    margin: 0 0 24px 14px;
    margin-bottom: 24px;
    line-height: 1.3;
    text-align: left;
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    font-family: Source Sans 3, sans-serif;
    font-size: 17px;
    font-weight: 400;
    width: 696px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 20px;
}

.about-text p b {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image {
    display: flex;
    flex: 0 0 auto;
    width: 519px;
    height: 340px;
    border-radius: 20px;
    /* overflow: hidden; */
    margin: 20px 0 0 -60px;
    position: relative;
    z-index: 2;
    flex-direction: column;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}


/* Responsive styles */
@media (max-width: 1200px) {
    .about-image {
        width: 450px;
        height: auto;
        aspect-ratio: 519/335;
    }
}

@media (max-width: 1024px) {
    .about-content {
        flex-direction: row;
        gap: 30px;
        align-items: flex-start;
    }
    
    .about-image {
        width: 40%;
        height: auto;
        aspect-ratio: 519/335;
    }
    
    .about-text,
    .about-image {
        max-width: 100%;
    }
    
    .about-text h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .about-cromatex {
        padding: 70px 0;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .about-text p {
        font-size: 15px;
    }
}


    /* Products & Industries Section */

.products-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.products-section {
    padding: 60px 0;
    background-color: #F9F9F9;
}

.section-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.products-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.product-card {
    flex: 0 0 calc(33.333% - 20px);
    margin-bottom: 60px;
    position: relative;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 297px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 94%;
    object-fit: cover;
    display: block;
}

.product-info-box {
    position: relative;
    margin: -70px 0 0 0;
    padding: 10px 10px 5px 15px;
    height: 256px;
    width: 355px;
    margin-left: 16px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.7) 60px,  
        white 60px,       
        white 100%
    );
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    z-index: 2;
    overflow: hidden;
}

.product-info-content {
    margin-top: 0;
    height: 100%;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Remove scroll */
}

.product-info-content::-webkit-scrollbar {
    width: 4px;
}

.product-info-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.product-info-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.product-info-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.product-info-box h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 22px;
    font-weight: 450;
    color: #000;
    margin: 0 0 15px 0;
}

.product-info-content p {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
    flex-grow: 1;
    overflow: hidden; /* Hide any overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    margin-top: auto;
    margin-left: auto; /* Push to the right */
    padding-bottom: 0px;
    width: fit-content;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    color: #004d99;
    border-bottom-color: #004d99;
}

.view-all-btn .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.view-all-btn:hover .arrow {
    transform: translateX(3px);
}

.product-info-box p {
    margin: 0;
    margin-top: 7px;
    font-size: 15.5px;
    line-height: 1.5;
    color: #000;
    font-weight: 400;
}

.title-with-logo .product-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

/* Footer Styles */
.footer {
    background-color: #EEEEEE;
    padding: 40px 0;
    color: #333;
    margin-top: 0px;
}

.footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #222;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3ab7f1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
    position: relative;
}

.social-links a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.social-links a:hover {
    background-color: #3ab7f1;
    color: #fff;
}

.social-links a:hover img {
    filter: brightness(0) invert(1);
}

.social-links a i {
    font-size: 20px;
    line-height: 1;
}

.footer-bottom {
    border-top: 1px solid #e1e1e1;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3ab7f1;
}


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

@media (max-width: 768px) {
    .header .container {
        padding: 0 15px;
    }
    
    .main-nav {
        display: none;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}
@media (min-width: 2000px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        }
        
        body {
        font-family: 'Source Sans 3', sans-serif;
        line-height: 1.6;
        color: #333;
        }
        
        .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        }
    
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 1600px;
            color: #000;
            text-align: left;
            margin-left: -330px;
        }
        
        .logo img {
            width: 180px;
            height: 43px;
            object-fit: contain;
            margin-left: -300px;
        }
    
        .main-nav a {
            color: #000;
            font-weight: 600;
            font-size: 21px;
            font-family: 'Source Sans 3', sans-serif;
            transition: color 0.3s ease;
        }
    
        .btn-contact {
            background: linear-gradient(90deg, #00BA71, #38D58C);
            color: #fff;
            font-size: 11px;
            width: 134px;
            margin-top: -5px;
            height: 40px;
            margin-left: 121px;

            margin-right: -250px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.box-60x65 {
    position: absolute;
    left: 49%;
    transform: translateX(-50%);
    width: 1800px;
    height: 80px;
    border-radius: 28px;
    background-color: rgba(255, 255, 255, 0.8);
    /*background: linear-gradient(135deg, #0072bc 0%, #0087e6 90%) !important;*/
    display: block;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.3);
}

.box-60x65 p {
    color: #000;
    font-size: 32px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin: 13px auto;
    padding: 0 100px;
}

.about-cromatex {
    padding: 70px 0 30px 0;
    background-color: var(--white);
    position: relative;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 2000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.about-text {
    flex: 1;
    max-width: 1800px;
    padding: 20px 0 20px 0px;
    margin-left: auto;
}

.about-text h2 {
    font-family: Source Sans 3, sans-serif;
    font-size: 43px;
    font-weight: 550;
    color: var(--text-color);
    margin: 0 0 24px 0;
    margin-bottom: 24px;
    line-height: 1.3;
    text-align: left;
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    font-family: Source Sans 3, sans-serif;
    font-size: 27px;
    font-weight: 400;
    width: 1000px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 20px;
}

.about-text p b {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image {
    display: flex;
        flex: 0 0 auto;
        width: 594px;
        height: 500px;
        margin-left: -280px;
        border-radius: 36px;
        /* overflow: hidden; */
        margin: 20px 0 0 -134px;
        position: relative;
        z-index: 2;
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }

.about-image img {
    width: 146%;
    height: 92%;
    object-fit: cover;
    display: block;
    border-radius: 36px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Products & Industries Section */
.products-section .container {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 40px;
}

.products-section {
    padding: 60px 0;
    background-color: #F9F9F9;
}

.section-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.products-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1800px;
    margin: 0 auto;
}

.product-card {
    flex: 0 0 calc(33.333% - 20px);
    margin-bottom: 60px;
    position: relative;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 94%;
    object-fit: cover;
    display: block;
}

.product-info-box {
    position: relative;
        margin: -88px 0 0 0;
        padding: 10px 10px 5px 15px;
        height: 325px;
        width: 539px;
        margin-left: 19px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 60px, white 80px, white 100%);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        z-index: 2;
        overflow: hidden;
    }

.product-info-content {
    margin-top: 0;
    height: 100%;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Remove scroll */
}

.product-info-content::-webkit-scrollbar {
    width: 4px;
}

.product-info-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.product-info-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.product-info-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.product-info-box h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 30px;
    font-weight: 450;
    color: #000;
    margin: 0 0 15px 0;
}

.product-info-content p {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
    flex-grow: 1;
    overflow: hidden; /* Hide any overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product-info-box p {
    margin: 0;
    margin-top: 7px;
    font-size: 21.5px;
    line-height: 1.5;
    color: #000;
    font-weight: 400;
}

/* Footer Styles */
.footer {
    background-color: #EEEEEE;
    padding: 80px 0;
    color: #333;
}
        
.footer .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 80px;
}
        


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
        
.footer-section h3 {
    font-size: 26px;
    margin-bottom: 25px;
    color: #222;
    font-weight: 700;
    }
        
.footer-section ul li {
    margin-bottom: 16px;
    }
        
.footer-section a {
    color: #000;
    font-size: 20px;
    transition: color 0.3s ease;
}
        
.footer-section a:hover {
    color: #3ab7f1;
}
        
.social-links {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    }
        
.social-links a {
    display: flex;
    align-items: center;
        justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-size: 28px;
    }
        
.social-links a:hover {
    background-color: #3ab7f1;
    color: #fff;
    transform: translateY(-5px);
    }
        
.footer-bottom {
    border-top: 2px solid #e1e1e1;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 20px;
    }
        
.footer-links {
    display: flex;
    gap: 40px;
    }
        
.footer-links a {
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
    }
        
.footer-links a:hover {
    color: #3ab7f1;
    }
        
}

@media (max-width: 425px) {
    .box-60x65 {
        position: absolute;
        top: 95px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 58px;
        border-radius: 21px;
        background-color: rgba(255, 255, 255, 0.8);
        /* background: linear-gradient(135deg, #0072bc 0%, #0087e6 90%) !important; */
        display: block;
        z-index: 2;
        box-shadow: 0 4px 12px rgba(0, 114, 188, 0.3);
    }

    .logo img {
        height: 26px;
        margin-top: 4px;
        width: auto;
        transition: opacity 0.3s ease;
    }

    .btn-contact {
        background: linear-gradient(90deg, #00BA71, #38D58C);
        color: #fff;
        font-size: 9px;
        width: 101px;
        margin-top: -5px;
        padding: 0px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-btn {
        font-size: 13px;
    }

    .box-60x65 p {
        color: #000;
        font-size: 22px;
        font-weight: 600;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 14px auto;
        padding: 0 60px;
    }

    .image-placeholder img, .image-placeholder video {
        width: 100%;
        height: 332px;
        border-radius: 0px;
        object-fit: cover;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .about-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 0px;
        align-items: flex-start;
    }

    .about-cromatex {
        padding: 0px 0;
    }

    .about-image {
        flex: 0 0 auto;
        width: 319px;
        height: 165px;
        border-radius: 20px;
        overflow: hidden;
        margin: 10px 0 0 10px;
        position: relative;
        z-index: 2;
    }
    
    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 20px;
        transition: transform 0.5s ease;
    }
    
    .about-image:hover img {
        transform: scale(1.03);
    }
    .section-title {
        font-size: 32px;
        padding-top: 47px;
    }

      
    /* Products Section */
    .products-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .products-grid {
        flex-direction: column;
        gap: 40px;
        padding: 0 10px;
    }
    
    .product-card {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .product-image-container {
        height: 250px;
    }
    
    .product-info-box {
        width: calc(100% - 30px);
        margin: -62px auto 0;
        padding: 15px;
        height: auto;
        min-height: 220px;
    }
    
    .product-info-box h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .product-info-content p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .view-all-btn {
        font-size: 16px;
        padding: 8px 0;
    }
    
    /* Adjust the gradient overlay for mobile */
    .product-info-box {
        background: linear-gradient(to bottom, 
            rgba(255, 255, 255, 0.7) 0%, 
            rgba(255, 255, 255, 0.7) 50px,  
            white 50px,       
            white 100%
        );
    }
        /* Footer Styles */
        .footer {
            background-color: #EEEEEE;
            padding: 40px 0;
            color: #333;
        }
        
        .footer .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 40px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 0px;
            margin-bottom: 30px;
        }
        
        .footer-section h3 {
            font-size: 16px;
            margin-bottom: 15px;
            color: #222;
            font-weight: 700;
        }
        
        .footer-section ul li {
            margin-bottom: 8px;
        }
        
        .footer-section a {
            color: #000;
            transition: color 0.3s ease;
        }
        
        .footer-section a:hover {
            color: #3ab7f1;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            background-color: #fff;
            border-radius: 50%;
            color: #333;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: relative;
            text-decoration: none;
        }
        
        .social-links a img {
            width: 14px;
            height: 14px;
            object-fit: contain;
            margin: 0;
            padding: 0;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .social-links a:hover {
            background-color: #3ab7f1;
            color: #fff;
        }
        
        .social-links a:hover img {
            filter: brightness(0) invert(1);
        }
        
        .social-links a i {
            font-size: 15px;
            line-height: 1;
        }
        
        .footer-bottom {
            border-top: 1px solid #e1e1e1;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .footer-links {
            display: flex;
            gap: 20px;
        }
        
        .footer-links a {
            color: #666;
            font-size: 14px;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: #3ab7f1;
        }
     
    }


/* Title with logo container */
.title-with-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: space-between;
}

.title-with-logo h3 {
    margin: 0;
    margin-right: 10px;
    display: inline-block;
}

.title-with-logo .product-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 375px) {
    .products-grid {
        flex-direction: column;
        gap: 40px;
        padding: 0 0px;
    }
}

@media (max-width: 320px) {

    .product-image {
        width: 99%;
        height: 65%;
        object-fit: cover;
        display: block;
    }

    .header-actions {
        margin-right: 0px;
    }

    .product-info-box h3 {
        font-size: 14px;
        margin-bottom: 10px; 
    }

    .product-info-box {
        width: calc(100% - 30px);
        margin: -131px auto 0;
        padding: 15px;
        height: auto;
        min-height: 220px;
    }

    .product-info-content p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .about-image {
        flex: 0 0 auto;
        width: 309px;
        height: 165px;
        border-radius: 20px;
        overflow: hidden;
        margin: 10px 0 0 10px;
        position: relative;
        z-index: 2;
    }
    
    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 20px;
        transition: transform 0.5s ease;
    }


}

@media (max-width: 1440px) {
    .title-with-logo .product-logo {
        width: 30px;
        height: 30px;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
    }

}

@media (max-width: 475px) {
    .title-with-logo .product-logo {
        width: 25px;
        height: 25px;
        margin-top: 0px;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
    }

}

@media (max-width: 320px) {
    .title-with-logo .product-logo {
        width: 20px;
        height: 20px;
        margin-top: -6px;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
    }

}


    