/* about.css - Enhanced About Page Styles for Pangani Girls' High School */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a4c8c;
    --secondary-blue: #2c6cb0;
    --accent-red: #e74c3c;
    --light-blue: #e8f1ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-color: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    flex: 0 0 100px;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 25px;
    position: relative;
}

.nav-item a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark-gray);
    padding: 8px 0;
    position: relative;
}

.nav-item a:hover {
    color: var(--primary-blue);
}

.nav-item.active a {
    color: var(--primary-blue);
}

.nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.admin-btn a {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
}

.admin-btn a:hover {
    background-color: var(--secondary-blue);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Page Header */
.page-header {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-header-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.header-carousel-slide.active {
    opacity: 1;
}

/* Default fallback images for slides */
.header-carousel-slide:nth-child(1) {
    background-image: url('../assets/about-banner.png');
}

.header-carousel-slide:nth-child(2) {
    background-image: url('assets/hero-slide-2.jpg');
}

.header-carousel-slide:nth-child(3) {
    background-image: url('assets/hero-slide-3.jpg');
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 76, 140, 0.5) 0%, rgba(44, 108, 176, 0.5) 100%);
    z-index: 2;
}

.page-header-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
    width: 100%;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb span {
    color: var(--white);
    font-weight: 500;
}

/* Carousel Controls */
.page-carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.page-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-carousel-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.page-carousel-dot:hover {
    background-color: var(--white);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent-red);
    margin: 0 auto 20px;
    border-radius: 2px;
    animation: expandLine 1.2s ease-out;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* History Timeline */
.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-blue);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 120px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    align-self: center;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-year {
    margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-year {
    margin-left: 30px;
}

.timeline-content {
    flex: 1;
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.timeline-text {
    color: var(--text-color);
}

/* Overview Section */
.overview-section {
    background-color: var(--light-gray);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.overview-highlights {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    background-color: var(--light-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.highlight-item:hover i {
    transform: rotate(15deg) scale(1.1);
    background-color: var(--primary-blue);
    color: var(--white);
}

.highlight-item h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.highlight-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.overview-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-container:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 76, 140, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    color: var(--white);
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.image-container:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

.image-caption {
    margin-top: 15px;
    font-style: italic;
    color: var(--dark-gray);
    text-align: center;
    font-size: 0.95rem;
}

/* Values Section */
.values-section {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--light-blue);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.value-card::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.7s ease;
}

.value-card:hover::before {
    left: 100%;
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-red);
}

.value-title {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.value-text {
    color: var(--text-color);
    font-size: 1rem;
}

.motto {
    font-style: italic;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Facilities Section */
.facilities-section {
    background-color: var(--light-gray);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.facility-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 76, 140, 0) 0%, rgba(26, 76, 140, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.facility-card:hover::after {
    opacity: 1;
}

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

.facility-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.facility-overlay h4 {
    color: var(--white);
    font-size: 1.1rem;
    transform: translateY(10px);
    transition: var(--transition);
}

.facility-card:hover .facility-overlay h4 {
    transform: translateY(0);
}

.facility-content {
    padding: 25px;
}

.facility-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.facility-text {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Achievements Section */
.achievements-section {
    background-color: var(--white);
}

.achievements-content {
    max-width: 800px;
    margin: 0 auto;
}

.achievement-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.achievement-item:hover::before {
    left: 100%;
}

.achievement-item:hover {
    background-color: var(--light-blue);
    transform: translateX(10px);
}

.achievement-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.achievement-item:hover .achievement-icon {
    transform: rotate(15deg) scale(1.1);
    background-color: var(--accent-red);
}

.achievement-details {
    flex: 1;
}

.achievement-title {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.achievement-text {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatBackground 20s linear infinite;
    z-index: 1;
}

@keyframes floatBackground {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-motto {
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-red);
    margin-top: 3px;
}

.vision-text, .mission-text {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-red);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
    object-fit: contain;
}

.modal-caption {
    padding: 15px;
    text-align: center;
    background-color: var(--white);
    color: var(--text-color);
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-blue);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.animate-fade-up {
    animation: fadeUp 1s ease-out;
}

.animate-fade-up-delay {
    animation: fadeUp 1s ease-out 0.3s both;
}

.animate-fade-up-delay-2 {
    animation: fadeUp 1s ease-out 0.6s both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-slide-left {
    animation: slideInLeft 1s ease-out;
}

.animate-slide-right {
    animation: slideInRight 1s ease-out;
}

.floating-element {
    animation: float 4s ease-in-out infinite;
}

/* Facility Card Hover Enhancements */
.facility-card:hover .facility-icon {
    animation: float 1.5s ease-in-out infinite;
}

/* Achievement Icon Animation */
.achievement-icon {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-year {
        flex: 0 0 100px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .page-header {
        height: 350px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .history-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        flex: 0 0 90px;
        margin-right: 20px !important;
        margin-left: 0 !important;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 80%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-year {
        flex: 0 0 80px;
        font-size: 1rem;
        padding: 8px 10px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}