/* General Styles */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: white;
    color: black;
    padding-top: 80px; /* Offset for fixed header */
    line-height: 1.6;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: black;
}
/* Fixed Header Styles */

.fixed-header {
    display: flex;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 4; /* Ensure it stays on top */
    background-color: black;
}

.fixed-header .logo img {
    height: 100px;
    margin-left: 20px;
    margin-right: auto;
    flex-shrink: 1;
}

.contact-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 50px;
    width: 100%;
    margin-top: -20px;
}
.contact-us,
.menu-button {
    padding: 5px;
    margin-left: 10px; /* Adds space between the contact-us and menu */
}

.contact-us {
    position: fixed;
    font-family: Raleway, sans-serif;
}

.menu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 5; /* Ensure it stays on top */
    transition: transform 0.3s ease; /* Add transition for rotation */
    margin-top:-20px; 
}

.menu-toggle.active {
    transform: rotate(45deg); /* Rotate when active */
}

.menu-line {
    width: 30px;
    height: 4px;
    background-color: black;
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add transition for lines */
}

.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* Transform top line */
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0; /* Hide middle line */
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* Transform bottom line */
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    z-index: 10; /* Ensure it stays on top */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a,
.dropdown-menu .back-button {
    color: white;
    text-decoration: none;
    padding: 10px; /* Reduced padding for smaller highlight boxes */
    font-size: 24px;
    text-align: center;
    display: table;
    font-family: kanit, sans-serif;
}

.dropdown-menu a:hover,
.dropdown-menu .back-button:hover {
    color: green; /* Change text color to green */
}

/* Move the back button to the right */
.back-button {
    position: absolute;
    top: 20px;
    right: 20px; /* Moved to the right side */
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Contact us button styling */
.contact-us button {
    background-color: white; /* Default white background */
    color: black; /* Black text color */
    border: 1px solid white; /* Border matching the background */
    padding: 9px 20px; /* Padding for the button */
    font-size: 15px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 4px; /* Rounded corners */
    transition: background-color -1.3s ease, color 0.3s ease; /* Smooth transitions */
    font-family: kanit, sans-serif;
}

.contact-us button.black-bg {
    background-color: black; /* Black background for carousel */
    color: white; /* White text color */
    border: 1px solid black; /* Border matching the background */
    font-family: kanit, sans-serif;
}

.contact-us button:hover {
    background-color: white; /* Maintain white background on hover */
    color: green; /* Text color turns green on hover */
}

.contact-us button.black-bg:hover {
    background-color: black; /* Maintain black background on hover */
    color: green; /* Text color turns green on hover */
}

/* Hero Section */

.hero {
    display: flex;
    margin-top: 80px;
    gap: 20px;
    text-align: right;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

.hero img {
    width: 50%; /* Adjust the size of the image */
    max-width: 1200px; /* Limit the image width on larger screens */
    height: auto; /* Maintain aspect ratio */
    border-radius: 15px; /* Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional: Add a shadow for a polished look */
}


/* About Us Section */
.about-us {
    max-width: 80%;
    box-sizing: border-box;
    text-align: justify;
    background-color: white;
    border-radius: 10px;
    margin-left: 10%; 
    height: 800px;
}

.about-us .content {
    padding: 20px;
}

.about-us p {
    color: black;
    margin-bottom: 20px;
    padding: 0px 100px; 
    text-align: center; 
    font-size: larger;
}
@media (max-width: 1550px) {
    .fixed-header .logo img {
        height: 3.813rem; /* Further adjust for even smaller screens */
    }

    .contact-us button {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding: 7px 14px; /* Adjust padding for smaller screens */
        margin-top: 1.25rem;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        margin-top: 0.063rem;
    }

    .menu-line {
        width: 20px;
        height: 3px;
    }
    .hero img{
        display: none; 
    }
    .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;  
    }
    .about-us{
        max-width: 75vw; 
        font-size: 1.7vw;
    }
    
   
}
@media (max-width: 480px) {
    .fixed-header .logo img {
        height: 2.813rem; /* Further adjust for even smaller screens */
    }

    .contact-us button {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding: 7px 14px; /* Adjust padding for smaller screens */
        margin-top: 1.25rem;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        margin-top: 0.063rem;
    }

    .menu-line {
        width: 20px;
        height: 3px;
    }
    .hero img{
        display: none;
    }
    .hero {
        display: flex;
        margin: 14px 20px;
        gap: 20px;
        text-align: center;
      }
     .about-us p {
    	color: black;
	    margin-bottom: 20px;
	    text-align: center;
      padding: 0; 
	    font-size: 15px;
      }
}
