@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

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

body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

#logo {
    height: 40px;
    width: 170px;
}

nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 1px 1px 5px rgb(177, 177, 177);
    z-index: 9999;
}

#navitems {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
}

.navitem {
    margin: 0 10px;
    padding: 5px;
    transition: all 0.2s ease-in-out;
}

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

.navitem:hover {
    transform: scale(1.1);
}

#gmail-icon {
    height: 22px;
    width: 22px;
    margin-right: 8px;
}

#call-icon {
    height: 22px;
    width: 22px;
    margin-right: 8px;
}

#close-icon {
    height: 22px;
    width: 22px;
    display: none;
}

#hamburger {
    height: 22px;
    width: 22px;
    display: none;
}

#ham {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 30px;
}

#hero {
    background-color: #d9f1ff;
    min-height: 100vh;
    position: relative;
}

.contact-item a {
    text-decoration: none;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item {
    margin-top: 2px;
}

#master-image {
    height: 20em;
    width: 20em;
}

#hero-main {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-height: 100vh;
}

#hero-content {
    width: 50%;
}

#hero-content h1 {
    margin: 1rem 0;
}

#hero-content p {
    margin: 1rem 0;
    color: rgb(50, 50, 50);
}

#request-btn {
    width: 130px;
    height: 40px;
    border-radius: 5px;
    border: none;
    background-color: red;
    color: white;
    font-size: 14px;
    box-shadow: 1px 1px 2px rgb(108, 108, 108);
}

#about {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 80%;
}

#about-image {
    height: 20em;
    width: 20em;
}

#about-content {
    padding: 50px;
}

#about-content h2 {
    text-align: center;
    margin-bottom: 25px;
}

#about-content p {
    margin-bottom: 10px;
}


#services {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(247, 247, 247);
}

#services-heading {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

#service-images {
    height: 5em;
    width: 5em;
}

#service-card-container {
    height: 90%;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.service-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    width: 400px;
    padding: 20px;
    gap: 10px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 7px 7px 9px -1px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 7px 7px 9px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 7px 7px 9px -1px rgba(0, 0, 0, 0.75);
}

.service-card:hover{
    transform: scale(1.03);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


#products {
    min-height: 100vh;
    padding: 50px;
    background-color: white;
}

#product-container ul {
    list-style-type: none;
    min-height: 250px;
    width: 350px;
    background-color: rgb(247, 247, 247);
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 3px 7px 9px -1px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 3px 7px 9px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 3px 7px 9px -1px rgba(0, 0, 0, 0.75);
}

#product-container ul h3 {
    margin-bottom: 10px;
}

#product-container ul li {
    margin-bottom: 3px;
}


#product-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 95%;
    margin: 0 auto;
}
#product-container ul:hover{
    transform: scale(1.02);
}
#products-heading {
    text-align: center;
    margin-bottom: 50px;
}


#why-quality{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wq-container{
    width: 90%;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    gap: 50px;
}

#quality{
    width: 50%;
    padding: 10px;
}

#why{
    width: 50%;
    padding: 10px;
}

dt{
    font-weight: bold;
}
dd{
    margin-bottom: 5px;
}

#quality h2{
    margin-bottom: 40px;
}

#why h2{
    margin-bottom: 40px;
}



.enquiry-form {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 50%;
    margin-bottom: 50px;
}

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

.enquiry-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.2);
}

.submit-btn {
    background: #e63946;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #c92634;
}


#contact{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px 0;
    background-color: rgb(247, 247, 247);
}

#contact h2{
    margin-bottom: 50px;
    margin-top: 50px;
}

.footer {
    background: #111;
    color: #ddd;
    padding: 50px 20px 20px;
    margin-top: 40px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.6;
}

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

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

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

.footer-section ul li a:hover {
    color: #e63946;
}

.footer-address {
    margin-top: 10px;
    color: #ccc;
}

.footer-contact {
    margin: 6px 0;
}

.footer-bottom {
    text-align: center;
    color: #bbb;
    font-size: 14px;
    padding: 20px 0 0;
    border-top: 1px solid #333;
    margin-top: 30px;
}



@media (max-width: 1080px) {
    #navitems {
        display: none;
    }

    #hamburger {
        display: block;
    }

    #hero-main {
        flex-direction: column-reverse;
        justify-content: center;
    }

    #master-image {
        height: 20em;
        width: 20em;
        margin-top: 100px;
    }

    #hero-content {
        width: 80%;
        margin-bottom: 50px;
    }
}

@media (max-width: 600px) {
    #contacts {
        display: none;
    }
    #wq-container{
        flex-direction: column;
    }
    #quality{
        width: 100%;
    }
    #why{
        width: 100%;
    }
    .enquiry-form{
        width: 90%;
    }
}

@media (max-width: 900px) {
    #about-main {
        flex-direction: column;
    }
}


/* =======================
   MOBILE NAVIGATION MENU
=======================*/
@media (max-width: 1080px) {

    #navitems {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 0;
        background: white;
        width: 100%;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;

        /* animation base */
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    #navitems.show {
        opacity: 1;
        transform: translateY(0);
    }

    #navitems li {
        margin: 15px 0;
    }

    /* Icons visibility */
    #hamburger {
        display: block;
        cursor: pointer;
    }

    #close-icon {
        display: none;
        cursor: pointer;
    }
}


.navitem a {
    position: relative;
    padding-bottom: 3px;
}

.navitem a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #e63946;
    transition: width 0.3s ease;
}

.navitem a:hover::after {
    width: 100%;
}



/* ===========================
   DESKTOP NAV HOVER EFFECT
===========================*/
@media (min-width: 1081px) {
    .navitem a {
        position: relative;
        padding-bottom: 3px;
        transition: color 0.3s ease;
    }

    .navitem a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: #e63946;
        transition: width 0.3s ease;
    }

    .navitem a:hover {
        color: #e63946;
    }

    .navitem a:hover::after {
        width: 100%;
    }
}

















/* ===== Floating Chat FAB ===== */
.chat-fab {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 9999;
    display: grid;
    justify-items: end;
    gap: 12px;
}

/* Main toggle button */
.fab-btn {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ff5a5f;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0,0,0,.28), 0 4px 10px rgba(0,0,0,.18);
    transition: transform .12s ease, opacity .2s ease, box-shadow .2s ease;
}

.fab-btn:hover {
    transform: translateY(-1px);
}

.fab-btn:active {
    transform: translateY(0);
}

/* Menu (hidden by default) */
.fab-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(8px) scale(.98);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

/* Each floating icon */
.fab-item {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 12px 22px rgba(0,0,0,.25);
    transition: transform .12s ease, filter .2s ease, opacity .2s ease;
}

.fab-item:hover {
    transform: translateY(-1px);
}

.fab-item:active {
    transform: translateY(0);
}

/* Colors */
.fab-whatsapp {
    background: #25D366;
}

.fab-phone {
    background: #10B981;
}

.fab-mail {
    background: #ff5a5f;
}

/* Open state */
.chat-fab.open .fab-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Small screens */
@media (max-width: 420px) {
    .chat-fab {
        right: 14px;
        bottom: 16px;
    }
}
