.about-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    padding: 50px 40px;
    border-top: 1px solid #eee;
    color: #6a6a6c;
    gap: 30px;
}

.footer-logo-text .logo {
    font-size: 26px;
    font-weight: bold;
    color: #8cc63f;
    margin-bottom: 10px;
}

.footer-logo-text p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 250px;
}

.footer-chemicals h4,
.contact-info h4,
.quick-links h4 {
    color: #00b4d6;
    margin-bottom: 10px;
}

.footer-chemicals ul,
.quick-links ul {
    list-style: none;
    padding: 0;
}

.footer-chemicals li,
.quick-links li {
    margin-bottom: 5px;
    font-size: 14px;
}

.about-footer a {
    text-decoration: none;
    color: #00b4d6;
    transition: 0.2s;
}

.about-footer a:hover {
    color: #8cc63f;
}

@media(max-width: 900px) {
    .about-footer {
        flex-direction: column;
    }
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Google Sans Flex", sans-serif;

}

.chemicals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -50px;
    border-radius: 50%;
    background: #5f5f611e;
    animation-name: rise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-110vh) translateX(50px);
        opacity: 0;
    }
}

.page {
    position: relative;
    z-index: 2;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .logo img {
    height: 55px;
}

.header ul {
    list-style: none;
    display: flex;
    gap: 20px;
}



.header ul li a {
    position: relative;
    color: #5f5f61;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
    font-size: 17px;
}

.header ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #00c6ff, #00ff99);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.8);
}



.header ul li a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(0, 200, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.header ul li a:hover {
    color: #00aaff;
    text-shadow: 0 0 6px rgba(0, 170, 255, 0.6);
}

.header ul li a:hover::after {
    width: 100%;
}

.header ul li a:hover::before {
    animation: chem-pop 0.6s ease-out forwards;
}

@keyframes chem-pop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    60% {
        transform: translate(-50%, -80%) scale(1.4);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -120%) scale(0);
        opacity: 0;
    }
}


.header .bars {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.header .bars div {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.header .bars.active .bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.header .bars.active .bar2 {
    opacity: 0;
}

.header .bars.active .bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
}



.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    position: relative;
    padding: 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 42%;
    background: rgb(1 180 215 / 21%);

    backdrop-filter: blur(6px);
    padding: 35px 40px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-content .h-heading {
    font-size: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.flex-btns {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}



.button.cbtn {
    border-radius: 6px;
    padding: 12px 26px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.button.cbtn a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-btns .button.cbtn:first-child {
    background: transparent;
    border: 2px solid #00e5ff;
}

.flex-btns .button.cbtn:first-child:hover {
    background: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
}

.flex-btns .button.cbtn:last-child {
    background: linear-gradient(135deg, #00c853, #00e676);
    border: none;
}

.flex-btns .button.cbtn:last-child:hover {
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.8);
    transform: translateY(-2px);
}

.brands-slider {
    display: flex;
    align-items: center;
    gap: 50px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background-color: white;
    padding: 20px 0px;
}

.brands-slider-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: brandScroll 25s linear infinite;
}

.b-slider-item {
    height: 60px;
    width: auto;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s ease;
}

.b-slider-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes brandScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}



.contact {
    background-color: red;
    height: 100vh;
    width: 100%;

}



.about {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background-color: white;

}

.about-text h2 {
    font-size: 38px;
    color: #8cc63f;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #6a6a6c;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-btn {
    display: inline-block;
    padding: 14px 34px;
    background: #00b4d6;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    transition: 0.3s ease;
}

.about-btn:hover {
    background: #8cc63f;
}
.about-gallery {
    position: relative;
    width: 100%;
    height: 420px;
}

.g-img {
    position: absolute;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: 0.4s ease;
}

.g-img-1 {
    width: 49%;
    height: 53%;
    top: 0;
    left: 0;
}

.g-img-2 {
    width: 49%;
    height: 37%;
    top: 0;
    right: 0;
}

.g-img-3 {
    width: 49%;
    height: 45%;
    bottom: 0;
    left: 0;
}

.g-img-4 {
    width: 50%;
    height: 61%;
    bottom: 0;
    right: 0;
}

.g-img:hover {
    transform: translateY(-8px) scale(1.02);
}

@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        height: 360px;
    }
}

@media (max-width: 500px) {
    .about-text h2 {
        font-size: 30px;
    }

    .about-gallery {
        height: 300px;
    }
}

@media (max-width:1184px) {
    .hero-content {
        width: 75%;
    }
}

@media (max-width:900px) {
    .hero-content {
        width: 85%;
    }
}

@media(max-width: 830px) {
    .header ul {
        display: flex;
        position: absolute;
        top: 0;
        left: -100vw;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 8px;
        height: 100vh;
        width: 100vw;
        z-index: 10;
        padding: 60px 10px;
        text-align: center;
        transition: ease-in-out 0.3s;
    }

    .header {
        padding: 10px 20px;
    }

    .header .bars {
        display: flex;
        z-index: 11;
    }

    .header ul.active {
        left: 0;
    }

    .hero-content {
        width: 100%;
        height: 100%;
        border-radius: 0;

        display: flex;
        justify-content: center;
        background: rgb(1 180 215 / 8%);

    }

    .hero {
        padding: 0;
    }

    .hero-content p {
        font-size: 12px;
    }

    .h-heading {
        font-size: 15px;
    }

    .logo img {
        height: 45px;
        width: auto;

    }

    .button.cbtn {
        border-radius: 6px;
        padding: 12px 5px;
        font-size: 0.7rem;
        cursor: pointer;
        transition: all 0.4s ease;
    }
}

.products-sec {
    background: #ffffffab;
    padding: 90px 20px;
}

.products-hero {
    max-width: 800px;
    margin: 0 auto 70px;
    text-align: center;
}

.products-hero h2 {
    font-size: 44px;
    color: #8cc63f;
    margin-bottom: 15px;
}

.products-hero p {
    color: #6a6a6c;
    font-size: 16px;
    line-height: 1.7;
}

.products-wrap {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.product-block h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #00b4d6;
}

.product-block p {
    color: #6a6a6c;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.chemicals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-bottom: 10px;
}

.chemicals-grid span {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 14px;
    font-size: 14px;
    color: #333;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    cursor: default;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;

}

.chemicals-grid span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8cc63f, #00b4d6);
    opacity: 0.7;
    transition: width 0.35s ease;
}

.chemicals-grid span:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(0, 180, 214, 0.25);
}

.chemicals-grid span:hover::before {
    width: 100%;
    opacity: 0.08;
}

.chemicals-grid span:nth-child(3n) {
    transition-delay: 0.05s;
}

.chemicals-grid span:nth-child(4n) {
    transition-delay: 0.1s;
}


.product-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #8cc63f;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    transition: 0.3s ease;
}

.product-btn:hover {
    background: #00b4d6;
}

.product-btn.outline {
    background: transparent;
    border: 2px solid #8cc63f;
    color: #8cc63f;
}

.product-btn.outline:hover {
    background: #8cc63f;
    color: #fff;
}

@media (max-width: 900px) {
    .products-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .products-hero h2 {
        font-size: 34px;
    }
}

.industries-sec {
    width: 100%;
    background: #8cc63f;

    padding: 100px 20px;
}

.industries-head {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.industries-head h2 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 16px;
}

.industries-head p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
}

.industries-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.industry-card {
    position: relative;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.75));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transform: translateY(40%);
    transition: 0.5s ease;
}

.industry-overlay h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 6px;
}

.industry-overlay span {
    color: #00b4d6;
    font-size: 13px;
}

.industry-card:hover img {
    transform: scale(1.12);
}

.industry-card:hover .industry-overlay {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .industry-card {
        height: 220px;
    }

    .industries-head h2 {
        font-size: 32px;
    }
}

.contact {
    background: #ffffff;
    padding: 100px 20px;
}

.contact-wrap {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* MAP SIDE */
.contact-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 18px 22px;
    border-radius: 14px;
    max-width: 260px;
}

.map-info h4 {
    margin-bottom: 6px;
    color: #8cc63f;
    font-size: 16px;
}

.map-info p {
    font-size: 13px;
    color: #6a6a6c;
    line-height: 1.6;
}

/* FORM SIDE */
.contact-form-box {
    padding: 10px 0;
}

.contact-form-box h2 {
    font-size: 38px;
    color: #8cc63f;
    margin-bottom: 12px;
}

.contact-intro {
    color: #6a6a6c;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00b4d6;
    box-shadow: 0 0 0 2px rgba(0, 180, 214, 0.15);
}

.contact-btn {
    margin-top: 10px;
    align-self: flex-start;
    padding: 14px 40px;
    background: #8cc63f;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: #00b4d6;
}

.contact-details {
    margin-top: 30px;
    display: flex;
    gap: 40px;
}

.contact-details div strong {
    display: block;
    color: #6a6a6c;
    font-size: 13px;
}

.contact-details div span {
    font-size: 14px;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 320px;
    }
}

@media (max-width: 500px) {
    .contact-form-box h2 {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

 #backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #8cc63f;
    color: #fff;
    border: none;
    padding: 15px 18px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 99999;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.3s;
    animation: float 2s infinite ease-in-out;
  }

  #backToTop:hover {
    background: #00b4d6;
    transform: translateY(-5px) scale(1.1);
  }

  /* Floating animation */
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
