/* ============================= */
/*        Universal Styles       */
/* ============================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif !important;
  background: #EFEEE5 !important;
  color: #000000;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
}

p {
  font-size: 18px; /* default is about 16px, increase to 18 or more */
}

/* ============================= */
/*            Header             */
/* ============================= */

header {
  position: relative; /* important for absolute positioning inside */
  height: 400px;      /* or your actual height */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Black overlay */
header > div.bg-black {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* ============================= */
/*           Navbar              */
/* ============================= */

.navbar-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, nav right */
  padding: 1rem 2rem;
  background: transparent;
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  align-items: center;
  white-space: nowrap; /* Prevent wrapping to multiple lines */
}

.navbar-nav a {
  color: white !important;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: color 0.3s ease;
  display: block;
}

.navbar-nav a:hover {
  color: yellow;
}

/* Dropdown menu */

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 0 0 6px 6px;
  min-width: 160px;
  padding: 0.25rem 0;
  z-index: 20;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
}

.dropdown-menu li a:hover {
  color: #e53935 !important;
  background-color: transparent !important;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Global anchor hover color override */
a:hover {
  color: #e53935 !important; /* Tailwind yellow-400 hex */
}

/* ============================= */
/*         Welcome Text          */
/* ============================= */

.welcome-text {
  position: absolute;
  bottom: 1rem;               /* Push to bottom – adjust to 0 if needed */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  z-index: 10;
  padding: 0.5rem 1rem;
  width: 100%;                /* Optional: makes it easier to center inside */
}

.welcome-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem; /* 5xl equivalent */
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.welcome-text p {
  font-family: 'Lora', serif;
  font-size: 1.125rem; /* lg equivalent */
}

/* ============================= */
/*      Testimonial Section      */
/* ============================= */

.section-title {
  text-align: center;
  font-size: 36px;
  color: #0056b3;
  margin: 60px 0 30px;
}

.testimonials-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 50px;
  scrollbar-width: none; /* Firefox */
  width: 100%;
}

.testimonial-group {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  gap: 30px;
  transition: transform 0.5s ease;
}

.testimonials-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 320px;       /* fixed width */
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s ease;
  white-space: normal;   /* allow line breaks */
  word-wrap: break-word; /* break long words if needed */
  overflow: visible;     /* show all content */
  height: auto;          /* auto height to fit content */
  min-height: 150px;     /* optional: minimum height */
}

.testimonial-card:hover {
  transform: scale(1.03);
}

.testimonial-card i {
  color: #e53935;
  font-size: 24px;
}

.testimonial-card h3 {
  margin-top: 15px;
  font-size: 18px;
  color: #333;
}

.testimonial-card p {
  font-size: 16px;
  margin: 15px 0;
  color: #555;
  white-space: normal;
  overflow: visible;
}

.testimonial-card h4 {
  font-weight: bold;
  color: #e53935;
}

/* Slider buttons */

.slider-btn {
  background-color: #e53935; /* or any color you prefer */
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}

.slider-btn:hover {
  background-color: #c62828;
}

/* ============================= */
/*         Footer Section        */
/* ============================= */

.footer-area {
  background-color: #111;
  color: #fff;
  padding: 30px 0;
}

.footer-widget h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: #fff;
}

.footer-left-widget p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

.social-icon {
  display: inline-flex;       /* To center icon nicely */
  justify-content: center;
  align-items: center;
  width: 40px;                /* equal width & height */
  height: 40px;
  border-radius: 50%;         /* makes it a circle */
  background-color: #333;     /* optional, add your preferred bg color */
  color: white;               /* icon color */
  text-align: center;
  line-height: 40px;          /* vertically center icon */
  margin-right: 10px;         /* spacing between icons */
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #fff;
  color: #000 !important;
}

.contact-widget .contact-info li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #ccc;
}

.contact-widget .contact-info i {
  margin-right: 10px;
  color: #fff;
}

.copyright a {
  color: #ed3538;
}

/* ============================= */
/*    Scroll to Top & Call Btn   */
/* ============================= */

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 1.25rem;
  right: 4rem;
   bottom: 70px; /* Previously maybe 20px? Increased to move it up */
  background-color:  #C0C0C0;
  color: rgb(0, 0, 0);
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-top:hover {
  background-color: #ffffff;
}
.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #C0C0C0 !important;
  color: #000000 !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  z-index: 999;
  border: none;
  box-shadow: none;
  display: inline-block;

}

.call-button:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
}
.call-button {
  outline: 2px solid rgb(0, 0, 0) !important;
}
 
/* ============================= */
/*        Responsive Styles      */
/* ============================= */

/* Mobile Navigation */

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  nav .menu-toggle {
    display: block;
    color: white;
    font-size: 24px;
  }

  /* Footer adjustments */

  .footer-widget h3 {
    font-size: 18px;
  }

  .footer-area {
    padding: 40px 0;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* Desktop Navigation */

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}