/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

.about-container {
  max-width: 100%;
  margin: 0 auto;
}

/* About Hero Section Styles */
.about-hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  animation: about-hero-fadeInUp 1.2s ease-out;
}

.about-hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: about-hero-slideInLeft 1s ease-out 0.3s both;
}

.about-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  animation: about-hero-slideInRight 1s ease-out 0.6s both;
}

.about-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: about-hero-fadeIn 1s ease-out 0.9s both;
}

.about-hero-btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-hero-btn-primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.about-hero-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.about-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.about-hero-btn-primary:hover {
  background: linear-gradient(45deg, #764ba2, #667eea);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.about-hero-btn-secondary:hover {
  background: white;
  color: #333;
}

.about-hero-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.about-hero-btn:active::before {
  width: 300px;
  height: 300px;
}

.about-hero-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.about-hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: about-hero-float 6s ease-in-out infinite;
}

.about-hero-circle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.about-hero-circle:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.about-hero-circle:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.about-hero-circle:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 30%;
  animation-delay: 1s;
}

/* Animations */
@keyframes about-hero-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-hero-slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes about-hero-slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes about-hero-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes about-hero-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero-section {
    min-height: 500px;
    background-attachment: scroll;
  }

  .about-hero-title {
    font-size: 2.5rem;
  }

  .about-hero-subtitle {
    font-size: 1.2rem;
  }

  .about-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .about-hero-circle {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-hero-title {
    font-size: 2rem;
  }

  .about-hero-subtitle {
    font-size: 1rem;
  }

  .about-hero-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .about-hero-title {
    font-size: 5rem;
  }

  .about-hero-subtitle {
    font-size: 1.8rem;
  }
}

/* Statistics Section */
.about-stats-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 60px 20px;
  background-color: #f9f9f9;
  gap: 30px;
}

.about-stat-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease-out, transform 0.8s ease-out;
  /* Initial state for animation, will be set by JS */
  opacity: 0;
  transform: translateY(20px);
}

.about-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.about-stat-icon {
  margin-bottom: 20px;
  /* Apply filter to the container of the SVG */
  filter: invert(40%) sepia(80%) saturate(1500%) hue-rotate(190deg) brightness(90%) contrast(90%);
}

.about-icon {
  width: 60px;
  height: 60px;
  color: currentColor; /* Allows SVG fill/stroke to inherit color from parent */
}

.about-stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #004680; /* Dark blue */
  margin-bottom: 10px;
}

.about-stat-description {
  font-size: 1em;
  color: #555;
}

/* About Section Styling */
.ues-about-section {
  padding: 80px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
  margin: 40px 0; /* Ensures content stays within rounded corners */
  border-radius: 12px;
  overflow: hidden; /* Allows content to take full width */
}

.ues-about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* Allows content to wrap on smaller screens */
  align-items: center; /* Vertically align items */
  gap: 60px; /* Space between content and image */
}

.ues-about-content {
  flex: 1; /* Allows content to take available space */
  min-width: 320px; /* Minimum width before wrapping */
  padding-right: 20px; /* Spacing from the image */
}

.ues-about-image-container {
  flex: 1;
  min-width: 320px;
  text-align: center; /* Center image if it doesn't fill container */
  display: flex;
  justify-content: center;
  align-items: center;
}

.ues-about-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Slightly rounded corners for the image */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* More prominent shadow for the image */
  transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

.ues-about-image-container img:hover {
  transform: scale(1.02); /* Slightly enlarge image on hover */
}

/* Header Elements */
.ues-about-label {
  font-size: 15px;
  color: #007bff; /* A vibrant blue for emphasis */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.ues-about-title {
  font-size: 42px;
  color: #2c3e50; /* Darker text for strong contrast */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.ues-about-underline {
  width: 80px;
  height: 5px;
  background-color: #007bff;
  margin-bottom: 35px;
  border-radius: 3px;
}

.ues-about-description {
  font-size: 19px;
  line-height: 1.7;
  color: #555;
  max-width: 600px; /* Limit description width for readability */
}

/* Animation Styles */
.ues-animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ues-animate-on-scroll.ues-is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .ues-about-container {
    flex-direction: column; /* Stack content and image vertically */
    gap: 40px;
  }
  .ues-about-content {
    padding-right: 0; /* Remove right padding when stacked */
    text-align: center; /* Center text when stacked */
  }
  .ues-about-title {
    font-size: 36px;
  }
  .ues-about-underline {
    margin: 0 auto 30px auto; /* Center underline */
  }
  .ues-about-description {
    font-size: 17px;
    text-align: left; /* Keep description left-aligned for readability */
    margin: 0 auto; /* Center description block */
  }
}

@media (max-width: 768px) {
  .ues-about-section {
    padding: 60px 15px;
    margin: 20px 0;
  }
  .ues-about-title {
    font-size: 30px;
  }
  .ues-about-description {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .ues-about-section {
    padding: 40px 10px;
  }
  .ues-about-title {
    font-size: 26px;
  }
  .ues-about-label {
    font-size: 13px;
  }
}


/* Mission & Vision Section */
.about-mission-vision-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 80px 20px;
  background-color: #f0f5f9; /* Light blue background */
}

.about-mission-content,
.about-vision-content {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  /* Initial state for animation, will be set by JS */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-mission-content .about-section-title,
.about-vision-content .about-section-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #004680;
  text-align: left;
}

.about-mission-content .about-company-description,
.about-vision-content .about-company-description {
  font-size: 1em;
  color: #555;
  text-align: justify;
}

        /* Updated all CSS class names to use "about-vm" prefix */
        /* Scoped styles for MEPCO section to avoid conflicts */
        .about-vm-section {
            padding: 60px 20px;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
        }

        .about-vm-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .about-vm-main-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 20px;
            position: relative;
        }

        .about-vm-main-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            border-radius: 2px;
        }

        .about-vm-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #64748b;
            margin-bottom: 50px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Vision and Mission Cards */
        .about-vm-vision-mission {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }

        .about-vm-vm-card {
            background: white;
            padding: 40px 30px;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
        }

        .about-vm-vm-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .about-vm-vm-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            display: block;
        }

        .about-vm-vm-title {
            font-size: 1.8rem;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 15px;
        }

        .about-vm-vm-text {
            font-size: 1rem;
            color: #475569;
            line-height: 1.7;
        }

        /* Values Section */
        .about-vm-values-title {
            text-align: center;
            font-size: 2.2rem;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 40px;
        }

        .about-vm-values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }

        .about-vm-value-card {
            background: white;
            padding: 30px 25px;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .about-vm-value-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(139, 92, 246, 0.02));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .about-vm-value-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            border-left-color: #3b82f6;
        }

        .about-vm-value-card:hover::before {
            opacity: 1;
        }

        .about-vm-value-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .about-vm-value-icon {
            font-size: 1.8rem;
            margin-right: 12px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            border-radius: 8px;
            color: white;
        }

        .about-vm-value-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: #1e293b;
            margin: 0;
        }

        .about-vm-value-description {
            font-size: 0.95rem;
            color: #475569;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .about-vm-section {
                padding: 40px 15px;
            }

            .about-vm-main-title {
                font-size: 2rem;
            }

            .about-vm-values-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .about-vm-value-card {
                padding: 25px 20px;
            }

            .about-vm-vm-card {
                padding: 30px 20px;
            }

            .about-vm-vision-mission {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .about-vm-values-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1025px) {
            .about-vm-values-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
    
/* Leadership Team Section */
.about-leadership-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #f0f5f9;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-team-member {
  padding: 25px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease-out, transform 0.8s ease-out;
  /* Initial state for animation, will be set by JS */
  opacity: 0;
  transform: translateY(20px);
}

.about-team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff;
}

.about-team-name {
  font-size: 1.3em;
  font-weight: bold;
  color: #004680;
  margin-bottom: 5px;
}

.about-team-title {
  font-size: 0.9em;
  color: #777;
}

/* Animation class added by JS */
.about-fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2em;
  }

  .about-hero-subtitle {
    font-size: 1em;
  }

  .about-stats-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 15px;
  }

  .about-stat-item {
    min-width: unset;
    width: 100%;
    max-width: 400px;
  }

  .about-section-title {
    font-size: 1.8em;
  }

  .about-company-description {
    font-size: 1em;
  }

  .about-mission-vision-section {
    flex-direction: column;
    gap: 30px;
  }

  .about-mission-content,
  .about-vision-content {
    max-width: 100%;
  }

  .about-values-grid,
  .about-team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .about-hero-section {
    height: 350px;
  }

  .about-hero-title {
    font-size: 1.8em;
  }

  .about-hero-subtitle {
    font-size: 0.9em;
  }

  .about-breadcrumbs {
    font-size: 0.8em;
  }

  .about-stat-number {
    font-size: 2em;
  }

  .about-section-title {
    font-size: 1.6em;
  }

  .about-values-grid,
  .about-team-grid {
    grid-template-columns: 1fr; /* Stack items on very small screens */
  }
}

/* Mission & Vision Section */
.about-mission-vision {
  padding: 100px 0;
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: white;
  position: relative;
  overflow: hidden;
  /* This section naturally takes full width of its parent */
}

/* Background animation effect */
.about-mission-vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="white" opacity="0.2"/></svg>');
  animation: float 20s ease-in-out infinite;
  z-index: 0; /* Ensure it's behind the content */
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Grid for mission and vision cards */
.about-mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column by default for small screens */
  gap: 30px; /* Reduced gap for better fit */
  margin-top: 50px;
  justify-items: center; /* Center cards horizontally */
}

/* Media query for medium screens (e.g., tablets) */
@media (min-width: 768px) {
  .about-mission-vision-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Adjust minmax for narrower cards */
    gap: 40px; /* Slightly larger gap for medium screens */
  }
}

/* Media query for large screens (e.g., desktops) */
@media (min-width: 1024px) {
  .about-mission-vision-grid {
    grid-template-columns: repeat(2, minmax(400px, 1fr)); /* Two columns for larger screens */
    gap: 50px;
  }
}

/* Card styling */
.about-mission-card,
.about-vision-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.6s ease-out;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1; /* Ensure cards are above the background pattern */
  width: 100%; /* Full width on small screens */
  max-width: 450px; /* Max width for cards to reduce their overall width */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Hover effects for cards */
.about-mission-card:hover,
.about-vision-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
}

/* Icon styling */
.about-card-icon {
  font-size: 3rem; /* Fallback for text, SVG will scale */
  color: #ecf0f1;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card-icon svg {
  width: 48px; /* Explicitly set SVG size */
  height: 48px;
  display: block; /* Ensure SVG behaves like a block element for centering */
  margin: 0 auto; /* Center the SVG */
  color: #ecf0f1; /* SVG stroke/fill color */
  transition: all 0.3s ease;
}

/* Hover effects for icons */
.about-mission-card:hover .about-card-icon,
.about-vision-card:hover .about-card-icon {
  transform: scale(1.2);
  color: #3498db; /* Change color on hover */
}

.about-mission-card:hover .about-card-icon svg,
.about-vision-card:hover .about-card-icon svg {
  color: #3498db; /* Change SVG color on hover */
}

/* Title styling */
.about-card-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ecf0f1;
  text-align: center;
}

/* Description styling */
.about-card-description {
  line-height: 1.6;
  color: #bdc3c7;
  text-align: center;
}

/* Fade-in animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* WhatsApp Float */
.about-whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  text-decoration: none;
}

.about-whatsapp-icon {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: about-bounce 2s infinite;
}

.about-whatsapp-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes about-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Animations */
@keyframes about-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Main FAQ Section */
.about-faq-section {
    padding: 80px 0;
    background-color: #ffffff;
    min-height: 100vh;
}

.about-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Header */
.about-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.about-faq-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background-color: #3498db;
    border-radius: 2px;
}

/* FAQ Container */
.about-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Item */
.about-faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* FAQ Question */
.about-faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.about-faq-question:hover {
    background-color: #f8f9fa;
}

.about-faq-question.active {
    background-color: #e3f2fd;
}

.about-faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    margin-right: 20px;
    line-height: 1.4;
}

/* FAQ Icon */
.about-faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e3f2fd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.about-faq-icon.active {
    transform: rotate(45deg);
    background-color: #3498db;
    color: white;
}

/* FAQ Answer */
.about-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #fafbfc;
}

.about-faq-answer.active {
    max-height: 400px;
    padding: 25px 30px;
}

.about-faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-faq-section {
        padding: 60px 0;
    }
    
    .about-faq-container {
        padding: 0 15px;
    }
    
    .about-faq-title {
        font-size: 2rem;
    }
    
    .about-faq-title::before {
        left: -15px;
        width: 3px;
        height: 30px;
    }
    
    .about-faq-question {
        padding: 20px 20px;
    }
    
    .about-faq-question h3 {
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .about-faq-icon {
        font-size: 1.3rem;
        min-width: 25px;
        height: 25px;
    }
    
    .about-faq-answer.active {
        padding: 20px 20px;
        max-height: 500px;
    }
    
    .about-faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about-faq-section {
        padding: 40px 0;
    }
    
    .about-faq-header {
        margin-bottom: 40px;
    }
    
    .about-faq-title {
        font-size: 1.8rem;
    }
    
    .about-faq-question {
        padding: 18px 15px;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .about-faq-question h3 {
        font-size: 0.95rem;
        margin-right: 10px;
    }
    
    .about-faq-icon {
        font-size: 1.2rem;
        min-width: 22px;
        height: 22px;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .about-faq-answer.active {
        padding: 15px 15px 20px 15px;
        max-height: 600px;
    }
    
    .about-faq-item {
        margin-bottom: 15px;
    }
}

/* Animation for smooth transitions */
.about-faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

.about-faq-item:nth-child(2) {
    animation-delay: 0.1s;
}

.about-faq-item:nth-child(3) {
    animation-delay: 0.2s;
}

.about-faq-item:nth-child(4) {
    animation-delay: 0.3s;
}

.about-faq-item:nth-child(5) {
    animation-delay: 0.4s;
}

.about-faq-item:nth-child(6) {
    animation-delay: 0.5s;
}

.about-faq-item:nth-child(7) {
    animation-delay: 0.6s;
}

.about-faq-item:nth-child(8) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
.about-faq-question:focus {
    outline: 2px solid #3498db;
    outline-offset: -2px;
}

.about-faq-question:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: -2px;
}