/* Our Story Page Specific Styles */
/* Hero Section */
    .about-hero {
      background: linear-gradient(rgba(0, 84, 180, 0.8), rgba(0, 51, 102, 0.8)), 
                  url('../assets/MAFINA/mafina-images-pack/img4.jpg') no-repeat center center;
      background-size: cover;
      color: white;
      padding: 8rem 2rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    
    .about-hero h1 {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      animation: fadeInUp 1s ease-out;
    }
    
    .about-hero p {
      font-size: 1.2rem;
      max-width: 800px;
      margin: 0 auto 2rem;
      animation: fadeInUp 1s ease-out 0.3s both;
    }
    
    .scroll-down {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      animation: bounce 2s infinite;
      cursor: pointer;
    }
    
/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: #f9f9f9;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
}

.timeline-item.left {
    left: 0;
    animation: slideInLeft 1s forwards;
}

.timeline-item.right {
    left: 50%;
    animation: slideInRight 1s forwards;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: orange;
    border: 4px solid orange;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item.left::after {
    right: -12px;
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-content {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-year {
    position: absolute;
    top: -20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
}

.timeline-title {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.timeline-image {
    margin-top: 1.5rem;
}

.timeline-image img {
    width: 100%;
    border-radius: 8px;
}

/* Vision Section */
.vision-section {
    padding: 6rem 0;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: black;
}

.vision-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Global Section */
.global-section {
    padding: 6rem 0;
    background: #f9f9f9;
}

.global-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.global-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.global-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.global-image {
    height: 200px;
    overflow: hidden;
}

.global-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.global-card:hover .global-image img {
    transform: scale(1.05);
}

.global-content {
    padding: 2rem;
}

.global-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.global-features {
    margin-top: 1.5rem;
}

.global-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.global-features i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Growth Section */
.growth-section {
    padding: 6rem 0;
}

.growth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.growth-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.growth-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.growth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Future Section */
.future-section {
    padding: 6rem 0;
    text-align: center;
    background: #f9f9f9;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1000px;
}

.future-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.future-card.scale-hover:hover {
    transform: translateY(-10px);
}

.future-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.future-cta {
    margin-top: 3rem;
}

.future-cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}
 .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: blue;
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    /* color: white; */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
    from {
        transform: translateX(-100px);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
    from {
        transform: translateX(100px);
    }
}

/* Parallax Effect */
.parallax {
    transition: transform 0.3s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
    .vision-content, .growth-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left::after, 
    .timeline-item.right::after {
        left: 18px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
      }
      
      .about-hero p {
        font-size: 1rem;
      }
    
    .vision-stats {
        grid-template-columns: 1fr;
    }
}