* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  background-image: url('/images/main\ back.jpg');
  background-size: contain;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar  for Large Devices Vertical */
.navbar {
  width: 250px;
  background-color: #1d354d;
  padding: 20px;
  border-radius: 8px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  transition: all 0.3s ease-in-out;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

.navbar-links {
  list-style-type: none;
  padding: 0;
}

.navbar-links li {
  margin: 20px 0;
}

.navbar-links li a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  display: block;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar-links li a:hover {
  background-color: #34495e;
  color: #ecf0f1;
}

.navbar-links li a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #e74c3c;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.navbar-links li a:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}
 .logo {
    padding-left: 20px;
   margin-top: 25px;
   width: 160px;
   border-radius: 25px;
   /* box-shadow: rgba(0, 150, 244, 0.888) 0 1px 36px; */
   box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
 }

/* Landing Page */
.landing-content {
  margin-left: 270px; /* Give space for  navbar */
  padding: 50px;
}

.hero {
  text-align: center;
  margin-top: 50px;
}

.hero h1 {
  font-size: 3rem;
  color: #2c3e50;
  
}

.hero p {
  font-family: 'Poppins';
  margin-top: 50px;
  font-weight: bold;
  font-size: 1.2rem;
}

 .cta-btn {
  font-family: 'Poppins';
  padding: 15px 30px;
  background-color: #e74c3c;
  color: white;
  font-size: 18px;
  border-radius: 15px;
  transition: background-color 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.cta-btn:hover {
  background-color: #c0392b;
}

/* Services Section */
.services {
  margin-top: 50px;
  text-align: center;
  font-family: 'Poppins';
}

.services h2 {
  font-size: 2.5rem;
  color: #2c3e50;
}

.service-cards {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}

.card {
  background-color: #ecf0f1;
  padding: 30px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  transition: transform 0.3s ease;
  background-image: url('/images/divImg.jpg');
  background-size: cover;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  font-size: 1.8rem;
  color: #2c3e50;
}

.card p {
  font-size: 1rem;
  color: #7f8c8d;
}

/* Mobile Responsive Styles Horizontal Navbar */
@media (max-width: 768px) {
  /* Horizontal Navbar for Small Devices */
  .navbar {
    position: static;
    width: 100%;
    height: auto;
    background-color: #34495e;
    border-radius: 0;
  }
  body {
    background-image: url('/images/divImg.jpg');
    background-size: cover;
  }

  .navbar-links {
    display: flex;
    justify-content: space-around;
    margin-top: 0;
    padding: 10px 0;
    background-color: #2c3e50;
    flex-wrap: wrap;
  }

  .navbar-links li {
    margin: 0;
  }

  .navbar-links li a {
    font-size: 16px;
    padding: 10px 20px;
  }

  .landing-content {
    margin-left: 0;
    padding: 20px;
  }

  .hero h1 {
    font-family: 'Poppins';
    font-size: 2rem;
    font-weight: bold;
  }

  .cta-btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 80%;
    margin-bottom: 20px;
  }
}

.logo-container {
  position: relative;
  
  &:before {
    content:  "";
    position: absolute;
    top:      calc( 100% - 2px );
    width:    50%;
    height:   4px;
    right: 300px;
    background-color: #cf000091;
    transform-origin: center center;
    transform: scaleX( 0 );
    animation: line-animation 7s ease infinite alternate; /*time for animation down 7s*/
  }
  
  h1#page-logo {
    font: bold 3rem 'Arial', sans-serif;
    color: #1b4f84;
    text-shadow: rgba(0, 0, 0, 0.623) 0.1em 0.1em 0.2em;
    animation: clip-path-reveal-1 7s ease infinite alternate;/*time for animation 7s*/
    font-family: 'Poppins';
  }
}

@keyframes line-animation {
  0% { transform: scaleX( 0 ); }
  15% { transform: scaleX( 0 ); }
  20%, 25% { transform: scaleX( 1 ); top: calc( 100% - 2px ); }
  50% { transform: scaleX( 1 ); top: 0px; }
  70% { transform: scaleX( 0.2 ); top: 0px; }
  80%, 100% { transform: scaleX( 0.2 ); top: 0px; }
}

@keyframes clip-path-reveal-1 {
  0%, 25% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%); }
  50% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
}

.animated {
  font-family: 'Popp-ins';
  font-size: 50px;
  font-weight: bold;
  color: #333;
  opacity: 0; 
  transform: translateY(100px); /* Start below the viewport */
  animation: slideUp 1.5s ease-out forwards;
}

/* Keyframes for the down to up animation */
@keyframes slideUp {
  0% {
      transform: translateY(100px); /* Start from below */
      opacity: 0; /* Invisible */
  }
  100% {
      transform: translateY(0); /* End at the normal position */
      opacity: 1; /* Fully visible */
  }
}


