*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

html{
  overflow-x: hidden;
}

:root {
  --bg-color: #ffffff;
  --main-color: #202c5d;
  --second-color: #B99B3B;
  --text-color: #000000;

  --h1-font: 5.5rem;
  --h2-font: 2.8rem;
  --p-font: 1.1rem;
}

body{
  background: var(--bg-color);
  color: var(--text-color);
}

/*navigation bar*/
header{
  position: fixed;
  width: 100%;
  height: auto;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10%;
  background: var(--bg-color);
  box-shadow: 0 2px 5px -2px #0000001a;
  transition: all .6s ease;
}

.logo img {
  max-width: 180px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navlist {
  display: flex;
}

.navlist a {
  display: inline-block;
  font-size: var(--p-font);
  color: var(--text-color);
  margin: 0 30px;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: all .6s ease;
  text-decoration: none;
}

.navlist a:hover {
  color: var(--main-color);
  border-bottom: 2px solid var(--second-color);
  text-decoration: none;
}

.nav-content {
  display: flex;
  align-items: center;
}

.nav-content a{
  display: inline-block;
  font-size: 23px;
  color: var(--text-color);
  margin: 0 10px;
  transition: all .6s ease;
  text-decoration: none;
}

.nav-content button:hover{
  transform: scale(1.1);
  color: var(--second-color);
  text-decoration: none;
}

/*hero image*/
section {
  padding: 80px 10% 80px;
}

.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(32, 44, 93, 1.2), rgba(246, 246, 246, 0.4)), 
  url(../img/team-05.png) no-repeat center center;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1920/600;
}

.hero-text h1 {
  align-items: center;
  font-size: var(--h1-font);
  font-weight: 700;
  color: var(--bg-color);
  margin: 10px 0 20px;
  line-height: 1;
}

.hero-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--bg-color);
  letter-spacing: 4px;
  margin: 140px 0 20px;
}

.hero-text p{
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--bg-color);
  margin-bottom: 30px;
}

/* btn ws */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var( #1DA851);
    color: var(--bg-color);
    letter-spacing: 2px;
    transition: all .6s ease;
    text-decoration: none;
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    border-color: #1DA851;
    color: #fff;
}

.btn-whatsapp i {
    margin-right: 8px;
    font-size: 18px;
}
/*---------*/

.btn:hover {
  background: var(--bg-color);
  border: 1px solid var(--bg-color);
  color: var(--text-color);
}

.center-text {
  margin-top: -30px;
  text-align: center;
}

.center-text h6{
  font-size: 12px;
  font-weight: 600;
  color: var(--second-color);
}

.center-text h2{
  font-size: var(--h2-font);
  font-weight: 600;
  color: var(--main-color);
}

h2 {
  text-align: center;
  font-size: 36px;
  color: #000;
  margin-bottom: 20px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #ffffff, #f9a825);
  margin: 0 auto;
}

/*--- menu bars---*/
.toggle_btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--main-color);
}

.action_btn {
  background-color: #B99B3B ;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  border-radius: 20pc;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}

.action_btn:hover {
  scale: 1.05;
  color: #fff; 
}

.action_btn:active {
  scale: 0.95;;
}

/* dropdown bar menu */
.dropdown_bar_menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-color);
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.dropdown_bar_menu li {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.dropdown_bar_menu li a {
  color: var(--main-color);
  text-decoration: none;
}

.dropdown_bar_menu li:hover {
  background-color: #f9f9f9;
}

.dropdown_bar_menu.open {
  display: flex;
}

@media (max-width: 768px) {
  .navlist {
      display: none;
  }

  .toggle_btn {
      display: block;
  }
}

/* Submenu styles */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none; /* Hidden by default */
  position: absolute;
  left: 0;
  top: 100%;
  background-color: var(--bg-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.submenu li {
  padding: 0.5rem 1rem;
  white-space: nowrap; /* Prevent text wrapping */
}

.has-submenu:hover .submenu {
  display: block; /* Show submenu on hover */
}

/* Responsive dropdown bar */
@media (max-width: 768px) {
  .dropdown_bar_menu {
      display: none;
      flex-direction: column;
  }

  .dropdown_bar_menu.open {
      display: flex;
  }

  .submenu {
      position: static; /* Stack submenus for small screens */
  }
}

/*----whatsApp button phone size-----*/
.whatsapp-btn {
display: none;
align-items: center;
justify-content: center;
padding: 11px 20px;
font-size: 14px;
font-weight: 600;
border: 1px solid var( #1DA851);
color: var(--bg-color);
letter-spacing: 2px;
transition: all .6s ease;
text-decoration: none;
}

@media (max-width: 768px) {
  .nav-content {
      display: none;
  }

  .whatsapp-btn {
      display: block;
  }
}

.whatsapp-mini-btn {
background-color: #25D366;
border-color: #25D366;
color: #fff;
}

.whatsapp-mini-btn:hover {
background-color: #1DA851;
border-color: #1DA851;
color: #fff;
}

.whatsapp-mini-btn i {
margin-right: 8px;
font-size: 18px;
}



/* Footer */
footer {
  background-color: #f9f9f9;
  padding: 2rem 0;
  color: #333;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 100vw;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0 10%;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  margin: 1rem;
  max-width: 300px;
}

.footer-col .material-symbols-outlined {
  font-size: 20px;
  margin-right: 10px;
  color: #333;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

/* Arrow for About and Services titles */
.footer-col .dropdown > a:after {
  content: " ▼";
  font-size: 0.8rem;
  margin-left: 5px;
}

.footer-col .dropdown:hover > a:after {
  content: " ▲"; 
}

/* Dropdown behavior for About and Services */
.footer-col .dropdown:hover {
  background-color: #f9f9f9; 
}

.footer-col .dropdown .sub-links {
  display: none; 
  padding-left: 20px;
}

.footer-col .dropdown:hover .sub-links {
  display: block; 
}

.footer-col p,
.footer-col ul,
.footer-col li {
  margin: 0.5rem 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin: 0.5rem 0;
}

.footer-col a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
  font-weight: 400;
}

.footer-col a:hover {
  color: var(--main-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
}

.social-links img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* Media Queries */
@media (max-width: 1200px) {
  .hero-text h1 {
      font-size: 40px;
  }
}

@media (max-width: 992px) {
  .hero-text h1 {
      font-size: 35px;
  }
}

@media (max-width: 768px) {
  .hero {
      height: auto;
  }

  .hero-text h1 {
      font-size: 30px;
  }
}

@media (max-width: 576px) {
  .hero {
      height: auto;
  }

  .hero-text h1 {
      font-size: 25px;
  }
}

/*-----------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");


.contact-heading {
  text-align: center;
  font-size: 28px; /* Adjust size */
  font-weight: bold;
  color: #202c5d;
  margin-bottom: 40px; /* Space between box and form*/
  margin-top: 50px; /* space between picture */
  text-transform: uppercase; /* Optional: Makes the text all uppercase */
  letter-spacing: 2px; /* Optional: Adds spacing between letters */
  display: block; /* Ensures the text takes up full width and centers correctly */
}

/* Wrapper for contact boxes and form */
.contact-form-container {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
 justify-content: space-around;
  align-items: flex-start;
  margin-top: 50px;
  padding-right: 150px;
}

/* Form styling for larger screens */
.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 55px;
 
  margin-left: 50px; /* Adjust the form beside the boxes */
  flex: 1;
}

/* Input and textarea fields */
.form .contact-form input, 
.form .contact-form textarea {
  width: 200%; /* Full width of form container */
  max-width: 500px; /* Limit max width on larger screens */
  background-color: transparent;
  border: 0 transparent;
  border-bottom: 2px solid var(--main-color);
  margin: 10px 0;
  padding: 10px 20px 0px 20px; /* Adjusting top, right, bottom, and left padding */
  font-size: 18px;
}

.form .contact-form label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  display: block; /* Ensures label is on a separate line */
}

.form .contact-form button {
background: linear-gradient(135deg, #4a90e2, #202c5d); /* Gradient background */
border: none; /* Remove border */
color: white; /* Text color */
font-weight: bold; /* Increase font weight */
font-size: 18px;
width: 50%;
height: 50px; /* Adjust height */
margin-top: 10px;
border-radius: 25px; /* Rounded corners */
display: flex; /* Flexbox for centering */
justify-content: center; /* Center text horizontally */
align-items: center; /* Center text vertically */
box-shadow: 0px 4px 10px transparent; /* Subtle shadow */
transition: background 0.3s ease, transform 0.2s ease;
cursor: pointer;
}

.form .contact-form button:hover {
background: linear-gradient(135deg, #202c5d, #4a90e2); /* Gradient change on hover */
transform: translateY(-2px); /* Lift effect on hover */
box-shadow: 0px 6px 15px transparent;
}


.form-heading {
  font-size: 24px; /* Adjust size as needed */
  font-weight: bold; /* Make the text bold */
  color: var(--second-color); /* Use your theme color */
  text-align: center; /* Center the text */
  margin-bottom: 20px; /* Space below the heading */
  letter-spacing: 1px; /* Adds spacing between letters */
  position: relative; /* Required for the pseudo element */
}

.form-heading::after {
  content: ""; 
  display: block;
  width: 100%; 
  height: 3px;
  background: linear-gradient(to right, #ffffff, #f9a825); /* Color of the line */
  margin: 10px auto 0; /* Center the line below the heading */
  border-radius: 5px; /* Rounded corners */
}

/* On smaller screens, stack the form below the contact boxes */
@media screen and (max-width: 900px) {
  .contact-form-container {
      flex-direction: column; /* Stack elements vertically */
      align-items: center;
  }

  .form {
      width: 100%; /* Full width on smaller screens */
      margin-left: 0; /* Center the form */
      padding: 0 10px; /* Add some padding for spacing */
  }

  .form .contact-form input, 
  .form .contact-form textarea {
      width: 90%; /* Reduce width slightly on smaller screens */
      max-width: 100%; /* Make sure it doesn't overflow */
      margin: 10px 0; /* Adjust margin for small screens */
  }

  .form .contact-form input[type=submit] {
      width: 90%; /* Adjust button width on smaller screens */
  }
}

/* Detail of AsiaRAC */
.contact-box {
  background-color: #f8f9fa;
  padding: 20px;
  box-shadow: 0px 2px 6px transparent;
  border-radius: 10px;
  width: 400px; /* Adjust width as needed */
  font-family: 'Poppins', sans-serif;
  margin-top: 60px;
  margin-bottom: 50px;
  border: 1px solid #ccc; /* Adjust border color and width */
}
.contact-box h4 {
  font-size: 20px; /* Adjust the size as needed for the subheading */
}

/* Wrapper still centers the content and constrains width */
.wrapper {
  max-width: 75%;
  margin: auto;
  padding-top: 40px; /* Add padding so there's space between top and content */
  padding-bottom: 50px;
  background-color: transparent; /* Set transparent so it doesn't conflict */
}

/* Title style remains the same */
.wrapper h1 {
  margin: 1.5rem 0;
  text-align: center;
  letter-spacing: 3px;
  color: #202c5d;
  font-weight: bold;
  font-size: 2.5rem;
}

.wrapper h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ffffff, #f9a825);
  margin: 0 auto;
}

/* FAQ accordion buttons */
.accordion {
  background-color: white;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.3); /* Border for the box */
  border-radius: 50px; /* Rounded corners */
  outline: none;
  transition: 0.4s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

/* Icon rotation effect */
.accordion i {
  font-size: 1.5 rem;
  transition: transform 0.3s ease;
}

/* Rotate the icon when the accordion is active */
.accordion.active i {
  transform: rotate(180deg);
}

/* Hover effect for the accordion */
.accordion:hover {
  background-color: rgba(240, 240, 240, 0.8);
}

/* Hidden FAQ panel content */
.pannel {
  padding: 0 2rem 1rem 2rem;
  background-color: white;
  overflow: hidden;
  display: none;
}

/* Styling for the FAQ content */
.pannel p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 2%;
}

/* FAQ box style with margin and rounded corners */
.faq {
  margin: 10px 0;
  border-radius: 50px;
  overflow: hidden;
}

/* Active FAQ box */
.faq.active {
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 25px;
  height: 25px;
  margin-bottom: 10px;
  vertical-align: middle;
}
/* Container for the mail icon and email text */
.icon-container {
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center items vertically */
}

.icon-container .material-symbols-outlined {
  margin-right: 10px; /* Space between the icon and email text */
}


/* Media Queries */
@media (max-width: 1200px) {
.hero-text h1 {
    font-size: 40px;
}
}

@media (max-width: 992px) {
.hero-text h1 {
    font-size: 35px;
}
}

@media (max-width: 768px) {
.hero {
    height: auto;
}

.hero-text h1 {
    font-size: 30px;
}
}

@media (max-width: 576px) {
.hero {
    height: auto;
}

.hero-text h1 {
    font-size: 25px;
}
}