/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 180px;
  height: auto;
  margin-bottom: 40px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(210, 155, 32, 0.5));
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(210, 155, 32, 0.15);
  border-top-color: #d29b20;
  border-right-color: #d29b20;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 0.9;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

/* Hero Automatic Slideshow (No Controls) */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 30s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0);
  }
  50% {
    transform: scale(1.1) translateX(-20px);
  }
  100% {
    transform: scale(1.15) translateX(0);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 3px 5px 15px rgba(0, 0, 0, 0.7);
  animation: heroFadeIn 1.2s ease-out;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #d29b20;
  margin-bottom: 50px;
  font-weight: 600;
  animation: heroFadeIn 1.5s ease-out;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-hero {
  background: linear-gradient(135deg, #d29b20 0%, #b8851c 100%);
  color: #ffffff;
  padding: 20px 60px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: heroFadeIn 1.8s ease-out;
  box-shadow: 0 10px 40px rgba(210, 155, 32, 0.4);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
  width: 300px;
  height: 300px;
}

.btn-hero:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(210, 155, 32, 0.6);
  color: #ffffff;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-section {
  padding: 120px 0 !important;
  background: #ffffff;
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(210, 155, 32, 0.03) 100%
  );
  pointer-events: none;
}

/* About Carousel Styles */
.about-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  min-height: 400px;
  height: 500px;
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Make it fill the container */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.about-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.about-slide img {
  width: 100%;
  height: 100%; /* Fill the container */
  object-fit: cover; /* Crop to fit without stretching */
  display: block;
  border-radius: 20px;
}

/* About Navigation Arrows */
.about-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(210, 155, 32, 0.9);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.about-carousel:hover .about-nav {
  opacity: 1;
}

.about-nav:hover {
  background: rgba(210, 155, 32, 1);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 5px 20px rgba(210, 155, 32, 0.6);
}

.about-prev {
  left: 15px;
}

.about-next {
  right: 15px;
}

/* About Dots */
.about-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-carousel:hover .about-dots {
  opacity: 1;
}

.about-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  backdrop-filter: blur(5px);
}

.about-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.about-dot.active {
  background: #d29b20;
  width: 30px;
  border-radius: 8px;
  border-color: #ffffff;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-title::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, #d29b20, transparent);
  border-radius: 3px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #d29b20 0%, #b8851c 50%, transparent 100%);
  border-radius: 2px;
}

.section-description {
  font-size: 1.2rem;
  color: #555;
  line-height: 2;
  margin-bottom: 30px;
  font-weight: 400;
}

.btn-outline-primary {
  color: #d29b20;
  border: 3px solid #d29b20;
  padding: 15px 45px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.btn-outline-primary:hover {
  background: #d29b20;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(210, 155, 32, 0.4);
  border-color: #d29b20;
}

/* Service Section Enhancements */
.service-subtitle {
  font-size: 0.95rem;
  font-weight: 800;
  color: #d29b20;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.services-category-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 2px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #d29b20;
  display: inline-block;
}

/* Service Cards */
.services-section {
  padding: 120px 0 !important;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(210, 155, 32, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(210, 155, 32, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.service-card {
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 25px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #d29b20, #b8851c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(210, 155, 32, 0.1) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  border-radius: 50%;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  width: 400px;
  height: 400px;
}

.service-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(210, 155, 32, 0.3);
}

.service-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(210, 155, 32, 0.15);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(360deg);
  background: linear-gradient(135deg, #d29b20 0%, #b8851c 100%);
  box-shadow: 0 10px 30px rgba(210, 155, 32, 0.4);
}

/* Bootstrap Icons Styling */
.service-icon i {
  font-size: 3.5rem;
  color: #d29b20;
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon i {
  color: #ffffff;
  transform: scale(1.1);
}

.service-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.service-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Project Cards */
.projects-section {
  padding: 120px 0 !important;
  background: #ffffff;
}

.project-card {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  height: 450px;
  cursor: pointer;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(210, 155, 32, 0.3) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 45px 35px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.8) 40%,
    transparent 100%
  );
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
}

.project-card:hover .project-image {
  transform: scale(1.2) rotate(2deg);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.project-category {
  font-size: 1.1rem;
  color: #d29b20;
  margin: 0;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, #d29b20 0%, #b8851c 100%);
  border: none;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 10px 35px rgba(210, 155, 32, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.05rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b8851c 0%, #d29b20 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 45px rgba(210, 155, 32, 0.6);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 120px 0 !important;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(210, 155, 32, 0.03) 35px,
    rgba(210, 155, 32, 0.03) 70px
  );
  opacity: 0.5;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(210, 155, 32, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.cta-description {
  font-size: 1.5rem;
  margin-bottom: 50px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  font-weight: 300;
  letter-spacing: 1px;
}

.btn-light {
  background: #ffffff;
  color: #1a1a1a;
  padding: 20px 60px;
  border-radius: 50px;
  font-weight: 800;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(210, 155, 32, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-light:hover::before {
  left: 100%;
}

.btn-light:hover {
  background: #d29b20;
  color: #ffffff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(210, 155, 32, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .btn-hero {
    padding: 16px 40px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-description {
    font-size: 1.2rem;
  }

  .about-section,
  .services-section,
  .projects-section,
  .cta-section {
    padding: 80px 0 !important;
  }

  .project-card {
    height: 350px;
  }

  .service-card {
    padding: 45px 30px;
  }

  .service-icon {
    width: 90px;
    height: 90px;
  }

  .service-icon i {
    font-size: 3rem;
  }

  .service-title {
    font-size: 1.4rem;
  }

  .service-description {
    font-size: 1rem;
  }

  .about-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .about-dots {
    bottom: 15px;
    gap: 8px;
  }

  .about-dot {
    width: 10px;
    height: 10px;
  }

  .about-dot.active {
    width: 25px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .loader-logo {
    width: 120px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
  }

  .service-icon i {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .about-prev {
    left: 10px;
  }

  .about-next {
    right: 10px;
  }
}
