/* Reset and Base Styles */
:root {
    --accent: #6d7ae0;       /* main accent – muted blue‑violet */
    --accent-dark: #4c51bf;  /* darker accent for hovers */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f9fafb 0%, #edf2ff 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 2.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.75rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 400;
    color: #374151;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(18px);
    padding: 0.6rem 0;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(190, 196, 206, 0.25);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.75rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-right: 3rem;
    transition: all 0.3s ease;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border: none;
}

.nav-logo-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #000000;
}

.nav-logo-role {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6b7280;
}

.nav-logo:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.top-availability {
    margin-left: auto;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    color: #1d4ed8;
    white-space: nowrap;
}

.top-availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.top-availability-text {
    font-weight: 600;
}

.nav-menu-toggle {
    margin-left: 0;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-menu-toggle:hover {
    background: rgba(15, 23, 42, 0.04);
}

.nav-menu-panel {
    position: absolute;
    top: 100%;
    right: 0.75rem;
    margin-top: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: #f9fafb;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    display: none;
}

.nav-menu-panel a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: #111827;
    font-size: 0.95rem;
    padding: 0.45rem 0;
}

.nav-menu-panel a + a {
    margin-top: 0.25rem;
}

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

.nav-menu-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    padding: 6px;
    border-radius: 10px; /* rounded square */
    background: #111827;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.nav.menu-open .nav-menu-panel {
    display: block;
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 640px;
}

.hero-title {
    font-size: 3rem;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-name-accent {
    color: var(--accent);
}

.section-title-accent {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: #475569;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.1rem;
    border-radius: 999px;
}

.hero-buttons .btn-primary span,
.hero-buttons .btn-secondary span {
    display: inline-block;
}

.hero-buttons .btn-primary::after {
    content: '→';
    font-size: 1.1rem;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.hero-buttons .btn-primary:hover::after {
    transform: translateX(4px);
}

.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: #1a1a1a;
}

.btn-teal {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.4);
}

.btn-invara {
    /* Calm, slightly lighter blue accent with subtle gradient */
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #f9fafb;
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(59, 130, 246, 0.9);
    border-radius: 999px;
}

.btn-invara:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}



/* Section Styles */
section {
    padding: 140px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0f172a;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: #4b5563;
    font-size: 1.25rem;
    margin-bottom: 5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f7f8ff 0%, #eef2ff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #374151;
}

.about-list {
    list-style: none;
    margin: 0 0 2.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.about-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    margin-top: 0.55rem;
    flex-shrink: 0;
}

.clubs-section h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.clubs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.club {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.club:hover {
    transform: translateY(-5px);
}

.club-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.club-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.club-info p {
    color: #6c757d;
    font-size: 0.9rem;
}

.club-swe {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 40%, #ede9fe 70%, #fef9c3 100%);
}

.club-gwc {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 40%, #22c1c3 100%);
}

.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.projects {
    background: #ffffff;
}

.project-featured {
    /* Softer, two‑color gradient for Invara section */
    background: linear-gradient(135deg, #4b42efb4 20%, #3760e6d5 80%);
    border-radius: 20px;
    padding: 4rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 32px rgba(79, 70, 229, 0.16);
    color: white;
}

.updates-hero {
    padding: 112px 0 48px;
    background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 60%, #e0e7ff 100%);
}

.updates-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.updates-subtitle {
    max-width: 640px;
    font-size: 1.05rem;
    color: #4b5563;
}

.updates-timeline {
    padding: 32px 0 120px;
    background: #f8fafc;
}

.timeline {
    position: relative;
    margin-top: 2.5rem;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0.3rem;
    left: 0.5rem;
    bottom: 0.3rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.6), rgba(209, 213, 219, 0.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.12rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #4f46e5;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.25);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.timeline-heading {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.timeline-body {
    font-size: 0.98rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.timeline-tag {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.timeline-tag-icon {
    height: 19px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.timeline-media {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: flex-start;
}

.timeline-media--rho {
    align-items: stretch;
}

.timeline-media-stack {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.timeline-image,
.timeline-video {
    width: 100%;
    max-width: 260px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25);
    background: #0f172a;
}

.timeline-video {
    border: none;
}

.timeline-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.timeline-logo-inline {
    height: 35px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 0.30rem;
}

.timeline-media-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: inherit;
}

.timeline-media-cta {
    font-size: 0.86rem;
    font-weight: 600;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.timeline-media-link:hover .timeline-image {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-media-link:hover .timeline-media-cta {
    color: #1d4ed8;
    transform: translateX(2px);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-content h3 {
    font-size: 2.1rem;
    color: white;
    margin: 1rem 0;
}

.project-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.project-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.project-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.project-cta-row .project-tech {
    margin: 0;
}

.tech-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.project-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.25rem 2.25rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.project-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-card-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.project-card h4 {
    color: #2c3e50;
    margin: 0;
}

.project-card-description {
    color: #6c757d;
    margin: 1rem 0;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

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

.project-link:hover {
    color: var(--accent-dark);
}

/* Rho Card - Black and Teal Theme */
.project-card-rho {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    color: white;
    border: 1px solid #2dd4bf;
    box-shadow: 0 5px 20px rgba(45, 212, 191, 0.1);
    height: 100%;
}

.project-card-rho h4 {
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

.project-card-rho .project-card-description {
    color: rgba(255, 255, 255, 0.8);
}

.project-card-rho .project-link {
    color: #2dd4bf;
    transition: all 0.3s ease;
}

.project-card-rho .project-link:hover {
    color: #14b8a6;
    transform: translateX(3px);
}

.social-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    vertical-align: middle;
    opacity: 0.8;
}

.project-card-rho:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.2);
}

.project-preview {
    margin-top: 1rem;
    text-align: center;
}

.rho-preview-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(45, 212, 191, 0.3);
    transition: transform 0.3s ease;
}

.rho-preview-image:hover {
    transform: scale(1.05);
}

.hackathon-badge {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    height: 100%;
}

.project-gallery .gallery-item:nth-child(3) {
    grid-column: span 2;
}

.gallery-item {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

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

.gallery-video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.rho-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr); /* single full-width column */
    gap: 1.5rem;
    align-items: stretch;
}

.rho-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rho-visit-btn {
    margin-top: 0.75rem;
    align-self: flex-start;
    padding: 0.9rem 1.9rem;
    font-size: 0.95rem;
    border-radius: 999px;
}

.rho-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rho-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rho-links .project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.rho-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.4rem;
}

.rho-links-inline .project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.rho-features {
    list-style: disc;
    margin: 0.35rem 0 1.15rem 0;
    padding-left: 1.25rem;
}

.rho-features li {
    font-size: 1.125rem;
    color: #e5e7eb;
}

.rho-features li::marker {
    color: #2dd4bf;
}

.rho-video-card {
    background: #0f172a;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    height: 100%;
}

.rho-video-card h5 {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.rho-video {
    width: 100%;
    height: 560px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.rho-video-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .rho-layout {
        grid-template-columns: 1fr;
    }
}

/* Education Section */
.education {
    background: linear-gradient(135deg, #eef2ff 0%, #f9fafb 100%);
}

.education-content {
    display: block;
}

.education-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.campus-image {
    width: 580px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #FEC325; /* SJSU gold */
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.education-info h3 {
    color: #0055A2; /* SJSU blue */
    margin-bottom: 0.35rem;
}

.degree {
    color: #0055A2;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.graduation {
    color: #4b5563;
    font-size: 0.98rem;
}

.education-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    max-width: 620px;
}

.education-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    border-top: 4px solid #0055A2;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FEC325;
    margin-bottom: 0.35rem;
}

.stat-label {
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f7f7ff 0%, #e5e7ff 100%);
}

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

.contact-card {
    background: rgba(248, 250, 252, 0.95);
    padding: 2.25rem 2rem;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
    border-top: 3px solid rgba(37, 99, 235, 0.5);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.85rem;
    opacity: 0.9;
    object-fit: contain;
}

.contact-card h4 {
    color: #0f172a;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
}

.contact-card p {
    color: #6c757d;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.contact-link:hover {
    color: var(--accent-dark);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #9499d0 0%, #6066ad 100%);
    color: #111827;
    padding: 2.5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 28px;
    height: 28px;
    object-fit: cover;
}

.footer-brand-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fdfeff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: #e5e7eb; /* light gray */
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-right: 1.0rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-links a::after {
    content: '↗';
    position: absolute;
    right: -0.05rem;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    font-size: 0.7rem;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover::after {
    transform: translateY(-50%) translateX(2px);
    opacity: 1;
}

.footer p {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #ffffff;
    opacity: 1;
}

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

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
}

.reveal-on-scroll.fade-in {
    animation: fadeInUp 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in {
    animation: slideInFromBottom 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: auto;
        max-width: none;
    }

    .about-content,
    .education-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .project-featured {
        padding: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-links {
        justify-content: center;
    }

    .project-features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .hero {
        padding: 96px 0 64px;
    }
    
    section {
        padding: 64px 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2.4rem;
    }
    
    .campus-image {
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.75rem 0;
    }

    .nav-content {
        padding: 0 0.5rem;
        justify-content: flex-start;
    }

    .nav-logo-name {
        display: none;
    }

    .top-availability {
        display: inline-flex;
        margin-left: 0.5rem;
        max-width: none;
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
        white-space: nowrap;
    }

    .nav-menu-toggle {
        margin-left: auto;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        width: auto;
        max-width: none;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.8rem 1.4rem;
        font-size: 0.9rem;
    }
    
    .project-featured {
        padding: 1.4rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Updates / timeline mobile tweaks */
    .updates-hero {
        padding: 96px 0 32px;
    }

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

    .updates-timeline {
        padding: 24px 0 72px;
    }

    .timeline {
        padding-left: 1.25rem;
    }

    .timeline-media--rho {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        align-items: stretch;
    }

    .timeline-media--rho .timeline-video,
    .timeline-media--rho > .timeline-image {
        height: 160px;
        max-width: none;
        flex: 0 0 auto;
        object-fit: cover;
    }

    .timeline-media--rho .timeline-media-stack {
        height: 160px;
        flex: 0 0 auto;
    }

    .timeline-media--rho .timeline-media-stack .timeline-image {
        flex: 1;
        object-fit: cover;
    }
}

