/*-------------------------------------------------------------
Website Name    : Gataf Medical Solutions Website 2024
Author          : Sakhile Mkhalele
Date            : Feb 2024

CSS - Mobile Optimized Version
-------------------------------------------------------------- */

:root {
    --primary-color: #45806C;
    --secondary-color:#92C1DB;
}

/* Base styles */
* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5 {
    color: var(--primary-color);
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

p {
    line-height: 1.8;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animation */
@keyframes fadeInFromLeft {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*--------------------------------------------------
            Section - Header Menu 
    ---------------------------------------*/

.header-menu-main-container {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background-color: white;
    display: flex;
    width: 95%;
    max-width: 1200px;
    height: 80px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.header-menu-container {
    display: flex;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.header-logo-main-container {
    display: flex;
    width: auto;
}

.gataf-menu-logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    transition: all 0.3s ease-in-out;
}

.header-menu-items-main-container {
    display: flex;
    justify-content: space-between;
    width: auto;
    gap: 20px;
}

.menu-items-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
    padding: 5px 10px;
}

.menu-items-icon:hover {
    color: gray;
    cursor: pointer;
    font-weight: bold;
    transform: scale(1.1);
}

.nav-link {
    text-decoration: none;
    color: black;
    font-weight: normal;
    transition: all 0.3s ease-in-out;
    font-size: 14px;
}

.nav-link:hover {
    color: gray;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: bold;
    padding: 5px 10px;
    border-bottom: 3px solid var(--primary-color);
}

/*--------------------------------------------------
            Section - Introduction 
    ---------------------------------------*/

.Introduction-main-container {
    padding-top: 120px;
    padding-bottom: 50px;
}

.introdcution-text-image-main-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.introdcution-text-left-container {
    display: flex;
    width: 50%;
    min-height: 500px;
}

.introdcution-image-right-container {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
}

.introdcution-image-right-container img {
    max-width: 100%;
    height: auto;
}

.introduction-text-container {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    line-height: 2.5;
}

.primary-text-color {
    color: var(--primary-color);
}

.introdcution-signature-image {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.intro-img-container {
    padding: 20px 0;
}

/*--------------------------------------------------
            Section - Our Services 
    ---------------------------------------*/

.introduction-our-services-main-container {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.introduction-our-services-left-main-container {
    width: 25%;
    height: 300px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.introduction-our-services-left-container {
    display: flex;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 90%;
    height: 80%;
    border-radius: 15px;
    padding: 20px;
    justify-content: space-evenly;
    color: white;
    text-align: center;
}

.introduction-our-services-right-main-container {
    width: 75%;
    display: flex;
    justify-content: space-evenly;
    gap: 15px;
}

.introduction-icons-services-main-container {
    display: flex;
    width: 22%;
    min-height: 200px;
    border-radius: 15px;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    padding: 20px 10px;
}

.introduction-services-icons {
    color: var(--primary-color);
    display: flex;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.primary-color {
    color: var(--primary-color);
}

/*-------------------- Section - Our Clients ---------------------------- */

.section-our-client-main-container {
    background-color: var(--primary-color);
}

.paragraph-header-text {
    font-size: 25px;
    font-weight: bold;
}

.our-client-main-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 800px;
}

.our-client-left-main-container {
    display: flex;
    flex-direction: column;
    width: 40%;
    justify-content: center;
}

.our-client-left-main-image-container {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
    align-items: center;
}

.gugu-image-photo {
    width: 250px;
    height: 250px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.gugu-signature-svg {
    width: 180px;
    max-width: 100%;
    margin-top: 20px;
}

.our-client-right-main-container {
    display: flex;
    flex-direction: column;
    width: 60%;
    justify-content: center;
}

.our-client-right-main-text-container {
    color: white;
    width: 90%;
    margin: auto;
    padding: 40px 20px;
}

.sahpra-license-logo {
    margin: 20px 0;
    width: 150px;
    height: auto;
}

/*-------------- Section - Gataf Clients ---------------*/

.gataf-clients-main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    align-items: center;
    text-align: center;
}

.gataf-clients-image-main-container {
    display: flex;
    width: 100%;
    padding: 30px 0;
    justify-content: center;
    align-items: center;
}

.gataf-clients-image-container {
    display: flex;
    width: 90%;
    margin: 0 auto;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
}

.gataf-clients-image-container img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

/*-------------- Section - Contact ---------------*/

.gataf-contacts-main-container {
    background-color: var(--primary-color);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 50px 20px;
}

.contacts-phone-mail-container {
    display: flex;
    margin: auto;
    width: 90%;
    max-width: 1000px;
    justify-content: space-evenly;
    gap: 30px;
}

.gataf-contacts-icon-text-main-container {
    display: flex;
    flex-direction: column;
    width: 30%;
    align-items: center;
    padding: 20px 0;
}

.gataf-contacts-icon-main-container {
    background-color: white;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.gataf-contact-icon {
    width: 40px;
    height: 40px;
}

.footer-text-container {
    text-align: center;
    color: var(--primary-color);
    padding: 20px;
}

/*------------------------------------------------------------------
                            Product List Styles
-----------------------------------------------------------------*/

.product-list-introdcution-text-left-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-list-introduction-text-container {
    background-color: rgb(243, 243, 243);
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    width: 90%;
    max-width: 800px;
    margin: 120px auto 50px auto;
    line-height: 2.5;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.product-list-products-main-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-list-products-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
}

.product-list-products-row-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}

.product-list-products-item-main-container {
    width: 30%;
    display: flex;
    flex-direction: column;
    background-color: var(--primary-color);
    justify-content: space-between;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    color: white;
    padding: 20px;
    min-height: 300px;
}

.product-list-products-item-main-container h4 {
    color: white;
    margin: 0 0 15px 0;
}

.product-list-products-item-text-main-container {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-grow: 1;
}

.product-list-products-item-image-main-container {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

.product-list-products-item-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

/*------------------------------------------------------------------
                            MOBILE RESPONSIVE STYLES
-----------------------------------------------------------------*/

/* Tablet styles */
@media screen and (max-width: 1024px) {
    .introdcution-text-image-main-container {
        flex-direction: column;
        align-items: center;
    }
    
    .introdcution-text-left-container,
    .introdcution-image-right-container {
        width: 100%;
    }
    
    .introdcution-text-left-container {
        min-height: auto;
        margin-bottom: 30px;
    }
    
    .introduction-our-services-main-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .introduction-our-services-left-main-container {
        width: 100%;
        height: auto;
    }
    
    .introduction-our-services-right-main-container {
        width: 100%;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .introduction-icons-services-main-container {
        width: 45%;
    }
    
    .our-client-main-container {
        flex-direction: column;
    }
    
    .our-client-left-main-container,
    .our-client-right-main-container {
        width: 100%;
    }
    
    .contacts-phone-mail-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .gataf-contacts-icon-text-main-container {
        width: 100%;
    }
    
    .product-list-products-row-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-list-products-item-main-container {
        width: 100%;
    }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    
    /* Header adjustments */
    .header-menu-main-container {
        width: 98%;
        height: 70px;
        top: 10px;
    }
    
    .gataf-menu-logo {
        height: 20px;
        max-width: 80px;
    }
    
    .header-menu-items-main-container {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 8px;
    }
    
    .menu-items-icon {
        padding: 2px 5px;
    }
    
    /* Introduction section */
    .Introduction-main-container {
        padding-top: 100px;
    }
    
    .introdcution-text-image-main-container {
        padding: 0 15px;
    }
    
    .introduction-text-container h1 {
        font-size: 28px;
        text-align: center;
    }
    
    .introduction-text-container p {
        font-size: 16px;
        text-align: center;
    }
    
    .introdcution-signature-image {
        max-width: 250px;
    }
    
    /* Services section */
    .introduction-our-services-main-container {
        padding: 30px 15px;
    }
    
    .introduction-our-services-left-container {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    
    .introduction-icons-services-main-container {
        width: 100%;
        margin-bottom: 20px;
        min-height: 150px;
    }
    
    .introduction-services-icons {
        width: 50px;
        height: 50px;
    }

    /**/
   
    .introdcution-image-right-container {
        display: none;
        width: 100%;
    }
    
    /* Clients section */
    .our-client-right-main-text-container {
        padding: 20px 15px;
    }
    
    .our-client-right-main-text-container p {
        font-size: 16px;
    }
    
    .gugu-image-photo {
        width: 200px;
        height: 200px;
    }
    
    .gugu-signature-svg {
        width: 150px;
    }
    
    .sahpra-license-logo {
        width: 120px;
    }
    
    /* Client logos */
    .gataf-clients-image-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .gataf-clients-image-container img {
        max-width: 100px;
    }
    
    /* Contact section */
    .gataf-contacts-main-container {
        padding: 30px 15px;
    }
    
    .gataf-contacts-icon-main-container {
        width: 60px;
        height: 60px;
        border-radius: 30px;
    }
    
    .gataf-contact-icon {
        width: 30px;
        height: 30px;
    }
    
    .gataf-contacts-icon-text-main-container p {
        font-size: 16px;
    }
    
    /* Product list */
    .product-list-introduction-text-container {
        margin: 100px auto 30px auto;
        padding: 20px 15px;
        border-radius: 20px;
    }
    
    .product-list-introduction-text-container h1 {
        font-size: 24px;
    }
    
    .product-list-introduction-text-container p {
        font-size: 16px;
    }
    
    .product-list-products-main-container {
        width: 100%;
        padding: 0 10px;
    }
    
    .product-list-products-item-image {
        width: 120px;
        height: 120px;
    }
    
    .product-list-products-item-main-container h4 {
        font-size: 18px;
    }
    
    .product-list-products-item-main-container p {
        font-size: 14px;
    }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
    
    /* Header for very small screens */
    .header-menu-items-main-container {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 10px;
    }
    
    .gataf-menu-logo {
        height: 35px;
        max-width: 100px;
    }
    
    /* Text adjustments */
    .introduction-text-container h1 {
        font-size: 24px;
    }
    
    .introduction-text-container p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .our-client-right-main-text-container p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .gataf-contacts-icon-text-main-container p {
        font-size: 14px;
    }
    
    .product-list-introduction-text-container h1 {
        font-size: 20px;
    }
    
    .product-list-introduction-text-container p {
        font-size: 14px;
    }
    
    /* Reduce spacing for small screens */
    .intro-img-container {
        padding: 15px 0;
    }
    
    .introduction-our-services-main-container {
        padding: 20px 10px;
    }
    
    .gataf-clients-main-container {
        padding: 30px 10px;
    }
    
    .gataf-contacts-main-container {
        padding: 20px 10px;
    }
}

/* Landscape mobile orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .header-menu-main-container {
        height: 60px;
        top: 5px;
    }
    
    .Introduction-main-container {
        padding-top: 80px;
    }
    
    .introdcution-text-left-container {
        min-height: 300px;
    }
}

/* Hide horizontal scroll */
body {
    overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}