* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0052cc;
    --secondary-color: #1a1f3a;
    --accent-color: #00d4ff;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-greeting {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.hero-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease 0.5s backwards;
}

.photo-frame {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 82, 204, 0.35);
    border: 8px solid rgba(255, 255, 255, 0.15);
    background-color: var(--light-bg);
    transition: var(--transition);
    position: relative;
}

.photo-frame:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 82, 204, 0.45);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    font-size: 15px;
    text-align: center;
    width: fit-content;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.cta-button.primary:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 212, 255, 0.4);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 140px 20px;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 600px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 28px;
    color: var(--text-light);
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.highlight-item:hover {
    background: var(--light-bg);
    transform: translateX(10px);
}

.highlight-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.highlight-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */

.expertise {
    padding: 140px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.expertise-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.expertise-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 16px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding-left: 20px;
}

.tech-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */

.education {
    padding: 140px 20px;
    background-color: var(--white);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.education-card {
    background-color: var(--light-bg);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.education-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.education-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.education-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.education-institution {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.education-details {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.education-period {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.education-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.coursework-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.coursework-list li {
    padding: 10px 0;
    padding-left: 25px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.coursework-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */

.experience {
    padding: 140px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 30px;
}

.experience-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.experience-header {
    margin-bottom: 15px;
}

.experience-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.company {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    display: inline-block;
    background: var(--light-bg);
    padding: 6px 16px;
    border-radius: 20px;
}

.experience-period {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.experience-description {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.experience-achievements {
    list-style: none;
    display: grid;
    gap: 12px;
}

.experience-achievements li {
    padding: 12px 0;
    padding-left: 30px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
}

.experience-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 20px;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills {
    padding: 140px 20px;
    background-color: var(--white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 45px 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.skill-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    font-size: 38px;
    margin-bottom: 20px;
    display: block;
}

.skill-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.skill-list {
    list-style: none;
    display: grid;
    gap: 13px;
}

.skill-list li {
    padding: 10px 0;
    padding-left: 25px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    line-height: 1.5;
}

.skill-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 18px;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    padding: 140px 20px;
    background-color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e8ecf1;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-18px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.project-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

.project-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.project-tags span {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.project-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    font-size: 15px;
    letter-spacing: 0.3px;
    width: fit-content;
}

.project-link:hover {
    color: var(--accent-color);
    transform: translateX(8px);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 20px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-photo {
        order: -1;
    }

    .about-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-menu {
        gap: 25px;
        font-size: 13px;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .photo-frame {
        width: 250px;
        height: 250px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .about,
    .expertise,
    .projects,
    .cta-section {
        padding: 80px 20px;
    }

    .about-highlights,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 16px;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about,
    .expertise,
    .projects,
    .cta-section {
        padding: 60px 20px;
    }

    .expertise-card {
        padding: 30px 20px;
    }

    .project-content {
        padding: 25px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 16px;
    }
}
