/* Architecture Section Styles */
.architecture-section {
    padding: 100px 5%;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.architecture-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.architecture-card {
    width: calc(33.33% - 20px);
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.architecture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.architecture-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.architecture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.architecture-card:hover .architecture-image img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 95, 48, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.architecture-card:hover .overlay {
    opacity: 1;
}

.overlay i {
    color: #ffffff;
    font-size: 3rem;
}

.architecture-content {
    padding: 20px;
}

.architecture-content h3 {
    font-size: 1.4rem;
    color: #005f30;
    margin-bottom: 10px;
}

.architecture-content p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
}

.learn-more {
    display: inline-block;
    color: #005f30;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #00796b;
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}



/* Architecture Timeline */
.timeline-section {
    padding: 80px 0;
}

.timeline-title {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #005f30;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #005f30;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.date {
    font-size: 0.9rem;
    font-weight: bold;
    color: #005f30;
    margin-bottom: 10px;
    display: block;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}


/* Architecture Stats */
.architecture-stats {
    margin-top: 10vh;
    background-color:#005f30;
    padding: 60px 5%;
    text-align: center;
    color: #ffffff;
    border-radius: 15px;
}

.architecture-stats h3 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    margin: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.8;
}


/* Responsive Design */
@media screen and (max-width: 1024px) {
    .architecture-card {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .architecture-card {
        width: 100%;
    }

    .architecture-timeline::before {
        left: 0;
    }

    .timeline::after {
        left: 31px;
      }
      
      .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
      }
      
      .timeline-item::after {
        left: 15px;
      }
      
      .timeline-item:nth-child(even) {
        left: 0%;
      }
      
      .timeline-content {
        padding: 15px 20px;
      }
}

@media screen and (max-width: 480px) {
    .architecture-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .architecture-image {
        height: 200px;
    }

    .timeline-title {
        font-size: 2rem;
      }
      
      .timeline-content h3 {
        font-size: 1.2rem;
      }
      
      .timeline-content p {
        font-size: 0.9rem;
      }

      .stat-number {
        font-size: 2.5rem;
    }

    .stat-text {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}