/* Google fonts*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap");

/*Helpers & reset*/
:root {
  --c--brand: #800000;
  --c--dark: #ef6719;
  --c--body: #243010;
  --c-light: #b5e9d2;
  --f-base: "poppins", sans-serif;
  --n-height: 100px;
}

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: content-box;
}

html {
  scroll-behavior: smooth;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

body {
  color: var(--c--body);
  font-family: var(--f-base);
  line-height: 1.8;
  font-weight: 400;
  font-size: 16px;
  margin: auto;
  cursor: cell;
  min-height: 100vh;
}
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .container {
    width: 100%;
  }
}
.custom-cursor {
  cursor: url(".../Assets/images/custom-cursor1.png"), auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--c--dark);
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 400;
}

.heading-xl {
  font-size: clamp(44px, 6vw, 100px);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}
.heading-1 {
  font-size: clamp(32px, 6vw, 54px);
}

.heading-2 {
  font-size: clamp(28px, 4vw, 36px);
}

.heading-3 {
  font-size: 20px;
}

a {
  color: var(--c--dark);
  text-decoration: none;
  transition: all 0.4s ease-in-out;
}

a:hover {
  color: var(--c--brand);
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

section {
  padding: 140px 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  /* background-color: aquamarine;*/
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 600px) {
  .item {
    flex: 1 1 48%;
  }
}
.btn {
  display: inline-block;
  background-color: transparent;
  border: 1px solid var(--c--brand);
  font-family: var(--f-base);
  padding: 16px 34px;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  font-size: 14px;
}

.btn:hover {
  background-color: var(--c--brand);
  color: white;
}

/*loader*/
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: black;
  border-radius: 50%;
}
.ring {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  box-shadow: 0 4px 0 #262626;
  background: transparent;
  animation: ring 2s linear infinite;
}

.ring:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  border-radius: 50%;
  height: 100%;
  width: 100%;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

@keyframes text {
  50% {
    color: black;
  }
}
.text {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  color: #737373;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 200px;
  font-size: 13px;
  background: transparent;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  animation: text 3s ease-in-out infinite;
}

@keyframes ring {
  0% {
    transform: rotate(0deg);
    box-shadow: 1px 5px 2px #e65c00;
  }
  50% {
    transform: rotate(180deg);
    box-shadow: 1px 5px 2px #18b201;
  }
  100% {
    transform: rotate(360deg);
    box-shadow: 1px 5px 2px #0456c8;
  }
}
.loader {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #16191e;
  position: absolute;
}

/* Navbar */
.navbar {
  background-color: var(--c--dark);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--n-height);
  display: flex;
  padding: 0 24px;
  align-items: center;
  z-index: 999;
}
.tag {
  color: var(--c--body);
  font-family: var(--f-base);
  font-size: 13px;
  position: relative;
  justify-content: center;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-top: -9px;
  text-wrap: nowrap;
}
.navbar .container {
  display: contents;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center; /* Align items to the left */
  margin-right: auto;
  width: 100%;
}
.brand {
  color: var(--c--dark);
  font-size: 20px;
  margin-right: 0px;
  margin-left: 0px;
  padding-right: -3px;
  line-height: 3;
}

.brand img {
  margin-top: 15px;
  margin-left: 10px;
  width: 200px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  text-wrap: nowrap;
  padding: 0.1em;
  letter-spacing: -0.5px;
}

.nav-links li:not(:last-child) {
  margin-left: 15px;
  margin-right: 10px;
}

.nav-links li.active a {
  box-shadow: 0 2px var(--c--brand);
}

.nav-links li a {
  display: block;
  color: white;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  text-align: justify;
  word-spacing: -3px;
  line-height: 3;
  margin-left: 3px;
}
.hidden {
  display: none;
}
.nav-links li a:hover {
  color: var(--c--brand);
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content li a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  display: none;
}

.hamburger span {
  display: block;
  width: 34px;
  height: 2px;
  background-color: white;
  margin: 8px auto;
  transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.scrolled {
  background-color: white;
}

.scrolled .brand {
  color: var(--c--dark);
}

.scrolled .nav-links li a {
  color: var(--c-dark);
}

.scrolled .nav-links li a:hover {
  color: var(--c--brand);
}

.scrolled .hamburger span {
  background-color: var(--c--dark);
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: var(--n-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    font-size: 16px;
    padding: 0 24px;
    transition: all 0.3s ease-in-out;
    height: 0;
    overflow: hidden;
    background-color: white;
    justify-content: center;
    box-sizing: border-box;
  }
  .nav-links li a {
    color: var(--c--dark);
  }

  .nav-links.active {
    height: 350px;
  }

  .nav-links li {
    padding: 1px 0;
  }

  .hamburger {
    display: block;
    margin: 20px 0;
    margin-left: 60px;
  }
}

/* Hero */
#hero {
  min-height: 100vh;
  background-image: url("https://img.freepik.com/premium-photo/attractive-happy-stylish-african-black-woman-working-laptop-computer-office-dreaming-about-weekend-vacation-positive-thinking-person-concept-office-life_129180-8700.jpg");
  background: linear-gradient(rgba(0, 0, 0, 0.2), (0, 0, 0, 0.2));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  place-content: center;
  color: white;
}

#hero h1 {
  color: white;
}
@keyframes scroll-to-down {
  0% {
    transform: translateY(30%);
    opacity: 0;
  }

  50% {
    transform: translateY(-30%);
    opacity: 1;
  }

  100% {
    transform: translateY(60%);
    opacity: 0;
  }
}

.scroll-to-down {
  width: 30px;
  height: 60px;
  display: grid;
  place-content: center;
  font-size: 24px;
  color: red;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.scroll-to-down .las {
  animation: scrolltodown 2s ease infinite;
}

.scroll-to-down:hover {
  color: var(--c--brand);
  border-color: var(--c--brand);
}
/* section title */
.section-intro {
  margin-bottom: 44px;
}
.welcome {
  width: 100%;
  max-width: auto;
  height: auto;
}
/*Grid*/
.grid {
  display: grid;
  gap: 44px;
}

.two-col-grid {
  grid-template-columns: repeat(2, 1fr);
}
.three-col-grid {
  grid-template-columns: repeat(3, 1fr);
}
.four-col-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid {
    gap: 16px;
  }
  .two-col-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .three-col-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/*service*/
#services .grid {
  gap: 0;
}
.service:nth-child(odd) {
  background-color: var(--c-light);
}

.service {
  padding: 44px;
}

.service p {
  font-size: 14px;
}

.service .icon {
  font-size: 38px;
  color: var(--c--brand);
}

/* project */
.project {
  position: relative;
  overflow: hidden;
  margin-left: 10px;
  margin-right: 10px;
}

.project img {
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}

.project .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px;
  display: flex;
  align-items: flex-end;
  transition: all 0.4s ease-in-out;
  opacity: 0;
}

.project .overlay-text {
  position: absolute;
  top: 10px; /* Adjust this for how high or low you want the text */
  left: 50%;
  transform: translate(-50%, 0);
  line-height: 1.2;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5); /* Keeps the text visible */
  width: 90%; /* Adjust width for better fit */
}

.project .overlay h2 {
  color: white;
}

.project .overlay p {
  color: rgba(255, 255, 255, 0.6);
}

.project:hover .overlay {
  opacity: 1;
  display: flex;
}

.project:hover .img {
  transform: rotate(15deg) scale(1.5);
  display: flex;
}

/* Blog */
#blog {
  background-color: var(--c-light);
  margin-right: 2px;
}

.blog-post h3 {
  margin-top: 16px;
}

/* About Section */
#about {
  background-color: white;
  padding: 50px 0;
}

.about-us {
  margin-top: 30px;
}

.about-us img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.team {
}
/* Style the Slideshow Container */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  height: 1000px; /* Ensure a consistent height for the slideshow */
}

/* Style individual slides */
.mySlides img {
  width: 100%;
  height: 100%; /* Adjust the image height to fill the container */
  object-fit: cover; /* Ensure the image fills the container without distortion */
}

/* Hide all slides by default */
.mySlides {
  display: none;
  width: 100%;
}

/* Animation for slides */
.slide {
  animation-name: slide;
  animation-duration: 1.5s;
}

@keyframes slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Style the navigation buttons (left and right) */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  font-size: 40px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  user-select: none;
  transition: 0.3s ease;
  transform: translate(0, -50%);
  z-index: 1;
}

/* Adjust position of "prev" button */
.prev {
  left: 0px;
  border-radius: 0 3px 3px 0;
}

/* Adjust position of "next" button */
.next {
  right: 30px; /* Move the right arrow to the far right edge */
  border-radius: 3px 0 0 3px;
}

/* On hover, add a background color to the controls */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

/* Responsiveness for smaller screens */
@media screen and (max-width: 768px) {
  .slideshow-container {
    height: 350px; /* Adjust height for smaller screens */
  }

  .prev,
  .next {
    width: 30px;
    height: 30px;
    font-size: 30px;
    padding: 10px;
  }
}

@media screen and (max-width: 480px) {
  .slideshow-container {
    height: 250px; /* Further reduce height for small screens */
  }

  .prev,
  .next {
    font-size: 24px;
    padding: 10px;
  }
}

/* Contact*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-intro {
  text-align: center;
}

.contact-img {
  width: 1200px;
  max-width: auto; /* Adjust this for larger screens */
  height: auto;
  margin-bottom: 20px;
  margin-left: 5px;
}

.google-form-embed {
  width: 700px;
  max-width: 100%;
  height: 400px;
  margin-left: 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .contact-img {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .google-form-embed {
    width: 350px;
    height: 400px;
  }

  h1.heading-2 {
    font-size: 1.5em;
  }
}

/* footer */
footer {
  padding: 60px 0;
  background-color: var(--c--brand);
}

footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer p,
footer a {
  color: white;
}

footer .social-icons a {
  font-size: 24px;
}

footer .social-icons a:not(:last-child) {
  margin-right: 24px;
}
/*Contact-testing*/
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #45a049;
}
