/* About.css - Enhanced animations and styling for SVK Office About page */

/* Fade-in animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
  animation-delay: 0.4s;
}

.fade-in-up.delay-3 {
  animation-delay: 0.6s;
}

.fade-in-up.delay-4 {
  animation-delay: 0.8s;
}

.fade-in-up.delay-5 {
  animation-delay: 1.0s;
}

.fade-in-up.delay-6 {
  animation-delay: 1.2s;
}

/* Slide animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.8s ease-out forwards;
}

.slide-in-left.delay-1 {
  animation-delay: 0.2s;
}

.slide-in-left.delay-2 {
  animation-delay: 0.4s;
}

.slide-in-left.delay-3 {
  animation-delay: 0.6s;
}

.slide-in-right.delay-1 {
  animation-delay: 0.2s;
}

.slide-in-right.delay-2 {
  animation-delay: 0.4s;
}

/* Hover zoom effects */
.hover-zoom {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.hover-zoom:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hover-zoom-large {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
  overflow: hidden;
}

.hover-zoom-large:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Section styling */
.about-section {
  margin-bottom: 50px;
  padding: 20px 0;
}

.about-section h2,
.about-section h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.about-section h2 {
  font-size: 2.2em;
  border-bottom: 3px solid #007bff;
  padding-bottom: 10px;
  display: inline-block;
}

.about-section h3 {
  font-size: 1.8em;
  color: #34495e;
}

.about-section p {
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

/* Product category styling */
.product-category {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.product-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-category h4 {
  color: #2c3e50;
  font-weight: 600;
  margin: 15px 0 10px 0;
}

.product-category p {
  color: #666;
  font-size: 0.95em;
}

/* Mission and Vision styling */
.about-section article {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #007bff;
  margin-bottom: 20px;
}

.about-section article h3 {
  color: #007bff;
  margin-bottom: 15px;
}

/* Why choose us list styling */
.about-section ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.about-section ul li:last-child {
  border-bottom: none;
}

.about-section ul li i {
  font-size: 1.1em;
}

/* Page banner enhancements */
.page-banner-content {
  text-align: center;
  padding: 80px 0;
}

.page-banner-content h1 {
  font-size: 3em;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-banner-content p {
  font-size: 1.3em;
  color: #fff;
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-section h2 {
    font-size: 1.8em;
  }

  .about-section h3 {
    font-size: 1.5em;
  }

  .page-banner-content h1 {
    font-size: 2.2em;
  }

  .page-banner-content p {
    font-size: 1.1em;
  }

  .product-category {
    margin-bottom: 20px;
  }
}

/* Keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional section-specific styling */
.mission-vision-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
  border-radius: 15px;
  margin: 30px 0;
}

.commitment-section {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  position: relative;
}

.commitment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 10px 10px 0 0;
}

/* Widget area enhancements */
.widget-area .widget {
  margin-bottom: 30px;
}

.widget-area .widget h3 {
  color: #2c3e50;
  border-bottom: 2px solid #007bff;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.widget-area .latest-content {
  transition: transform 0.3s ease;
}

.widget-area .latest-content:hover {
  transform: translateX(5px);
}
