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

:root {
    --primary-color: #FF9900;
    --secondary-color: #232F3E;
    --accent-color: #146EB4;
    --linkedin-blue: #0073B1;
    --linkedin-blue-light: #00A0DC;
    --text-primary: #232F3E;
    --text-secondary: #545B64;
    --bg-primary: #F7F9FA;
    --bg-secondary: #F3F4F6;
    --bg-alt: #E5E7EB;
    --border-color: #E1E4E8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --hero-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --aws-shadow: 0 2px 4px rgba(0, 28, 36, 0.1), 0 4px 8px rgba(0, 28, 36, 0.08);
    --aws-shadow-hover: 0 4px 8px rgba(0, 28, 36, 0.12), 0 8px 16px rgba(0, 28, 36, 0.1);
}

/* Dark Mode */
body.dark-mode {
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --bg-primary: #111827;
    --bg-secondary: #1F2937;
    --bg-alt: #374151;
    --border-color: #374151;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --hero-bg: linear-gradient(135deg, rgba(31, 41, 55, 0.98) 0%, rgba(17, 24, 39, 0.98) 100%);
    --card-bg: #1F2937;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    background-color: #FFFFFF;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

body.dark-mode .navbar {
    background-color: var(--bg-primary);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Mobile dropdown styles */
.nav-menu.active {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    gap: 0;
    z-index: 999;
}

.nav-menu.active li {
    width: 100%;
    list-style: none;
}

.nav-menu.active a {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.nav-menu.active a:hover,
.nav-menu.active a.active {
    background-color: var(--bg-secondary);
}

.nav-menu.active a.active::after {
    display: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Navigation Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(180deg);
}

.theme-toggle:hover svg {
    color: var(--secondary-color);
}

.theme-toggle svg {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

body.dark-mode .sun-icon {
    display: block;
}

body.dark-mode .moon-icon {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.menu-toggle svg {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.menu-toggle:hover svg {
    color: var(--secondary-color);
}

.menu-toggle.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.menu-toggle.active svg {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2332 100%);
    color: white;
    padding: 6rem 0 5rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--hero-bg);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 28, 36, 0.12), 0 4px 12px rgba(0, 28, 36, 0.1);
    border: 1px solid #D5DBDB;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-content:hover {
    box-shadow: 0 4px 12px rgba(0, 28, 36, 0.15), 0 8px 20px rgba(0, 28, 36, 0.12);
}

.hero-image-wrapper {
    flex-shrink: 0;
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #E1E4E8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-text {
    flex: 1;
}

.hero-greeting {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

body:not(.dark-mode) .hero-greeting {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-link {
    background-color: transparent;
    color: var(--accent-color);
    border: none;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

.btn-subtle {
    background-color: var(--linkedin-blue);
    color: #FFFFFF;
    border: 1px solid var(--linkedin-blue);
    padding: 0.875rem 2rem;
    font-weight: 500;
}

.btn-subtle:hover {
    background-color: var(--linkedin-blue-light);
    border-color: var(--linkedin-blue-light);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 115, 177, 0.3);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

/* Page Section Styles */
.page-section {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 5rem 0;
}

.page-section.active {
    display: block;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-color);
}

body.dark-mode .page-title {
    color: var(--text-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--secondary-color);
}

body.dark-mode .section-title {
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* About Section */
/* About Section - Redesigned */
.about-photo-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.about-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #E1E4E8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.about-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.about-title {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Story Content */
.story-content {
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Story Card */
.story-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.story-content {
    max-width: 100%;
    margin: 0;
}

.story-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.story-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .story-card {
        padding: 2rem;
    }
    
    .story-content p {
        text-align: left;
    }
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

body.dark-mode .story-content strong {
    color: var(--primary-color);
}

.about-story {
    margin-bottom: 4rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-align: center;
}

body.dark-mode .section-heading {
    color: var(--text-primary);
}

/* Expertise Section */
.expertise-section {
    margin-bottom: 4rem;
}

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

.expertise-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expertise-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

body.dark-mode .expertise-card h4 {
    color: var(--text-primary);
}

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

/* Responsibilities Section */
.responsibilities {
    margin-bottom: 4rem;
}

.responsibility-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.responsibility-list li {
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsibility-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.responsibility-list strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

body.dark-mode .responsibility-list strong {
    color: var(--text-primary);
}

/* Impact Section */
.impact-section {
    margin-bottom: 4rem;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2332 100%);
    color: white;
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

body:not(.dark-mode) .stat-card {
    background: #FFFFFF;
    border: 1px solid #D5DBDB;
    border-left: 4px solid var(--linkedin-blue);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 28, 36, 0.12), 0 4px 12px rgba(0, 28, 36, 0.1);
    position: relative;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

body:not(.dark-mode) .stat-card:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FF 100%);
    border-left-color: var(--linkedin-blue-light);
}

body.dark-mode .stat-card:hover {
    background: linear-gradient(135deg, #232F3E 0%, #1a2332 100%);
}

body:not(.dark-mode) .stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 28, 36, 0.15), 0 8px 20px rgba(0, 28, 36, 0.12);
    border-left-color: var(--linkedin-blue-light);
}

.stat-card-link {
    text-decoration: none;
    color: inherit;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

body:not(.dark-mode) .stat-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, #EC7211 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

body:not(.dark-mode) .stat-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* Education Section */
.education-section {
    margin-bottom: 2rem;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.education-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.education-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.education-content {
    flex: 1;
}

.education-degree {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.education-school {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

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

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid var(--border-color);
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .event-card:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F9FA 100%);
}

body.dark-mode .event-card:hover {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

/* Event Image Slider */
.event-images {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

/* Hide event-images container if no images */
.event-images:empty {
    display: none;
    height: 0;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.event-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-image.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots:empty {
    display: none;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-color);
}

/* Event Card Content */
.event-card > .event-header,
.event-card > .event-date,
.event-card > .event-title,
.event-card > .event-description,
.event-card > .event-topics,
.event-card > .event-link {
    padding: 0 2rem;
}

.event-card > .event-header {
    padding-top: 1.5rem;
}

/* For cards without images, add top padding to first element */
.event-card > .event-header:first-child {
    padding-top: 2rem;
}

.event-card > .event-link {
    padding-bottom: 2rem;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.event-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-badge {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

body.dark-mode .event-title {
    color: var(--text-primary);
}

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

.event-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.topic {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.event-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

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

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .blog-card:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F9FA 100%);
}

body.dark-mode .blog-card:hover {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.blog-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.blog-date {
    font-weight: 500;
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

body.dark-mode .blog-title {
    color: var(--text-primary);
}

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

.blog-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

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

.contact-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
}

.footer-kiro-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.footer-kiro-link:hover {
    color: #FFFFFF;
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-kiro-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.footer-kiro-link:hover .footer-kiro-icon {
    transform: rotate(10deg) scale(1.1);
}

.footer-kiro-text {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-photo {
        width: 160px;
        height: 160px;
    }

    .about-name {
        font-size: 2rem;
    }

    .about-title {
        font-size: 1.125rem;
    }

    .story-content p {
        font-size: 1rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        display: none;
        border-top: 1px solid var(--border-color);
        gap: 0;
        z-index: 999;
    }

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

    .nav-menu li {
        width: 100%;
        list-style: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 0;
        transition: background-color 0.3s ease;
        font-size: 1rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: var(--bg-secondary);
    }

    .nav-menu a.active::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

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

    .events-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .section {
        padding: 3rem 0;
    }

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

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

    .section-heading {
        font-size: 1.5rem;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

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

    .about-name {
        font-size: 1.75rem;
    }

    .about-title {
        font-size: 1rem;
    }

    .story-content p {
        font-size: 0.95rem;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

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

    .expertise-card {
        padding: 1.5rem;
    }

    .section-heading {
        font-size: 1.35rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* Active Navigation Link */
.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
}

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

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.award-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.award-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .award-card:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F9FA 100%);
}

body.dark-mode .award-card:hover {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.award-badge {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.award-badge.microsoft-cert {
    width: 200px;
    height: 200px;
}

.award-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

body.dark-mode .award-title {
    color: var(--text-primary);
}

.award-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.award-issuer {
    color: var(--accent-color);
    font-weight: 600;
}

.award-date {
    color: var(--text-secondary);
}

.award-description {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

/* Subsection Title */
.subsection-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 3rem 0 2rem 0;
    color: var(--secondary-color);
}

body.dark-mode .subsection-title {
    color: var(--text-primary);
}

.subsection-title:first-of-type {
    margin-top: 0;
}
