/* Global Styles */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --secondary-color: #4cc9f0;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --success-color: #4caf50;
  --danger-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #2196f3;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  padding-top: 76px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 76px - 300px);
}

/* Navbar */
.navbar {
  padding-top: 15px;
  padding-bottom: 15px;
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 40px;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

/* Project Cards */
.project-card-img {
  height: 220px;
  object-fit: cover;
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease;
}

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

.service-icon {
  color: var(--primary-color);
}

/* Testimonial Cards */
.testimonial-card {
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-quote {
  position: relative;
  padding-left: 10px;
}

/* Team Cards */
.team-card img {
  height: 250px;
  object-fit: cover;
}

.team-card {
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  opacity: 0.8;
}

/* Contact Section */
.contact-icon,
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

/* Project Detail */
.gallery-img {
  height: 150px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-img:hover {
  opacity: 0.8;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .project-card-img {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 66px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .project-card-img {
    height: 180px;
  }

  .team-card img {
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .project-card-img {
    height: 200px;
  }
}

/* Project Carousel */
.carousel-img {
  height: 500px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 991.98px) {
  .carousel-img {
    height: 400px;
  }
}

@media (max-width: 767.98px) {
  .carousel-img {
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .carousel-img {
    height: 250px;
  }
}

/* Enhanced Gallery */
.gallery-container {
  margin-bottom: 2rem;
}

.gallery-item {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.gallery-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-img-container:hover .gallery-overlay {
  opacity: 1;
}

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

.gallery-zoom {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gallery-caption {
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  position: absolute;
  bottom: 0;
}

@media (max-width: 767.98px) {
  .gallery-img {
    height: 150px;
  }

  .gallery-zoom {
    font-size: 1.5rem;
  }

  .gallery-caption {
    font-size: 0.875rem;
  }
}

/* Lightbox customization */
.lb-data .lb-caption {
  font-size: 1rem;
  font-weight: 500;
}

.lb-data .lb-number {
  font-size: 0.875rem;
}

