/* 
* About Page Specific Styles
* Additional styling for the Learning Hub About Page
*/

/*--------------------------------------------------------------
# About Header
--------------------------------------------------------------*/
.about-header {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(45, 80, 34, 0.7)), url('../Banner/logo1.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
  }
  
  .about-header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    background: linear-gradient(to top, #ffffff, transparent);
    z-index: 1;
  }
  
  .about-header-content {
    position: relative;
    z-index: 2;
  }
  
  .about-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease forwards;
  }
  
  .about-header p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /*--------------------------------------------------------------
  # Detailed About Section Enhancements
  --------------------------------------------------------------*/
  .detailed-about .about-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .detailed-about .about-image-wrapper {
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 0;
  }
  
  .detailed-about .about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
  }
  
  .detailed-about .about-image-wrapper:hover .about-image {
    transform: scale(1.05);
  }
  
  .detailed-about .about-paragraph {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  @media (max-width: 992px) {
    .detailed-about .about-container {
      grid-template-columns: 1fr;
    }
    
    .detailed-about .about-image-wrapper {
      margin-bottom: 40px;
      height: 400px;
    }
  }
  
  /*--------------------------------------------------------------
  # Mission and Vision Section
  --------------------------------------------------------------*/
  .mission-vision {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
  }
  
  .mission-vision::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 120, 200, 0.05) 0%, rgba(0, 120, 200, 0) 70%);
    z-index: 0;
  }
  
  .mission-vision::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 120, 200, 0.05) 0%, rgba(0, 120, 200, 0) 70%);
    z-index: 0;
  }
  
  .mission-card,
  .vision-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1;
  }
  
  .mission-card:hover,
  .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  
  .mission-card::before,
  .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-color, #0078c8);
    transition: height 0.8s ease;
    z-index: -1;
  }
  
  .mission-card:hover::before,
  .vision-card:hover::before {
    height: 100%;
  }
  
  .mission-icon,
  .vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .mission-card:hover .mission-icon,
  .vision-card:hover .vision-icon {
    background: linear-gradient(135deg, #e4e9f2 0%, #f5f7fa 100%);
    transform: rotateY(360deg);
    transition: transform 0.8s ease, background 0.3s;
  }
  
  .mission-icon i,
  .vision-icon i {
    font-size: 36px;
    color: var(--accent-color, #0078c8);
    transition: all 0.3s ease;
  }
  
  .mission-card h2,
  .vision-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
  }
  
  .mission-card h2::after,
  .vision-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color, #0078c8);
    transition: width 0.3s ease;
  }
  
  .mission-card:hover h2::after,
  .vision-card:hover h2::after {
    width: 80px;
  }
  
  .mission-card p,
  .vision-card p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
  }
  
  .mission-points,
  .vision-points {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mission-points li,
  .vision-points li {
    padding: 8px 0;
    display: flex;
    align-items: center;
  }
  
  .mission-points li i,
  .vision-points li i {
    color: var(--accent-color, #0078c8);
    margin-right: 10px;
    font-size: 18px;
  }
  
  /*--------------------------------------------------------------
  # Core Values Section
  --------------------------------------------------------------*/
  .core-values {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
  }
  
  .core-values .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
  }
  
  .core-values .section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color, #0078c8);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .value-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
  }
  
  .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
  }
  
  .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color, #0078c8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
  }
  
  .value-card:hover::before {
    transform: scaleX(1);
  }
  
  .value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e4e9f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }
  
  .value-card:hover .value-icon {
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.1) 0%, rgba(0, 120, 200, 0.05) 100%);
  }
  
  .value-icon i {
    font-size: 28px;
    color: var(--accent-color, #0078c8);
    transition: all 0.3s ease;
  }
  
  .value-card:hover .value-icon i {
    transform: rotateY(360deg);
    transition: transform 0.8s ease;
  }
  
  .value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s ease;
  }
  
  .value-card:hover h3 {
    color: var(--accent-color, #0078c8);
  }
  
  .value-card p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: #555;
  }
  
  @media (max-width: 768px) {
    .values-container {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  /*--------------------------------------------------------------
  # Milestones/Timeline Section
  --------------------------------------------------------------*/
  .milestones {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
  }
  
  .milestones .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
  }
  
  .milestones .section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color, #0078c8);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(0, 120, 200, 0.2);
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }
  
  .timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
  }
  
  .timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
  }
  
  .timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color, #0078c8);
    border-radius: 50%;
    top: 8px;
    z-index: 2;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
  }
  
  .timeline-date {
    position: absolute;
    top: 5px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color, #0078c8);
  }
  
  .timeline-item:nth-child(odd) .timeline-date {
    left: -90px;
  }
  
  .timeline-item:nth-child(even) .timeline-date {
    right: -90px;
  }
  
  .timeline-content {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
  }
  
  .timeline-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
  }
  
  /* Animation delays for timeline items */
  .timeline-item:nth-child(1) { transition-delay: 0.1s; }
  .timeline-item:nth-child(2) { transition-delay: 0.3s; }
  .timeline-item:nth-child(3) { transition-delay: 0.5s; }
  .timeline-item:nth-child(4) { transition-delay: 0.7s; }
  .timeline-item:nth-child(5) { transition-delay: 0.9s; }
  .timeline-item:nth-child(6) { transition-delay: 1.1s; }
  
  @media (max-width: 768px) {
    .timeline::before {
      left: 40px;
    }
    
    .timeline-item {
      width: 100%;
      padding-left: 80px;
      padding-right: 0;
      text-align: left;
      left: 0 !important;
    }
    
    .timeline-dot {
      left: 31px !important;
      right: auto !important;
    }
    
    .timeline-date {
      position: relative;
      top: auto;
      left: auto !important;
      right: auto !important;
      margin-bottom: 10px;
      display: inline-block;
    }
  }
  
  /*--------------------------------------------------------------
  # Our Approach Section
  --------------------------------------------------------------*/
  .our-approach {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
  }
  
  .our-approach .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
  }
  
  .our-approach .section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color, #0078c8);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .approach-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .approach-card {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }
  
  .approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
  }
  
  .approach-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color, #0078c8);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
  }
  
  .approach-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .approach-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e4e9f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }
  
  .approach-card:hover .approach-icon {
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.1) 0%, rgba(0, 120, 200, 0.05) 100%);
  }
  
  .approach-icon i {
    font-size: 28px;
    color: var(--accent-color, #0078c8);
    transition: all 0.3s ease;
  }
  
  .approach-card:hover .approach-icon i {
    transform: scale(1.2);
  }
  
  .approach-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
  }
  
  .approach-card:hover h3 {
    color: var(--accent-color, #0078c8);
  }
  
  .approach-card p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: #555;
  }
  
  @media (max-width: 768px) {
    .approach-container {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  /*--------------------------------------------------------------
  # CTA Section
  --------------------------------------------------------------*/
  .about-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../Banner/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #ffffff;
    text-align: center;
  }
  
  .about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
  }
  
  .cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
  }
  
  .about-cta p {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .cta-btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
  }
  
  .cta-btn.primary {
    background-color: var(--accent-color, #0078c8);
    color: #ffffff;
  }
  
  .cta-btn.primary:hover {
    background-color: #0090f5;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .cta-btn.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
  }
  
  .cta-btn.secondary:hover {
    background-color: #ffffff;
    color: var(--accent-color, #0078c8);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  @media (max-width: 576px) {
    .about-cta h2 {
      font-size: 28px;
    }
    
    .about-cta p {
      font-size: 16px;
    }
    
    .cta-buttons {
      flex-direction: column;
      gap: 15px;
    }
    
    .cta-btn {
      width: 100%;
      text-align: center;
    }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .about-header {
      padding: 80px 0;
    }
    
    .about-header h1 {
      font-size: 36px;
    }
    
    .about-header p {
      font-size: 18px;
    }
  }
  
  @media (max-width: 576px) {
    .about-header {
      padding: 60px 0;
    }
    
    .about-header h1 {
      font-size: 28px;
    }
    
    .about-header p {
      font-size: 16px;
    }
    
    .mission-card, 
    .vision-card {
      margin-bottom: 30px;
    }
    
    .core-values .section-title,
    .milestones .section-title,
    .our-approach .section-title {
      font-size: 28px;
      margin-bottom: 40px;
    }
  }

  