/* Achievements Page Specific Styles - Updated for Hero Banner */

/* Achievements Hero Banner */
.achievements-banner {
    /* padding: 160px 0 80px; */
    /* padding-top:150px; */

    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.achievements-banner:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    border-radius: 0 0 0 100px;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.banner-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.banner-text.text-center {
    text-align: center;
    width: 100%;
}

.banner-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.banner-text p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Banner Stats */
.banner-stats {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.banner-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
    transition: var(--transition);
}

.banner-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Banner Button */
.banner-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--secondary);
    border: 2px solid var(--secondary);
    transition: var(--transition);
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.banner-btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Banner Breadcrumbs - Bottom Right Position */
.banner-breadcrumbs {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.breadcrumb-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.breadcrumb-links li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-links a:hover {
    color: white;
}

.breadcrumb-links .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.breadcrumb-links li:last-child {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

/* Awards Section */
.awards-section {
    padding: 100px 0;
    background-color: white;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.award-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    position: relative;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.award-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(135deg, white 0%, var(--light) 100%);
}

.award-badge {
    position: absolute;
    top: 20px;
    right: -15px;
    background-color: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(227, 24, 55, 0.3);
}

.award-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.award-card.featured .award-icon {
    color: var(--secondary);
}

.award-year {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.award-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.award-category {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.award-content p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.award-highlights {
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.highlight i {
    color: var(--secondary);
    font-size: 1rem;
}

.highlight span {
    color: var(--dark);
    font-size: 0.95rem;
}

/* Milestones Timeline */
.milestones-section {
    padding: 100px 0;
    background-color: var(--light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 100px;
    text-align: center;
    background-color: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: var(--shadow);
}

.timeline-content {
    flex: 0 0 calc(50% - 100px);
    margin: 0 30px;
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content:before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    left: -10px;
}

.timeline-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Infrastructure Section */
.infrastructure-section {
    padding: 100px 0;
    background-color: white;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.infrastructure-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.infrastructure-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.infrastructure-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-content p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.card-features {
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feature i {
    color: var(--secondary);
}

.feature span {
    color: var(--dark);
    font-size: 0.95rem;
}

/* Children's Achievements */
.children-achievements-section {
    padding: 100px 0;
    background-color: var(--light);
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.success-story {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 200px 1fr;
}

.story-image {
    height: 100%;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 30px;
}

.story-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.story-meta {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.story-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.achievement-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.highlight i {
    color: var(--primary);
}

/* Future Goals */
.future-goals-section {
    padding: 100px 0;
    background-color: white;
}

.future-goals-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.goals-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.goals-text p {
    color: var(--gray);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.goals-list {
    margin-bottom: 40px;
}

.goal-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.goal-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 5px;
}

.goal-content h4 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.goal-content p {
    color: var(--gray);
    margin: 0;
    font-size: 1rem;
}

.cta-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.cta-box p {
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.goals-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    height: 500px;
}

.goals-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .achievements-banner:before {
        width: 40%;
    }
}

@media (max-width: 992px) {
    .achievements-banner {
        padding: 140px 0 60px;
        min-height: 450px;
    }
    
    .achievements-banner:before {
        width: 50%;
        opacity: 0.1;
    }
    
    .banner-text h1 {
        font-size: 2.8rem;
    }
    
    .banner-text p {
        font-size: 1.2rem;
    }
    
    .banner-stats {
        gap: 20px;
    }
    
    .banner-stat {
        min-width: 130px;
        padding: 15px;
    }
    
    .banner-breadcrumbs {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        align-self: flex-start;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .timeline-date {
        flex: 0 0 80px;
        margin-right: 20px;
    }
    
    .timeline-content {
        flex: 1;
        margin: 0;
    }
    
    .timeline-content:before {
        left: -10px !important;
        right: auto !important;
    }
    
    .timeline-icon {
        left: 30px;
        transform: none;
    }
    
    .success-stories-grid {
        grid-template-columns: 1fr;
    }
    
    .success-story {
        grid-template-columns: 150px 1fr;
    }
    
    .future-goals-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .achievements-banner {
        padding: 120px 0 50px;
        min-height: 400px;
    }

    .achievements-banner:before {
        display: none;
    }

    .banner-text h1 {
        font-size: 2.3rem;
        margin-bottom: 15px;
    }

    .banner-text p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 1rem;
    }

    .banner-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-stat {
        width: 100%;
        max-width: 200px;
    }

    .awards-section,
    .milestones-section,
    .infrastructure-section,
    .children-achievements-section,
    .future-goals-section {
        padding: 70px 0;
    }

    .awards-grid,
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }

    .success-stories-grid {
        grid-template-columns: 1fr;
    }

    .success-story {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .achievements-banner {
        padding: 90px 15px 40px;
        min-height: 380px;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .award-card,
    .infrastructure-card {
        padding: 25px 20px;
    }

    .success-story {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .achievements-banner {
        padding: 80px 15px 40px;
        min-height: 350px;
    }

    .banner-text h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .banner-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .banner-breadcrumbs {
        position: static;
        padding: 8px 16px;
        margin-top: 30px;
        width: auto;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.15);
    }

    .breadcrumb-links {
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .breadcrumb-links li {
        gap: 5px;
    }

    .breadcrumb-links a,
    .breadcrumb-links li:last-child {
        font-size: 0.85rem;
    }

    .awards-grid,
    .infrastructure-grid {
        gap: 20px;
    }

    .award-card,
    .infrastructure-card {
        padding: 25px 20px;
    }

    .success-stories-grid {
        grid-template-columns: 1fr;
    }

    .timeline-date {
        flex: 0 0 70px;
        font-size: 1rem;
        padding: 8px 12px;
    }

    .timeline-content {
        padding: 20px;
    }

    .goals-text h2 {
        font-size: 1.8rem;
    }
}