html {
  scroll-behavior: smooth;
}

/* About Us Specific Styles */
.about-hero-section {
  padding: 150px 20px 100px;
  background-image: url(unkowns.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  
  animation: pulse 8s ease-in-out infinite alternate;
}

.about-hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  z-index: 2;
}
  .about-hero-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .about-hero-title {
      font-size: 48px;
      margin-bottom: 15px;
      font-weight: 700;
    }

    .about-hero-subtitle {
      font-size: 24px;
      margin-bottom: 20px;
      opacity: 0.9;
    }

    .about-hero-description {
      font-size: 18px;
      line-height: 1.6;
      margin-bottom: 30px;
      opacity: 0.95;
    }

    .about-hero-buttons {
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-primary, .btn-secondary {
      padding: 14px 32px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      border: none;
      font-weight: 600;
    }

    .btn-primary {
      background: white;
      color: #667eea;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .btn-secondary {
      background: transparent;
      color: white;
      border: 2px solid white;
    }

    .btn-secondary:hover {
      background: white !important;
      color: #000000  !important;
    }

    /* Modal Overlay */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      padding: 20px;
      animation: fadeIn 0.3s ease;
    }

    .modal-overlay.active {
      display: flex;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Modal Container */
    .modal-container {
      display: flex;
      width: 900px;
      max-width: 100%;
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      animation: slideUp 0.3s ease;
      position: relative;
    }

    @keyframes slideUp {
      from { 
        opacity: 0;
        transform: translateY(50px);
      }
      to { 
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Close Button */
    .close-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(0,0,0,0.1);
      border: none;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 20px;
      color: #333;
      z-index: 10;
      transition: all 0.3s ease;
    }

    .close-btn:hover {
      background: rgba(0,0,0,0.2);
      transform: rotate(90deg);
    }

    /* Left Side */
    .modal-left {
      width: 50%;
      background: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=800&q=80") center/cover no-repeat;
      position: relative;
    }

    .modal-left::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      
    }

    .left-content {
      position: absolute;
      bottom: 40px;
      left: 40px;
      color: #fff;
      z-index: 2;
    }

    .left-content h2 {
      font-size: 28px;
      margin-bottom: 10px;
    }

    .left-content p {
      font-size: 16px;
      opacity: 0.95;
    }

    /* Right Side */
    .modal-right {
      width: 50%;
      padding: 40px;
      overflow-y: auto;
      max-height: 600px;
    }

    .modal-right h3 {
      font-size: 26px;
      margin-bottom: 25px;
      color: #333;
    }

    label {
      display: block;
      margin: 15px 0 6px;
      font-size: 14px;
      font-weight: 500;
      color: #555;
    }

    input, textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.3s ease;
    }

    input:focus, textarea:focus {
      outline: none;
      border-color: #667eea;
    }

    textarea {
      resize: vertical;
      min-height: 100px;
    }

    .submit-btn {
      background: #667eea;
      color: #fff;
      border: none;
      padding: 14px;
      width: 100%;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 600;
      margin-top: 20px;
      transition: background 0.3s ease;
    }

    .submit-btn:hover {
      background: #5568d3;
    }

    /* Responsive */
    @media(max-width: 768px) {
      .about-hero-title {
        font-size: 32px;
      }

      .about-hero-subtitle {
        font-size: 18px;
      }

      .about-hero-description {
        font-size: 16px;
      }

      .modal-container {
        flex-direction: column;
        width: 100%;
        max-height: 90vh;
      }

      .modal-left, .modal-right {
        width: 100%;
      }

      .modal-left {
        min-height: 200px;
      }

      .modal-right {
        max-height: none;
      }

      .left-content {
        bottom: 20px;
        left: 20px;
      }

      .left-content h2 {
        font-size: 22px;
      }
    }

/* Outline button */
.btn-secondary {
  background: transparent;
  border: 2px solid #1976D2;
  color: #fff;
  opacity:0.9 ;
}
.btn-secondary:hover {
  background: linear-gradient(45deg, #590715, #d4193b);
  color: #fff;
  box-shadow: 0 8px 25px rgba(212, 25, 59, 0.4);
  transform: translateY(-3px);
}

/* Story Section */
.story-section {
  padding: 50px 20px;
  background: white;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
}

.story-header {
  text-align: center;
  margin-bottom: 40px;
}

.story-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.story-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
     text-align: justify;
}

.story-text p {
  margin-bottom: 20px;
}

.story-highlight {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid #1976D2;
}

.highlight-stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1976D2;
  display: block;
  margin-bottom: 10px;
}

.highlight-label {
  font-size: 1.1rem;
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 15px;
}

.highlight-description {
  color: #6c757d;
  line-height: 1.6;
}

/* Differentiators Section */
.differentiators-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.differentiators-container {
  max-width: 1200px;
  margin: 0 auto;
}

.differentiators-header {
  text-align: center;
  margin-bottom: 80px;
}

.differentiators-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.comparison-table {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}

.table-header {
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  color: white;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  text-align: left;
  
}

.table-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0px;
  padding: 25px 30px;
  border-bottom: 1px solid #e9ecef;
  
}

.table-row:last-child {
  border-bottom: none;
}


.table-row:nth-child(even) {
  background: #f8f9fa;
}

.table-cell {
  text-align: center;
}

.table-cell.category {
  font-weight: 600;
  color: #2d3748;
  text-align: left;
}

.table-cell.encyclohub {
  color: #1976D2;
  font-weight: 600;
}

.table-cell.typical {
  color: #6c757d;
}

/* Values Section */
.values-section {
  padding: 100px 20px;
  background: white;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values-header {
  text-align: center;
  margin-bottom: 80px;
}

.values-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-card {
   background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  width: 100%;      /* same width */
  max-width: 400px; /* ✅ keeps size consistent */
  transition: all 0.3s ease;
}
.values-grid .value-card:last-child {
  grid-column: 1 / -1;   /* put it on its own row */
  justify-self: center;  /* center align */
}
.value-card:hover {
  border-color: #1976D2;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(25, 118, 210, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.value-icon i {
  font-size: 32px;
  color: white;
}

.value-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.value-description {
  color: #6c757d;
  line-height: 1.6;
}
 /* Impact Numbers Section */
        .impact-section {
            padding: 100px 20px;
            background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
            color: white;
            position: relative;
        }

        .impact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .impact-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .impact-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .impact-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards;
        }

        .impact-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }

        .impact-stat {
            text-align: center;
            padding: 40px 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            opacity: 0;
            transform: translateY(50px) scale(0.9);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
        }

        .impact-stat::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.8s ease;
        }

        .impact-stat.animate {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .impact-stat.animate::before {
            left: 100%;
        }

        .impact-stat:hover {
            transform: translateY(-5px) scale(1.02);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .impact-number {
            font-size: 3.5rem;
            font-weight: 700;
            color: #64B5F6;
            display: block;
            margin-bottom: 10px;
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .impact-stat.animate .impact-number {
            opacity: 1;
            transform: scale(1);
        }

        .impact-label {
            font-size: 1.1rem;
            opacity: 0;
            margin-bottom: 10px;
            transform: translateY(20px);
            transition: all 0.6s ease;
            transition-delay: 0.2s;
        }

        .impact-stat.animate .impact-label {
            opacity: 0.9;
            transform: translateY(0);
        }

        .impact-description {
            font-size: 0.9rem;
            opacity: 0;
            line-height: 1.5;
            transform: translateY(20px);
            transition: all 0.6s ease;
            transition-delay: 0.4s;
        }

        .impact-stat.animate .impact-description {
            opacity: 0.8;
            transform: translateY(0);
        }

        /* Pulse animation for numbers */
        .impact-stat.animate .impact-number {
            animation: numberPulse 2s ease-in-out infinite;
            animation-delay: 1s;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes numberPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        /* Counter animation */
        .counter {
            display: inline-block;
        }

        /* Progress bar animation */
        .impact-stat::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, #64B5F6, #42A5F5);
            width: 0%;
            transition: width 1.5s ease;
            transition-delay: 0.5s;
        }

        .impact-stat.animate::after {
            width: 100%;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .impact-title {
                font-size: 2rem;
            }
            
            .impact-number {
                font-size: 2.5rem;
            }
            
            .impact-stats {
                gap: 30px;
            }
        }
/* Team Section */
.team-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 80px;
}

.team-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.team-expertise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.expertise-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.expertise-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.expertise-icon i {
  font-size: 24px;
  color: white;
}

.expertise-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
}

.expertise-description {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* CTA Section */
.about-cta-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  color: white;
  text-align: center;
}

.about-cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.about-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta-button {
  padding: 18px 35px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-cta-primary {
  background: white;
  color: #1976D2;
}

.about-cta-primary:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.about-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.about-cta-secondary:hover {
  background: white;
  color: #1976D2;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .table-header,
  .table-row {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
  
  .table-cell.category {
    text-align: center;
    font-weight: 700;
    background: #e9ecef;
    padding: 10px;
    border-radius: 5px;
  }
  
  .about-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@keyframes pulse {
  0% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.6; transform: scale(1.1) rotate(180deg); }
}