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

body {
  font-family: Helvetica;
  background-color: #0e0e0e;
  color: #fff;
  overflow-x: hidden;
}



/* General Styles */
/* General Styles */
/* Default styles for larger devices */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background-color: none; /* Dark background for the header */
  color: #fff;
  position: relative;
}

.logo img{
  margin-left: 20px;
  width: 50%;
}

nav a {
  color: #fff;
  font-size: 14px;
  margin: 0 15px;
  text-decoration: none;
}

nav a:hover {
  color: #FF6B4D;
}

.quote-button1 {
  background-color: #d74426;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 0.8em;
  cursor: pointer;
  font-weight: bold;
}

.burger-menu {
  font-size: 3em;
  cursor: pointer;
  display: none;
  color: #f15638;
}

.burger-menu .bar {
  width: 35px;
  height: 5px;
  background-color: #f15638;
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Disable scrolling when nav-links is active */
.nav-links.active ~ body {
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Transform into "X" */
.burger-menu.active .top {
  transform: rotate(45deg) translate(10px, 10px);
}

.burger-menu.active .middle {
  opacity: 0;
}

.burger-menu.active .bottom {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navigation */
/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica;
  background-color: #171717;
  color: #fff;
  overflow-x: hidden;
}

/* General Styles */
/* General Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background-color: none; /* Dark background for the header */
  color: #fff;
  position: relative;
}

.logo img{
  margin-left: 20px;
  width: 50%;
}

nav a {
  color: #fff;
  font-size: 14px;
  margin: 0 15px;
  text-decoration: none;
}

nav a:hover {
  color: #FF6B4D;
}

.quote-button1 {
  background-color: #d74426;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 0.8em;
  cursor: pointer;
  font-weight: bold;
}

.burger-menu {
  font-size: 3em;
  cursor: pointer;
  display: none;
  color: #f15638;
}

.burger-menu .bar {
  width: 35px;
  height: 5px;
  background-color: #f15638;
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Disable scrolling when nav-links is active */
.nav-links.active ~ body {
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Transform into "X" */
.burger-menu.active .top {
  transform: rotate(45deg) translate(10px, 10px);
}

.burger-menu.active .middle {
  opacity: 0;
}

.burger-menu.active .bottom {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navigation */
@media (max-width: 600px) {
  .nav-links.active ~ body {
    overflow-x: hidden;
    overflow-y: hidden;
  }
  
  header {
    background-color: #141414;
  }

  .burger-menu {
    display: block;
  }

  .nav-links {
    visibility: hidden; /* Hidden initially */
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 80px;
    left: 0;
    background: linear-gradient(180deg, rgba(38, 38, 38) 50%, rgba(233, 68, 35, 0.9) 100%);
    width: 100%;
    height: 900px;
    padding: 40px 0;
    z-index: 10;
    opacity: 0; /* Hidden initially */
    transform: translateY(-100%); /* Start off-screen */
    transition: transform 600ms cubic-bezier(0.17, 0.04, 0.03, 0.94), opacity 0.5s ease, visibility 0s 600ms; /* Transition for sliding effect and fading */
    display: flex; /* Ensure it's flexbox */
    flex-direction: column; /* Make the links stack vertically */
    align-items: center; /* Center the links horizontally */
  }

  .nav-links.active {
    visibility: visible; /* Make it visible */
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Slide in from top */
    transition: transform 600ms cubic-bezier(0.17, 0.04, 0.03, 0.94), opacity 0.5s ease, visibility 0s 0s; /* Ensure visibility happens immediately */
  }

  .nav-links a {
    color: #fff;
    font-size: 1.2em; /* Adjust the size if needed */
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    margin: 10px 0; /* Space between links */
    text-decoration: none;
  }

  .nav-links a:hover {
    color: #FF6B4D; /* Hover effect */
  }
}

.bold-text {
  font-weight: bold;
  color: #fff;
}
/* Base styles */
/* Services Section */
.services {
padding: 50px;
  background-color: #0E0e00;
  color: #fff;
  padding: 40px 0 70px;
  text-align: center;

}

.services-header h2 {
  font-size: 3em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.services-header h3 {
  font-size: 2.8em;
  font-weight: normal;
  color: #e74c3c;
  margin-bottom: 30px;

}

.services-header p {
  font-size: 0.8em;
  color: #aaa;
  max-width: 1000px;
  margin: 0 auto 40px;
  line-height: 1.6;

}

.service-cards {

  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}



.hidden {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .services {
    margin-top: 0px;
  }

  .services-header h2 {
    margin: 0 30px;
  }
  .services-header {
    margin: 20px 30px;
  }
}



/* Shine Effect */
.service-card {
  background-color: #262626;
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  text-align: left;
  position: relative;
  overflow: hidden; /* Necessary for shine effect */
  border: 2px solid transparent;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
 
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.service-card:hover::before {
  left: 125%; /* Move shine effect across card */
  transition: 0.5s;
  
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #FF6B4D;
  background-color: #262B3B;
}


.icon {
  display: flex;
  justify-content: left;
  margin-bottom: 15px;
}

.icon img {
  width: 35px;
  height: auto;
  mix-blend-mode: overlay;
}

.service-card h4 {
  font-size: 1.1em;
  font-weight: bold;
  color: ; 
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9em;
  color: #aaa;
  line-height: 1.4;
}

.quote-button {
  background-color: #1335f5;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  font-weight: bold;
  margin-top: 40px;
  transition: background-color 0.3s;
}

.quote-button:hover {
  background-color: #e65a3b;
}


.professionals {
  background-color: #131313;
  color: #fff;
  padding: 40px 0 70px;
  text-align: center;

}

.professionals-header h2 {
  
  font-size: 3em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0;
}

.professionals-header h3 {
  font-size: 2.8em;
  font-weight: normal;
  color: #e74c3c;
  margin-bottom: 30px;

}

.professionals-header p {
  font-size: 0.8em;
  color: #aaa;
  max-width: 1000px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.professionals-cards {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
  flex-wrap: wrap; /* Allow wrapping of cards */
}

.card {
  margin: 30px;
  cursor: pointer;
  position: relative;
  width: 300px;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px black;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.10);
  border: #e65a3b solid 1px;
  background: rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 0; /* Ensures the overlay is always at the bottom */
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Aligns content to the bottom */
  padding: 20px;
  transition: bottom 0.3s;
}

.overlay h2 {
  font-weight: lighter;
  padding: 10px 20px;
  border-radius: 10px;
  border: #e65a3b solid 1px;
  background: rgba(0, 0, 0, 0.7);
  margin: 10px;
  color: #fff;
  font-size: 1.2rem;
}

.overlay p {
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7);
  margin: 10px 5px 70px;
  font-size: 0.8rem;
}

.overlay:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Media Query for smaller screens (tablets and mobile devices) */
@media screen and (max-width: 768px) {
  .professionals-header h3 {
    width:80%;
    text-align:center;
    margin: auto;
    font-size: 2rem;
  }

  .professionals-header p {
    width: 80%;
    text-align: center;
    margin: auto;
  }

  .professionals-cards {
    height: auto; /* Adjust the height for smaller screens */
    justify-content: flex-start; /* Align cards to the top */
  }

  .card {
    width: 80%; /* Cards take full width on very small screens */
    height: 250px; /* Reduce height of cards */
  }

  .card img {
    object-fit: cover;
    height: 250px; /* Adjust the height of the image */
  }

  .overlay h2 {
    font-size: 1rem; /* Make the heading smaller for mobile */
  }

  .overlay p {
    font-size: 0.75rem; /* Adjust paragraph font size */
    margin: 10px 5px; /* Adjust margin for smaller screens */
  }
}