/* Material Icons */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/MaterialIcons-Regular.woff2') format('woff2');
  font-display: swap;

  /* Font metric overrides - adjust as needed for CLS tuning */
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Material Symbols Rounded */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/MaterialSymbolsRounded-Regular.woff2') format('woff2');
  font-display: swap;

  /* Font metric overrides */
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  -webkit-font-smoothing: antialiased;
}

/* contact page */
.contact-details-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 6rem;
  align-items: flex-start;
  border-top: 1px solid #ccc; /* Optional line across top */
  padding-top: 2rem;
}

.details,
.map-container {
  flex: 1 1 45%;
}

.details p a {
  color: #50acfd;
  text-decoration: none;
  word-break: break-word;
}

.details p a:hover {
  color: #50acfd;
  text-decoration: underline;
}

/* Set fixed height only on the map placeholder */
.map-container h2 {
  margin-bottom: 0.5rem; /* keeps spacing below heading consistent */
}

#map-placeholder {
  width: 100%;
  height: 300px;        /* fixed height reserved only for the map iframe */
  border: 0;
  line-height: 300px;   /* centers "Loading map..." vertically */
  background-color: #f0f0f0;
  text-align: center;
}

.details {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: #13184d;
}

.details h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid #50acfd;
  padding-bottom: 0.5rem;
}

/* FAQ section */
.faq-section {
  margin-top: 4rem;
  background-color: #c5e8fe;
  border-radius: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 6rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-section .faq-item {
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  /* OPTIMIZED: Removed background-color from transition. Box-shadow is composited. */
  transition: box-shadow 0.3s ease-in-out;
}

.faq-question {
  padding: 1rem 1.5rem;
  text-align: left;
  width: 100%;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  margin: 0;  
}

.faq-item {
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* enough to show full content */
  padding: 1rem 1.5rem 1.5rem;
}

.faq-question .arrow {
  transition: transform 0.3s ease; /* This animation is already composited and good. */
}

.faq-item.active .arrow {
  transform: rotate(180deg); /* This animation is already composited and good. */
}

.faq-item:hover {
  background-color: rgba(23, 110, 249, 0.1);
  border-color: #13184d;
  transform: translateY(-2px); /* makes it move up */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* adds depth */
}

/* Contact form */
.contact-form-section {
  margin-top: 4rem;
}

.contact-form-section h2 {
  margin-bottom: 0.5rem;
}

.contact-form-section p {
  margin-bottom: 0.5rem;
  margin-top: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

input,
textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"] {
  background-color: #50acfd;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
}

button[type="submit"]:hover {
  background-color: #c5e8fe;
}



/* ============================================ */
/* ============================================ */
/* -------------Services.HTML-------------- */              
/* ============================================ */
/* ============================================ */

/* Service Card Styling */
.service-card {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #13184d;
}

.service-card ul {
    list-style-type: disc;
    list-style-position: inside;
    padding: 0;
    margin: 15px 0;
    text-align: left;
    display: inline-block;
    list-style-position: outside; /* default, but keep this for clarity */
    padding-left: 1.5rem;
}

.service-card ul li {
    color: #555555;
    margin-bottom: 10px;
    text-indent: -1.1rem;
    padding-left: 1.1rem;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  margin-bottom: 10px;
  overflow: hidden;
}

.icon-wrapper .material-symbols-rounded {
  font-size: 50px;
  width: 1em; /* Reserve exact width based on font-size */
  display: inline-block;
  text-align: center;
  color: #13184d;
  line-height: 1;
}

/* Call-to-Action Styling */
.service-cta {
    background-color: #f9f9f9;
    border: 2px dashed #13184d;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-cta h3 {
    color: #13184d; 
    margin-bottom: 1rem;
}

.service-cta p {
    margin-bottom: 2.2rem;
}

.service-cta a {
    display: inline-block;
    background-color: #13184d;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.service-cta a:hover {
    background-color: #000080;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}



/* ============================================ */
/* ============================================ */
/* --------------aboutUs.HTML--------------- */              
/* ============================================ */
/* ============================================ */

.about-text p {
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 80px;
}

.about-text ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #555555;
    text-align: left; /* Keep list items left aligned */
}

.about-text li {
    margin-bottom: 10px; /* Space between list items */
}



/* ============================================ */
/* ============================================ */
/* ------------------footer-------------------- */              
/* ============================================ */
/* ============================================ */

footer {
  background-color: rgba(22, 116, 216); /* Dark background color */
  color: #fff; /* White text */
  text-align: center;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}
  
.footer-content {
  margin-bottom: 20px;
}
  
.footer-content h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
}
  
address {
  line-height: 1.8;
  margin: 0;
  font-size: 1em;
  color: #ffffff;
}

.footer-content a {
  color: #00bcd4; /* Light blue link color */
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-bottom {
  font-size: 0.9em;
  border-top: 1px solid #555; /* Subtle border above the copyright */
  padding-top: 10px;
}
.footer-bottom p {
  margin-bottom: 10px;
  color: #ffffff;
}
.footer-bottom a {
  color: #00bcd4; /* Light blue link color */
  text-decoration: none;
  font-size: larger;
  font-weight: bold;
  text-decoration: underline;
  margin-right: 6px;
  margin-left: 6px;
}
.footer-bottom a:hover {
  color: #fff;
}


/* Responsive */
@media (max-width: 600px) {
  /* contact page */
  .contact-details-section {
    display: block;
  }

  .details, .map-container {
    display: block;
    width: 100%;
  }

  .details {
    margin-bottom: 4.5rem;
  }

  .service-card ul li {
    text-indent: 0;
    padding-left: 1.5rem; /* match your ul's padding */
  }



  /* footer */ 
  footer {
    padding: 15px;
  }
  
  .footer-content h3 {
    font-size: 1.2em;
  }
  
  address {
    font-size: 0.9em;
  }
  
  .footer-bottom {
    font-size: 0.8em;
  }
}