@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #F8F5F5;
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color:black;
  min-height: 100vh;
}

/* Animated Background */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color:white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background:black;
  margin: 4px 0;
  transition: 0.4s;
}

/* Navigation Links */
.all-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.all-links li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s;
}

.all-links li a:hover {
  color: #ffcc00;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .all-links {
    position: absolute;
    top: 70px;
    left: -100%;
    flex-direction: column;
   background-color: #717171;
    width: 100%;
    transition: left 0.3s ease-in-out;
    padding: 1rem 0;
  }

  .all-links.active {
    left: 0;
  }
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.social-icons {
  text-align: right;
  
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  display: inline-block;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #08f328;
}



header a, footer a {
  margin-left: 40px;
  text-decoration: none;
  color: #140202;
  height: 100%;
  padding: 20px 0;
  display: inline-block;
}

header a:hover, footer a:hover {
  color: #08f328;
}
/* Top Heading of Every Component */
.A1 {
    background: rgba(245, 247, 246, 0.2); /* Light transparent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(115, 117, 115, 0.3);
   
    box-shadow: 0 4px 6px rgba(0, 100, 0, 0.1);
    
    display: flex;
    align-items: center; /* Vertically center */
    justify-content: flex-start; /* Horizontally left */
    padding: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* Section Title */
.A1 h2 {
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: black;
    position: relative; /* Required for ::after underline */
    margin: 30px;
   
    text-align: left;
    display: inline-block; /* Important to fit underline exactly */
}

/* Underline */
.A1 h2::after {
    content: '';
    display: block;
    height: 3px; /* Thickness of underline */
    background-color: rgba(0, 0, 0, 0.7); /* Slightly dark underline */
    width: 100%; /* Exactly the width of text */
    margin-top: -5px; /* Space between text and underline */
}

.services {
    text-align: center;
    background: rgb(248, 245, 245);
    color: rgb(7, 6, 6);
    padding: 60px 20px;
  }
  
  .services .cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 80%;
    margin: auto;
  }
  
  .services .cards .card {
    display: flex;
    flex-direction: row; /* Stack content vertically */
    align-items: flex-start;    /* Center horizontally */
    justify-content: space-between;
    width: 100%;
    padding: 30px;
    background: rgb(172, 219, 206);
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    gap: 40px; /* Reduce gap for tighter spacing */
  }
  
  .services .cards .card img {
    width: 40%;       /* Makes image responsive (adjusts to card width) */
    max-width: 400px;  /* Prevents excessive stretching */
    height: auto;      /* Maintains aspect ratio */
    border-radius: 10px;
    object-fit: cover; /* Adds space below the image */
  }
  .services .cards .card .text-content{
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .services .cards .card h3 {
    margin:0 0 15px 0;         /* Remove default margins */
    font-size: 28px;
    text-align: left;
    text-decoration: underline;
    font-weight: bold;
    
         /* Ensures h3 comes after p (if p is order: 1) */
  }
  
  .services .cards .card p {
    font-size: 24px;
    line-height: 1.5;
    
    text-align: left;
    margin: 0;
     
    
  }
  
  /* Hover effect */
  .services .cards .card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  }

  

  


/*Footer CSS part*/
footer {
    background: #000; /* Black Background */
    color: white; /* White Text */
    padding: 40px 0;
    font-size: 14px;
  }
  
  .footer-top {
    padding-bottom: 30px; /* Fixed padding issue */
    background-color: #000; /* Black */
  }
  
  .footer-top .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .address-section, .contact-section {
    width: 48%;
    padding: 20px;
  }
  
  .address-section {
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-weight:bold;
  
  }
  
  .contact-section {
    text-align: right;
    gap: 5px;
  }
  
  .contact-section h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color:white; /* White Text */
    
  }
  
  .address-section h4{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color:white; /* White Text */
    
  }
  
  
  
  .contact-section a {
    color: #0bec1e; /* Yellow for visibility */
    text-decoration: none;
  }
  
  .contact-section a:hover, .address-section a:hover {
    text-decoration: underline;
  }
  
  .container-1 {
    background-color: #000; /* Black */
  }
  
  .copyright {
    background: #000; /* Black */
    text-align: center;
    color: white;
    padding: 10px;
    border-top: 1px solid #444;
  }
  
  .credits {
    background: #000; /* Black */
    text-align: center;
    color: white;
    font-size: 13px;
  }
  
  .credits a {
    color: #0bec1e; /* Yellow */
    text-decoration: none;
  }
  
  .credits a:hover {
    text-decoration: underline;
  }
  
  /* Footer section */
  
  
  @media (max-width: 768px) {
  .services .cards .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .services .cards .card img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .services .cards .card .text-content {
    width: 200%;
    margin-top: 20px;
  }

  .services .cards .card h3,
  .services .cards .card p {
    
    font-size: small;
  }
}
