/* General Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: #000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.3s ease;
  animation: applyBlur 0.5s forwards;
}

@keyframes applyBlur {
  from { backdrop-filter: blur(0px); }
  to { backdrop-filter: blur(10px); }
}

@-webkit-keyframes applyBlur {
  from { -webkit-backdrop-filter: blur(0px); }
  to { -webkit-backdrop-filter: blur(10px); }
}

.header.scrolled {
  background: rgba(0, 123, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* Navigation Menu */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Poppins', Arial, sans-serif;
  padding: 8px 12px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 4px;
  left: 12px;
  background: #ffdd57;
  transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a:focus::after {
  width: calc(100% - 24px);
}

.nav-list li a:hover,
.nav-list li a:focus {
  color: #ffdd57;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transform: translateY(-2px);
  outline: none;
}

.nav-list li a.active {
  color: #ffdd57;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  font-weight: 600;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 30px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
  }

  .nav-list.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-list li {
    margin: 20px 0;
    text-align: center;
  }

  .nav-list li a {
    font-size: 1.5rem;
    padding: 15px 20px;
    display: block;
  }

  .nav-list li a::after {
    bottom: 8px;
  }

  .nav-list li a:hover::after,
  .nav-list li a:focus::after {
    width: calc(100% - 40px);
  }
}

/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
  background: #000;
  margin-top: 0;
  top: 0;
  z-index: 0;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: none;
}

.slide.active {
  opacity: 1;
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  z-index: 2;
}

.banner-content {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.banner-content .btn {
  background: #ffdd57;
  color: #333;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: inline-block;
}

.banner-content .btn:hover,
.banner-content .btn:focus {
  background: #ffcc00;
  outline: none;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
}

.dot.active {
  background: #fff;
}

.dot:focus {
  outline: 2px solid #ffdd57;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .banner {
    height: 50vh;
  }
  .banner-content {
    bottom: 40px;
  }
  .banner-content p {
    font-size: 1rem;
  }
  .banner-content .btn {
    padding: 8px 16px;
    font-size: 1rem;
  }
}

/* About Section */
.about {
  padding: 60px 0;
  background: linear-gradient(135deg, #f9f9f9, #e8ecef);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.05);
  z-index: 0;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #007BFF, #ffdd57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }
.about-card:nth-child(4) { animation-delay: 0.4s; }
.about-card:nth-child(5) { animation-delay: 0.5s; }

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.about-card p {
  font-size: 1.1rem;
  color: #444;
  margin: 0;
  line-height: 1.8;
  font-family: 'Poppins', Arial, sans-serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .about {
    padding: 40px 0;
  }

  .about h2 {
    font-size: 2rem;
  }

  .about-card {
    padding: 15px;
  }

  .about-card p {
    font-size: 1rem;
  }
}

/* Categories Section */
.services {
  padding: 40px 0;
  text-align: center;
  background: #f9f9f9;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #007BFF, #ffdd57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.service-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.category-btn {
  display: inline-block;
  background: #007BFF;
  color: #fff;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.category-btn:hover,
.category-btn:focus {
  background: #0056b3;
  transform: translateY(-2px);
  outline: none;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #007BFF, #ffdd57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-item {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #007BFF;
}

.user-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.rating {
  color: #ffcc00;
  margin-bottom: 10px;
}

.rating .star {
  font-size: 1.2rem;
}

.testimonial-item blockquote {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Client Logo Ribbon */
.client-ribbon {
  background: linear-gradient(135deg, #f4f4f4, #e8ecef); /* Match website gradient */
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 123, 255, 0.1);
  border-bottom: 1px solid rgba(0, 123, 255, 0.1);
}

.client-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.05); /* Subtle overlay like other sections */
  z-index: 0;
}

.ribbon-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1;
}

.ribbon-track {
  display: flex;
  width: 200%;
  animation: scrollRibbon 20s linear infinite;
}

.ribbon-track:hover {
  animation-play-state: paused;
}

.ribbon-slide {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 15px;
  flex-shrink: 0;
  width: 50%;
}

.ribbon-slide img {
  height: 60px; /* Slightly larger for better visibility */
  width: auto;
  max-width: 100px;
  opacity: 0.8;
  transition: all 0.4s ease;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.9); /* Card-like background */
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  filter: grayscale(20%); /* Subtle grayscale effect */
}

.ribbon-slide img:hover {
  opacity: 1;
  transform: scale(1.1) rotate(2deg); /* Modern tilt effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  filter: grayscale(0); /* Full color on hover */
  border-color: rgba(0, 123, 255, 0.3);
}

@keyframes scrollRibbon {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-ribbon::before,
.client-ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.client-ribbon::before {
  left: 0;
  background: linear-gradient(to right, #f4f4f4 20%, rgba(244, 244, 244, 0));
}

.client-ribbon::after {
  right: 0;
  background: linear-gradient(to left, #f4f4f4 20%, rgba(244, 244, 244, 0));
}

/* Responsive Adjustments for Small Devices */
@media (max-width: 768px) {
  .ribbon-track {
    animation: none;
    width: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-right: 30px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(70px, 1fr);
    gap: 15px;
    scrollbar-width: thin; /* Modern scrollbar */
    scrollbar-color: #007BFF #e8ecef;
  }

  .ribbon-track::-webkit-scrollbar {
    height: 8px;
  }

  .ribbon-track::-webkit-scrollbar-track {
    background: #e8ecef;
    border-radius: 10px;
  }

  .ribbon-track::-webkit-scrollbar-thumb {
    background: #007BFF;
    border-radius: 10px;
    transition: background 0.3s ease;
  }

  .ribbon-track::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
  }

  .ribbon-slide {
    display: contents;
  }

  .ribbon-slide img {
    height: 35px;
    max-width: 70px;
    width: 100%;
    object-fit: contain;
    padding: 8px;
    transform: none; /* Disable tilt on small screens */
    filter: grayscale(10%); /* Slightly less grayscale */
  }

  .ribbon-slide img:hover {
    transform: scale(1.05); /* Simpler hover effect */
    filter: grayscale(0);
  }

  .client-ribbon::before,
  .client-ribbon::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .ribbon-track {
    grid-auto-columns: minmax(50px, 1fr);
    gap: 10px;
    padding-right: 20px;
  }
  .ribbon-slide img {
    height: 25px;
    max-width: 50px;
    padding: 6px;
  }
}

@media (max-width: 360px) {
  .ribbon-track {
    grid-auto-columns: minmax(40px, 1fr);
    gap: 8px;
    padding-right: 15px;
  }
  .ribbon-slide img {
    height: 20px;
    max-width: 40px;
    padding: 5px;
  }
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  transition: background 0.3s ease;
}

#back-to-top:hover,
#back-to-top:focus {
  background: #0056b3;
  outline: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #fff;
  padding: 40px 0;
  border-top: 4px solid #007BFF;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.footer-section {
  text-align: left;
}

.footer-section .footer-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.footer-section h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffdd57;
}

.footer-section p,
.footer-section ul li a {
  font-size: 1rem;
  color: #ecf0f1;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
  color: #ffdd57;
  outline: none;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
  color: #ffdd57;
  transform: translateY(-5px);
  outline: none;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  margin-top: 15px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
  background: #20BD5A;
  transform: translateY(-2px);
  outline: none;
}
.whatsapp-float {
  position: fixed;
  bottom: 80px; /* Above back-to-top button */
  right: 20px;
  background: rgba(37, 211, 102, 0.9); /* WhatsApp green with transparency */
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  outline: none;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  font-size: 0.9rem;
  color: #bdc3c7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffdd57;
  outline: none;
}

@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
/* Categories Section (Carousel) */
.categories {
  padding: 60px 0;
  background: linear-gradient(135deg, #f9f9f9, #e8ecef);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.05);
  z-index: 0;
}

.categories h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #007BFF, #ffdd57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
}

.carousel-track {
  display: flex;
  gap: 40px;
  transition: transform 0.5s ease;
}

.category-item {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.category-item:hover img {
  transform: scale(1.05);
}

.category-content h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 500;
}

.category-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
  font-family: 'Poppins', Arial, sans-serif;
}

.category-btn {
  display: inline-block;
  background: linear-gradient(90deg, #007BFF, #0056b3);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Poppins', Arial, sans-serif;
  transition: background 0.3s ease, transform 0.3s ease;
}

.category-btn:hover,
.category-btn:focus {
  background: linear-gradient(90deg, #0056b3, #003d82);
  transform: translateY(-2px);
  outline: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 123, 255, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

.carousel-arrow:hover,
.carousel-arrow:focus {
  background: #0056b3;
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

@media (max-width: 768px) {
  .categories {
    padding: 40px 0;
  }
  .categories h2 {
    font-size: 2rem;
  }
  .category-item {
    flex: 0 0 250px;
  }
  .category-item img {
    height: 150px;
  }
  .category-content h3 {
    font-size: 1.3rem;
  }
  .carousel-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .category-item {
    flex: 0 0 200px;
  }
  .category-item img {
    height: 120px;
  }
}
/* Contact Section */
.contact {
  padding: 60px 0;
  background: linear-gradient(135deg, #f9f9f9, #e8ecef);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.05);
  z-index: 0;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #007BFF, #ffdd57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: left;
  animation: fadeInUp 0.5s ease forwards;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 8px;
  font-family: 'Poppins', Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Poppins', Arial, sans-serif;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

.form-group textarea {
  resize: vertical;
}

/* Contact Section */
.contact {
  padding: 60px 0;
  background: linear-gradient(135deg, #f9f9f9, #e8ecef);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.05);
  z-index: 0;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #007BFF, #ffdd57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: left;
  animation: fadeInUp 0.5s ease forwards;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 8px;
  font-family: 'Poppins', Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Poppins', Arial, sans-serif;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  background: #007BFF;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  width: 100%;
}

.contact-form .btn:hover,
.contact-form .btn:focus {
  background: #0056b3;
  transform: translateY(-2px);
  outline: none;
}

.contact-info {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: left;
  animation: fadeInUp 0.5s ease forwards 0.2s;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
  font-family: 'Poppins', Arial, sans-serif;
}

.contact-info p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info p i {
  margin-right: 10px;
  color: #007BFF;
  font-size: 1.2rem;
}

.contact-info a {
  color: #007BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover,
.contact-info a:focus {
  color: #0056b3;
}

.contact-map {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeInUp 0.5s ease forwards 0.4s;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
  .contact-map {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 40px 0;
  }
  .contact h2 {
    font-size: 2rem;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-map {
    grid-column: auto;
  }
  .contact-form,
  .contact-info,
  .contact-map {
    padding: 20px;
  }
}