@import url("https://fonts.googleapis.com/css?family=Barlow+Condensed:400,500,700|Open+Sans:400,400i,600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baskervville+SC&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --padding: 1rem 10rem;
  --padding-v: 1rem;
  --padding-h: 2rem;
  --pad-left: 10rem;
  --darker: #010714;
  --dark: #020d26;
  --normal: #fff;
  --primary: #ff6a00;
  --gray: #f1f1f1;
  --gray2: #ccc;
}

/* Basic Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 15px;
}
body {
  font-family: "Open Sans", sans-serif;
  background-color: #fff;
  font-size: 15px;
  font-size: 1rem;
  color: #687187;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;

  color: #333;
}

/* Heading sizes using rem units */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: "Barlow Condensed", sans-serif !important;
}
h1 {
  font-size: 3.2rem; /* 32px */
  line-height: 1.2; /* 1.2 times the font size for better readability */
}

h2 {
  font-size: 2.4rem; /* 24px */
  line-height: 1.3; /* 1.3 times the font size */
}

h3 {
  font-size: 2rem; /* 20px */
  line-height: 1.4; /* 1.4 times the font size */
}

h4 {
  font-size: 1.6rem; /* 16px */
  line-height: 1.5; /* 1.5 times the font size */
}

h5 {
  font-size: 1.4rem; /* 14px */
  line-height: 1.5; /* 1.5 times the font size */
}

h6 {
  font-size: 1.2rem; /* 12px */
  line-height: 1.6; /* 1.6 times the font size */
}
p {
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 1.8 times the font size for better readability */
  margin: 1rem 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

/* Heading The Line under Header*/
.heading {
  font-weight: bold;
  color: #ffffff; /* White text color */
  position: relative;
  display: inline-block;
  border-radius: 1rem;
  width: fit-content;
  padding-right: 1rem;
  text-transform: uppercase;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Main underline */
.heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* Position the line slightly below the text */
  width: calc(100% - 30px);
  height: 4px;
  background-color: var(--primary); /* Orange color */
  border-radius: 1rem;
}

/* Small underline to the right */
.heading::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px; /* Align with the main underline */
  width: 10px;
  height: 4px;
  border-radius: 1rem;
  background-color: var(--primary); /* Same orange color */
}

/* Base styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dark);
  color: white;
  padding: 0 var(--padding-h);
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
}

.nav-links > li {
  position: relative;
  padding: var(--padding-v) var(--padding-h);
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* Dropdown styling */
.dropdown {
  z-index: 9000000000000;
}

.dropdown .dropdown-content {
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Prevent interaction while hidden */
  position: absolute;
  top: 0;
  left: 0;
  width: fit-content;
  background-color: var(--dark);
  z-index: 1;
  list-style: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: shadow for depth */
  transition: opacity 500ms, visibility 500ms, top 500ms; /* Smooth transition */

  white-space: nowrap; /* Prevent text wrapping */
  min-width: max-content; /* Ensure width adjusts to the longest item */
  width: auto; /* Let the dropdown size itself automatically */
  box-sizing: border-box; /* Include padding and border in width calculations */
}

.dropdown:hover .dropdown-content {
  opacity: 1; /* Fully visible */
  visibility: visible; /* Allow interaction */
  top: 100%; /* Slide down */
}
.dropdown:hover {
  background-color: var(--primary);
}
.dropdown-content li {
  position: relative;
  transition: all 500ms;
  padding-left: 0.5rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  margin: 0.1rem 0;
  padding-right: 1rem;
}
.dropdown-content li:first-child {
  margin-top: 0;
}
.dropdown-content li:last-child {
  margin-bottom: 0;
}
.dropdown-content li:hover {
  position: relative;
  background-color: var(--primary);
}
.dropdown-content li a {
  width: 100% !important;
  text-align: left !important;
}
/* Align right if it would overflow */
.dropdown-right .dropdown-content {
  left: auto;
  right: 0;
}
/* Responsive styling */
.burger {
  display: none;
  cursor: pointer;
}

/* General slider styling */
#banner {
  position: relative;
  height: 55rem;
  overflow: hidden;
}
.slider {
  position: relative;
  width: 100%;
  height: 55rem;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
  background-position: center;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  opacity: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: left;

  scroll-snap-align: start;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.content {
  margin-left: var(--pad-left);
  position: relative;
  color: white;
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide.active .content {
  opacity: 1;
  transform: translateY(0);
}

.action-btn {
  padding: 10px 20px;
  color: #fff;
  background-color: #ff9000; /* Highlight color */
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.action-btn:hover {
  background-color: #e87d00; /* Slightly darker shade */
}

/* Slider controls styling */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: left;
  z-index: 3;
  margin-left: var(--pad-left);
}

.slider-controls button {
  margin: 0 10px;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-controls button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
    position: absolute;
    top: 60px;
    left: 0;
  }

  .nav-links li {
    margin-left: 0;
  }

  .nav-links.show {
    display: flex;
  }

  .burger {
    display: block;
  }
}

/* Ensure dropdown within mobile view opens on click */
@media (max-width: 768px) {
  .dropdown .dropdown-content {
    position: relative;
    display: none;
  }

  .dropdown.show .dropdown-content {
    display: block;
  }
}

.placeholder {
  width: 80%;
  height: 12px;
  background: linear-gradient(90deg, #bbb 25%, #f5f5f5 50%, #bbb 75%);
  background-size: 200% 100%;
  border-radius: 2px;
  margin: 8px 0;
}

.placeholder.short {
  width: 40%;
  animation: shimmer 1s infinite linear;
}

.placeholder.medium {
  width: 60%;
  animation: shimmer 2s infinite linear;
}

.placeholder.long {
  width: 100%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  100% {
    background-position: -200% 0;
  }
  0% {
    background-position: 200% 0;
  }
}
main {
  padding: var(--padding);
}
.s1x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.s1x2 h5 {
  color: var(--primary);
  font-weight: lighter;
}
.s1x2 p {
  color: #000;
}
.s1x1 {
  padding: 3rem 0;
  background-color: var(--gray);
  text-align: center;
}
.s1x3 {
  display: grid;
  gap: 5rem;
  margin: 5rem 0;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
}
.s1x3 h1 {
  color: var(--dark);
  font-weight: normal;
  line-height: 2.6rem;
  text-transform: none;
}
.s1x3 h3 {
  color: var(--dark);
  font-weight: normal;
  line-height: 3.6rem;
  text-transform: none;
}
.s1x3 h5 {
  color: var(--primary);
  font-weight: lighter;
}
.button_xl {
  background-color: var(--primary);
  color: var(--normal);
  padding: 1rem 5rem;
  border-radius: 5rem;
  border: 0;
  font-weight: bold;
}

.light > h1 {
  color: var(--dark);
}

.img20 {
  width: 20%;
}

/* Social Icons Container */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
}

/* Individual Icon Styling */
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0.01rem solid #fff; /* white border */
  border-radius: 0rem; /* rounded corners */
  color: #fff; /* text color */
  font-size: 24px; /* icon font size */
  text-decoration: none; /* remove underline */
  transition: all 500ms ease;

  color: var(--gray);
  border-radius: 0rem;
}

/* Hover effect */
.icon:hover {
  border-radius: 0.4rem;
  border: 0.01rem solid var(--primary);
  /* rounded corners */
  background-color: #ff6a00; /* --primary color on hover */
  color: #020d26; /* --dark color for icon on hover */
}

/* Individual icons (optional for custom styles) */
.facebook::before {
  content: "f";
}
.twitter::before {
  content: "t";
}
.linkedin::before {
  content: "in";
}
.pinterest::before {
  content: "p";
}
#map {
  height: 30rem;
}
/* Go Up button styling */
#goUpButton {
  position: fixed;
  bottom: 6rem;
  right: 3rem;
  display: none; /* Initially hidden */
  background-color: #ff6a00; /* --primary color */
  color: #fff;
  border: none;
  border-radius: 0.2rem;
  padding: 0.5rem;
  font-size: 2rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

#goUpButton:hover {
  background-color: #e65a00; /* Darker shade on hover */
}
/* Footer Zone */
footer {
  /* font-family: "Barlow Condensed", sans-serif; */
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  font-size: 0.9rem;
}
#footer_menu {
  padding: var(--padding);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  background-color: var(--dark);
  color: var(--normal);
  font-size: 0.9rem;
}
#footer_menu h5 {
  margin-bottom: 1rem;
}
#footer_menu .column {
  color: var(--gray2);
  list-style-type: none;
  padding: 0;
  position: relative; /* To position the vertical line */
  margin: 0;
}
/* Vertical line in each column */
#footer_menu .column::before {
  content: "";
  position: absolute;
  left: 0px; /* Position from the left edge of the column */
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--normal); /* Line color */
}

/* List items with left divider */
#footer_menu .column li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  font-weight: normal;
}

/* Left divider line for each item */
#footer_menu .column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background-color: var(--normal); /* Line color */
}

/* Container styling */
#footer_menu .input-container {
  position: relative;
  width: auto; /* Adjust as needed */
  background-color: var(--darker); /* Dark background color */

  padding: 5px;
  display: flex;
  align-items: center;
  margin-top: 1rem;
  border-radius: 1rem;
}

/* Input field styling */
#footer_menu .input-container input {
  background: none;
  border: none;
  color: var(--normal); /* White text color */
  width: 100%;
  padding: 10px;
  padding-left: 10px; /* Adjust padding to fit the icon */
  font-size: 1em;
  border-radius: 1rem;
  outline: 3px dashed var(--primary);
}

/* Icon styling */
#footer_menu .input-container .icon2 {
  position: absolute;
  right: 20px;
  color: var(--primary); /* Icon color */
  font-size: 2em;
  pointer-events: none;
  top: 0px;
}

.footer-title {
  font-size: 2rem;
  font-family: "Barlow Condensed", sans-serif;
}
.footer-txt {
  font-size: 1rem;
}
footer span.heading {
  margin-bottom: 1rem;
  width: 80%;
}

#copyright {
  width: 100%;
  padding: var(--padding);
  background-color: var(--darker);
}
#copyright a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: var(--normal);
  text-decoration: none;
  font-size: 1rem;
}
