/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, Arial, sans-serif;
  color: #e0e0e0;
  background-color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader {
  border: 5px solid #e0e0e0;
  border-top: 5px solid #00c4b4;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Section Divider */
.section-divider {
  height: 3px;
  background: linear-gradient(to right, transparent, #00c4b4, transparent);
  margin: 3rem 0;
  animation: pulseDivider 2s infinite ease-in-out;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
  padding: 1.5rem 0;
  animation: slideIn 0.8s ease-in-out;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.shrink {
  padding: 0.8rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.navbar.shrink .logo {
  font-size: 1.4rem;
}
.navbar.shrink .nav-link {
  font-size: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  color: #e0e0e0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #00c4b4;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  will-change: transform, opacity;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 196, 180, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.nav-link:hover::before {
  width: 200px;
  height: 200px;
}

.nav-link:hover {
  color: #00c4b4;
  transform: translateY(-2px);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00c4b4;
  animation: underlineExpand 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('images/1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeInScale 1.5s ease-out;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 196, 180, 0.2), rgba(244, 196, 48, 0.2), rgba(0, 196, 180, 0.2));
  background-size: 200%;
  animation: gradientFlow 10s ease infinite;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
  color: #00c4b4;
}

.hero-content p {
  font-size: 1.6rem;
  color: #e0e0e0;
  margin-bottom: 2.5rem;
}

.contact-btn {
  display: inline-block;
  background: linear-gradient(45deg, #00c4b4, #f4c430);
  color: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
}

.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 196, 180, 0.5);
  animation: pulseButton 0.5s ease-in-out;
}

@keyframes pulseButton {
  0% { transform: translateY(-4px) scale(1); }
  50% { transform: translateY(-4px) scale(1.1); }
  100% { transform: translateY(-4px) scale(1); }
}

/* About Section */
.about {
  background-color: #1a1a1a;
  padding: 5rem 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-text {
  flex: 1;
}

.text-block {
  background: linear-gradient(145deg, #252525, #2f2f2f);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  will-change: transform, opacity;
}

.text-block h2, .text-block h3 {
  color: #e0e0e0;
  position: relative;
  margin-bottom: 1rem;
}

.text-block h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

.text-block h3 {
  font-size: 2rem;
  font-weight: 600;
}

.text-block h2::after, .text-block h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 3px;
  background: #00c4b4;
  transition: width 0.4s ease;
}

.text-block h2:hover::after, .text-block h3:hover::after {
  width: 100px;
}

.text-block p {
  font-size: 1.2rem;
  color: #e0e0e0;
}

.text-block p span {
  color: #00c4b4;
  font-weight: 600;
}

.about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 196, 180, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-image:hover::before {
  opacity: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(180deg, #1a1a1a, #252525);
  padding: 5rem 0;
}

.why-container {
  display: flex;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.why-text {
  flex: 1;
}

.why-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 2rem;
}

.why-text h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #00c4b4;
  transition: width 0.4s ease;
}

.why-text h2:hover::after {
  width: 100px;
}

.why-text .intro-text {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(145deg, #252525, #2f2f2f);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.why-reasons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-reason-card {
  background: linear-gradient(145deg, #252525, #2f2f2f);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, opacity;
}

.why-reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 196, 180, 0.3);
}

.why-reasons h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.why-reasons h3 span {
  color: #00c4b4;
}

.why-reasons p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.why-reasons p span {
  color: #00c4b4;
  font-weight: 600;
}

.why-cta {
  margin-top: 2rem;
  text-align: center;
}

.why-cta p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.why-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.why-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, opacity;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 196, 180, 0.3);
}

.why-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.why-card:hover .why-image {
  transform: scale(1.1);
}

/* Services Section */
.services {
  background-color: #1a1a1a;
  padding: 5rem 0;
  position: relative;
}

.services h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 2.5rem;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #00c4b4;
  transition: width 0.4s ease;
}

.services h2:hover::after {
  width: 100px;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.services-grid {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-grid::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 calc(50% - 1rem);
  background: linear-gradient(145deg, #252525, #2f2f2f);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 196, 180, 0.3);
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.service-card h3 span {
  color: #00c4b4;
}

.service-card p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 196, 180, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  z-index: 10;
}

.carousel-arrow {
  background: rgba(30, 30, 30, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #00c4b4;
  transition: stroke 0.3s ease;
}

.carousel-arrow:hover {
  background: #00c4b4;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 196, 180, 0.5);
}

.carousel-arrow:hover svg {
  stroke: #1a1a1a;
}

.carousel-arrow:disabled {
  background: rgba(30, 30, 30, 0.5);
  cursor: not-allowed;
  box-shadow: none;
}

.carousel-arrow:disabled svg {
  stroke: #555;
}

/* Contact Section */
.contact {
  background: linear-gradient(180deg, #252525, #1a1a1a);
  padding: 6rem 0;
  text-align: center;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #00c4b4;
  transition: width 0.4s ease;
}

.contact h2:hover::after {
  width: 100px;
}

.contact-text {
  font-size: 1.4rem;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.contact-text span {
  color: #00c4b4;
  font-weight: 600;
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.contact-details {
  flex: 1;
  background: linear-gradient(145deg, #252525, #2f2f2f);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  transition: transform 0.5s ease, color 0.3s ease;
  will-change: transform, opacity;
}

.contact-item:hover {
  transform: translateY(-5px);
  color: #f4c430;
}

.contact-item svg {
  width: 32px;
  height: 32px;
  stroke: #00c4b4;
  transition: stroke 0.3s ease;
}

.contact-item:hover svg {
  stroke: #f4c430;
}

.contact-item a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #f4c430;
}

.contact-map {
  flex: 1;
  animation: pulseMap 2s ease-in-out infinite;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.contact-copyright {
  font-size: 1rem;
  color: #e0e0e0;
  margin-top: 3rem;
}

/* Animations */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideIn {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes pulseDivider {
  0% { transform: scaleX(1); }
  50% { transform: scaleX(1.05); }
  100% { transform: scaleX(1); }
}

@keyframes underlineExpand {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseMap {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.4rem;
  }

  .about-container {
    flex-direction: column;
    gap: 2rem;
  }

  .why-container {
    flex-direction: column;
  }

  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .service-card {
    flex: 0 0 calc(50% - 1rem);
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-map iframe {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

  .about-text h3 {
    font-size: 1.8rem;
  }

  .why-text h2 {
    font-size: 2.2rem;
  }

  .services h2 {
    font-size: 2.2rem;
  }

  .contact h2 {
    font-size: 2.2rem;
  }

  .contact-text {
    font-size: 1.2rem;
  }

  .contact-map iframe {
    height: 300px;
  }

  .service-card {
    flex: 0 0 calc(100% - 1rem);
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .contact h2 {
    font-size: 1.8rem;
  }

  .contact-text {
    font-size: 1rem;
  }

  .contact-item {
    font-size: 1rem;
  }

  .contact-item svg {
    width: 24px;
    height: 24px;
  }

  .service-card {
    flex: 0 0 calc(100% - 1rem);
  }
}