/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header Styles */
.site-header {
  background: #ac1409; /* Nav bar background color */
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  flex: 1;
}

.logo img {
  width: 45%;
  height: auto;
}

.logo a {
  text-decoration: none;
  color: #fff;
}

/* Navigation */
.site-nav {
  flex: 1;
  text-align: center;
}

.site-nav ul {
  list-style: none;
  display: inline-flex;
  gap: 20px;
}

.site-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #f2f2f2;
}

/* Dropdown Menu */
.site-nav ul li.dropdown {
  position: relative;
}

.site-nav ul li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ac1409;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 180px;
  z-index: 200;
}

.site-nav ul li.dropdown .dropdown-menu li a {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  display: block;
  transition: background 0.3s;
}

.site-nav ul li.dropdown .dropdown-menu li a:hover {
  background: #f2f2f2;
  color: #ac1409;
}

@media (min-width: 769px) {
  .site-nav ul li.dropdown:hover .dropdown-menu {
    display: block;
  }
}

.site-nav ul li.dropdown.open .dropdown-menu {
  display: block;
}

/* Custom arrow for dropdown link */
.site-nav ul li.dropdown > a.dropdown-link::after {
  content: "\25BE";
  margin-left: 5px;
  font-size: 0.8em;
  vertical-align: middle;
}

/* Header Contact */
.header-contact {
  flex: 1;
  text-align: right;
}

.header-contact a {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

/* Main Slider Section */
.slider-section {
  position: relative;
  width: 100%;
  height: 76vh;
  overflow: hidden;
}

.slider-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/spinebg.jpg') center/cover no-repeat;
  opacity: 0.19; /* 20% less than original 0.39 */
  z-index: 0;
}

.swiper-container.main-slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* Slide Content Styling */
.slide-content {
  text-align: center;
  color: #000;
  padding: 20px;
  opacity: 0;
  animation: slideFadeIn 0.8s forwards;
}

.slide-content h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2em;
  margin-bottom: 10px;
}

.slide-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto;
}

.slide-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Swiper Pagination Styling */
.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  background: #ac1409;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ac1409;
}

/* Hide Reviews Navigation (pagination and scrollbar) */
.swiper-container.reviews-swiper .swiper-pagination,
.swiper-container.reviews-swiper .swiper-scrollbar {
  display: none !important;
}

/* Swiper Scrollbar Styling (optional) */
.swiper-scrollbar {
  background: rgba(255,255,255,0.3);
  height: 4px;
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
}

.swiper-scrollbar-drag {
  background: #fff;
  border-radius: 2px;
}

/* Reviews Section */
.reviews-section {
  padding: 60px 0;
  background: #f9f9f9;
  text-align: center;
}

.reviews-section h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.7em;
  margin-bottom: 20px;
}

/* Reviews Swiper for Reviews Section */
.swiper-container.reviews-swiper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  height: 200px; /* Adjust as needed */
  overflow: hidden;
}

.swiper-container.reviews-swiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.swiper-container.reviews-swiper .swiper-slide {
  flex-shrink: 0;
  min-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  direction: ltr;
}

/* New Two-Column Layout for Review Boxes */
.review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;  /* Space between columns */
  padding: 20px;
  background: none; /* Or your desired background */
  border: none;
  border-radius: 5px;
  max-width: 800px;
  margin: 0 auto;
}

.review .review-left {
  flex: 3;
  text-align: center;
  padding-right: 20px;
}

.review .review-right {
  flex: 1;
  text-align: center;
  padding-left: 20px;
  /* Optional: Add a left border for visual separation */
  border-left: 1px solid rgba(255, 255, 255, 0.7);
}

/* Optional: Adjust font sizes for clarity */
.review .review-text {
  font-size: 1.1em;
  line-height: 1.4;
  color: #000;
}

.review .reviewer-name {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #fff;
}

.review .review-stars {
  font-size: 1.2em;
  color: #fff;
}



/* Staff Section */
.staff-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.staff-section h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.7em;
  margin-bottom: 20px;
}

/* Staff Profiles */
.staff-profiles {
  margin-top: 20px;
}

/* Artistic Banner for Staff Profiles (used on staff pages) */
.staff-banner {
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  text-align: center;
  height: 122px; /* Banner height set to 122px */
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-banner.staff1 {
  background: url('images/staffbanner1.jpg') center/cover no-repeat;
}
.staff-banner.staff2 {
  background: url('images/staffbanner2.jpg') center/cover no-repeat;
}
.staff-banner.staff3 {
  background: url('images/staffbanner3.jpg') center/cover no-repeat;
}
.staff-banner.staff4 {
  background: url('images/staffbanner4.jpg') center/cover no-repeat;
}
.staff-banner.staff5 {
  background: url('images/staffbanner5.jpg') center/cover no-repeat;
}
.staff-banner h3 {
  margin: 0;
  font-size: 1.5em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Two-Column Layouts for Slider Slides */
.slide-first,
.slide-second {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 10%;
  width: 100%;
}

.slide-first .slide-text {
  flex: 1;
  text-align: left;
}
.slide-first .slide-image {
  flex: 0 0 40%;
  text-align: right;
}
.slide-first .slide-image img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(circle, white 85%, transparent 100%);
  mask-image: radial-gradient(circle, white 85%, transparent 100%);
}

.slide-second .slide-image {
  flex: 0 0 40%;
  text-align: left;
}
.slide-second .slide-text {
  flex: 1;
  text-align: right;
}
.slide-second .slide-image img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(circle, white 85%, transparent 100%);
  mask-image: radial-gradient(circle, white 85%, transparent 100%);
}

/* Style for the map container and centered text overlay on the third slide */
.map-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #000;  /* Adjust the text color as needed */
  background: rgba(255, 255, 255, 0.6); /* Optional: semi-transparent background for readability */
  padding: 20px;
  border-radius: 5px;
}

/* Third Slide Specific Styles */
.third-slide-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;   /* Fills the entire slide height */
  padding: 20px;
  gap: 20px;
}

.third-slide-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.third-slide-map {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


.third-slide-map iframe {
  width: 700px !important;
  height: 500px !important;
  border: 0;
}



/* Two-Column Layouts for Service Profiles */
.service-profile {
  margin-bottom: 40px;
}

/* Service Banner for Services */
.service-banner {
  color: #fff;
  padding: 10px;
  text-align: center;
  height: 62px; /* Banner height set to 122px */
  display: block;
}
.service-banner h3 {
  margin: 0;
  font-size: 1.5em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Service Banner Backgrounds */
.service-banner.serviceban1 {
  background: url('images/servicesban1.jpg') center/cover no-repeat;
}
.service-banner.serviceban2 {
  background: url('images/servicesban2.jpg') center/cover no-repeat;
}
.service-banner.serviceban3 {
  background: url('images/servicesban3.jpg') center/cover no-repeat;
}
.service-banner.serviceban4 {
  background: url('images/servicesban4.jpg') center/cover no-repeat;
}
.service-banner.serviceban5 {
  background: url('images/servicesban5.jpg') center/cover no-repeat;
}
.service-banner.serviceban6 {
  background: url('images/servicesban6.jpg') center/cover no-repeat;
}

/* Two-Column Layouts for Service Details */
.service-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 10%;
}
.service-details.service-first {
  flex-direction: row;
}
.service-details.service-first .service-text {
  flex: 1;
  text-align: left;
}
.service-details.service-first .service-image {
  flex: 0 0 40%;
  text-align: right;
}
.service-details.service-first .service-image img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(circle, white 85%, transparent 100%);
  mask-image: radial-gradient(circle, white 85%, transparent 100%);
}

.service-details.service-second {
  flex-direction: row;
}
.service-details.service-second .service-image {
  flex: 0 0 40%;
  text-align: left;
}
.service-details.service-second .service-text {
  flex: 1;
  text-align: right;
}
.service-details.service-second .service-image img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(circle, white 85%, transparent 100%);
  mask-image: radial-gradient(circle, white 85%, transparent 100%);
}

/* Reduce the size of images with the reduced-size class by 20% */
.reduced-size {
  width: 70% !important;
}


/* Footer Styles */
.site-footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.575em;
}

.site-footer p a {
  color: #fff;
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo, .site-nav, .header-contact {
    flex: 1 1 100%;
    text-align: center;
  }
  .site-nav {
    order: 4;
    display: none;
    width: 100%;
  }
  .site-nav.open {
    display: block;
  }
  .logo {
    order: 1;
  }
  .header-contact {
    order: 2;
    margin-top: 10px;
  }
  .menu-toggle {
    order: 3;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* Contact Page Specific Styles */
.contact-container {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  align-items: flex-start;
}

.contact-map, .contact-form-container {
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
}

.contact-form button {
  background: #ac1409;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #a1130e;
}

.g-recaptcha {
  margin-bottom: 15px;
}
