/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  /* Navigation */
  nav {
    position: sticky;
    top: 0;
    background-color: #333;
    z-index: 999;
  }
  nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
  }
  nav ul li {
    margin: 10px 20px;
  }
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  nav ul li a:hover {
    color: #1e90ff;
  }
  
  /* Header */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    background-color: #f4f4f4;
    flex-wrap: wrap;
  }
  .header-content {
    max-width: 50%;
    margin-top: -60px;
  }
  .header-content h1 {
    font-size: 2.5em;
  }
  .header-content p {
    margin: 10px 0;
    font-size: 1.2em;
  }
  .header-content a {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }
  .header-content a:hover {
    background-color: #0056b3;
  }
  .header-image {
    max-width: 45%;
  }
  .header-image img {
    width: 100%;
    border-radius: 10px;
  }
  
  /* Sections */
  section {
    padding: 60px 20px;
    text-align: center;
  }
  .about, .services, .portfolio, .testimonials, .contact {
    max-width: 1000px;
    margin: auto;
  }
 
  .services ul {
    list-style: none;
    padding: 0;
  }
  .services li {
    margin: 15px 0;
    font-size: 1.2em;
  }
  .services i {
    margin-right: 10px;
    color: #007BFF;
  }

    .about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333; /* Optional: styled heading */
  }
  
  .about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
  }
  
  /* Slider */
  .slider {
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 10px;
  }
  .slides {
    display: flex;
    animation: slide 12s infinite;
  }
  .slides img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
  }
  @keyframes slide {
    0% { transform: translateX(0%); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0%); }
  }
  
  /* Testimonials */
  .testimonial {
    margin: 20px auto;
    max-width: 700px;
  }
  .testimonial p {
    font-style: italic;
  }
  .testimonial strong {
    display: block;
    margin-top: 10px;
    color: #444;
  }
  
  /* Contact Form */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 30px;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .contact-form button {
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
  }
  .contact-form button:hover {
    background-color: #0056b3;
  }
  .contact-details i {
    margin-right: 8px;
  }
  .social-icons {
    margin-top: 20px;
  }
  .social-icons a {
    margin: 0 10px;
    font-size: 1.5em;
    color: #007BFF;
    transition: color 0.3s;
  }
  .social-icons a:hover {
    color: #0056b3;
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
  }

  /* Services Section */
.services {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.service-item {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #007BFF;
}

.service-item i {
  margin-right: 8px;
}

.service-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive Grid Layout */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}


  nav a.active {
    font-weight: bold;
    color: #007BFF;
    border-bottom: 2px solid #007BFF;
  }
  
  /* Navbar styles */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
  }
  
  .logo img {
    height: 60px; /* increase as needed */
    width: auto;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #007BFF;
  }
  
  .hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
  }

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #fff;
    width: 200px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}


/* Reset some defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo styling */
.logo img {
  height: 80px;
  width: 100px;
  object-fit: contain;
}

/* Nav links list */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

/* Individual links */
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #007BFF;
}

/* Hamburger menu button */
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    display: none;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

.newsletter {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.newsletter h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.newsletter p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #0056b3;
}

.success-message {
  background-color: #e6ffe6; /* Light green */
  color: #2e8b57; /* Sea green */
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #8fbc8f; /* Dark sea green */
  text-align: center;
}

.error-message {
  background-color: #ffe6e6; /* Light red */
  color: #b22222; /* Firebrick */
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #cd5c5c; /* Indian red */
  text-align: center;
}

.hidden {
  display: none;
}

#contact-message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
}

/* Portfolio Section */
.portfolio {
  padding: 50px 20px;
  text-align: center;
}

.portfolio h2 {
  margin-bottom: 30px;
}

.portfolio-container {
  position: relative;
  max-width: 800px; /* Adjust as needed */
  margin: 0 auto;
}

.portfolio-slider {
  overflow-x: hidden; /* Hide horizontal overflow */
}

.portfolio-slides {
  display: flex;
  transition: transform 0.8s ease-in-out; /* Smooth scrolling */
}

.portfolio-item {
  min-width: 100%; /* Each item takes full width */
  box-sizing: border-box; /* Include padding/border in width */
  padding: 10px; /* Add some spacing around images */
}

.portfolio-item img {
  width: 100%; /* Make images fill their container */
  height: auto;
  display: block; /* Remove extra space below image */
}

.portfolio-scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333; /* Adjust as needed */
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1.2em;
  outline: none;
}

.portfolio-scroll-button.left {
  left: 0;
}

.portfolio-scroll-button.right {
  right: 0;
}


  
  