/* ======================== */
/* 1. IMPORTS & GLOBAL STYLES */
/* ======================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  background-color: #ffffff;
}

/* ======================== */
/* 2. HEADER & NAVIGATION */
/* ======================== */
/* Header Styles */
header {
  background-color: #ffffff;
  width: 100%;
  position: fixed;
  z-index: 200; 
  border-bottom: 1px solid #dbdbdb;
}

.nav-bar {
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  width: 4rem;
  height: 3rem;
  transition: 0.3s;
}

.nav-logo:hover {
  transform: scale(1.2);
}

nav ul {
  display: flex;
  gap: 5rem;
}

nav ul li {
  list-style: none;
}

nav a {
  position: relative;
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: color 0.3s;
  display: inline-block;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 100%;
  height: 0.15rem;
  background-color: #d14827;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* Dropdown Styles */
.dropdown-container {
  position: relative;
}

.dropdown {
  color: rgb(0, 0, 0);
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
   left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  width: 16rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(139, 139, 139, 0.3);
  display: none;
  text-align: center;
  justify-content: center;
}

.dropdown-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  margin: 0;
  padding: 1rem 0;
}

.dropdown-container.active .dropdown-menu {
  display: block;
}

/* Hamburger icon */
.icon {
  display: none;
  font-size: 1.8rem;
  color: rgb(0, 0, 0);
  cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 1024px){
  nav ul {
    display: flex;
    gap: 4rem;
  }

  .nav-bar {
    padding: 2rem 2.5rem;  
  }
}

@media screen and (max-width: 768px) {
  .nav-bar {
    justify-content: space-between;
    align-items: center;
    padding-left: 1rem;
    background-color: white;
    padding-right: 1.5rem;
  }

  .nav-logo {
    height: 3rem;
    width: auto;
  }

  .icon {
    display: block;
    cursor: pointer;
    color: #000;
  }

  nav {
    position: fixed;
    top: 4rem; 
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 998;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem;
    gap: 0;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    padding: 0.75rem 0;
    width: 100%;
    text-align: left;
    line-height: 0.3;
    gap: 1rem;
  }

  .dropdown-container {
    width: 100%;
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    padding: 1.5rem 1.5rem;
    width: 100%;
    line-height: 0.3;
    margin-top: 0.5rem; 
    position: static;  
    transform: none; 
    background-color: transparent;
    box-shadow: #a7a7a7;
}

  .dropdown-container.active .dropdown-menu {
    display: flex;
  }
}


/* ======================== */
/* 4. SWIPER SLIDER STYLES */
/* ======================== */

.swiper-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: left;
  align-items: left;
  text-align: left;
  color: #fff;
  min-height: 650px;
  height: 100vh;
}

/* Slide Content */
.slide-content {
  padding-top: 14rem;
  padding-left: 8rem;
  padding-right: 40rem;
}

.swiper-slide li {
    list-style: none;
  }

  .swiper-button-next,
  .swiper-button-prev {
    position: absolute;
    bottom: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    left: 10px;
  }  
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 25px !important; /* Decrease arrow size */
  }

/* Styling button that links to contact us page */
.button {
  margin-top: 20px;
  border-radius: 10px;
  border-color: #d14827;
  padding: 12px 23px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 0px;
  transition-duration: 0.4s;
  cursor: pointer;
   background-color: #d14827; 
}

.button:hover {
  background-color: #e07f64;
  color: #ffffff;
  border: 2px solid #e07f64;
} 

/* ======================== */
/* 5. RESPONSIVE FIXES */
/* ======================== */

/* Tablets */
@media (max-width: 1024px) {
  .slide-content {
    padding-top: 12rem;
    padding-left: 8rem;
    padding-right: 8rem;
  }

  .swiper-slide h1 {
    font-size: 1.8rem;
  }

  .swiper-slide p {
    font-size: 1rem;
  }

  .swiper-container {
    width: 90vw;
    height: 90vh;
    overflow: hidden;
  }
  
  .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
    color: #fff;
    min-height: 500px;
    height: 100vh;
  }
}


/* Mobile */
@media (max-width: 768px) {
  .slide-content {
    padding-top: 8rem;
    padding-left: 4rem;
    padding-right: 4rem;
    text-align: left;
  }

  .swiper-slide {
    justify-content: left;
    align-items: left;
  }

  .swiper-slide h1 {
    font-size: 1.5rem;
  }

  .swiper-slide p {
    font-size: 0.9rem;
  }

  .button {
    padding: 10px 18px;
    font-size: 10px;
    border-radius: 20px;

  }
  .swiper-container {
    width: 80vw;
    height: 80vh;
    overflow: hidden;
  }
  
  .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
    color: #fff;
    min-height: 350px;
    height: 100vh;
  }
}

/* Smaller Mobile Screens */
@media (max-width: 480px) {
  .slide-content {
    padding-top: 5.5rem;
    padding-left: 3rem;
    padding-right: 2rem;
    text-align: left;
  }

  .swiper-slide {
    justify-content: left;
    align-items: left;
  }

  .swiper-slide h1 {
    font-size: 1.2rem;
  }

  .swiper-slide h4 {
    font-size: 1rem;
  }

  .swiper-slide p {
    font-size: 0.7rem;
  }

  .swiper-slide li {
    font-size: 0.7rem;
  }

  .button {
    padding: 8px 10px;
    font-size: 8px;
    border-radius: 20px;
  }

  .swiper-container {
    width: 75vw;
    height: 75vh;
    overflow: hidden;
  }
  
  .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
    color: #fff;
    min-height: 300px;
    height: 100vh;
  }
}

.about-section {
  display: flex;
  align-items: center; /* Centers text vertically with image */
  justify-content: space-between; /* Even spacing */
  text-align: left;
  padding: 50px;
  padding-bottom: 0;
  overflow: hidden;
  min-height: 50vh;
}

/* Default: Desktop Layout (Text and Image Side-by-Side) */
.text-container {
  flex: 1;
}

.about-section img {
  width: 100%;
  max-width: 600px;
  flex: 1;
  height: auto;
  border: solid rgb(209, 209, 209);
  border-radius: 20px;
  opacity: 0;
  transform: translateX(-100px); /* Image slides in from left */
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.about-section h1,
.about-section p {
  opacity: 0;
  transform: translateX(-100px); /* Text slides in from left */
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.about-section h1 {
  font-size: 2.2rem;
  font-weight: bold;
}

.show {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Improves text readability */
.about-section p {
  margin-bottom: 20px;
  font-size: 16px;
  max-width: 800px;
  font-weight: regular;
}

/* ======================== */
/* RESPONSIVE FIXES */
/* ======================== */

/* Tablets (Stack text on top of image) */
@media (max-width: 1024px) {

  .about-section {
    flex-direction: column; /* Stack text and image vertically */
    text-align: left;
    padding: 40px 20px;
    min-height: 40vh;
  }

  .text-container {
    order: 1; /* Ensures text appears first */
  }

  .about-section img {
    display: none;  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column; /* Stack text on top of image */
    align-items: left;
    text-align: left;
    padding: 30px 20px;
    min-height: 30vh;
  }

  .text-container {
    order: 1;
  }

  .about-section img {
   display: none;
  }

  .about-section h1 {
    font-size: 2rem;
  }

  .about-section p {
    font-size: 16px;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  .about-section {
    flex-direction: column;
    text-align: left;
    padding: 20px;
    min-height: 20vh;
  }

  .text-container {
    order: 1;
  }

  .about-section img {
    display: none;
  }

  .about-section h1 {
    font-size: 1.8rem;
  }

  .about-section p {
    font-size: 14px;
  }
}
.services-tabs-section {
  padding: 4rem 2rem;
  background-color: #fafafa;
  text-align: center;
}

.services-tabs-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.services-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.service-link {
  background-color: #fff;
  color: #D14B26;
  padding: 1rem 2rem;
  border: 2px solid #D14B26;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  background-color: #D14B26;
  color: #fff;
}


.why-choose-us-section {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: left;
}

.why-choose-us-section h2 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 2rem;
  text-align: center;
}

.choose-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.choose-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, background 0.4s ease;
  cursor: pointer;
}

.choose-card:hover {
  background: #D14B26;
  color: #fff;
  transform: translateY(-10px);
}

.choose-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #D14B26;
  transition: color 0.3s;
}

.choose-card:hover i {
  color: #fff;
}

.choose-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.choose-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

 /* Starting of footer tag */
/* Class footer-container for creating footer */
.footer-container {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  padding: 0 20px;
}

/* Class row for row of footer */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Class footer for the inside of footer */
.footer {
  background-color: #666666;
  padding: 20px 0;
  width: 100%;
  display: block;
}

/* Class footer-col for each column of footer */
.footer-col {
  width: 25%;
  padding: 10px;
}

/* Class footer-col for each column of footer having h4 */
.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

/* Class footer-col for each column of footer h4 original */
.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #d14827;
  height: 2px;
  width: 50px;
}

/* Class footer-col for each column of footer unordered list */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

/* Footer-col list for anchor tag */
.footer-col ul li a {
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.3s ease;
}

/* Footer-col list for anchor tag when user hovers */
.footer-col ul li a:hover {
  color: #d5d5d5;
  padding-left: 5px;
}

/* Class social links anchor tag styling */
.social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255,255,255,0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

/* Class social link anchor tag when user hovers */
.social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

/* Class footer-bottom for including copyright info */
.footer-bottom {
  color: #bbbbbb;
  text-align: left;
  padding-top: 10px;
}

/* Styling logo-pic for footer */
.logo-pic {
  width: 200px;
  height: 150px;
  display: inline-flex;
  margin-top: 40px;
  padding-left: 0;
}

/* Responsive Design */

/* Tablets: 2 columns layout */
@media screen and (max-width: 768px) {
  .footer-col {
      width: 50%;
      text-align: left;
  }

  /* Styling logo-pic for footer */
.logo-pic {
  width: 200px;
  height: 160px;
  display: inline-flex;
  margin-top: 60px;
  padding-left: 0;
}
}

/* Mobile: 1 column layout */
@media screen and (max-width: 480px) {
  .footer-col {
      width: 100%;
      text-align: center;

  }

  /* Styling logo-pic for footer */
  .logo-pic {
    width: 120px;
    height: 100px;
    display: inline-flex;
    margin-top: 30px;
    padding-left: 0;
  }

  /* Class footer-col for each column of footer h4 original */
  .footer-col h4::before {
    left: 45%;
  }

    .footer-bottom {
  color: #bbbbbb;
  text-align: left;
  padding-top: 10px;
  font-size: 0.8rem;
}
}