/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #2c3e50;
  font-weight: 600;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  color: #2980b9;
}

/* Header */
header {
  background: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 120px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #3498db;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: #2c3e50;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeIn 2s ease-in-out;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  animation: fadeIn 3s ease-in-out;
}

.cta-button {
  background: #3498db;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #2980b9;
  transform: scale(1.05);
}

/* About Section */
.about {
  padding: 80px 0;
  text-align: center;
  background: white;
}

.about h2 {
  margin-bottom: 20px;
}

/* Services Section */
.services {
  background: #f4f4f4;
  padding: 80px 0;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card i {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-us {
  padding: 80px 0;
  text-align: center;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.why-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.why-card canvas {
  max-width: 100%;
  height: auto;
}

/* Clients Section */
.clients {
  background: #f4f4f4;
  padding: 80px 0;
  text-align: center;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.client-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.client-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Awards Section */
.awards {
  padding: 80px 0;
  text-align: center;
  background: white;
}

.award-slideshow {
  max-width: 800px;
  margin: 0 auto;
}

.award-slideshow img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
  background: #f4f4f4;
  padding: 80px 0;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content i {
  color: #3498db;
  font-size: 2rem;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-top: 20px;
}

/* Call-to-Action Banner */
.cta-banner {
  background: #3498db;
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  text-align: center;
  background: white;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

#contact-form input, #contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#contact-form button {
  background: #3498db;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

#contact-form button:hover {
  background: #2980b9;
  transform: scale(1.05);
}

/* Slideshow Section with 3D Transitions */
/* Slideshow Section with Text Overlay */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  perspective: 1000px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  transform-style: preserve-3d;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
  transform: rotateY(0deg);
  backface-visibility: hidden;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
}

.slide-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  animation: fadeIn 2s ease-in-out;
  color:white;
}

.slide-text p {
  font-size: 1.5rem;
  animation: fadeIn 3s ease-in-out;
}

.slideshow-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slideshow-controls button {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.slideshow-controls button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.slideshow-controls button i {
  font-size: 1.5rem;
  color: #2c3e50;
}
/* Contact Section */
.contact {
  padding: 80px 0;
  text-align: center;
  background: white;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

#contact-form {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form input,
#contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#contact-form button {
  background: #3498db;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

#contact-form button:hover {
  background: #2980b9;
  transform: scale(1.05);
}

.map-container {
  flex: 1;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  #contact-form,
  .map-container {
    max-width: 100%;
  }
}
/* Footer */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Slideshow Text Overlay */
.slide-text h2 {
  font-size: 2.5rem; /* Default size for larger screens */
  margin-bottom: 10px;
  animation: fadeIn 2s ease-in-out;
}

.slide-text p {
  font-size: 1.5rem; /* Default size for larger screens */
  animation: fadeIn 3s ease-in-out;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .slide-text h2 {
    font-size: 1.8rem; /* Smaller size for mobile */
  }

  .slide-text p {
    font-size: 1.2rem; /* Smaller size for mobile */
  }
}

@media (max-width: 480px) {
  .slide-text h2 {
    font-size: 1.5rem; /* Even smaller size for very small screens */
  }

  .slide-text p {
    font-size: 1rem; /* Even smaller size for very small screens */
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}