/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
html, body, .ui-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #1a1a1a;
    min-height: 100%;
    text-align: left;
    margin-left: 20px;
}

/* Logo */
.logo {
    text-align: center;
    margin: 20px 0;
    height: 80px;
    padding: 20px;
    border-radius: 8px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .logo-small {
    height: 50px;
  }

.logo h1 {
    margin: 0;
    font-size: 5.5em;
    color: #ffffff;
    text-align: left; 
    margin-left: 20px;
}

.logo h2 {
    margin: 5px 0;
    font-size: 2.5em;
    color: #857227;
    text-align: left; 
    margin-left: 20px
}
#home .intro h2 {
    font-size: 2em; 
    margin-bottom: 10px;
}

#home .about-company h3, #home .mission h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}


#home .intro p, #home .about-company p, #home .mission p {
    font-size: 1em; /* Sesuaikan saiz teks */
    margin-bottom: 15px;
}

/* Header */
[data-role="header"] {
    background-color:gold;
    color: white;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #ffffff;
    box-shadow: none;
}
h2, h3 {
    font-size: 5em;
    color: #333;
    box-shadow: none;
}

p {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 15px;
    box-shadow: none;
}


button:hover {
    background-color: #023e8a;
  }

/* Content */
[data-role="content"] {
    background: #ffffff !important;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    box-shadow:0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    margin: 20px 0;
}

.navbar ul {
    list-style: none;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    gap: 20px;
  }

  [data-role="navbar"] {
    background-color: transparent;
    margin-top: 10px;
}

.ui-navbar ul li a {
    color: white !important; 
    font-weight: bold;
    text-decoration: none;
    font-size: 1em;
    margin: 0 15px;
}

.ui-navbar ul li a:hover {
    color: #998a4f !important;
    background-color: navajowhite;
}
.intro, .about-company, .mission, .services {

    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* Scroll Container */
.scroll-container {
    display: flex;
    background-color: #333;
    overflow-x: auto;
    padding: 15px 0;
    gap: 10px;
}

.scroll-container img {
    padding: 10px;
    flex: 0 0 auto;
    height: 200px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
}
.social-media-links a {
    display: inline-block;
    margin-right: 10px;
    color: #007bff;
    text-decoration: none;
}
.social-media-links a:hover {
    color: #28a745;
}

/* Services Box */
.services-box {
    background: #c5c996;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    margin-top: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services-list {
    font-family: 'Roboto', sans-serif; /* Menggunakan font Roboto untuk gaya robotic */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    font-weight: bold;
    margin: 20px 0; /* Margin for spacing */
}

.services-list li {
    font-family: 'Poppins', sans-serif; /* Use Poppins font */
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px;
    flex: 1 1 calc(30% - 20px);
    text-align: center;
    transition: transform 0.3s;
    list-style: none;
    width: 150px;
    font-weight: 400; /* Regular weight */
    background-color: #f9e58e; /* Background color for buttons */
    color: #333; /* Text color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s; /* Transition for hover effect */
    
}


.services-list li:hover {
    transform: scale(1.05);
    background-color: #e0c16e; /* Darker shade on hover */
    cursor: pointer; /* Pointer on hover */

}
/* Container for the buttons */
.services-container {
    display: flex;
    justify-content: center; /* Center the buttons */
    flex-wrap: wrap; /* Allow wrapping to new lines */
    gap: 10px; /* Space between buttons */
    margin: 20px; /* Margin around the container */
    font-weight: bold;
}

/* Button styles */
.service-button {
    background-color: #f0e68c; /* Button background color */
    border: 2px solid #ccc; /* Border color */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding inside the button */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    width: 150px; /* Fixed width */
    text-align: center; /* Center text */
    transition: background-color 0.3s; /* Smooth transition */
}
.service-button:hover {
    background-color: #e0c16e;
}


#about.body {
    font-family: 'Montserrat', sans-serif; /* Fancy Font */
    margin: 0;
    padding: 0;
  
}
.about-page {
    max-width: 800px; /* Maximum width for the content */
    margin: auto; /* Center the content */
    padding: 20px; /* Padding around the content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

header {
    background-color: #f9e58e; /* Header background color */
    padding: 10px 0;
    text-align: center; /* Center text */
}

h1 {
    margin: 0; /* Remove default margin */
    
}

.content {
    padding: 20px; /* Padding for the content area */
}

h3 {
    font-size: 24px; /* Font size for subheading */
    margin-top: 0; /* Remove top margin */
   
}

h2 {
    font-size: 20px; /* Font size for section heading */
    margin-bottom: 10px; /* Space below the heading */
}

.services {
    margin-top: 20px; /* Space above the services section */
}

.service-list {
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Responsive columns */
    gap: 10px; /* Space between items */
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

.service-item {
    font-family: monospace, bold;
    background-color: #f16947; /* Background color for service items */
    color: white; /* Text color */
    padding: 15px; /* Padding inside items */
    text-align: center; /* Center text */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition */
    font-weight: bold;
}

.service-item:hover {
    background-color: #beb39d; /* Darker blue on hover */
}
footer {
    text-align: center; /* Center text */
    padding: 10px 0; /* Padding for footer */
    background-color: #f9e58e; /* Footer background color */
    position: relative;
    bottom: 0; /* Stick to the bottom */
}
.footer-container {
    display: flex;
    justify-content: space-between; /* Jarak antara elemen */
    align-items: center; /* Pusatkan elemen secara menegak */
    padding: 10px 20px; /* Padding untuk ruang */
}

.back-button {
    color: black; /* Warna teks untuk butang */
    text-decoration: none; /* Tiada garis bawah */
    font-weight: bold; /* Tebalkan teks */
}

.more-info {
    color: black; /* Warna teks untuk maklumat */
    font-weight: bold; /* Tebalkan teks */
}
.about-gallery {
    text-align: center;
    margin: 40px 0;
}

.gallery-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}

.gallery-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 200px; /* Tetapkan lebar tetap untuk item */
    text-align: center;
}

.gallery-item img {
    width: 180px;
    height: 150px;
    display: block;
}

.gallery-item p {
    padding: 10px;
    font-weight: 500;
    color: #333;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Footer */
[data-role="footer"] {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    margin: 20px auto;
    bottom: 0;
}
.footer h4 {
    margin: 0;
}
/* Additional Styles for a Modern Look */
.intro, .about-company, .mission {
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-media-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-media-links a {
    margin-bottom: 10px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media-links a:hover {
    color: #28a745;
}