/* Custom Styles for NISARG Enterprise */

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

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: auto;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.owl-nav button {
  pointer-events: all;
  background: rgba(10, 26, 74, 0.8) !important;
  color: white !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 24px !important;
}

.owl-theme .owl-dots .owl-dot span {
  display: none;
}

.owl-nav button:hover {
  background: #FF6A00 !important;
  transform: scale(1.1);
}

.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc !important;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.owl-dots button.active {
  background: #FF6A00 !important;
  transform: scale(1.2);
}

.testimonials-carousel.owl-carousel .owl-stage-outer {
  padding-bottom: 20px;
}

.testimonials-carousel.owl-carousel .owl-nav {
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transform: none;
  position: unset;
}

/* Gallery Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 32px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 106, 0, 0.9);
  border-color: #FF6A00;
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 32px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 106, 0, 0.9);
  border-color: #FF6A00;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
    font-size: 24px;
    width: 50px;
    height: 50px;
  }
  
  .lightbox-next {
    right: 10px;
    font-size: 24px;
    width: 50px;
    height: 50px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* Gallery Section Transitions */
.gallery-section {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Section Spacing */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* Button Hover Effects */
.btn-primary {
  background: #FF6A00;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #e55a00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #0A1A4A;
  border: 2px solid #0A1A4A;
  padding: 12px 30px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: #0A1A4A;
  color: white;
  transform: translateY(-2px);
}

/* Card Hover Effects */
.product-card {
  transition: all 0.3s ease;
}

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

/* Form Styles */
.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.form-input:focus {
  outline: none;
  border-color: #FF6A00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 16px;
  min-height: 120px;
  resize: vertical;
}

.form-textarea:focus {
  outline: none;
  border-color: #FF6A00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #0A1A4A 0%, #FF6A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Client Logos Section */
.client-logo-item {
  transition: all 0.3s ease;
}

.client-logo-item img {
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%) !important;
}

