/* ===================================
   CSS Custom Properties (Variables)
   =================================== */
:root {
    /* Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: rgba(30, 41, 59, 0.5);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

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

ul {
    list-style: none;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-dark {
    background: rgba(15, 23, 42, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: var(--spacing-sm) auto 0;
    border-radius: var(--radius-full);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    flex: 0 0 auto;
    cursor: pointer;
    transition: var(--transition-base);
}

.nav-brand:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.brand-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-accent {
    color: #06b6d4;
}

/* Group Menu and Toggle to the right */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-base);
    margin-left: var(--spacing-sm);
}

.theme-toggle:hover {
    background: var(--primary-gradient);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.theme-toggle i {
    transition: var(--transition-base);
}

/* Light Mode Styles */
body.light-mode {
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-primary: #0f172a;
    --text-secondary: rgba(15, 23, 42, 0.7);
    --text-muted: rgba(15, 23, 42, 0.5);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body.light-mode::before {
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
}

body.light-mode .section-dark {
    background: rgba(248, 250, 252, 0.5);
}

body.light-mode .skill-tag,
body.light-mode .soft-skill-item,
body.light-mode .tech-tag,
body.light-mode .about-location {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .social-link,
body.light-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Particle Background Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.hero-name {
    margin-bottom: var(--spacing-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.typing-text {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-gradient);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
    animation: pulse 3s ease infinite;
}

/* ===================================
   About Section
   =================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    text-align: center;
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    font-size: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-location {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1.5rem;
    background: var(--bg-darker);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

/* ===================================
   Education Section
   =================================== */
.education-content {
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex-wrap: wrap;
}

.education-header {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: var(--spacing-md);
}

.education-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.education-info h3 {
    margin-bottom: var(--spacing-xs);
}

.education-major {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.education-school {
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.education-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.education-gpa {
    text-align: center;
}

.gpa-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-sm);
}

.gpa-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.gpa-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.gpa-progress {
    fill: none;
    stroke: url(#gpaGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--gpa-percent)) / 100);
    transition: stroke-dashoffset 1s ease;
}

.gpa-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gpa-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gpa-max {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
}

.gpa-label {
    color: var(--text-secondary);
    font-weight: 600;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gradient);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: var(--spacing-lg);
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    box-shadow: 0 0 0 4px var(--bg-dark);
}

.timeline-content {
    position: relative;
}

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-title {
    margin-bottom: var(--spacing-xs);
}

.timeline-organization {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.timeline-description li {
    margin-bottom: var(--spacing-sm);
    padding-left: 1.5rem;
    position: relative;
}

.timeline-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #06b6d4;
    font-weight: bold;
}

/* ===================================
   Skills Section
   =================================== */
.skills-content {
    display: grid;
    gap: var(--spacing-lg);
}

.skills-category-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.skills-category-title i {
    color: #06b6d4;
}

.skills-group {
    margin-bottom: var(--spacing-md);
}

.skills-group-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.skill-tag {
    padding: 0.5rem 1.5rem;
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition-base);
}

.skill-tag:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
}

.soft-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.soft-skill-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.soft-skill-item:hover {
    background: var(--primary-gradient);
    transform: translateX(5px);
}

.soft-skill-item i {
    font-size: 1.5rem;
    color: #06b6d4;
}

.languages {
    display: grid;
    gap: var(--spacing-md);
}

.language-item {
    padding: var(--spacing-sm);
}

.language-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.language-name {
    font-weight: 600;
}

.language-level {
    color: var(--text-secondary);
}

.language-bar {
    height: 8px;
    background: var(--bg-darker);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

/* ===================================
   Projects Section
   =================================== */
.projects-content {
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    overflow: hidden;
}

.project-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-image:hover img {
    transform: scale(1.1);
}

.project-link {
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.project-status {
    padding: 0.25rem 1rem;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.project-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.project-features {
    margin-bottom: var(--spacing-md);
}

.project-features li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.project-features i {
    color: #06b6d4;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===================================
   Extracurricular Section
   =================================== */
.extracurricular-content {
    max-width: 900px;
    margin: 0 auto;
}

.activity-card {
    text-align: center;
}

.activity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    font-size: 2rem;
}

.activity-title {
    margin-bottom: var(--spacing-xs);
}

.activity-organization {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.activity-collaboration {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.activity-description {
    text-align: left;
}

.activity-description p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.activity-achievements {
    color: var(--text-secondary);
    line-height: 1.8;
}

.activity-achievements li {
    margin-bottom: var(--spacing-sm);
    padding-left: 2rem;
    position: relative;
}

.activity-achievements i {
    position: absolute;
    left: 0;
    color: #06b6d4;
}

/* ===================================
   Contact Section
   =================================== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    font-size: 1.8rem;
}

.contact-card h3 {
    margin-bottom: var(--spacing-sm);
}

.contact-card a {
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.contact-card a:hover {
    color: #06b6d4;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-darker);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-size: 0.9rem;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .education-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .nav-actions {
        flex: 0 0 auto;
        gap: var(--spacing-sm);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: var(--transition-base);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        gap: var(--spacing-lg);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .project-image {
        height: 250px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .glass-card {
        padding: var(--spacing-sm);
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-item {
        height: 150px;
    }
}

/* ===================================
   SVG Gradients
   =================================== */
svg defs {
    display: none;
}

/* Add gradient definition for GPA circle */
.gpa-svg defs linearGradient {
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}