/* General Body */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#projects{
  margin-top: 5rem;
  text-align: center;

}
body{
    background-color: white;
    color:var(--main-color);
}
Button{
    background-color: limegreen;
    border: 0;
    border-radius: .45rem;
    padding: .5rem 1rem;
}

/* Variables */
:root{
    --main-color:#00AEEF;
    --accent-color:#6DBB4E;
    --light-blue:#60C1EC;
    --light-green:#339933;
}


/* Header */
Header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 15vh;
    /* color:Green; */
    border-bottom: 0.09px solid var(--accent-color) ;
}
.logo img{
    width: 15vh;
}
.nav ul{
    display:flex;
    gap:3rem;
    list-style-type: none;
    justify-content: space-around;
    
}
.nav ul li{
  font-size: 1.5rem;
}
.nav ul li a{
    text-decoration: none;
    color:var(--main-color);
    
}
.nav ul li a:hover{
    color: var(--light-blue);
    font-weight: 600;
}
.slogan{
    font-size: 3rem;
    color:var(--light-green);
    font-weight: 900;
}
.hero-text{
  text-align: center;
  font-size: 1.5rem;
  width: 50vw;
  color:black;
}
/* //////////////////////////////////// Hero Section Slideshow ////////////////////////////// */
.hero {
  position: relative;
  height: 100vh; /* or any height you prefer */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 1;
}

/* Background images container */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* adjust transparency */
  z-index: -1;
  animation: bg-slide 45s infinite ease-in-out;
}

/* Animation keyframes for switching images */
@keyframes bg-slide {
  0% {
    background-image: url('./Images/bg1.jpg');
  }
  25% {
    background-image: url('./Images/bg5.jpg');
  }
  50% {
    background-image: url('./Images/bg3.jpg');
  }
  75% {
    background-image: url('./Images/bg4.jpg');
  }
  100% {
    background-image: url('./Images/bg6.jpg');
  }
}
/* /////////////////////////////////////// END//////////////////////////////////////////////// */
.hero{
    display:flex;
    flex-direction: column;
    gap:1rem;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

.service{
    display:flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10rem;

}
.service-card{
    background-color: var(--accent-color);
    color:white;
    width: 20vw;
    height: 50vh;
    border: 2px solid white;
    text-align: center;
    align-content: center;
    padding: 0 1.5rem;
    font-size: large;
    position: relative;
    border-radius: 2rem;
}
/* .service-icon{
    width: 50px;
    filter:brightness(0) invert(1);
    
} */
.service-card {
  position: relative;
  padding-top: 3.5rem;
  /* background-color: #fff; */
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}



.icon-wrapper {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color); /* or your desired color */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1); /* makes black icon white */
}
.service-card {
  position: relative;
  padding-top: 3.5rem;
  /* background-color: #fff; */
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.service-card {
  margin: 20px 10px; /* horizontal spacing only */
  font-size: 1.7rem;
}

.service-card:hover {
  transform: scale(1.05);
  background-color: var(--light-green); /* subtle light color */
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.3);
}

.icon-wrapper {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color);
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.service-card:hover .icon-wrapper {
  background-color: var(--light-blue); /* darker blue on hover */
}
.title{
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top: 3rem;

}
.callToAction{
    background-color: var(--main-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5rem;
    padding:1rem;
    margin-top: 5rem;
    width: 100%;
    height: 60vh;
    font-size: 1.5rem;

}
.callToAction img{
    flex: 7;
    /* width: 250px; */

    opacity: calc(70%);
}
.imgage-box{
    width: 70%;
}
.image-box img{
    width:50vw;
    height: 50vh;
    object-fit: cover;
    display: block;
}
.callToAction-section{
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.callToAction-section button{
    margin-top: 1rem;
}
.aboutUs{
    display: Flex;
    justify-content: center;
    align-items: center;
    gap:1.5rem;
    padding:1rem;
    margin-top: 5rem;

}
.aboutUsTitle{
    
    font-size: 5rem;
    color:var(--main-color);
    transform: rotateZ(-90deg);
    text-wrap: nowrap;
}
.aboutUs p{
  width: 50%;
  font-size: 2rem;
  color: #339933;
}
.contact{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 350px;
  }
  h2 {
    color:var(--main-color);
    text-align: center;
    margin-bottom: 20px;
  }
  label {
    color:var(--main-color);
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
  }
  input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
  }
  textarea {
    height: 100px;
  }
  button {
    margin-top: 20px;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
  }
  button:hover {
    background-color: var(--light-green);
  }

  /* Social Media Buttons Styling */

  .social-icons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.social-icons .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: background 0.3s;
}

.linkedin { background: #0077b5; }
.youtube { background: #FF0000; }
.instagram { background: #E1306C; }
.facebook { background: #3b5998; }

.icon:hover {
  opacity: 0.8;
  cursor: pointer;
  transform: scale(1.05);
  transition: 0.3s ease;
}

footer{
  border-top: 1px solid var(--light-blue);
  text-align: center;
}
footer p{
  font-size: 1rem;
}

/* Modal for Join Us Button */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 50%;
    border-radius: 8px;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}


  /* ///////////////////////////////// */

  /* The Resposive CSS for Mobile Version */

  /* Responsive Styles for Mobile Devices */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    text-align: center;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .slogan {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 1rem;
  }
  .hero-text{
    font-size: 1rem;
  }

  .hero {
    height: auto;
    padding: 3rem 1rem;
    text-align: center;
  }

  .service {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .service-card {
    width: 80%;
    height: auto;
    padding: 2rem 1rem;
  }

  .callToAction {
    flex-direction: column;
    gap: 2rem;
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
  }

  .image-box img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
  }

  .callToAction-section {
    width: 100%;
  }

  .aboutUs {
    flex-direction: column;
    text-align: center;
  }

  .aboutUsTitle {
    transform: rotate(0deg);
    font-size: 3rem;
  }

  .contact {
    padding: 2rem 1rem;
    height: auto;
  }

  .contact-form {
    width: 100%;
    padding: 2rem 1rem;
  }

  .social-icons {
    top: auto;
    bottom: 10px;
    right: 10px;
    flex-direction: row;
    transform: none;
    gap: 10px;
  }

  .social-icons .icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .logo img {
    width: 60px;
  }
  .icon-wrapper {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color); /* or your desired color */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card{
  font-size: 1.2rem;
}
section .about-text{
  font-size: 1rem;
}
.service-card img{
  border-radius: none;
}
.service-icon {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1); /* makes black icon white */
}
}

/* Hamburger hidden by default */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: white;
    position: absolute;
    top: 70px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav.show {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav ul li {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .services {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    margin: 10px 0; /* Equal spacing top and bottom, zero on left/right */
    width: 90%;      /* Optional: makes cards look neat on mobile */
  }
}


