:root {
    --primary-color: #F4B41A;
    --text-color: #333;
    --background-color: #fff;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

header {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 50vh;
    margin-top: 2rem;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

.btn.secondary {
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.image-frame {
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Articles Section */
.services {
    padding: 4rem 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 0;
}

.service-grid-separator {
    grid-column: 1 / -1;
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

.full-width {
    grid-column: 1 / -1;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    line-height: 1.4;
    min-height: 3.2rem;
    font-weight: 500;
    text-align: left;
}

.service-card p {
    margin-bottom: auto;
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-card .date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.service-card .read-more {
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 0;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.service-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.read-more:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .profile-photo {
        max-width: 300px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* About Page Styles */
.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 4rem;
}

.about-page nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-page .logo {
    display: none;
}

.back-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.about-connect {
    text-align: center;
    margin: 4rem 0;
    display: flex;
    justify-content: center;
}

.about-connect .btn {
    display: inline-block;
}

.ai-intro {
    margin: 4rem 0;
    text-align: center;
}

.ai-note {
    font-family: monospace;
    font-size: 1.1rem;
    color: #666;
    border-bottom: 1px solid var(--border-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.ai-content {
    max-width: 800px;
    margin: 0 auto;
}

.ai-section {
    margin-bottom: 4rem;
}

.ai-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.ai-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.ai-text p {
    margin-bottom: 4rem;
}

.ai-text p:last-child {
    margin-bottom: 0;
}

.timeline {
    position: relative;
    margin: 2rem 0;
}

.milestone {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.milestone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.milestone .date {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.milestone h3 {
    color: #333;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.milestone p {
    color: #555;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.awards {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.awards h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.awards li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.awards li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .ai-content {
        padding: 0 1.5rem;
    }

    .ai-section h2 {
        font-size: 1.6rem;
    }

    .ai-text {
        font-size: 1rem;
    }

    .milestone {
        padding: 1rem;
    }
} 