:root {
  --primary-color: #ec7c16;
  --secondary-color: #65272a;
  --background-color: #f4f4f4;
  --text-color: #333;
  --link-color: white;
  --link-hover-color: #ec7c16;
  --button-width: 100px; /* Fixed button width */
}

/* Set html and body defaults */
html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal overflow */
  display: flex;
  flex-direction: column;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: Arial, sans-serif;
}

/* Main content takes remaining space */
main {
  flex: 1;
}

/* Header Styles - Compact */
header {
  background-color: var(--secondary-color);
  color: var(--link-color);
  padding: 10px 20px 5px;
  text-align: center;
  position: relative;
}

/* New Logo Container for Main and Partner Logos */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  background-color: var(--link-color);
  border-radius: 8px;
}

/* Main Syscom Logo */
.main-logo {
  width: 300px; /* Adjust size as needed */
}

/* Partner MKCL Logo */
.partner-logo {
  width: 80px;  /* Smaller size for partner logo */
  height: auto;
}

.auth-info h2 {
  margin: 0;
}

header .tagline {
  font-size: 1.2em;
  margin-top: 10px;
}

header .auth-info {
  margin-top: 5px;
}

@media (max-width: 768px) {
  .logo-container {
    display: block;
    text-align: center;
  }
  
  /* Main logo takes full row */
  .main-logo {
    display: block;
    margin: 0 auto 10px;
  }
  
  /* Partner logos: Make the anchor elements inline-block so they appear on one line */
  .logo-container a {
    display: inline-block;
    margin: 0 5px; /* Adjust spacing between partner logos */
  }
  
  /* Ensure partner images keep their size */
  .partner-logo {
    width: 80px;
    height: auto;
  }
}


/* Optional: Styles for any images inside auth-info */
header .auth-info img {
  width: 20px;
  margin-top: 10px;
  background-color: var(--link-color);
  padding: 5px;
  border-radius: 8px;
}


/* Focus styles for interactive elements */
a:focus,
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Navigation Styles: Combined declarations */
nav {
  margin-top: 0;
  padding-top: 0;
  background-color: var(--secondary-color);
  position: relative;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav-menu li {
  margin: 0 20px;
  white-space: nowrap; /* Ensure no text wraps inside the li */
}

.nav-menu li a {
  display: inline-block;
  padding: 10px 20px;
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.nav-menu li a.active {
  background-color: var(--primary-color);
  color: var(--link-color);
  border-radius: 5px;
  transition: background 0.3s ease;
}

.nav-menu li a:hover {
  background-color: var(--link-hover-color);
  border-radius: 5px;
}

/* Optional: Limit the width of the search container */
.search-li {
  max-width: 150px; /* Adjust as needed */
}
.search-li input[type="text"] {
  width: 100%;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.hamburger.active span {
  background-color: var(--link-color);
}

/* Mobile-specific Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  /* Mobile Navigation Menu */
  .nav-menu {
    flex-direction: column;
    background: var(--secondary-color);
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }
}
/* Featured Course Section */
.featured-course {
  margin: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.featured-course h2 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.featured-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.featured-course-card {
  background-color: var(--link-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.featured-course-card:hover {
  transform: scale(1.05);
}

.featured-course-card .course-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
  background-color: var(--link-color);
  padding: 5px;
}

.featured-course-card .course-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-course-card .course-info h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.featured-course-card .course-info .course-description {
  color: #666;
  margin-bottom: 10px;
}

.course-description {
    color: #222; /* Darker shade for better readability */
}

@media (max-width: 480px) {
    .course-info .course-link {
        padding: 8px 15px; /* Reduce padding */
        font-size: 14px;
    }
}

.featured-course-card .course-info .course-duration,
.featured-course-card .course-info .course-fees {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

/* Shared Course Link Styles */
.course-info .course-link {
  margin-top: auto;
  display: block;
  background-color: var(--primary-color);
  color: var(--link-color);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: var(--button-width);  /* Fixed width (100px by default) */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.course-info .course-link:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* KLiC Courses Section */
.course-section {
  margin: 20px;
  margin-bottom: 0px;
  text-align: center;
}

.course-section h2 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Course Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Course Card */
.course-card {
  background-color: var(--link-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.course-card:hover {
  transform: scale(1.05);
}

.course-card .course-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.course-card .course-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.course-card .course-info h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.course-card .course-info .course-description {
  color: #444;
  line-height: 1.5;
  font-size: 1em;
}

.course-card .course-info .course-duration,
.course-card .course-info .course-fees {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

/* Footer Base Styles */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--link-color);
  padding: 20px 10px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* Three equal columns */
.footer-section {
  flex: 1 1 33%;
  margin: 5px;
  min-width: 150px;
}

/* Column 1: Logo */
.footer-logo-container {
  text-align: left;
}

.footer-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  overflow: visible;
  transition: filter 0.3s ease;
}

.footer-logo:hover {
  filter: brightness(0.9);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

/* Column 2: Address, Contact & Follow Us */
.footer-info h3 {
  text-align: center;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 3px;
  margin-bottom: 3px;
  text-transform: uppercase;
  font-size: 16px;
}

.footer-info address {
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  margin: 0 0 5px 0;
  text-align: center;
}

.footer-info p {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 5px 0;
}

/* Social Links */
.footer-info .social-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info .social-links li {
  margin-right: 10px;
}

/* Column 3: Map */
.footer-map h3 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 3px;
  margin-bottom: 3px;
  text-transform: uppercase;
  font-size: 16px;
}

.footer-map .map-container {
  width: 100%;
  height: 200px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--primary-color);
  padding-top: 10px;
  text-align: center;
  font-size: 14px;
  margin: 0;
}

.footer-bottom p {
  margin: 2px 0;
}

/* Footer Links */
.site-footer a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--primary-color);
}

/* Responsive Adjustments for Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    flex: 1 1 100%;
    text-align: center;
  }
  .footer-logo-container {
    text-align: center;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal.open {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  margin: 0 auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

#caption {
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  text-align: center;
  width: 90%;
}

/* Gallery Section */
.gallery {
  padding: 20px;
  text-align: center;
  background-color: var(--background-color);
}

.gallery h2 {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery-thumbnail {
  width: 300px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Pagination */
.pagination {
  margin-top: 20px;
}

.pagination button {
  padding: 10px 20px;
  margin: 0 5px;
  background-color: var(--primary-color);
  color: var(--link-color);
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.pagination button:hover {
  background-color: var(--secondary-color);
}

/* Course Modal Specific Styles */
#courseModal .modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 80%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#courseModal p {
  text-align: justify;
}

@media (max-width: 600px) {
  .close {
    font-size: 30px;
    top: 10px;
    right: 20px;
  }
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 5px 20px;
  background-color: var(--background-color);
  text-align: center;
}

.why-choose-us .container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-us h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.why-choose-us p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-color);
}

.why-choose-us .features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-choose-us .feature {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s;
}

.why-choose-us .feature:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.why-choose-us .feature:hover i,
.why-choose-us .feature:hover h3,
.why-choose-us .feature:hover p {
  color: var(--link-color);
}

.why-choose-us .feature i {
  font-size: 80px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.why-choose-us .feature h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.why-choose-us .feature p {
  font-size: 1em;
  color: var(--text-color);
}

@media (max-width: 768px) {
    .why-choose-us .features {
        grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 4 */
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .why-choose-us .features {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}

.privacy-policy .container {
  max-width: 800px; /* Limits the width for better readability */
  margin: 0 auto;   /* Centers the container */
  padding: 20px;    /* Adds spacing on all sides */
}


/*whatsapp icon style*/
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;  /* Changed from right: 20px to left: 20px */
  z-index: 99999; /* Ensure it stays on top */
  background-color: #25d366; /* WhatsApp green */
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}


.whatsapp-icon:hover {
  background-color: #128C7E;
}

/* Disable scrolling on body when modal is open */
body.modal-open {
  overflow: hidden; /* No scrolling */
}

/* Container for the entire popup (overlay) */
.inquiry-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex; 
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 10001; /* Ensure above cookies banner, etc. */
}
.inquiry-popup-modal.show {
  opacity: 1;
  visibility: visible;
}

/* The popup content area */
.inquiry-popup-content {
  background-color: #fff;
  padding: 10px;
  border-radius: 12px; /* Round corners */
  max-width: 400px;
  width: 90%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: fixed;
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
  
  /* By default, set up for desktop (slide from right) */
  top: 0;
  right: 0;
  height: 100vh; 
  overflow-y: auto;
  transform: translateX(150%); 
}

/* When the modal is shown, slide the content into view */
.inquiry-popup-modal.show .inquiry-popup-content {
  transform: translateX(0);
  opacity: 1;
}

/* Close button (X) */
.inquiry-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Heading and subheading */
.inquiry-popup-content h2 {
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
  font-size: 20px;
}
.inquiry-popup-content p {
  margin-bottom: 15px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* Icon + Field */
.form-field {
  position: relative;
  margin-bottom: 15px;
}
.form-field i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 10px 10px 40px; /* Space for icon */
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  outline: none;
}

.checkbox-field {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.checkbox-field input {
  margin-right: 10px;
}

.disclaimer {
  font-size: 12px;
  color: #666;
  margin-bottom: 15px;
}
.disclaimer a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Submit button */
#submitBtn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}
#submitBtn.enabled {
  cursor: pointer;
}
#submitBtn.enabled:hover {
  background-color: var(--secondary-color);
}

/*Cookies Banner*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333; /* Dark background */
  color: #fff;
  padding: 15px;
  text-align: left;
  font-size: 14px;
  z-index: 9999;
  display: none; /* Hidden by default */
}

.cookie-banner p {
  margin: 0;
  display: inline;
}

.cookie-banner a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-banner button {
  margin-left: 15px;
  padding: 5px 10px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-banner button:hover {
  background-color: var(--secondary-color);
}

/* Horizontal 4-at-a-time Testimony Section */

/* Container for the entire testimony section */
.horizontal-4-testimony {
  margin: 20px 20px;
  text-align: center;
}
.horizontal-4-testimony h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

/* The container that shows exactly 1 row at a time */
.testimony-rows-container {
  width: 100%;
  max-width: 1200px;
  height: 150px; /* Each row is 300px total: 250 + 50 margin */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  background: #fafafa; /* Just to visualize container area */
}

/* The inner wrapper with all 8 rows stacked vertically */
.testimony-rows-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.8s ease;
}

/* Each row: 250px tall, +50px margin => 300px total */
.testimony-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 250px;      /* content area */
  margin-bottom: 50px; /* => total 300 */
  box-sizing: border-box;
}

/* Testimonial card: 4 across horizontally */
.testimony-card {
  background-color: var(--link-color);
  color: #333;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  width: 28%; /* 4 across with some spacing */
  text-align: left;
  overflow: auto; /* If text is too tall, scroll within card */
}

/* Adjust # per row for smaller screens */
@media (max-width: 992px) {
  .testimony-card {
    width: 45%; /* 2 across if you prefer */
  }
}
@media (max-width: 600px) {
  .testimony-card {
    width: 90%; /* 1 across if you prefer */
  }
}

/* The quote text inside each card */
.testimony-card blockquote {
  margin: 0;
  font-style: italic;
  line-height: 1.3;
}
/* A bit of spacing between paragraphs, name on new line */
.testimony-card blockquote p {
  margin: 0 0 1em;
}
/* Name on a new line, right aligned */
.testimony-name {
  text-align: right;
  font-weight: bold;
  margin: 0;
}
/* Container for the mobile slider section */
.mobile-testimonial-slider {
  max-width: 400px; /* Adjust as you like */
  margin: 0 auto;
  text-align: center;
}

/* The heading */
.mobile-testimonial-slider h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* The slider container: position relative to hold slides */
.mobile-slider-container {
  position: relative;
  overflow: hidden; /* Hide anything outside the container */
  width: 100%;
  margin: 0 auto;
}

/* Each slide (testimony) */
.mobile-slider-card {
  display: none; /* Hidden by default; JS will show one */
  padding: 20px;
  background-color: #eee; /* or var(--link-color) if you prefer */
  border-radius: 8px;
  margin-bottom: 10px; /* Spacing below each card if needed */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left; /* or center, up to you */
}

/* Active slide is shown */
.mobile-slider-card.active {
  display: block;
}

/* Dot indicators container */
.mobile-slider-dots {
  text-align: center;
  margin-top: 10px;
}

/* Each dot */
.mobile-slider-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
}

/* Active dot (highlighted) */
.mobile-slider-dots .dot.active {
  background-color: #ec7c16; /* or var(--primary-color) */
}

/* Testimony name alignment (optional) */
.testimony-name {
  text-align: right;
  font-weight: bold;
  margin: 0;
  margin-top: 1em; /* extra space above name */
}

@media (max-width: 768px) {
  .horizontal-4-testimony {
    display: none;
  }
  .mobile-testimonial-slider {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-testimonial-slider {
    display: none;
  }
}


/* Mobile (slide from bottom inquiry Form) */
@media (max-width: 768px) {
  /* Force the popup to fill the screen, if not already done */
  .inquiry-popup-content {
    border-radius: 35 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 60px 20px 20px 20px !important; /* Enough top padding for close button */
    box-sizing: border-box !important;
    overflow-y: auto !important;
    transform: translateY(100%) !important; /* Slide up from bottom */
    opacity: 0 !important;
  }
  .inquiry-popup-modal.show .inquiry-popup-content {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  /* Ensure the close button is visible at top-right */
  .inquiry-popup-close {
    top: 20px !important;
    right: 15px !important;
    font-size: 24px !important;
    z-index: 10 !important;
  }

  /* Adjust icon & placeholder alignment for all form fields */
  .form-field i {
    position: absolute;
    left: 15px !important;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none; /* clicks go through to the select/input */
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding-left: 50px !important; /* room for icon */
    padding-right: 30px !important; /* prevent right-edge clipping */
    box-sizing: border-box;
  }

  /* Remove the native iOS arrow on <select> to avoid overlap */
  .form-field select {
    -webkit-appearance: none; /* iOS Safari */
    -moz-appearance: none;    /* older Firefox */
    appearance: none;         /* standard property */
    background: transparent;  /* no arrow background */
    /* If you want a custom arrow, you can set background-image here instead */
  }

  /* OPTIONAL: style the placeholder (e.g., "SELECT COURSE") to look gray if invalid */
  .form-field select:invalid {
    color: #999; /* same color as placeholders */
  }
}

/* Style the search bar within the navigation menu */
.nav-menu li.search-li {
  display: flex;
  align-items: center;
  margin-left: 20px; /* Adjust spacing if needed */
}

.nav-menu li.search-li input {
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.nav-menu li.search-li button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-left: 5px;
}

.nav-menu li.search-li button:hover {
  color: var(--primary-color);
}


/* Adjust position on mobile devices */
@media (max-width: 768px) {
  .search-container {
    position: absolute;
    top: 10px;
    right: 60px; /* Adjust this value so it fits nicely next to the hamburger icon */
  }
}

.highlight {
  animation: highlightAnimation 5s;
}

@keyframes highlightAnimation {
  0% { box-shadow: 0 0 25px var(--primary-color); }
  100% { box-shadow: none; }
}

/* Suggestions Dropdown Styles */
.suggestions-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none; /* Hidden by default */
}

.suggestions-box div {
  padding: 5px 10px;
  cursor: pointer;
}

.suggestions-box div:hover, 
.suggestions-box div.autocomplete-active {
  background: var(--primary-color);
  color: #fff;
}
