/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
  }
  
  /* Navbar Styles */
  .navbar {
    display: flex;
    position: sticky;
    justify-content: flex-end;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: top 0.3s ease;

  }
  
  .navbar ul {
    list-style: none;
    display: flex;
  }
  
  .navbar li {
    margin-left: 20px;
  }
  
  .navbar a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .navbar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background-color: #E5EDF1;
    
    color: white;
}
  
  
  .navbar-links {
 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    background-color: black;
    color: white;
  }
  .logo {
    font-size: 1.5em;
    font-weight: bold;
    align-items: left;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    padding: 8px 12px;
    cursor: pointer;
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.nav-link:hover {
    background-color: #555;
    border-radius: 2px;
}
  

/* Hero Section Styling */
#header {
  position: relative;
  padding: 20px;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #6a0dad; /* Purple background for hero section */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  position: relative;
  padding: 20px;
}

/* Text Styling */
.header-text {
  flex: 1;
  color: #fff;
  z-index: 2;
  position: relative;
  max-width: 600px;
  margin-right: -100px; /* Overlap effect */
}

.header-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.header-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Image Styling */
.header-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.header-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateX(50px); /* Slight overlap effect */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.header-image img:hover {
  transform: translateX(0);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .header-text {
      font-size: 1.8rem;
      padding: 15px;
    }
    .header-container {
      flex-direction: column;
    }
  }
  
  
  .purple-line {
    width: 100%;
    height: 5px;
    background-color: #6a0dad;
    margin: 20px 0;
  }
  
  /* About Section */
  #about {
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .hero-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }

  /* Scrolling Message Bar */
.scrolling-message {
    background-color: #2e0854;
    color: #fff;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.scrolling-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
}
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
  
/* Services Section */
#services {
    padding: 60px 20px;
    background: linear-gradient(135deg, #bfefff, #6a0dad);
    color: #333;
}

.solutions-section {
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.solution-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: center;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.solution-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.solution-item h3 {
    margin: 15px 0;
    color: #6a0dad;
}
  
  /* Testimonials Section */
  #testimonials {
    background-color: #ddd;
    padding: 40px 20px;
  }
  
  .testimonial-section {
    text-align: center;
  }
  
  .testimonial-container {
    max-width: 800px;
    margin: auto;
  }
  
  .testimonial {
    display: none;
    font-size: 1.2rem;
  }
  
  .testimonial.active {
    display: block;
  }
  
  .dots {
    margin-top: 20px;
  }
  
  .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .dot.active {
    background-color: #6a0dad;
  }
  
  /* Contact Section */
  #contacts {
    padding: 50px 20px;
    background-color: #fff;
  }
  #contacts h3{
    color: #6a0dad;

  }
  .contact-us-section {
    max-width: 800px;
    margin: auto;
  }
  
  .contact-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .contact-columns {
    display: flex;

    flex-direction: row;
    gap: 30px;
    margin: 20px 0;
  }
  
  .column {
    flex: 1;
    text-align: center;
  }
  
  /* Map */
  iframe {
    width: 100%;
    height: 400px;
    border: none;
    margin-top: 20px;
  }
  
 /* Footer */
footer {
    background: #6a0dad;
    color: #fff;
    padding: 30px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #bfefff;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 20px;
}

.scroll-to-top a {
    display: inline-block;
    color: #bfefff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.scroll-to-top a:hover {
    transform: translateY(-5px);
}
  
  /* Media Queries */
  @media (max-width: 768px) {
    .header-container,
    .contact-container,
    .solutions-grid {
      flex-direction: column;
      align-items: center;
    }
    #header {
      height: auto;
      padding: 40px 20px;
  }
  
  .header-container {
      flex-direction: column;
  }

  .header-text {
      margin-right: 0;
      text-align: center;
      max-width: 100%;
  }

  .header-text h1 {
      font-size: 2.5rem;
  }

  .header-text p {
      font-size: 1rem;
  }

  .header-image {
      margin-top: 20px;
  }

  .header-image img {
      transform: translateX(0);
      width: 100%;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
    .contact-us-section {
        background-color: white;
        padding: 50px 0;
        text-align: center;
    }
    
    .contact-container h2 {
        font-size: 2.5rem;
        color: #3a0d66;
        margin-bottom: 40px;
    }
    
    .contact-columns {
        display: flex;
        justify-content: space-around;
align-items: center;
        max-width: 500px !important;
        margin: 0 auto;
    }
    .column {
        text-align: left;
    }
    
    .column h3 {
        color: #3a0d66;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .column p {
        color: #555;
        font-size: 1rem;
        margin-bottom: 5px;
    }
    .contact-columns {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .column {
        max-width: 100%;
        text-align: center;
    }
    
    .contact-container h2 {
        font-size: 1.8rem;
    }
    
    .column h3 {
        font-size: 1.2rem;
    }
    
    .column p {
        font-size: 0.95rem;
    }
    .header-text h1 {
      font-size: 2rem;
    }
  
    .solution-item {
      width: 100%;
      max-width: none;
    }
  }
  
  @media (max-width: 480px) {
   
  .navbar {
    padding: 2px; /* Compact padding for mobile */
}

.navbar-links {
    gap: 8px; /* Further reduce gap on mobile */
}

.nav-link {
    font-size: 0.75em; /* Smaller font for links on mobile */
    padding: 2px 1px; /* Minimal padding */
}
    .header-text h1 {
      font-size: 1.8rem;
    }
  
    .testimonial-section {
      padding: 20px;
    }
  }
  