@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --background-color: hsl(240, 3%, 23%);
  --alternate-background-color: rgb(131, 46, 160);
}

/* General Styles */
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  background-color: var(--background-color);
  color: white;
}

/* General Navbar Styling */
.navbar {
  font-size: large;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  justify-content: center;

  background-color: transparent;
  transition: background-color 0.3s ease;
}

.navbar.solid {
  background-color: black;
  /* Example solid background */
}

.navbar.burger-solid {
  background-color: black;
  /* Example solid background */
}

.no-scroll {
  animation-delay: calc(1 * -1s);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left and Right Logos */
.nav-logo-left,
.nav-logo-right {
  display: flex;
  align-items: center;
  padding: 0rem 5rem;
}

.nav-logo {
  height: 60px;
  /* Adjust the size of the SVG logos */
  width: auto;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  /* Space between links */
  justify-content: center;
  margin: 0;
}

.nav-links li {
  margin: 0;
  float: left;
}

.nav-links a {
  text-decoration: none;
  color: #f4f4f4;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: hsl(0, 0%, 60%);
  /* Highlight color on hover */
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-logo-right {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
    height: 60px;
  }

  .nav-logo-left {
    position: absolute;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
  }

  .burger-menu {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 1rem;
}

.burger-menu span {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* Keyframes for slide-in animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Keyframes for slide-out animation */
@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Mobile Navigation Links */
.nav-links-mobile {
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: black;
  position: absolute;
  top: calc(60px + 2rem);
  width: 100%;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  /* Prevent interaction when hidden */
  align-items: center;
  /* Center the links */
}

.nav-links-mobile li {
  text-align: center;
  padding: 1rem 0;
  /* Add gap between links */
}

.nav-links-mobile a {
  text-decoration: none;
  color: #f4f4f4;
  /* Set link color to white */
  transition: color 0.3s ease;
}

.nav-links-mobile a:hover {
  color: hsl(0, 0%, 60%);
  /* Highlight color on hover */
}

.nav-links-mobile.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  /* Allow interaction when visible */
  animation: slideDown 0.3s forwards;
}

.nav-links-mobile.inactive {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  /* Prevent interaction when hidden */
  animation: slideUp 0.3s forwards;
}

/* Show burger menu and hide other elements on mobile */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-logo-right {
    display: none;
  }
}

/* Toggle mobile menu */
.nav-links-mobile.active {
  display: flex;
  animation: slideDown 0.3s forwards;
}

.nav-links-mobile.inactive {
  animation: slideUp 0.3s forwards;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('img/hero.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-attachment: inherit;
  background-size: inherit;
  background-position: inherit;
  /* filter: blur(2px); */
  z-index: 0;
}

/* Optional overlay for better text contrast */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(288, 100%, 7%, 0.4);
  /* Semi-transparent black overlay */
  z-index: 1;
}


.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text>h1 {
  font-size: 3rem;
  margin-bottom: 0rem;
}

.hero-text>p {
  font-size: 18px;
  font-weight: 500;
  margin-top: 0rem;
}

/* Content Section */
.content {
  padding: 0rem;
  background-color: var(--background-color);
  text-align: center;
}

content>div>* {
  padding: 2rem;
}

.content h2 {
  margin-bottom: 1rem;
}

.content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* About Section */
.about-section {
  overflow-x: hidden;
  background-color: var(--alternate-background-color);
}

/* Grid layout for About Us section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  padding: 8rem 15rem 3rem 15rem;
  /* Add padding to the left and right */
}

/* Heading section */
.about-heading {
  text-align: right;
  align-items: flex-start;
  /* Align text to the right for the heading */
}

.about-heading h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  font-style: normal;
}

/* Text section */
.about-text {
  align-items: center;
  text-align: left;
  max-width: 80%;
}

.about-text p {
  margin: 0 0 1rem;
  /* Add space between paragraphs */
  line-height: 1.5;
  /* Better readability */
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1rem;
    text-align: center;
  }

  .about-heading {
    text-align: center;
  }

  .about-text {
    text-align: center;
    max-width: fit-content;
  }
}

/* SVG Transition */
.transition-svg {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.transition-svg svg {
  background-color: var(--alternate-background-color);
  position: relative;
  display: block;
  width: 100%;
  height: 150px;
}

.transition-svg path {
  fill: var(--background-color);
}

/* Services Section */
.services-section {
  padding: 4rem 0rem;
  background-color: var(--background-color);
  color: white;
  text-align: center;
}

.services-section h2 {
  padding: 0 2rem;
  font-size: 42px;
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  margin-bottom: 4rem;
  margin-top: 6rem;
  margin-left: 2rem;
  text-align: left;
}

.services-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.services-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.services-wrapper {
  width: 100%;
  max-width: 1200px;
}

.glide__track {
  width: 100%;
}

.glide__slides {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.glide__slide {
  display: flex;
  justify-content: center;
}

.glide__arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.glide__arrow {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  pointer-events: auto;
  transition: background 0.3s ease;
}

.glide__arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.glide__arrow--left {
  margin-left: 20px;
}

.glide__arrow--right {
  margin-right: 20px;
}

.service-item {
  word-wrap: break-word;
  list-style: none;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  align-items: center;

}

.service-item img {
  width: 100%;
  max-width: 300px;
  height: calc(300px * (2 / 3));
  border-radius: 8px;
  object-fit: cover;
  object-position: center;

}

.service-item div {
  max-width: 300px;
}

.service-item h3,
.service-item p {
  width: 100%;
  max-width: 300px;
  text-align: left;
  white-space: normal;
}

.service-item h3 {
  font-size: 20px;
  margin: 1rem 0 0.5rem;
}

.service-item p {
  font-size: 1rem;
  color: hsl(0, 0%, 80%);
  margin: 0;
}

@media (max-width: 922px) {

  .services-section h2 {
    margin-left: 0;
    text-align: center;
  }

  .services-center {
    padding: 0;
  }

  .service-item {
    align-items: flex-start;
    text-align: start;
    padding: 0 0.5rem;
  }

  .service-item h3,
  .service-item p {
    text-align: center;
  }

  .glide__arrow {
    display: none;
  }
}

@media (max-width: 650px) {
  .service-item {
    padding: 0;
    align-items: center;
  }

  .services-center {
    padding: 0;
  }
}

/* Services Transition Image */

.transition-parallax-container {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.services-transition-img {
  position: relative;
  ;
  height: 50vh;
  min-width: 100%;
  max-width: 100%;
  overflow: hidden;
  line-height: 0;
  object-fit: cover;
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  background-color: var(--alternate-background-color);
  color: white;
  min-height: 60vh;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  text-align: left;
}

.contact-info h2 {
  font-size: 48px;
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  margin-bottom: 2rem;
  color: white;
  text-align: left;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.contact-item {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.3rem;
}

.contact-item.vertical {
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.contact-item label {
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  min-width: fit-content;
}

.contact-item span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: rgba(255, 255, 255, 0.3) !important;
}

.contact-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.social-links {
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

.contact-form {
  padding: 0;
  background: none;
  display: flex;
  flex-direction: column;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group .form-row {
  margin-bottom: 0;
}

.form-group .form-row .form-group label {
  font-weight: 400;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: white;
  font-size: 1rem;
  text-align: left;
}

.required {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.3rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  background: #888;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 1rem;
  align-self: flex-start;
  text-align: left;
}

.contact-form button:hover {
  background: #666;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-info h2 {
    font-size: 36px;
    text-align: center;
  }
  
  .contact-details {
    text-align: center;
    align-items: center;
  }
  
  .contact-item {
    justify-content: center;
  }
  
  .contact-item.vertical {
    align-items: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-section {
    padding: 2rem 1rem;
  }
}

/* Footer */
.footer {
  background-color: var(--background-color);
  padding: 2rem 0;
  color: white;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.footer-social-icon:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
}