/* ===================================
   ABOUT PAGE STYLES - Dr. C. Ajithkumar Portfolio
   Modern About Page Design
   =================================== */

/* CSS Variables */
:root {
    --primary-blue: #1e40af;
    --light-blue: #3b82f6;
    --accent-gold: #fbbf24;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --text-gray: #64748b;
    --dark-gray: #374151;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

/* Professional About Hero Section */
.about-hero-section {
    background: #ffffff;
    padding: 140px 0 80px;
    color: #333333;
}

/* Professional Hero Content */
.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 12px;
    line-height: 1.2;
}

.title-subtitle {
    display: block;
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
}

.hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.7;
    margin-bottom: 40px;
    color: #4b5563;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Professional Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: #1e40af;
    color: #ffffff;
    border-color: #1e40af;
}

.btn-primary:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    text-decoration: none;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #1e40af;
    border-color: #1e40af;
}

.btn-outline:hover {
    background: #1e40af;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

/* Professional Profile Image */
.profile-image-wrapper {
    margin-top: 40px;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #f8fafc;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}


/* Modern Biography Section */
.modern-biography-section {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

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

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Story Content */
.story-content {
    padding-right: 30px;
}

.biography-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.story-chapters {
    margin-bottom: 40px;
}

.chapter-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: var(--transition);
}

.chapter-item:hover {
    border-color: var(--accent-gold);
    transform: translateX(8px);
}

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

.chapter-content h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.chapter-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Story Highlights */
.story-highlights {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.highlight-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    min-width: 120px;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 8px;
    line-height: 1;
}

.highlight-text {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

/* Journey Timeline */
.journey-timeline {
    position: relative;
    padding-left: 30px;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-gold);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--accent-gold);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent-gold);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}


/* Education & Experience Sections */
.education-section,
.experience-section {
    padding: 80px 0;
}

.education-card,
.experience-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: var(--transition);
    height: 100%;
}

.education-card:hover,
.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.education-content h4,
.experience-header h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.field-of-study {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.institution,
.organization {
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 4px;
}

.location {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.education-meta,
.experience-duration {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.duration,
.grade {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
}

.description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.philosophy-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 60px;
}

.philosophy-pillar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.philosophy-pillar:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 0 auto 24px;
}

.philosophy-pillar h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.philosophy-pillar p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.pillar-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pillar-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

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

/* Specializations Section */
.specializations-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.specialization-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

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

.spec-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

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

.spec-header h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin: 0;
}

.spec-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 24px;
}

/* Skill Bars */
.spec-skills {
    margin-top: 20px;
}

.skill-item {
    margin-bottom: 16px;
}

.skill-item span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.skill-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
}

/* Milestones Section */
.milestones-section {
    padding: 80px 0;
    background: var(--white);
}

.milestone-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.milestone-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    border-radius: 2px;
}

.milestone-item {
    position: relative;
    margin-bottom: 60px;
    width: 45%;
    animation: fadeInUp 0.6s ease-out;
}

.milestone-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.milestone-item:nth-child(even) {
    left: 55%;
    text-align: left;
}

.milestone-item::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--accent-gold);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--accent-gold), 0 4px 8px rgba(0, 0, 0, 0.1);
    top: 25px;
    z-index: 10;
}

.milestone-item:nth-child(odd)::before {
    right: -36px;
}

.milestone-item:nth-child(even)::before {
    left: -36px;
}

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

.milestone-year {
    background: var(--gradient-accent);
    color: var(--primary-blue);
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    border: 2px solid rgba(30, 64, 175, 0.1);
}

.milestone-content {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.milestone-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.milestone-content:hover {
    border-color: var(--accent-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.milestone-content:hover::before {
    opacity: 1;
}

.milestone-content h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.milestone-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.milestone-content small {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 500;
}

.milestone-category {
    margin-top: 16px;
}

.milestone-category .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 0 auto 20px;
}

.value-card h5 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.value-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h6 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 4px;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content .lead {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
}

/* Professional Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .about-hero-section {
        padding: 160px 0 100px;
    }
    
    .hero-stats {
        gap: 80px;
    }
    
    .profile-image {
        width: 320px;
        height: 320px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .about-hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .profile-image {
        width: 240px;
        height: 240px;
    }
}

/* Mobile Large (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .about-hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-stats {
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .about-hero-section {
        padding: 80px 0 30px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-stats {
        gap: 20px;
        margin-bottom: 35px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
}

/* Extra Small Mobile (up to 360px) */
@media (max-width: 360px) {
    .about-hero-section {
        padding: 70px 0 25px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .btn {
        max-width: 220px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .profile-image {
        width: 160px;
        height: 160px;
    }
}

/* Timeline Responsive Design */
@media (max-width: 768px) {
    .journey-timeline {
        padding-left: 20px;
    }
    
    .journey-timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding: 16px;
        margin-bottom: 25px;
    }
    
    .timeline-item::before {
        left: -26px;
        width: 10px;
        height: 10px;
        top: 25px;
    }
    
    .timeline-year {
        font-size: 1.1rem;
    }
    
    .timeline-content h5 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .journey-timeline {
        padding-left: 15px;
    }
    
    .journey-timeline::before {
        left: 7px;
    }
    
    .timeline-item {
        padding: 14px;
        margin-bottom: 20px;
        transform: none !important; /* Disable hover transform on mobile */
    }
    
    .timeline-item:hover {
        transform: none !important;
    }
    
    .timeline-item::before {
        left: -23px;
        width: 8px;
        height: 8px;
        top: 20px;
    }
    
    .timeline-year {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .timeline-content h5 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .timeline-content p {
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .journey-timeline {
        padding-left: 12px;
    }
    
    .journey-timeline::before {
        left: 6px;
        width: 1px;
    }
    
    .timeline-item {
        padding: 12px;
        margin-bottom: 18px;
        border-radius: 8px;
    }
    
    .timeline-item::before {
        left: -19px;
        width: 6px;
        height: 6px;
        top: 18px;
        border: 2px solid var(--white);
        box-shadow: 0 0 0 2px var(--accent-gold);
    }
    
    .timeline-year {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .timeline-content h5 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .timeline-content p {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* Other responsive sections */
@media (max-width: 768px) {
    .story-content {
        padding-right: 0;
    }
    
    .story-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .chapter-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .chapter-icon {
        margin-bottom: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (min-width: 769px) {
    .story-content {
        padding-right: 30px;
    }
    
    .story-highlights {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    
    .chapter-item {
        flex-direction: row;
        text-align: left;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Milestone timeline responsive - Comprehensive fix */
@media (max-width: 768px) {
    .milestone-timeline {
        padding-left: 30px;
    }
    
    .milestone-timeline::before {
        left: 15px;
        transform: none;
    }
    
    .milestone-item {
        width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 30px;
    }
    
    .milestone-item:nth-child(odd),
    .milestone-item:nth-child(even) {
        left: 0 !important;
    }
    
    .milestone-item::before {
        left: -23px !important;
        right: auto !important;
        width: 12px;
        height: 12px;
        border: 3px solid var(--white);
        box-shadow: 0 0 0 3px var(--accent-gold);
    }
    
    .milestone-content {
        padding: 16px;
    }
    
    .milestone-year {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .milestone-content h4 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .milestone-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .milestone-timeline {
        padding-left: 25px;
    }
    
    .milestone-timeline::before {
        left: 12px;
        width: 1px;
    }
    
    .milestone-item {
        margin-bottom: 25px;
    }
    
    .milestone-item::before {
        left: -19px !important;
        width: 10px;
        height: 10px;
        border: 2px solid var(--white);
        box-shadow: 0 0 0 2px var(--accent-gold);
    }
    
    .milestone-content {
        padding: 14px;
        border-radius: 8px;
    }
    
    .milestone-year {
        font-size: 12px;
        padding: 5px 10px;
        margin-bottom: 8px;
    }
    
    .milestone-content h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .milestone-content p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .milestone-content small {
        font-size: 11px;
    }
}