/* Hero Section with Slider */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Placeholder images for slides */
.slide:nth-child(1) {
  background: url(../img/bb3.jpg);

}

.slide:nth-child(2) {
  background: url(../img/bb4.jpg);}

.slide:nth-child(3) {
  background: url(../img/bb5.jpg);}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary {
  background: white;
  color: #2563eb;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* About Section with Images */
.about {
  padding: 100px 0;
  background: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.about-text p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  font-size: 19px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.about-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 50%;
  opacity: 0.1;
}

.image-placeholder i {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 25px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 15px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  position: relative;
  overflow: hidden;
}
.services-grid .service-card .service-image {
  background-size: cover !important;
}
.services-grid .service-card:nth-child(1) .service-image  {
  background: url(../img/sec2_1.jpg) center;
}

.services-grid .service-card:nth-child(2) .service-image  {
  background: url(../img/sec2_2.jpg) center;
}


.services-grid .service-card:nth-child(3) .service-image  {
  background: url(../img/sec2_3.jpg) center;
}


.services-grid .service-card:nth-child(4) .service-image  {
  background: url(../img/sec2_4.jpg) center;
}

.services-grid .service-card:nth-child(5) .service-image  {
  background: url(../img/sec2_5.jpg) center;
}

.services-grid .service-card:nth-child(6) .service-image  {
  background: url(../img/sec2_6.jpg) center;
}

.service-image i {
  font-size: 2.2rem;
  color: #2563eb;
  text-shadow: 0px 0px 10px #fff;
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.service-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
}

/* bar */
.bar {
  background: url(../img/bar.jpg);
  padding: 60px 0;
  text-align: center;
  color: #fff;
  font-size: 18px;
}
/* Gallery Section */
.gallery {
  padding: 100px 0;
  background: #f8fafc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img,
.gallery-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  border-radius: 20px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: url(../img/cs_bg.jpg);
}

.contact-simple {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.detail-item {
  text-align: center;
  padding: 1rem;
}

.detail-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.3rem;
  color: white;
}

.detail-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.3rem;
}

.detail-item p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.4;
}

.phone-section {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  padding: 1.5rem;
  border-radius: 20px;
  margin: 1.5rem 0;
}

.phone-number {
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.phone-number:hover {
  transform: scale(1.02);
  color: #1d4ed8;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.call-button i {
  font-size: 1.2rem;
}

.footer-links a:hover {
  color: #2563eb;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  section {
    padding: 50px 0 !important;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 17px;
  }

  .about-text h2,
  .section-header h2 {
    font-size: 34px;
  }

  .contact-card h3 {
    font-size: 30px;
  }
  .about-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-gap: 7px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .cta-buttons {
    align-items: center;
  }

  .btn {
    width: 220px;
    font-size: 15px;
    justify-content: center;
  }
  .btn:nth-child(2) {
    display: none;
  }
  .phone-number {
    font-size: 30px;
    margin: 1rem 0;
  }
  .detail-item {
    padding: 0;
  }
  .detail-item p {
    font-size: 16px;
  }
  .contact-card {
    padding: 2.5rem;
  }
  .contact-details {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-header p {
    font-size: 1.15em;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
