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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-weight: 400;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    font-weight: 600;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
}

/* Section Transitions */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--next-color);
    z-index: 0;
}

.section:last-child::after {
    display: none;
}

.intro::after {
    clip-path: polygon(0% 100%, 100% 100%, 100% 40%, 0% 80%);
}

.track-record::after {
    clip-path: polygon(0% 100%, 100% 100%, 100% 80%, 0% 40%);
    margin-bottom: -1px;
}

.services::after {
    clip-path: polygon(0% 100%, 100% 100%, 100% 20%, 0% 60%);
    margin-bottom: -1px;
}

.philosophy::after {
    clip-path: polygon(0% 100%, 100% 100%, 100% 60%, 0% 20%);
    margin-bottom: -1px;
}



.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Section Colors */
.intro {
    background: #fbbf24;
    color: #1a1a1a;
    --next-color: #ef4444;
}

.track-record {
    background: #ef4444;
    color: #ffffff;
    --next-color: #10b981;
}

.services {
    background: #10b981;
    color: #ffffff;
    --next-color: #fef3c7;
}

.philosophy {
    background: #fef3c7;
    color: #1a1a1a;
    --next-color: #7c3aed;
}

.contact {
    background: #7c3aed;
    color: #ffffff;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.intro-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.intro-text .subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.intro-text .location {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.intro-text .tagline {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.intro-image {
    justify-self: center;
}

.profile-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(26, 26, 26, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Common Section Styles */
.section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.achievement {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.achievement h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.metric {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.achievement p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.achievement strong {
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-item ul {
    list-style: none;
}

.service-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-item li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.why-me {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.why-me h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-item p {
    line-height: 1.6;
    opacity: 0.95;
}

.philosophy blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 3rem 0;
    font-style: italic;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.contact h2 {
    margin-bottom: 2rem;
}

.cta-text {
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 1rem 2rem;
    color: #7c3aed;
    background: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link.primary {
    background: #1a1a1a;
    color: #ffffff;
}

.social-link.primary:hover {
    background: #333;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
}

.footer p {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .intro-text h1 {
        font-size: 2.5rem;
    }
    
    .intro-text .tagline {
        font-size: 1.2rem;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .achievement h3 {
        font-size: 1.5rem;
    }
    
    .service-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
        text-align: center;
    }
    
    .philosophy blockquote {
        font-size: 1.2rem;
    }
    
    .philosophy p {
        font-size: 1rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }
    
    .section::after {
        height: 60px;
    }
    
    .intro-text h1 {
        font-size: 2rem;
    }
    
    .profile-photo {
        width: 160px;
        height: 160px;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
}