/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* About Content Container */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Main Heading */
.about-content h1 {
    font-family: "filson-pro", sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 2rem);
    color: var(--warm-purple);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    text-align: left;
}

/* About Section */
.about-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
}

.about-section p {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 800px;
  /*  color: var(--dark-text);*/
  color: #666;
}

/* Timeline Section */
.about-timeline {
    margin: 4rem 0;
    position: relative;
    padding: 2rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--warm-purple), #d397fa);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 4rem;
}

.timeline-icon {
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: white;
    border: 3px solid var(--warm-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(131, 100, 232, 0.2);
}

.timeline-content h3 {
    font-family: "filson-pro", sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--warm-purple);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.timeline-content p {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.5;
    color: #666;
    margin: 0;
    max-width: 600px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem 0;
}

.skill-category {
    background: linear-gradient(135deg, #f8f9ff 0%, #f2f3ff 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(131, 100, 232, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(131, 100, 232, 0.15);
}*/

.skill-category h3 {
    font-family: "filson-pro", sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--warm-purple);
    margin: 0 0 1.5rem 0;
    text-align: center;
    position: relative;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--warm-purple);
    border-radius: 1px;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    font-family: "new-order", sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 16px);
    color: var(--dark-text);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(131, 100, 232, 0.1);
    position: relative;

    text-align: center;
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Approach Section */
.approach-section {
    /*background: linear-gradient(135deg, var(--warm-purple) 0%, #d397fa 100%);*/
    color: #8364e8;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.approach-section h2 {
    font-family: "filson-pro", sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 2;
}

.approach-section p {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* About CTA Section */
.about-cta {
    background: #f8f9ff;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
    border: 1px solid rgba(131, 100, 232, 0.1);
}

.about-cta h2 {
    font-family: "filson-pro", sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--warm-purple);
    margin: 0 0 1.5rem 0;
}

.about-cta p {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.6;
    color: var(--dark-text);
    margin: 0 0 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: "filson-pro", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.3s ease;
    border: 2px solid var(--warm-purple);
    text-align: center;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: var(--warm-purple);
    color: white;
    box-shadow: 0 4px 15px rgba(131, 100, 232, 0.3);
}

.cta-button.primary:hover {
    background: #6b4ce8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 100, 232, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--warm-purple);
    box-shadow: 0 4px 15px rgba(131, 100, 232, 0.1);
}

.cta-button.secondary:hover {
    background: var(--warm-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 100, 232, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .about-content h1 {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .about-section {
        text-align: center;
    }
    
    .about-section p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .about-timeline::before {
        left: 20px;
    }
    
    .timeline-icon {
        left: 5px;
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .approach-section {
        padding: 2.5rem 1.5rem;
    }
    
    .about-cta {
        padding: 2.5rem 1.5rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .about-content {
        padding: 0 1rem;
    }
    
    .about-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2rem;
    }
    
    .about-section {
        margin: 2rem 0;
        padding: 1rem 0;
    }
    
    .about-section p {
        font-size: clamp(14px, 3vw, 18px);
        text-align: center;
    }
    
    .about-timeline {
        margin: 3rem 0;
        padding: 1rem 0;
    }
    
    .about-timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .timeline-icon {
        left: 0;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .timeline-content h3 {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }
    
    .timeline-content p {
        font-size: clamp(12px, 2.5vw, 14px);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 3rem 0;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-category h3 {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .skill-list li {
        font-size: clamp(12px, 2.5vw, 14px);
        padding: 0.5rem 0;
    }
    
    .approach-section {
        padding: 2rem 1rem;
        margin: 3rem 0;
    }
    
    .approach-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .approach-section p {
        font-size: clamp(14px, 3vw, 16px);
    }
    
    .about-cta {
        padding: 2rem 1rem;
        margin: 3rem 0;
    }
    
    .about-cta h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .about-cta p {
        font-size: clamp(14px, 3vw, 16px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 2rem;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .about-content {
        padding: 0 0.5rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .about-timeline::before {
        left: 10px;
    }
    
    .timeline-icon {
        left: -5px;
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    .skill-category {
        padding: 1rem;
    }
    
    .approach-section {
        padding: 1.5rem 0.75rem;
    }
    
    .about-cta {
        padding: 1.5rem 0.75rem;
    }
}

/* ========================================
   ANIMATIONS & INTERACTIONS
   ======================================== */

/* Fade in animation for timeline items */
.timeline-item {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade in animation for skill categories */
.skill-category {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.skill-category:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(3) { animation-delay: 0.3s; }

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

/* Hover effects for interactive elements */
/*.skill-category:hover .skill-list li {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(131, 100, 232, 0.3);
    transition: all 0.3s ease;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus states for better accessibility */
.cta-button:focus {
    outline: 3px solid rgba(131, 100, 232, 0.5);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .timeline-item,
    .skill-category {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .approach-section::before {
        animation: none;
    }
    
    .cta-button::before {
        display: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .skill-category:hover {
        transform: none;
    }
    
    .timeline-item:hover .timeline-icon {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .skill-category {
        border: 2px solid var(--warm-purple);
    }
    
    .timeline-icon {
        border: 3px solid var(--dark-text);
        background: white;
    }
    
    .approach-section {
        border: 2px solid white;
    }
}
