/* ===== CSS Variables ===== */
:root {
    --primary-blue: #0077B6;
    --primary-dark: #005A8C;
    --primary-light: #00A8E8;
    --accent-blue: #48CAE4;
    --bg-light: #F8FBFD;
    --bg-white: #FFFFFF;
    --bg-section: #EDF6FA;
    --text-dark: #1A3A4A;
    --text-medium: #4A6572;
    --text-light: #6B8A99;
    --border-light: #D4E5ED;
    --shadow-sm: 0 2px 4px rgba(0, 119, 182, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 119, 182, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 119, 182, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-section) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: var(--shadow-lg);
    background: var(--bg-section);
}

.profile-photo img {
    width: 180%;
    height: 180%;
    object-fit: cover;
    object-position: 65% -75px;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--text-dark);
}

.credentials {
    background: var(--bg-section);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.credentials h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.credential-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.credentials-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.credentials-list span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Expertise Section ===== */
.expertise {
    background: var(--bg-section);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.expertise-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-blue);
}

.expertise-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===== Achievements Section ===== */
.achievements {
    background: var(--bg-white);
}

.achievements-content {
    max-width: 900px;
    margin: 0 auto;
}

.achievement-highlight {
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: white;
    margin-bottom: 40px;
}

.award-badge {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.award-badge svg {
    width: 40px;
    height: 40px;
    color: white;
}

.achievement-highlight h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.achievement-highlight p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--bg-section);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ===== Skills Section ===== */
.skills {
    background: var(--bg-section);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.skill-category {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.skill-category h3 {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-section);
}

.skill-category ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-category li {
    font-size: 0.95rem;
    color: var(--text-medium);
    padding-left: 20px;
    position: relative;
}

.skill-category li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
}

/* ===== Personal Section ===== */
.personal {
    background: var(--bg-section);
}

.personal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.personal-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-white);
    text-align: center;
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 48px;
    background: var(--bg-section);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    min-width: 240px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid var(--border-light);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-blue);
}

.contact-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

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

    .hero-image {
        order: -1;
    }

    .profile-photo {
        width: 280px;
        height: 280px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .profile-photo {
        width: 220px;
        height: 220px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .achievement-highlight {
        padding: 32px 24px;
    }
}
