/* Main styles for KEP#AXD */

/* Fonts can be downloaded from the provided URLs and placed in a fonts/ directory.
@font-face {
  font-family: 'Drakalligro';
  src: url('fonts/Drakalligro.ttf') format('truetype');
}
@font-face {
  font-family: 'Caviar Dreams';
  src: url('fonts/CaviarDreams.ttf') format('truetype');
}
*/

body {
  font-family: 'Caviar Dreams', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #213C3F;
}

header {
  background-color: transparent;
  color: #213C3F;
  padding: 1em;
}

/* Style applied to the header after the page has been scrolled */
.scrolled-header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .brand {
  display: flex;
  align-items: center;
}

header .logo {
  max-width: 150px;
  height: auto;
}

section {
  padding: 1em 2em;
}

h2 {
  color: #074D81;
}

footer {
  background-color: #ffffff;
  color: #213C3F;
  text-align: center;
  padding: 1em;
}

/* Simple card styling for service and info boxes */
.card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
  border: none;
}
.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
}
.team-photo--offset1 {
  object-position: 50% -60px;
}
.team-photo--offset2 {
  object-position: 50% -30px;
}
.team-photo--offset3 {
  object-position: 50% 0px;
}
.team-photo-wrapper {
  position: relative;
}
.team-photo-wrapper .see-more {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  width: 100%;
  height: 100%;
}
.team-photo-wrapper:hover .see-more {
  display: flex;
}

/* Responsive grid for team members */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.map-container {
  width: 100%;
  height: 300px;
  padding: 0;
}

.map-container .map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Reduce overall size of the reviews carousel */
.reviews-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.reviews-carousel img {
  width: 100%;
  height: auto;
}

/* Simple modal styling for team member details */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
}

.modal-content {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  max-width: 800px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}

.modal-text {
  flex: 1;
}

@media (min-width: 640px) {
  .modal-content {
    flex-direction: row;
    align-items: flex-start;
  }
}
/* Position carousel arrows below the carousel */
.testimonial-01 .swiper-button-prev,
.testimonial-01 .swiper-button-next,
.reviews-carousel .swiper-button-prev,
.reviews-carousel .swiper-button-next {
  display: none;
}

/* Consistent sizing for testimonial photos */
.testimonial-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

/* Container for contact info and map */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Footer contact details */
.footer-contact-details {
  width: 240%;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.footer-contact-details div.fb {
  margin-bottom: 0.75rem;
}

/* Reduce padding for footer section to minimize space above footer */
footer .ji.gp {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/* Modal heading styles */
.modal-content h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #074D81;
}
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: normal;
}

/* Footer social icon list */
.footer-social-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding-left: 0;
  list-style: none;
}

.footer-social-links img {
  width: 24px;
  height: 24px;
}

/* Simple cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #074D81;
  color: #ffffff;
  padding: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 1000;
}
#cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}
#cookie-banner button {
  background-color: #ffffff;
  color: #074D81;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

/* Consistent appearance for service icons */
.service-icon {
  font-size: 48px;
  color: #074D81;
  margin-bottom: 0.75rem;
}

/* Layout for services grid */
#services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

/* Base styling for service boxes */
.service-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}
