/* ===================================
   PrepareRI Website - Main Styles
   Modern, Accessible, Responsive Design
   =================================== */

/* CSS Variables for Theme */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --secondary-color: #059669;
    --accent-color: #DC2626;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --heading-weight: 700;
    --body-weight: 400;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--body-weight);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--heading-weight);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: var(--spacing-xs) 0;
    position: relative;
}

.nav-menu a:not(.btn-cta-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-cta-nav):hover::after {
    width: 100%;
}

.btn-cta-nav {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: var(--border-radius);
}

.btn-cta-nav:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, #4F46E5 0%, #7C3AED 40%, #059669 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(5, 150, 105, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.2) 0%, transparent 60%);
    animation: colorPulse 10s ease-in-out infinite alternate;
}

@keyframes colorPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/><circle cx="0" cy="0" r="2" fill="white" opacity="0.1"/><circle cx="100" cy="0" r="2" fill="white" opacity="0.1"/><circle cx="0" cy="100" r="2" fill="white" opacity="0.1"/><circle cx="100" cy="100" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: backgroundMove 25s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-title.light {
    color: white;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Audience Pathways */
.audience-pathways {
    background: var(--bg-light);
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.pathway-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pathway-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pathway-icon {
    margin-bottom: var(--spacing-md);
}

.pathway-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.pathway-card > p {
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
}

.pathway-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.pathway-features li {
    padding-left: var(--spacing-md);
    position: relative;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
}

.pathway-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.pathway-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.pathway-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
    display: inline-block;
}

/* Success Stories */
.success-stories {
    background: white;
}

.stories-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.story-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    box-shadow: var(--shadow-lg);
}

.story-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

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

.video-placeholder:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.story-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    width: fit-content;
}

.story-content h3 {
    margin-bottom: var(--spacing-sm);
}

.story-content > p {
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.story-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.story-name {
    font-weight: 600;
    color: var(--text-dark);
}

.story-school {
    font-size: 0.875rem;
    color: var(--text-light);
}

.story-cta {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    padding: 0;
    transition: var(--transition);
}

.story-cta:hover {
    color: var(--primary-dark);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: var(--spacing-xs);
}

/* Stats Section with Parallax */
.stats-section {
    position: relative;
    color: white;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--heading-weight);
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Partners Section */
.partners-section {
    background: var(--bg-light);
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.partner-logo {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-column h4 {
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a,
.footer-column ul li {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .pathway-grid,
    .stories-carousel {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .scroll-indicator,
    .footer {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000FF;
        --text-dark: #000000;
        --bg-white: #FFFFFF;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Stepping Stones Section
   Interactive student journey
   =================================== */

.stepping-stones-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #EEF2FF 100%);
    position: relative;
    overflow: hidden;
}

.stepping-stones-container {
    position: relative;
    min-height: 600px;
    margin: var(--spacing-lg) 0;
}

/* River SVG */
.river-svg {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 1;
}

.water-wave {
    animation: wave 8s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 0.5s;
}

.wave-3 {
    animation-delay: 1s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-5px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(20px);
    }
    75% {
        transform: translateY(5px) translateX(10px);
    }
}

/* Stones Wrapper */
.stones-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    gap: 1rem;
}

/* Individual Stepping Stone */
.stepping-stone {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    animation: floatStone 3s ease-in-out infinite;
}

.stepping-stone:nth-child(1) { animation-delay: 0s; }
.stepping-stone:nth-child(2) { animation-delay: 0.2s; }
.stepping-stone:nth-child(3) { animation-delay: 0.4s; }
.stepping-stone:nth-child(4) { animation-delay: 0.6s; }
.stepping-stone:nth-child(5) { animation-delay: 0.8s; }

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

.stepping-stone:hover {
    transform: translateY(-15px) scale(1.05);
}

.stepping-stone.active {
    transform: translateY(-20px) scale(1.1);
}

/* Stone Graphic */
.stone-graphic {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stone-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.stone-icon {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.stepping-stone:hover .stone-icon,
.stepping-stone.active .stone-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Stone Content */
.stone-content {
    text-align: center;
    padding: var(--spacing-sm);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    max-height: 0;
    overflow: hidden;
}

.stepping-stone.active .stone-content,
.stepping-stone:hover .stone-content {
    opacity: 1;
    transform: translateY(0);
    max-height: 300px;
    margin-top: var(--spacing-md);
}

.stone-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.stone-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Walking Figure */
.walking-figure {
    position: absolute;
    top: 35%;
    left: 0;
    z-index: 10;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center bottom;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.walking-figure.jumping {
    animation: jump 0.6s ease-in-out;
}

@keyframes jump {
    0% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-40px) scale(0.9) rotate(-5deg);
    }
    50% {
        transform: translateY(-60px) scale(1.1) rotate(0deg);
    }
    75% {
        transform: translateY(-40px) scale(0.9) rotate(5deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.walking-figure.walking {
    animation: walk 0.5s steps(2) infinite;
}

@keyframes walk {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

/* Journey Progress */
.journey-progress {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .stones-wrapper {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .stepping-stone {
        flex: 0 0 calc(50% - var(--spacing-md));
    }
    
    .stepping-stones-container {
        min-height: 900px;
    }
}

@media (max-width: 768px) {
    .stepping-stone {
        flex: 0 0 100%;
    }
    
    .stepping-stones-container {
        min-height: 1400px;
    }
    
    .stone-graphic {
        height: 150px;
    }
    
    .river-svg {
        top: 20%;
        height: 80%;
    }
    
    .walking-figure {
        width: 50px;
        height: 65px;
    }
    
    .walking-figure svg {
        width: 50px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .stepping-stones-section {
        padding: var(--spacing-lg) 0;
    }
    
    .stone-title {
        font-size: 1.1rem;
    }
    
    .stone-description {
        font-size: 0.9rem;
    }
}


/* Enhanced partner logo styling for links */
.partner-logo {
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    border-color: var(--primary-color);
}

/* Add gradient backgrounds to sections */
.audience-pathways {
    background: 
        linear-gradient(135deg, #F9FAFB 0%, #EEF2FF 50%, #F0FDF4 100%);
}

.success-stories {
    background: 
        linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 50%, #FEE2E2 100%);
    position: relative;
}

.success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234F46E5' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.partners-section {
    background: 
        linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 100%);
}

