/* Modern Design Enhancements for AmeriDuo Website */
/* This file contains reusable modern styling components */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section .subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 10px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--secondary-color);
    text-decoration: none;
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.track-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.track-card.featured {
    border-color: var(--border-color);
    border-width: 3px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.track-card.featured:hover {
    border-color: var(--primary-color);
}

.track-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.track-badge.secondary {
    background: var(--success-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.curriculum-stage {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.course-list {
    list-style: none;
    padding: 0;
}

.course-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.course-list li:last-child {
    border-bottom: none;
}

.course-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 20px;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    margin: 40px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:hover {
    background: var(--bg-light);
}

.path-visualization {
    text-align: center;
    padding: 60px 0;
    background: var(--bg-light);
}

.path-step {
    display: inline-block;
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    margin: 0 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
}

.path-step::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
}

.path-step:last-child::after {
    display: none;
}

.section-title-modern {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title-modern h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title-modern p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.stat-item {
    display: inline-block;
    margin: 0 40px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Mobile Font Sizing - Large Fonts for Better Readability */
@media (max-width: 768px) {
    /* Increase base font size on mobile */
    body {
        font-size: 1.8em !important;
    }
    
    /* Large headings on mobile */
    h1, h2 {
        font-size: 2.5em !important;
    }
    
    h3 {
        font-size: 2em !important;
    }
    
    h4 {
        font-size: 1.7em !important;
    }
    
    h5, h6 {
        font-size: 1.5em !important;
    }
    
    p {
        font-size: 1.1em !important;
    }
    
    /* Hero Section - Large fonts */
    .hero-section h1 {
        font-size: 3.2rem !important;
        margin-bottom: 20px;
    }
    
    .hero-section .subtitle {
        font-size: 1.5rem !important;
        margin-bottom: 30px;
    }
    
    /* Override all inline font-size styles to be larger on mobile */
    [style*="font-size: 3rem"],
    [style*="font-size:3rem"] {
        font-size: 3.2rem !important;
    }
    
    [style*="font-size: 2.5rem"],
    [style*="font-size:2.5rem"] {
        font-size: 2.8rem !important;
    }
    
    [style*="font-size: 1.8rem"],
    [style*="font-size:1.8rem"] {
        font-size: 2rem !important;
    }
    
    [style*="font-size: 1.5rem"],
    [style*="font-size:1.5rem"] {
        font-size: 1.7rem !important;
    }
    
    [style*="font-size: 1.4rem"],
    [style*="font-size:1.4rem"] {
        font-size: 1.6rem !important;
    }
    
    [style*="font-size: 1.3rem"],
    [style*="font-size:1.3rem"] {
        font-size: 1.5rem !important;
    }
    
    [style*="font-size: 1.2rem"],
    [style*="font-size:1.2rem"] {
        font-size: 1.4rem !important;
    }
    
    [style*="font-size: 1.1rem"],
    [style*="font-size:1.1rem"] {
        font-size: 1.3rem !important;
    }
    
    [style*="font-size: 1rem"],
    [style*="font-size:1rem"] {
        font-size: 1.2rem !important;
    }
    
    [style*="font-size: 0.95rem"],
    [style*="font-size:0.95rem"] {
        font-size: 1.15rem !important;
    }
    
    [style*="font-size: 0.9rem"],
    [style*="font-size:0.9rem"] {
        font-size: 1.1rem !important;
    }
    
    [style*="font-size: 0.85rem"],
    [style*="font-size:0.85rem"] {
        font-size: 1.05rem !important;
    }
    
    /* Section Titles */
    .section-title-modern h2 {
        font-size: 2.8rem !important;
        margin-bottom: 15px;
    }
    
    .section-title-modern p {
        font-size: 1.4rem !important;
    }
    
    /* Buttons */
    .cta-button {
        font-size: 1.2rem !important;
        padding: 18px 40px;
    }
    
    /* Track Cards */
    .track-card h3 {
        font-size: 1.8rem !important;
    }
    
    .track-card h4 {
        font-size: 1.4rem !important;
    }
    
    .track-card p {
        font-size: 1.15rem !important;
    }
    
    /* Feature Items */
    .feature-item h4 {
        font-size: 1.5rem !important;
    }
    
    .feature-item p {
        font-size: 1.15rem !important;
    }
    
    /* Curriculum */
    .curriculum-stage h3 {
        font-size: 1.8rem !important;
    }
    
    .curriculum-stage h4 {
        font-size: 1.4rem !important;
    }
    
    .course-list li {
        font-size: 1.15rem !important;
    }
    
    /* Path Visualization */
    .path-visualization {
        padding-bottom: 100px !important;
    }
    
    .path-step {
        display: block;
        margin: 15px 0 60px 0;
        z-index: 1;
        font-size: 1.2em !important;
    }
    
    .path-step strong {
        font-size: 1.5rem !important;
    }
    
    .path-step span {
        font-size: 1.3rem !important;
    }
    
    .path-step small {
        font-size: 1.2rem !important;
    }
    
    .path-step::after {
        content: '↓';
        right: 50%;
        top: 100%;
        bottom: auto;
        margin-top: 15px;
        transform: translateX(50%);
        z-index: 10;
        position: absolute;
        font-size: 2rem;
        color: var(--primary-color);
        background: white;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .path-step:last-child {
        margin-bottom: 15px;
    }
    
    /* Stats and Badges */
    .stat-number {
        font-size: 3rem !important;
    }
    
    .stat-label {
        font-size: 1.3rem !important;
    }
    
    .track-badge {
        font-size: 1.1rem !important;
        padding: 8px 16px;
    }
}

/* Extra Small Devices - Even Larger Fonts */
@media (max-width: 480px) {
    body {
        font-size: 2em !important;
    }
    
    h1, h2 {
        font-size: 2.8em !important;
    }
    
    h3 {
        font-size: 2.3em !important;
    }
    
    h4 {
        font-size: 2em !important;
    }
    
    h5, h6 {
        font-size: 1.7em !important;
    }
    
    p {
        font-size: 1.2em !important;
    }
    
    .hero-section h1 {
        font-size: 3.5rem !important;
    }
    
    .hero-section .subtitle {
        font-size: 1.6rem !important;
    }
    
    /* Override inline styles for extra small devices */
    [style*="font-size: 3rem"],
    [style*="font-size:3rem"] {
        font-size: 3.5rem !important;
    }
    
    [style*="font-size: 2.5rem"],
    [style*="font-size:2.5rem"] {
        font-size: 3rem !important;
    }
    
    [style*="font-size: 1.8rem"],
    [style*="font-size:1.8rem"] {
        font-size: 2.2rem !important;
    }
    
    [style*="font-size: 1.5rem"],
    [style*="font-size:1.5rem"] {
        font-size: 1.9rem !important;
    }
    
    [style*="font-size: 1.4rem"],
    [style*="font-size:1.4rem"] {
        font-size: 1.8rem !important;
    }
    
    [style*="font-size: 1.3rem"],
    [style*="font-size:1.3rem"] {
        font-size: 1.7rem !important;
    }
    
    [style*="font-size: 1.2rem"],
    [style*="font-size:1.2rem"] {
        font-size: 1.6rem !important;
    }
    
    [style*="font-size: 1.1rem"],
    [style*="font-size:1.1rem"] {
        font-size: 1.5rem !important;
    }
    
    [style*="font-size: 1rem"],
    [style*="font-size:1rem"] {
        font-size: 1.4rem !important;
    }
    
    [style*="font-size: 0.95rem"],
    [style*="font-size:0.95rem"] {
        font-size: 1.3rem !important;
    }
    
    [style*="font-size: 0.9rem"],
    [style*="font-size:0.9rem"] {
        font-size: 1.25rem !important;
    }
    
    [style*="font-size: 0.85rem"],
    [style*="font-size:0.85rem"] {
        font-size: 1.2rem !important;
    }
    
    .section-title-modern h2 {
        font-size: 3rem !important;
    }
    
    .section-title-modern p {
        font-size: 1.5rem !important;
    }
    
    .cta-button {
        font-size: 1.3rem !important;
        padding: 20px 45px;
    }
    
    .track-card h3 {
        font-size: 2rem !important;
    }
    
    .track-card h4 {
        font-size: 1.6rem !important;
    }
    
    .track-card p {
        font-size: 1.3rem !important;
    }
    
    .feature-item h4 {
        font-size: 1.7rem !important;
    }
    
    .feature-item p {
        font-size: 1.3rem !important;
    }
    
    .curriculum-stage h3 {
        font-size: 2rem !important;
    }
    
    .curriculum-stage h4 {
        font-size: 1.6rem !important;
    }
    
    .course-list li {
        font-size: 1.3rem !important;
    }
    
    .path-step strong {
        font-size: 1.7rem !important;
    }
    
    .path-step span {
        font-size: 1.5rem !important;
    }
    
    .path-step small {
        font-size: 1.4rem !important;
    }
    
    .stat-number {
        font-size: 3.5rem !important;
    }
    
    .stat-label {
        font-size: 1.5rem !important;
    }
    
    .track-badge {
        font-size: 1.2rem !important;
        padding: 10px 18px;
    }
}

