/* Global Styles */
:root {
  --primary-light: #ECECEC;
  --primary-mid: #0091B0;
  --primary-dark: #004E5E;
  --accent-light: #CDDC20;
  --accent-mid: #568721;
  --accent-dark: #00442B;
  --neutral-dark: #747A7A;
  --warning: #EF423C;
  --amber: #f28e21;
  --white: #ffffff;
  --black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: #f4f4f4;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}
header {
  position: sticky;
  top: 0;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: var(--primary-dark);
  color: white;
  z-index: 2000;
}

.logo {
  height: 50px;
  /* Adjust the height as needed */
  width: auto;
  /* Maintain aspect ratio */
}

header .logo a {
  font-size: 24px;
  font-weight: 600;
  color: white;
}

.navbar ul {
  display: flex;
  gap: 20px;
}

.navbar ul li a {
  color: white;
  font-weight: 400;
  padding: 10px 15px;
}

.navbar ul li a:hover {
  color: black;
}

.menu-item {
  text-transform: uppercase;
}

.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* Hero Section */
#hero {
  overflow: hidden;
  justify-content: space-between;
  align-items: center;
}

.hero-container {
  width: 100%;
  height: 400px;
}

.hero-slide {
  width: 100%;
  height: 400px;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

/* Content Styling */
.hero-content {
  height: 400px;
  text-align: center;
  color: rgb(27, 27, 27);
  padding: 12px;
  border-radius: 20px;
  background-color: #0091B000;
}

.hero-content h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Add smooth fade-in for slides */
.hero-container .hero-slide.active {
  opacity: 1;
}

.slide-0 {
  background-image: url('/hero-image1.jpg');
  background-size: 300px;
  width: 300px;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center;

  animation-range-start: cover 0%;
  animation-range-end: cover 100%;
  animation: hero-animation linear;
  animation-timeline: view();
  animation-iteration-count: 1;

}

#slide-1 {
  background-image: url('../images/hero-banner.jpeg');
  background-repeat: no-repeat;
}

#slide-2 {
  background-image: url('/hero-image2.jpg');


}

#slide-3 {
  background-image: url('/hero-image3.jpg');


}

@keyframes hero-animation {
  to {
    background-size: 500px;
  }

}

.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  display: table;
}

.cta-button {
  padding: 5px 5px;
  background: linear-gradient(26deg, rgba(255, 255, 255, 0.15) -32.04%, rgba(55, 2, 141, 0) 133.43%);
  font-size: .9rem;
  border-radius: 0.6rem;
  text-decoration: none;
  -webkit-box-pack: center;
  justify-content: center;
  padding: .9rem .9rem;
  width: 100%;
  height: fit-content;
  border-color: #000000;
  border-inline-width: 1px;
}

.cta-button:hover {
  background-color: var(--primary-dark);
}



/* About Section */
.about {
  padding: 50px;
  text-align: center;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about p {
  max-width: 75%;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 1.1rem;
}
.about-container {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.about-card {
  background-color: #ECECEC;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 350px;
}

.about-card img {
  height: 256px;
}
.about-card h1 {
  color: var(--primary-mid);
  padding: 10px;
}


/* Services Section */
.services {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.services h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}
.services p {
  max-width: 75%;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 1.1rem;
}
.services-container {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.service-card {
  height: fit-content;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

.card-more-content ul {
  padding-left: 10px;
}
.card-more-content li {
  list-style: disc outside none;
  display: list-item;
  margin-left: 1em;
  }
.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 16px;
}

/* Contact Section */
.contact-us {
  padding: 40px 20px;
  background-color: #f9f9f9;

}
.contact-us-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.container,
.foot-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}

.contact-info {
  flex: 1;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 15px;
}

.address p {
  margin: 8px 0;
}

.social-media {
  margin-top: 20px;
}

.social-media a {
  text-decoration: none;
  margin-right: 15px;
  font-size: 16px;
  color: #555;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #0073e6;
}


.social-link {
  list-style-type: none; /* Remove bullet points */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
  display: flex; /* Use flexbox to arrange items horizontally */
}

.social-link li {
  margin-right: 10px; /* Add some space between items */
  margin-left: 10px; /* Add some space between items */
}



.contact-form {
  flex: 1;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-left: 20px;
  margin-right: 10px; /* Add some space between items */
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-form label {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form button {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--primary-dark);
}

@media screen and (max-width: 768px) {

  .container,
  .foot-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    margin: 10px 0;
  }
}


/* Card panel */
[data-popular="Most popular"]::after {
  content: attr(data-popular);
  position: absolute;
  top: 0;
  background: var(--accent-light);
  left: 0;
  right: 0;
  color: #fff;
  transform: translateY(-10%);
  font-size: 0.9rem;
  font-weight:600;
  text-transform: capitalize;
  border-radius: 8px 8px 0 0
}


/* Style for the card */
.card {
  width: 25%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background: linear-gradient(118deg, rgb(255, 255, 255) -7.57%, rgb(164, 164, 164) 36.72%, #0091B0 141.75%, rgb(63, 89, 228) 163.95%);

}

/* Header and initial content style */
.card-header {
  background-color: var(--primary-dark);
  color: white;
  padding: 10px;
  text-align: center;
  position: relative;
}
.card-header h3 {
  padding-top: 5%;
}

/* Main content style */
.card-content p {
  max-width: 100%;

  padding: 15px;
  padding-bottom: 15px;
  
}
.card-more-content {
  padding-bottom: 15px;
  
}

.card-content ul {
  max-width: 100%;
  padding: 10px;
}

/* FAQ section */

.faq {
  padding: 40px 20px;
  justify-content: center;
}

.faq h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


.faq-item {
  margin-bottom: 15px;
}

.faq-btn {
  background-color: #fff;
  color: #333;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-btn:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}

.faq-content {
  padding: 15px;
  background-color: #f4f4f4;
  display: none;
  border-top: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
}

@media screen and (max-width: 768px) {
  .faq-container {
    padding: 0 15px;
  }

  h2 {
    font-size: 24px;
  }

  .faq-btn {
    font-size: 16px;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.7rem !important;
  color: var(--primary-light);
  background-color: var(--primary-dark);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  #hero {
    display: none;
  }

  .navbar ul {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: var(--primary-dark);
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }

  .navbar ul li {
    text-align: center;
    width: 100%;
  }

  .navbar ul li a {
    padding: 15px;
    border-top: 1px solid #444;
  }

  .menu-icon {
    display: block;
  }

  .navbar.open ul {
    display: flex;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 80%;
    margin-bottom: 20px;
  }
}