/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle, #C3B18E, #B8A281);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.image-container {
    position: relative;
    display: block;
}

header {
    width: 100%;
}


.header-image {
    width: 100%;
    height: auto;
    /* margin-top: 40px; */
}

.button-image {
    position: absolute;
    top: 40%;
    left: 95%;
    transform: translate(-50%, -50%); /* Centers the element */
    cursor: pointer; /* Pointer cursor on hover */
    width: 3%; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

.header-image-text {
    width: 50%; /* Define the desired width */
    height: auto; /* Maintain aspect ratio of the image */
    margin: 0px auto; 
    display: block; /* Ensure the image is treated as a block element */
}


/* .intro-text {
    text-align: center;
} */

.title {
    margin-top: 1vw;
    font-family: 'Eras Bold ITC', sans-serif;
    color: white;
    font-size: 2.4vw;
    margin-bottom: 1vw;
    font-weight: bold; /* Set to bold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adding shadow to text */
    /* background-color: blue; */
    /* padding-left: 10%;
    padding-right: 10%; */
}

.subtitle-p10 {
    font-family: 'Franklin Gothic Demi', sans-serif;
    font-size: 2vw; /* Changed font size to 40px */
    font-weight: bold; /* Set to bold */
    color: black;
    /* margin-top: 20px;  */
    margin-bottom: 1.5vw; 
    /* text-align: center;  */
    padding-left: 10%;
    padding-right: 10%;
}

.subtitle-p20 {
    font-family: 'Franklin Gothic Demi', sans-serif;
    font-size: 2vw; 
    font-weight: bold; /* Set to bold */
    color: black;
    /* margin-top: 20px;  */
    margin-bottom: 1.5vw; 
    /* text-align: center;  */
    padding-left: 20%;
    padding-right: 20%;
}

.gallery-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 90%; /* This can be adjusted */
    margin: 0 auto;
}

.container-pg1 {
    position: relative;
    width: 30%; /* 30% of the container width */
    margin-bottom: 3vw;
    text-align: center;
}

.container-pg1 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Optional styling */
}


.quote-text {
    color: white;
    font-size: 24px; /* Changed font size to 24px */
    font-weight: bold; /* Set to bold */
    /* text-align: center;  */
    /* margin-top: 20px;  */
    margin-bottom: 40px; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adding shadow to the text */
    /* white-space: nowrap;  */
    padding-left: 10%;
    padding-right: 10%;
}



.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    /* max-width: 600px; */
    padding: 20px; 
    box-sizing: border-box;
    justify-content: center;
    /* background-color: green; */
}


.text-para {
    color: white;
    font-size: 1.5vw; /* Changed font size to 24px */
    font-weight: bold; /* Set to bold */
    margin-top: 0; 
    margin-bottom: 0; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adding shadow to the text */
    /* white-space: nowrap;  */
    /* text-align: center; */
    padding-left: 10%;
    padding-right: 10%;
}



.item {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* justify-content: space-between; */
    /* background-color: grey; */
    align-items: center;        /* Vertically centers the child */
    justify-content: center;    /* Optional: centers horizontally */
}

.in-row {
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    /* background-color: blue; */
    align-items: center;
    justify-content: center;
}

.row-photo {
    width: 15%;
    height: auto;
    /* background-color: red; */
}

.photo {
    width: 120%;
    height: auto;   
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn1 {
    background-color: #c0a16b;
}

.btn2 {
    background-color: #8b5b2a;
}

.btn1:hover {
    background-color: transparent;
}

.btn2:hover {
    background-color: transparent;
}

.highlight {
    color: yellow; /* Highlighted color for the word "knowledge" */
}


.custom-button {
    background-image: url('images/button1.png'); /* Replace with your image path */
    background-size: cover; /* Ensure the image covers the button, can try 'contain' too */
    background-color: transparent; /* Set to transparent */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat;
    border: none; /* Remove default border */
    width: 100%; /* Set desired width */
    max-width: 300px;
    margin-top: 20px; /* Adjust as needed */
    /* height: 60px; Set desired height */
    cursor: pointer; /* Change cursor on hover */
    color: black; /* Set text color */
    font-size: clamp(14px, 5vw, 20px); /* Adjust font size as needed */
    font-weight: bold; /* Set text to bold */
    text-align: center; /* Center the text horizontally */
    line-height: 60px; /* Match this with button height for vertical centering */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    transition: transform 0.3s ease; /* Add a hover effect */
}



.button-link {
    display: inline-block; /* or use block if needed */
    width: 100%;
    text-align: center; /* Center the button within the link */
}

.custom-button:hover {
    transform: scale(1.05); /* Slightly increase size on hover */
}

.additional-text {
    margin-top: 30px; /* Space above the text */   
    font-family: 'ADLaM Display', sans-serif; /* Use the ADLaM Display font */
    color: black; /* Set color to black */   
    font-size: 40px; /* Adjust font size as needed */
    margin-bottom: 20px; /* Space below the text */
    font-weight: bold; /* Set text to bold */
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow to the text */
}

.additional-text-pg3 {
    font-family: 'ADLaM Display', sans-serif; /* Use the ADLaM Display font */
    font-size: 40px; /* Adjust font size as needed */
    font-weight: bold; /* Set text to bold */
    color: black; /* Set color to black */
    /* text-align: center; */
    margin-top: 120px;  
    margin-bottom: 10px; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow to the text */
    /* background-color: blue; */
}


.light-background {
    margin: 0;
    background: radial-gradient(circle, #EDE6D1, #BAA585);
    /* width: 100%;  */
    /* text-align: center;  */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.row-image-text {
    object-fit: cover;
    width: 15%;
    /* background-color: blue; */
    padding: 0px ;
    /* margin-left: 10%; */
}

.row-image-text-knowledge {
    object-fit: cover;
    width: 35%;
    /* background-color: blue; */
    /* padding: 0px ; */
    /* margin-left: 10%; */
}

.row-image {
    height: auto;
    width: 30%;
    /* background-color: green; */
}


.row-image-consultancy {
    height: auto;
    width: 40%;
    /* margin-top: 40px; */
    /* background-color: green; */
}



.row-photo-pg3-left {
    height: auto;
    width: 20%;
    background-color: transparent;
}

.row-photo-pg3-right {
    height: auto;
    width: 20%;
    background-color: transparent;
}

.row-image-pg4 {
    height: auto;
    width: 25%;
    /* background-color: red; */
}

.row-image-SupplierMgm {
    height: auto;
    width: 45%;
    margin-top: 2% ;
    margin-bottom: 5%;
    /* background-color: red; */
}

.row-photo-pg4 {
    height: auto;
    width: 13%;
    /* background-color: blue; */
}

.row-photo-pg5 {
    width: 15%; /* Container width */
    height: auto; /* Auto height to maintain aspect ratio */
    align-items: center;      
    /* You can use max-width to limit its size if needed */
    /* background-color: blue;  */
}

.row-photo-pg5 .photo {
    width: 86.67%; /* 13% of 15% = 86.67% */
    height: auto; /* Maintain aspect ratio */
    align-items: center; 
}

.row-image-text-pg5 {
    object-fit: cover;
    width: 15%;
    background-color: transparent;
    padding: 0px ;
    /* margin-right: 5%; */
}

.row-image-pg5 {
    height: auto;
    width: 35%;
}

.jalan-segar {
    /* object-fit: cover; */
    width: 35%;
    /* background-color: blue; */
    padding: 0px ;
    margin-left: 25%;
}

.empty-container-3 {
    width: 3%;
    height: auto;
}

.empty-container-5 {
    width: 5%;
    height: auto;
}

.empty-container-10 {
    width: 10%;
    height: auto;
    background-color: transparent;
}

.empty-container-20 {
    width: 20%;
    height: auto;
    background-color: transparent;
}



.QMS-text {
    object-fit: cover;
    width: 45%; /* Adjust width as needed */
    background-color: transparent;
    /* padding: 0px;
    margin: 0 auto;  */
    margin-bottom: 30px ;
}

.video-container {
    width: 25%; /* Set percentage-based width */
    padding-bottom:15%;  
    /* height: 0 auto;  */
    /* Set height to 0 since padding-bottom controls the height */
    position: relative;
    overflow: hidden;
    background: #000; /* Optional background */
    margin-bottom: 30px ;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ensure iframe fills the container */
    height: 100%; /* Ensure iframe fills the container */
}

.video-container-8D {
    width: 13%; /* Set percentage-based width */
    padding-bottom:10%;  
    /* height: 0 auto;  */
    /* Set height to 0 since padding-bottom controls the height */
    position: relative;
    overflow: hidden;
    background: #000; /* Optional background */
    margin-bottom: 20px ;
}

.video-container-8D iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ensure iframe fills the container */
    height: 100%; /* Ensure iframe fills the container */
}

.contact-header {
    object-fit: contain;
    width: 20%;
    /* background-color: blue; */
    padding: 0px ;
    margin-top: 30px;
    margin-left: 15%;
}

.contact-name {
    display: inline-block;
    color: #4B3B2E;
    width: 15%;
    font-size: 1.8vw; /* Changed font size to 24px */
    font-weight: bold; /* Set to bold */
    text-align: left; 
    margin: 0px; 
    
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adding shadow to the text */
    /* white-space: nowrap;  */
    /* background-color: blue; */
}

/* to change the color email link */
.contact-name a {
    color: #4B3B2E; /* This changes the <a> element color */
    text-decoration: none; /* Optional: Removes the underline */
}


.whatsapp-button {
    display: inline-block;; /* Align image and text */
    align-items: center; /* Center the icon and text vertically */
    padding: 10px ;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    text-decoration: none;
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    font-weight: bold;
}

.whatsapp-button-footer {
    display: inline-block;; /* Align image and text */
    align-items: center; /* Center the icon and text vertically */
    padding: 2px ;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    text-decoration: none;
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    font-weight: bold;
    margin: 5px;
    margin-left: 10px;
}

.whatsapp-button-footer:hover {
    background-color: #1EBE52; /* Darker green on hover */
}

.whatsapp-icon {
    width: 2vw; /* Width of the WhatsApp icon */
    height: 2vw; /* Height of the WhatsApp icon */
    vertical-align: middle;
}

.whatsapp-icon-footer {
    width: 20px; /* Width of the WhatsApp icon */
    height: 20px; /* Height of the WhatsApp icon */
    vertical-align: middle;
    /* margin: 5px; */
    display: inline-block;
}

.whatsapp-button:hover {
    background-color: #1EBE52; /* Darker green on hover */
}



.background-image {
    width: 100%;
    height: auto;
}



.button-image:hover {
    transform: translate(-50%, -50%) scale(1.1); /* Combine translate and scale */
    /* opacity: 0.5;  */
}


html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

.scroll-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    margin: 20px;
}

#pg1 {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle, #C3B18E, #B8A281);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* min-height: 100vh; */
}

#pg2, #pg3, #pg4, #pg5, #pg6 {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle, #EDE6D1, #BAA585);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* min-height: 100vh; */
}





@media (max-width: 1024px) {
    .custom-button {
        font-size: 15px; /* Adjust font size as needed */
    }

}

/* @media (max-width: 768px)  */

@media (max-width: 480px) and (orientation: portrait) {
    .title {
        font-size: 6vw;
        padding-left: 10%;
        padding-right: 10%; 
    }
    
    .subtitle-p10 {
        font-size: 5vw; /* Changed font size to 40px */
    }

    .subtitle-p20 {
        /* font-family: 'Franklin Gothic Demi', sans-serif; */
        font-size: 5vw; /* Changed font size to 40px */
        /* font-weight: bold; /* Set to bold */
        /* margin-top: 20px; 
        margin-bottom: 20px;  */
        padding-left: 10%;
        padding-right: 10%; 
    }

    .gallery-container {
        flex-direction: column; 
        align-items: center;
        /* text-align: center;  */
        /* gap: 30px; */
    }

    .container-pg1 {
        gap: 0px;
        width: 60%;
        margin-bottom: 10%;
    }

    .custom-button {
        font-size: 15px; /* Adjust font size as needed */
        margin-top: 3%; /* Adjust as needed */
    }

    .button-image {
        position: absolute;
        top: 40%;
        left: 95%;
        transform: translate(-50%, -50%); /* Centers the element */
        cursor: pointer; /* Pointer cursor on hover */
        width: 5%; /* Adjust size as needed */
        height: auto; /* Maintain aspect ratio */
        transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
    }
    
    .button-image:hover {
        transform: translate(-50%, -50%) scale(1.1); /* Combine translate and scale */
        /* opacity: 0.5;  */
    }

    .item {
        flex-direction: column; 
        align-items: center;
        text-align: center; 
        /* gap: 30px; */
    }

    .text-para {
        font-size: 4vw; /* Changed font size to 24px */
    }

    .quote-text {
        margin-bottom: 10vw; 
    }

    .in-row {
        font-size: xx-small;
    }

    .whatsapp-icon {
        width: 5vw; /* Width of the WhatsApp icon */
        height: 5vw; /* Height of the WhatsApp icon */
    }

    .whatsapp-icon-footer {
        width: 10px; /* Width of the WhatsApp icon */
        height: 10px; /* Height of the WhatsApp icon */
        vertical-align: middle;
        margin: 2px;
        display: inline-block;
    }

    .whatsapp-button-footer {
        display: inline-block;; /* Align image and text */
        align-items: center; /* Center the icon and text vertically */
        padding: 0px ;
        background-color: #25D366; /* WhatsApp green */
        color: white;
        text-decoration: none;
        border-radius: 5px; /* Rounded corners */
        font-size: 16px;
        font-weight: bold;
        margin: 5px;
        margin-left: 10px;
    }
  


    .photo {
        width: 100%; /* Responsive width */
        /* max-width: 300px;  */
    }



    .row-image-text {
        width: 50%; /* Responsive width */
        margin-bottom: 0;
    }
    
    .row-image-text-knowledge {
        width: 80%;
        /* background-color: blue; */
        /* padding: 0px ; */
        /* margin-left: 10%; */
    }

    .row-image {
        width: 90%; /* Responsive width */
        /* max-width: 300px;  */
    } 

    .row-image-consultancy {
        height: auto;
        width: 90%;
        margin-top: 0;
        /* background-color: green; */
    }

    .row-image-SupplierMgm {
        /* height: auto; */
        width: 90%;
        margin-bottom: 10% ;
        /* background-color: red; */
    }

    .row-photo {
        width: 80%; /* Responsive width */
        margin-bottom: 20px;
        /* max-width: 300px;  */
    }



    .QMS-text {
        width: 90%; 
    }

    .row-photo-pg3-left {
        width: 80%; /* Responsive width */
        margin-bottom: 20px;
        /* max-width: 300px;  */
    }

    .row-photo-pg3-right {
        width: 80%; /* Responsive width */
        margin-bottom: 20px;
        /* max-width: 300px;  */
    }

    .row-image-pg4 {
        height: auto;
        width: 80%;
        /* margin-top: 20px; */
        margin-bottom: 20px;
        /* background-color: red; */
    }
    
    .row-photo-pg4 {
        height: auto;
        width: 0%;
        background-color: blue;
    }
    
    .row-photo-pg5 {
        height: auto;
        width: 0%;
        /* margin-bottom: 20px; */
        /* background-color: blue; */
    }

    .video-container {
        width: 80%; /* Set percentage-based width */
        padding-bottom:50.25%;  
        /* height: 0 auto;  */
        /* Set height to 0 since padding-bottom controls the height */
        position: relative;
        overflow: hidden;
        background: #000; /* Optional background */
        margin-bottom: 30px ;
    }

    .video-container-8D {
        width: 80%; /* Set percentage-based width */
        padding-bottom:50.25%;  
        /* height: 0 auto;  */
        /* Set height to 0 since padding-bottom controls the height */
        position: relative;
        overflow: hidden;
        background: #000; /* Optional background */
        margin-bottom: 20px ;
    }

    .header-image-text {
        width: 80%;
        height: auto;
        /* background: green; */
    }

    .contact-header {
        object-fit: contain;
        width: 50%;
        /* background-color: blue; */
        padding: 0px ;
        margin-top: 10px;
        margin-left: 5%;
    }

    .contact-name {
        width: 80%;
        font-size: 5vw; 
        text-align: center; /* Centering the quote */
    }

    .whatsapp-button {
        display: inline-block;; /* Align image and text */
        align-items: center; /* Center the icon and text vertically */
        padding: 10px ;
        background-color: #25D366; /* WhatsApp green */
        color: white;
        text-decoration: none;
        border-radius: 5px; /* Rounded corners */
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 40px;
    }

    .jalan-segar {
        height: auto;
        width: 100%;
        margin-left: 0%;
    }

    .btn {
        margin-top: 10px; /* Space above button */
    }
}