:root {
  --content-font-size: 0.9rem;
  --title-font-size: 2.5rem;
  --sub-title-font-size: 1.3rem;
  --large-font-size: 2rem;
  --highlight-color: #ffd700;
  --theme-color: #00303f;
  --hover: #084298;
  --normal-font-size:1rem;
}

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

/* Custom Styles */
body {
  padding: 0;
  background-color: #f0f1f3;
  font-family: "Poppins", sans-serif;
}

/*Custom Styles End*/

/* Top Nav Styles*/
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--theme-color);
  color: white;
  font-size: var(--content-font-size);
}

@media (max-width: 999px) {
  .header-top {
    display: none;
  }
}

.flood-restoration-link {
  color: var(
    --highlight-color
  ); /* Gold color chosen for branding and thematic consistency */
  text-decoration: none;
  font-weight: 600;
  position: relative;
  /* animation: shake 0.5s infinite; */
  margin-left: 15px;
}

.flood-restoration-link:hover {
  color: var(--highlight-color); /* Maintain gold color on hover */
  text-decoration: none; /* Prevent underline on hover */
}

.header-phone span {
  margin-right: 1rem;
}

/* .header-contact,
.header-phone {
  display: flex;
  align-items: center;
} */

/* .header-contact span,
.header-phone span {
  margin-right: 10px;
} */

/* 

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
} */

.phone-number {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
  margin-right: 1rem;
  position: relative;
}

.phone-number::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease-in;
}

.phone-number:hover {
  color: var(--highlight-color); /* Maintain gold color on hover */
}

.phone-number:hover::after {
  width: 100%; /* Expand underline on hover */
}

.get-quote-btn {
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: var(--highlight-color);
  transition: all 0.3s ease;
  /* transform: scale(1); */
  /* font-weight: normal; */
}

.get-quote-btn:hover {
  background-color: white;
  border-color: white;
  /* transform: scale(1.1); */
  /* font-weight: bold; */
}

/* Top Nav Styles End */

/* Main Navbar Styles */
/* .link-animation {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-animation:hover {
  transform: translateY(-5px);
  font-weight: bold;
} */

.logo {
  width: 100px;
  height: 100px;
}

.navbar-nav {
  gap: 0.5rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgb(0, 0, 0);
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgb(53, 53, 53);
}

.nav-link:hover {
  color: var(--hover);
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link .active {
  color: var(--hover);
}

/* .dropdown-item {
  font-size: 1rem;
} */

/* .link-animation {
  color: inherit;
} */

/* Main Navbar Styles End */

/* Bottom Nav Styles */
.bottom-nav {
  background-color: var(--theme-color);
  color: #fff;
  /* text-align: center; */
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 50px; */
}

.bottom-nav p {
  margin: 0;
  font-size: var(--content-font-size);
}

.bottom-nav a {
  color: var(--highlight-color);
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

.bottom-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease-in;
}

.bottom-nav a:hover::after {
  width: 100%;
}

/* .menu, .drop-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: inline-block;
    background-color: #4285f4;
    position: relative;
}

.menu-item a {
    text-decoration: none;
    padding: 6px 10px;
    color: #fff;
    display: block;
}

.drop-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 100px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.drop-menu-item {
    width: 100%;
}

.drop-menu-item:hover {
    background-color: #eee;
}

.drop-menu-item a {
    color: #555;
}

.menu-item:hover .drop-menu {
    display: block;
} */

.drop-menu {
  position: absolute;
  background-color: white;
  border: 1px solid rgb(194, 194, 194);
  border-radius: 5px;
  padding: 1rem;
  z-index: 10;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.drop-menu li {
  list-style: none;
  width: max-content;
  padding: 1px 0;
  font-weight: 500;
}

.drop-menu a {
  color: rgb(53, 53, 53);
  text-decoration: none;
  font-size: var(--content-font-size);
}

.drop-menu a:hover {
  color: var(--hover);
}

.dropdown:hover .drop-menu {
  max-height: 500px; /* Set high enough for your list */
  opacity: 1;
  transform: translateY(0);
}



/* Bottom Nav Styles End */

/*Hero Section Styles*/
#carouselExampleAutoplaying {
  max-height: 500px;
  overflow: hidden;
}
#carouselExampleAutoplaying .carousel-item img {
  object-fit: cover;
  height: 100%;
}
/*Hero Section Styles End*/

.section-space{
  padding-top: 70px;
  padding-bottom: 90px;
}

/*services section styles*/

#services h2{
  font-size: var(--large-font-size);
  font-weight: 600;
}

#services p{
  font-size: var(--content-font-size);
  font-weight: normal;
  color: rgb(53, 53, 53);
}

.card {
  border: none;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.card-img-container {
  overflow: hidden;
  height: 220px; /* Adjust height as needed */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

.card-body .card-title {
  font-size: var(--sub-title-font-size);
}

.card-body .card-text {
  font-size: var(--normal-font-size);
}

.learn-more-btn {
  background-color: var(--theme-color);
  color: white;
  font-size: var(--content-font-size);
  padding: 5px 20px;
  font-weight: 500;
  transition: all 0.65s ease;
}

.learn-more-btn:hover {
  background-color: white;
  color: var(--theme-color);
  border: 1px solid var(--theme-color);
}


/*services section styles end*/

/*about us section styles*/
.about-us-section {
  background-color: #00303f;
  color: #fff;
  padding: 70px 0;
}


.sub-title {
  font-size: var(--large-font-size);
}

.sub-content{
  width: 80%;
  margin: auto;
  font-size: var(--content-font-size);
  color: rgb(230, 230, 230);
}


.about-img{
  width: 400px;
}

.about-content-title{
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.about-content{
  font-size: var(--content-font-size);
}

.about-us-section ul li{
  padding-bottom: 0.7rem;
}

.btn-2{
  background-color: var(--highlight-color);
  font-size:var(--content-font-size);
  font-weight: 500;
  padding: 7px 30px;
  transition: all 0.65s ease;
}

.btn-2:hover{
  border: 1px solid var(--highlight-color);
}

#why-choose-us p{
  font-size: var(--content-font-size);
}

/*about us section styles end*/

/*Gallery section styles*/
/* *,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

iframe {
  aspect-ratio: 16/9;
}

img {
  display: block;
  max-width: 100%;
}

main {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.gallery-container {
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  --position: 50%;
}

.image-container {
  max-width: 800px;
  max-height: 90vh;
  aspect-ratio: 1/1;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.image-before {
  position: absolute;
  inset: 0;
  width: var(--position);
  filter: none;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  /* for Firefox */
  width: 100%;
  height: 100%;
}

.slider:focus-visible ~ .slider-button {
  outline: 5px solid black;
  outline-offset: 3px;
}

.slider-line {
  position: absolute;
  inset: 0;
  width: 0.2rem;
  height: 100%;
  background-color: #fff;
  /* z-index: 10; */
  left: var(--position);
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-button {
  position: absolute;
  background-color: #fff;
  color: black;
  padding: 0.5rem;
  border-radius: 100vw;
  display: grid;
  place-items: center;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* z-index: 100; */
  box-shadow: 1px 1px 1px hsl(0, 50%, 2%, 0.5);
} /* Gallery section styles end */

/*testimonials section styles*/

.testimonial-item {
  background-color: white;
  border-left: 4px solid var(--theme-color);
  color: var(--theme-color);
  border-radius: 5px;
  padding: 20px;
  min-height: 200px; /* Reduced height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-item .testimonial-content p{
    color: rgb(51, 51, 51);
    font-size: var(--normal-font-size);
}

.owl-carousel .testimonial-item {
  margin: 10px;
  min-height: 200px; /* Match height here too */
}

.testimonial-footer h5 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: var(--theme-color);
  text-align: left;
}

/* Star color */
.testimonial-rating i {
  color: var(--theme-color) !important;
}

/* Navigation arrows */
.custom-owl-prev,
.custom-owl-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  color: #00303f;
}

.custom-owl-prev {
  left: -80px !important;
}

.custom-owl-next {
  right: -80px !important;
}

.custom-owl-prev,
.custom-owl-next {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  z-index: 99;
  cursor: pointer;
}

.owl-carousel .owl-nav {
  display: none !important; /* Hide Owl default arrows */
}
/* Testimonials section styles end */

/*contact us section styles*/
.contact-us-section {
  background-color: #00303f;
  color: #fff;
  padding: 50px 50px;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group label {
  font-weight: bold;
}
/*faq section styles*/
/* faq-section {
  background-color: #00303f;
} */
/*faq section style end*/

.accordion-button:not(.collapsed){
  color: black;
  background-color: var(--bs-accordion-active-bg);
  box-shadow: none;
}

.accordion-body{
  color: gray;
}

.Booking-form{
  box-shadow: 0px 0px 0px 2px whitesmoke;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
}

/*feedback section styles*/
#feedback-section {
  background-color: #00303f;
}

.feedback-container {
  background-color: #00303f;
  padding: 20px;
  border-radius: 10px;
}

.required {
  color: red;
}

/*footer styles*/
.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* /* Shrinking for mobile */
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .content {
    height: 30vh;
  }
}

.social_icons a i {
  color: #fff; /* Default icon color */
  transform: translateY(0); /* Default position */
}

.social_icons a:hover i {
  color: #ffd700; /* Change icon color on hover */
  transform: translateY(-5px); /* Move the icon up */
  transition: all 0.3s ease; /* Smooth transition effect */
}

.footer-section {
  background-color: #00303f;
  color: black;
}

.important-links-section {
  padding-left: 0;
}

.important-links-section a {
  color: rgb(216, 216, 216); 
  text-decoration: none; /* Remove underline */
  transition: all 0.65s ease;
}

.important-links-section a:hover {
    color: var(--highlight-color);
}
/* .link-style {
  color: #ffffff;
} */

.social-icon {
  color: rgb(216, 216, 216);
  font-size: 1.2rem;
}

.availability-section {
  padding-right: 2rem;
}

.availability-text {
  color: rgb(216, 216, 216);
}

.footer-section img{
  height: 100px;
  width: 100px;
  margin: 0 auto;
}

@media (max-width:768px) {
  .footer-section img{
  height: 100px;
  width: 100px;
  margin: 0;
  }
}

.footer-bottom {
  background-color: #00303f;
  color: #ffffff;
  font-size: var(--normal-font-size);
}

.footer-title{
  font-size: 1.1rem;
}

.footer-section ul li{
  font-size: var(--content-font-size);
}

.footer-contact-number{
  font-size: var(--content-font-size);
  text-decoration: none;
  color: rgb(216, 216, 216);
  transition: all 0.65s ease;
}

.footer-contact-number:hover{
  color: var(--highlight-color);
}

/* 
footer {
  margin: 0;
  padding: 0;
} */
