:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --text-color: #333;
  --light-bg: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden; /* Prevent horizontal scroll during animations */
}

/* Animation for scroll reveal */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(150px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Slide animations from different directions */
.slide-left {
  position: relative;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}

.slide-right {
  position: relative;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.slide-left.active,
.slide-right.active {
  opacity: 1;
  transform: translateX(0);
}
/* Header Styles */
.header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    url("section_home2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  position: relative;
  animation: headerFade 1.5s ease-in, headerScale 20s infinite alternate;
  overflow: hidden;
}

@keyframes headerFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerScale {
  from {
    background-size: 100%;
  }
  to {
    background-size: 110%;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  backdrop-filter: blur(3px);
  animation: overlayPulse 4s ease-in-out infinite;
}

@keyframes overlayPulse {
  0% {
    backdrop-filter: blur(3px);
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    );
  }
  50% {
    backdrop-filter: blur(5px);
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }
  100% {
    backdrop-filter: blur(3px);
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    );
  }
}

/* Vision Mission Section */
.vision-mission {
  padding: 80px 0;
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.vision-mission-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mission,
.vision {
  flex: 1;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mission:hover,
.vision:hover {
  transform: translateY(-5px);
}

.mission h3,
.vision h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.mission h3::before,
.vision h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 25px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.mission ul {
  list-style: none;
}

.mission li {
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
}

.mission li i,
.vision p i {
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 1.2rem;
}

.vision p {
  padding-left: 35px;
  position: relative;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .vision-mission-content {
    flex-direction: column;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .mission,
  .vision {
    padding: 25px;
  }
}

@keyframes headerFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--secondary-color);
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  margin-left: 15px;
}

.testimonial-info h4 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial-info span {
  color: #6c757d;
  font-size: 0.9rem;
}

.testimonial-quote {
  position: absolute;
  right: 0;
  top: 0;
  color: var(--secondary-color);
  opacity: 0.2;
  font-size: 1.5rem;
}

.testimonial-body {
  margin-bottom: 20px;
}

.testimonial-body p {
  color: #495057;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  padding: 15px 60px;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
  opacity: 0.95;
  transition: all 0.3s ease;
}

.logo:hover {
  opacity: 1;
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 8px;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav-links a:hover {
  color: var(--secondary-color);
  background: rgba(231, 76, 60, 0.08);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 70%;
}

/* Hero Section */
.hero-content {
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.documentation {
  padding: 100px 50px;
  background: var(--light-bg);
}

.documentation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.documentation-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  will-change: transform;
}

.documentation-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.documentation-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.documentation-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.documentation-item:hover .documentation-img img {
  transform: scale(1.1);
}

.documentation-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    transparent 100%
  );
  padding: 25px 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.documentation-item:hover .documentation-overlay {
  transform: translateY(0);
}

.documentation-overlay h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.documentation-overlay p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
}

.documentation-item:hover .documentation-overlay h3,
.documentation-item:hover .documentation-overlay p {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .documentation {
    padding: 60px 20px;
  }

  .documentation-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .documentation-img {
    height: 200px;
  }
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.cta-button:hover {
  background: #c0392b;
  transform: translateY(-3px);
}

/* Services Section */
.services {
  padding: 100px 50px;
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.services-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 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Team Section */
.team {
  padding: 100px 50px;
  background: var(--light-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-img {
  width: 250px;
  height: 300px;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.team-member h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.team-member p {
  color: var(--text-color);
  margin-bottom: 20px;
}

.whatsapp-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-btn {
  padding: 12px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.whatsapp-btn.primary {
  background: #25d366;
  color: white;
}

.whatsapp-btn.secondary {
  background: #f1f1f1;
  color: var(--text-color);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn i {
  margin-right: 8px;
}
/* Contact Section */
.contact {
  text-align: center;
  padding: 120px 60px;
  background: white;
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjAgMjBMMCAwaDQwTDIwIDIwem0wIDIwTDQwIDIwdjIwSDB2LTIwTDIwIDQweiIgZmlsbC1vcGFjaXR5PSIuMSIgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+");
  opacity: 0.05;
}

.locations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.location {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.location:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.location h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 15px;
}

.location p {
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.8;
  margin-bottom: 15px;
}

.location .map {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.location .map iframe {
  filter: grayscale(0.5) contrast(1.2);
  transition: all 0.4s ease;
}

.location .map iframe:hover {
  filter: grayscale(0) contrast(1);
}

/* Footer */
.footer {
  background: #1a252f;
  color: white;
  padding: 50px;
  text-align: center;
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  transition: 0.3s;
}

.social-links a:hover {
  color: var(--secondary-color);
}
/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .services,
  .team,
  .contact {
    padding: 50px 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-member {
    padding: 20px;
  }

  .member-img {
    width: 200px;
    height: 250px;
  }

  .whatsapp-contact {
    gap: 8px;
  }

  .whatsapp-btn {
    padding: 10px 15px;
    font-size: 14px;
  }

  .team-member h3 {
    font-size: 1.2rem;
  }

  .team-member p {
    font-size: 0.9rem;
  }
}
