/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header & Navigation
   =========================== */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
#hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    /* Reduce space after the button by lowering bottom padding */
    padding: 100px 0 60px;
    text-align: center;
}

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

/* Hero with profile photo layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

#hero .hero-grid .hero-content {
    max-width: none;
    margin: 0;
    text-align: left;
}

#hero .hero-grid .social-links { justify-content: flex-start; }
#hero .hero-grid .hero-buttons { justify-content: flex-start; }

.hero-photo { display: flex; justify-content: center; }
.profile-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.hero-content .hero-photo { margin: 1rem 0 1.5rem; }

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1.6s ease;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
    margin-top: 1.5rem;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===========================
   About Section
   =========================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--primary-color);
}

/* ===========================
   Education Timeline
   =========================== */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: calc(50% - 40px);
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content::before {
    /* Removed decorative timeline dot to prevent distracting hover movement */
    display: none;
}

/* Static timeline markers anchored to the center line */
.timeline-item::before {
    /* Hide static timeline markers per user request */
    display: none;
    content: none;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #hero .hero-grid .hero-content { text-align: center; }
    #hero .hero-grid .social-links { justify-content: center; }
    #hero .hero-grid .hero-buttons { justify-content: center; }

    .profile-photo { width: 160px; height: 160px; }
    .timeline-item::before {
        left: 20px; /* match the shifted timeline line on mobile */
        transform: none;
    }
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -50px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.institution {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.details {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===========================
   Experience Section
   =========================== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.experience-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.company {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.experience-card li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ===========================
   Publications Section
   =========================== */
.publications-list {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.publication-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.publication-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.publication-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.authors {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.venue {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

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

.skill-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category i {
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===========================
   Awards Section
   =========================== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.award-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.award-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.award-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.award-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* ===========================
   Footer
   =========================== */
footer {
    background-color: var(--text-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Page-Specific Styles
   =========================== */

/* Page Section */
.page-section {
    min-height: calc(100vh - 200px);
    padding: 100px 0 80px;
}

/* Verification Note (Home) */
#verification-note a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

#verification-note a:hover {
    background: rgba(37, 99, 235, 0.2);
}

/* Quick Links Grid (Home Page) */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-link-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    border: 2px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.quick-link-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page */
.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.research-interests {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.research-interests li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.research-interests i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.social-links-about {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.social-links-about a {
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links-about a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links-about i {
    font-size: 1.3rem;
}

/* Education Page */
.education-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.education-details p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Experience Page */
.experience-description {
    margin-top: 1rem;
}

.experience-description p {
    margin-bottom: 0.5rem;
}

.experience-description ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Publications Page */
.publications-header {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.publications-header a {
    color: var(--primary-color);
    text-decoration: underline;
}

.publication-category {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.publication-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.pub-link:hover {
    background: var(--primary-color);
    color: white;
}

.scholar-cta {
    text-align: center;
    margin-top: 3rem;
}

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

.system-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.system-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.system-icon i {
    font-size: 1.8rem;
    color: white;
}

.system-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.system-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.system-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.system-links {
    margin-top: 1rem;
}

.system-links a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.system-links a:hover {
    text-decoration: underline;
}

.github-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.github-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Activities Page */
.activities-container {
    max-width: 900px;
    margin: 0 auto;
}

.activity-section {
    margin-bottom: 3rem;
}

.activity-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.activity-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.activity-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.activity-place {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.activity-duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.activity-item ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.activity-item li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Hobbies Page */
.hobbies-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.hobby-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hobby-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hobby-icon i {
    font-size: 2rem;
    color: white;
}

.hobby-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hobby-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.hobbies-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.hobbies-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-content,
.etms-content {
    margin-top: 1rem;
}

.video-content p,
.etms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.video-content ul,
.etms-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.video-content li,
.etms-content li {
    margin-bottom: 0.5rem;
}

/* Embedded YouTube videos (Hobbies) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Page */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.contact-item {
    flex-direction: row;
    text-align: left;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form-section {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form button {
    border: none;
    cursor: pointer;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.location-info {
    text-align: center;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    max-width: 500px;
    box-shadow: var(--shadow-md);
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-links-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-links-footer a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links-footer a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Award Specific Styles */
.award-year {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.award-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -50px;
    }

    .skills-grid,
    .experience-grid,
    .awards-grid,
    .quick-links-grid,
    .systems-grid,
    .hobbies-grid {
        grid-template-columns: 1fr;
    }

    .page-section {
        padding: 80px 0 60px;
    }

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

    .social-links-footer {
        gap: 1rem;
    }

    .social-links-footer a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}