/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Header Styles */
.main-header {
    background-color: #2c3e50;
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.school-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.school-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Main Navigation - Desktop */
.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 0 15px;
    }

    .school-name {
        font-size: 1.2rem;
    }

    .school-logo {
        width: 40px;
        height: 40px;
    }

    /* Hide desktop navigation on mobile */
    .main-nav {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu when active */
    .main-nav.mobile-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .main-nav.mobile-active .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav.mobile-active .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.mobile-active .nav-item:last-child {
        border-bottom: none;
    }

    .main-nav.mobile-active .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    /* Hamburger animation when active */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }

    .school-name {
        font-size: 1rem;
    }

    .school-logo {
        width: 35px;
        height: 35px;
    }
}

/* Accessibility Improvements */
.nav-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.mobile-menu-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .hamburger-line {
        transition: none;
    }
}


/* Hero Slider Base Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    overflow: hidden;
    background: #1a1a1a;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.slide.active .background-image {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.8) 0%,
        rgba(52, 152, 219, 0.6) 50%,
        rgba(41, 128, 185, 0.8) 100%
    );
}

/* Slide Content */
.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.content-wrapper {
    max-width: 800px;
    transform: translateY(30px);
    transition: transform 0.8s ease 0.3s;
}

.slide.active .content-wrapper {
    transform: translateY(0);
}

.slide-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.slide.active .slide-headline {
    opacity: 1;
    transform: translateY(0);
}

.slide-subheading {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.slide.active .slide-subheading {
    opacity: 1;
    transform: translateY(0);
}

/* Call-to-Action Button */
.cta-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.9s, transform 0.8s ease 0.9s, background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.slide.active .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Auto-play Control */
.autoplay-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.autoplay-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.autoplay-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.autoplay-toggle.paused svg {
    transform: scale(0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-slider {
        height: 80vh;
        max-height: 600px;
    }
    
    .slide-headline {
        font-size: 2.8rem;
    }
    
    .slide-subheading {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        max-height: 500px;
    }
    
    .slide-headline {
        font-size: 2.2rem;
    }
    
    .slide-subheading {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .autoplay-control {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        max-height: 400px;
    }
    
    .slide-headline {
        font-size: 1.8rem;
    }
    
    .slide-subheading {
        font-size: 1rem;
    }
    
    .content-wrapper {
        transform: translateY(20px);
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .autoplay-toggle {
        width: 40px;
        height: 40px;
    }
}

/* Accessibility */
.slider-nav:focus,
.indicator:focus,
.autoplay-toggle:focus,
.cta-button:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .content-wrapper,
    .slide-headline,
    .slide-subheading,
    .cta-button,
    .background-image,
    .slider-nav,
    .indicator,
    .autoplay-toggle {
        transition: none;
    }
    
    .slide.active .background-image {
        transform: none;
    }
}

/* Loading state */
.hero-slider.loading .slide-content {
    opacity: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .slider-nav,
    .autoplay-toggle {
        background: rgba(0, 0, 0, 0.8);
        border-color: white;
    }
}

/* Introduction Section Base Styles */
.introduction-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.introduction-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50, #e74c3c);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    margin: 0 auto;
    border-radius: 2px;
}

/* Introduction Content Layout */
.introduction-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

/* Welcome Message */
.welcome-message {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3498db;
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-paragraph:last-child {
    margin-bottom: 0;
}

/* School Motto */
.motto-card {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.motto-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.motto-icon {
    margin-bottom: 20px;
    color: #3498db;
    position: relative;
    z-index: 1;
}

.motto-text {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.motto-cite {
    font-size: 0.9rem;
    color: #bdc3c7;
    font-style: normal;
    position: relative;
    z-index: 1;
}

/* Statistics Grid */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    color: #3498db;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Call to Action Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #2471a3);
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .introduction-content {
        gap: 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .introduction-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .introduction-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .welcome-message {
        padding: 30px;
    }
    
    .motto-card {
        padding: 30px 20px;
    }
    
    .motto-text {
        font-size: 1.2rem;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .introduction-section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .welcome-message {
        padding: 25px 20px;
    }
    
    .intro-paragraph {
        font-size: 1rem;
        text-align: left;
    }
    
    .motto-card {
        padding: 25px 15px;
    }
    
    .motto-text {
        font-size: 1.1rem;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
.btn:focus,
.stat-card:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .stat-card,
    .btn,
    .stat-icon,
    .fade-in-up {
        transition: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .introduction-section {
        background: #ffffff;
        border-top: 3px solid #000000;
    }
    
    .stat-card {
        border: 2px solid #000000;
    }
    
    .motto-card {
        background: #000000;
        color: #ffffff;
    }
}


/* About Preview Section Base Styles */
.about-preview-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.about-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50, #e74c3c);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    margin: 0 auto;
    border-radius: 2px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.preview-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.preview-card:hover::before {
    transform: scaleX(1);
}

/* Card Icon */
.card-icon {
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
}

.preview-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.vision-card .card-icon {
    color: #3498db;
}

.mission-card .card-icon {
    color: #e74c3c;
}

.values-card .card-icon {
    color: #2ecc71;
}

/* Card Content */
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

/* Values List */
.values-list {
    text-align: left;
}

.value-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(5px);
}

.value-bullet {
    color: #2ecc71;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.value-item:hover .value-bullet {
    transform: scale(1.3);
}

.value-text {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* Card Highlight Effect */
.card-highlight {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.preview-card:hover .card-highlight {
    left: 100%;
}

/* Call to Action */
.preview-cta {
    text-align: center;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 40px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.preview-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-grid {
        gap: 25px;
    }
    
    .preview-card {
        padding: 35px 25px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-preview-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .preview-card {
        padding: 30px 25px;
    }
    
    .preview-cta {
        padding: 30px 25px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-preview-section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .preview-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .card-icon {
        margin-bottom: 20px;
    }
    
    .card-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-text {
        font-size: 0.95rem;
    }
    
    .value-text {
        font-size: 0.95rem;
    }
    
    .preview-cta {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }

/* Card Hover Animations */
@keyframes cardPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.preview-card:hover {
    animation: cardPulse 2s ease-in-out infinite;
}

/* Accessibility */
.cta-button:focus,
.preview-card:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .preview-card,
    .card-icon,
    .value-item,
    .value-bullet,
    .cta-button,
    .button-arrow,
    .fade-in-up,
    .card-highlight {
        transition: none;
    }
    
    .preview-card:hover {
        transform: none;
        animation: none;
    }
    
    .preview-card:hover .card-icon {
        transform: none;
    }
    
    .value-item:hover {
        transform: none;
    }
    
    .value-item:hover .value-bullet {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:hover .button-arrow {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .about-preview-section {
        background: #ffffff;
        border-top: 3px solid #000000;
    }
    
    .preview-card {
        border: 2px solid #000000;
    }
    
    .preview-cta {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
    
    .card-icon {
        color: #000000;
    }
}

/* News Section Base Styles */
.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50, #e74c3c);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    margin: 0 auto;
    border-radius: 2px;
}

/* News Filters */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.filter-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.news-card.hidden {
    display: none;
}

.news-card.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-thumbnail {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .image-overlay {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge[data-category="announcements"] {
    background: #e74c3c;
}

.card-badge[data-category="achievements"] {
    background: #2ecc71;
}

.card-badge[data-category="events"] {
    background: #f39c12;
}

/* Card Content */
.card-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.read-time {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.read-more-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #2980b9;
    gap: 12px;
}

.news-tags {
    display: flex;
    gap: 8px;
}

.news-tag {
    background: #f8f9fa;
    color: #7f8c8d;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-bottom: 30px;
}

.load-more-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.load-more-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.load-more-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* View All Button */
.view-all-container {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

/* Hidden News */
.hidden-news {
    display: none;
}

.hidden-news.show {
    display: block;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* No Results Message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .news-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .news-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-tags {
        flex-wrap: wrap;
    }
    
    .load-more-btn,
    .view-all-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
.filter-btn:focus,
.news-card:focus,
.load-more-btn:focus,
.view-all-btn:focus,
.read-more-link:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.news-card {
    outline: none;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .news-card,
    .filter-btn,
    .read-more-link,
    .load-more-btn,
    .view-all-btn,
    .news-thumbnail,
    .image-overlay,
    .fade-in-up {
        transition: none;
    }
    
    .news-card:hover {
        transform: none;
    }
    
    .news-card:hover .news-thumbnail {
        transform: none;
    }
    
    .read-more-link:hover {
        gap: 8px;
    }
    
    .btn-spinner {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .news-section {
        background: #ffffff;
        border-top: 3px solid #000000;
    }
    
    .news-card {
        border: 2px solid #000000;
    }
    
    .filter-btn {
        border: 2px solid #000000;
    }
    
    .filter-btn.active {
        background: #000000;
        color: #ffffff;
    }
}

/* Community Voices Section Base Styles */
.community-voices {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.community-voices::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF5722);
}

.content-wrapper {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

/* Section Header */
.voices-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.voices-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.9375rem;
    position: relative;
}

.voices-subtitle {
    font-size: 1.2rem;
    color: #E3F2FD;
    margin-bottom: 1.25rem;
    max-width: 37.5rem;
    margin-left: auto;
    margin-right: auto;
}

.accent-line {
    width: 5rem;
    height: 0.25rem;
    background: linear-gradient(90deg, #2196F3, #FF5722);
    margin: 0 auto;
    border-radius: 0.125rem;
}

/* Voices Carousel */
.voices-carousel {
    position: relative;
    max-width: 50rem;
    margin: 0 auto 3.75rem;
}

.carousel-wrapper {
    position: relative;
    height: 25rem;
    overflow: hidden;
    border-radius: 1.25rem;
}

/* Voice Item */
.voice-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
    transform: translateX(3.125rem);
}

.voice-item.current {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.voice-item.next-item {
    transform: translateX(3.125rem);
}

.voice-item.prev-item {
    transform: translateX(-3.125rem);
}

/* Voice Card */
.voice-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(1.25rem);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}

.quote-mark {
    color: #4CAF50;
    margin-bottom: 1.5625rem;
    opacity: 0.85;
}

.voice-content {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.875rem;
    font-style: italic;
    position: relative;
}

/* Voice Author */
.voice-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9375rem;
    margin-bottom: 1.25rem;
}

.author-photo {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    object-fit: cover;
    border: 0.1875rem solid #2196F3;
}

.author-details {
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3125rem;
    color: #ffffff;
}

.author-position {
    font-size: 0.9rem;
    color: #BBDEFB;
    margin: 0;
}

/* Voice Rating */
.voice-rating {
    margin-top: auto;
}

.rating-star {
    color: #FFC107;
    font-size: 1.2rem;
    margin: 0 0.125rem;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.875rem;
    gap: 1.25rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 0.125rem solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(0.625rem);
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 0.625rem;
    flex-grow: 1;
    justify-content: center;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 0.125rem solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active-dot {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Auto-play Toggle */
.auto-play {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
}

.play-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 0.125rem solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(0.625rem);
}

.play-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.play-toggle.paused-state svg {
    transform: scale(0.9);
}

/* Success Metrics */
.success-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.875rem;
    margin-bottom: 3.125rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.9375rem;
    backdrop-filter: blur(0.625rem);
}

.metric-box {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #4CAF50;
    margin-bottom: 0.625rem;
    line-height: 1;
}

.metric-description {
    font-size: 0.9rem;
    color: #BBDEFB;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

/* Action Section */
.action-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 2.5rem;
    border-radius: 1.25rem;
    backdrop-filter: blur(0.625rem);
}

.action-text {
    font-size: 1.3rem;
    margin-bottom: 1.5625rem;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.9375rem 2.1875rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 3.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 10rem;
}

.primary-action {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #ffffff;
    box-shadow: 0 0.3125rem 0.9375rem rgba(33, 150, 243, 0.3);
}

.primary-action:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(33, 150, 243, 0.4);
}

.secondary-action {
    background: transparent;
    color: #ffffff;
    border: 0.125rem solid #ffffff;
}

.secondary-action:hover {
    background: #ffffff;
    color: #1e3c72;
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 64rem) {
    .success-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5625rem;
    }
    
    .voices-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 48rem) {
    .community-voices {
        padding: 3.75rem 0;
    }
    
    .voices-title {
        font-size: 2rem;
    }
    
    .voices-subtitle {
        font-size: 1.1rem;
    }
    
    .carousel-wrapper {
        height: 28.125rem;
    }
    
    .voice-card {
        padding: 1.875rem 1.5625rem;
    }
    
    .voice-content {
        font-size: 1.1rem;
    }
    
    .success-metrics {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.875rem 1.5625rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 18.75rem;
    }
}

@media (max-width: 30rem) {
    .community-voices {
        padding: 3.125rem 0;
    }
    
    .content-wrapper {
        padding: 0 0.9375rem;
    }
    
    .voices-title {
        font-size: 1.8rem;
    }
    
    .voices-subtitle {
        font-size: 1rem;
    }
    
    .carousel-wrapper {
        height: 31.25rem;
    }
    
    .voice-card {
        padding: 1.5625rem 1.25rem;
    }
    
    .voice-content {
        font-size: 1rem;
    }
    
    .voice-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-details {
        text-align: center;
    }
    
    .carousel-controls {
        flex-direction: column;
        gap: 0.9375rem;
    }
    
    .carousel-dots {
        order: -1;
    }
    
    .success-metrics {
        padding: 1.5625rem 1.25rem;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .action-text {
        font-size: 1.1rem;
    }
}

/* Animation Classes */
.slide-in-up {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: all 0.6s ease;
}

.slide-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Effects */
.voice-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
}

/* Accessibility */
.carousel-btn:focus,
.dot:focus,
.play-toggle:focus,
.action-btn:focus {
    outline: 0.1875rem solid #4CAF50;
    outline-offset: 0.125rem;
}

.voice-card:focus {
    outline: 0.1875rem solid #4CAF50;
    outline-offset: 0.3125rem;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .voice-item,
    .carousel-btn,
    .dot,
    .play-toggle,
    .action-btn,
    .slide-in-up,
    .voice-card {
        transition: none;
    }
    
    .voice-item.current,
    .voice-item.next-item,
    .voice-item.prev-item {
        transform: none;
    }
    
    .carousel-btn:hover:not(:disabled),
    .play-toggle:hover,
    .action-btn:hover {
        transform: none;
    }
    
    .voice-card:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .community-voices {
        background: #000000;
        border-top: 0.1875rem solid #ffffff;
    }
    
    .voice-card {
        background: #000000;
        border: 0.125rem solid #ffffff;
    }
    
    .carousel-btn,
    .play-toggle {
        background: #000000;
        border: 0.125rem solid #ffffff;
    }
    
    .success-metrics,
    .action-section {
        background: #000000;
        border: 0.125rem solid #ffffff;
    }
}

/* Footer Section Base Styles */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3.75rem 0 0;
    position: relative;
    margin-top: auto;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: linear-gradient(90deg, #3498db, #e74c3c, #2ecc71);
}

.footer-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.75rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3.125rem;
    height: 0.125rem;
    background: #e74c3c;
    border-radius: 0.0625rem;
}

/* Contact Information */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem;
}

.contact-icon {
    color: #3498db;
    margin-top: 0.1875rem;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 0.875rem;
    color: #bdc3c7;
    margin-bottom: 0.3125rem;
    font-weight: 600;
}

.contact-value {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.contact-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3498db;
}

/* Quick Links */
.footer-nav {
    margin-top: 0.625rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.3125rem 0;
    display: block;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
    transform: translateX(0.3125rem);
}

.nav-link::before {
    content: '›';
    position: absolute;
    left: -0.9375rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Operating Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.hours-day {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.hours-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2ecc71;
}

.emergency-info {
    background: rgba(231, 76, 60, 0.1);
    border: 0.0625rem solid rgba(231, 76, 60, 0.3);
    border-radius: 0.5rem;
    padding: 0.9375rem;
    margin-top: 0.625rem;
}

.emergency-text {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.emergency-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.emergency-link:hover {
    color: #c0392b;
}

/* Social Media */
.social-description {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.875rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-0.125rem);
}

.social-link.facebook:hover {
    color: #1877f2;
}

.social-link.twitter:hover {
    color: #1da1f2;
}

.social-link.instagram:hover {
    color: #e4405f;
}

.social-link.youtube:hover {
    color: #ff0000;
}

.social-name {
    font-weight: 500;
}

/* Newsletter Signup */
.newsletter-signup {
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 0.625rem;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-bottom: 0.9375rem;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 0.625rem;
}

.email-input {
    flex: 1;
    padding: 0.75rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: #95a5a6;
}

.email-input:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-btn {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-0.125rem);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
    padding: 1.875rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.copyright-text {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #3498db;
}

.link-separator {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.accreditation-text {
    font-size: 0.85rem;
    color: #2ecc71;
    font-weight: 600;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    width: 3.125rem;
    height: 3.125rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 0.25rem 0.9375rem rgba(52, 152, 219, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.5rem 1.25rem rgba(52, 152, 219, 0.4);
}

.back-to-top:active {
    transform: translateY(-0.125rem);
}

/* Responsive Design */
@media (max-width: 64rem) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        order: -1;
    }
}

@media (max-width: 48rem) {
    .site-footer {
        padding: 2.5rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-width: 30rem) {
    .site-footer {
        padding: 2rem 0 0;
    }
    
    .footer-container {
        padding: 0 0.9375rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.125rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-icon {
        margin-top: 0;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .link-separator {
        display: none;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Accessibility */
.contact-link:focus,
.nav-link:focus,
.social-link:focus,
.legal-link:focus,
.email-input:focus,
.subscribe-btn:focus,
.back-to-top:focus {
    outline: 0.125rem solid #3498db;
    outline-offset: 0.125rem;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-link,
    .nav-link,
    .social-link,
    .subscribe-btn,
    .back-to-top,
    .email-input {
        transition: none;
    }
    
    .nav-link:hover,
    .social-link:hover,
    .back-to-top:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-footer {
        background: #000000;
        border-top: 0.1875rem solid #ffffff;
    }
    
    .footer-bottom {
        border-top: 0.125rem solid #ffffff;
        background: #000000;
    }
    
    .contact-link,
    .nav-link,
    .social-link,
    .legal-link {
        border: 0.0625rem solid transparent;
    }
    
    .contact-link:focus,
    .nav-link:focus,
    .social-link:focus,
    .legal-link:focus {
        border-color: #ffffff;
    }
    
    .newsletter-signup,
    .emergency-info {
        border: 0.125rem solid #ffffff;
    }
}