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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-alt: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* Container (denser for better space use) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand a {
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

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

.nav-menu .btn {
    padding: 0.5rem 1.25rem;
    color: white !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

/* Logged-in profile icon in header */
.nav-profile {
    display: flex;
    align-items: center;
}

.nav-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-profile-avatar {
    min-height: 36px;
    height: 36px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 180px;
}

.nav-profile-avatar:has(img) {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    max-width: none;
}

.nav-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-profile-avatar .nav-profile-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-profile-initials {
    line-height: 1;
    letter-spacing: -0.02em;
}

.nav-profile-name {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.nav-menu .btn:hover {
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

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

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}

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

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

/* Main Content (denser) */
.main-content {
    flex: 1;
    padding: 1rem 0;
}

/* Hero Section (denser) */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

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

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1.75rem;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Buttons */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
    background: var(--primary-dark);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Removed dated shine effect */

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

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.15rem;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-block {
    display: flex;
    width: 100%;
    margin-top: 1rem;
}

/* Features Section (denser) */
.features {
    padding: 2.5rem 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1.75rem;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
}

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

.feature-card {
    text-align: center;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

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

/* Stats Section */
.stats {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-heading {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

.stats .stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.stats .stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stats .stat-number {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.15);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stats .stat-label {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    opacity: 0.98;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Keep generic .stat-card for other pages */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 2.5rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    padding: 1rem 0;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

.auth-title {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.auth-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--shadow);
    transform: translateY(-1px);
    transition: var(--transition-fast);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.25rem 0;
    color: var(--text-light);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.auth-register-section {
    margin-top: 1rem;
    text-align: center;
}

.auth-register-text {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Alerts */
.alert {
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Page-specific layout: best fit */
.page-dashboard-content,
.page-alumni-content {
    padding: 1.5rem 0 3rem;
}
.container-dashboard,
.container-alumni {
    max-width: 1120px;
}

/* Dashboard */
.dashboard-header {
    margin-bottom: 1.5rem;
}

.dashboard-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.dashboard-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.dashboard-card h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

.profile-form {
    margin-top: 0.5rem;
}

.form-section {
    margin-bottom: 2rem;
}
.form-section:last-of-type {
    margin-bottom: 1.5rem;
}
.form-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar-lg {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.profile-header-meta h2 {
    margin: 0 0 0.25rem;
}

.profile-subtitle {
    margin: 0 0 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.profile-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Profile avatar with image or initials */
.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-photo-upload {
    margin-top: 0.5rem;
    text-align: center;
}

.profile-photo-upload input[type="file"] {
    font-size: 0.85rem;
    max-width: 100%;
}

.profile-photo-upload .btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.profile-photo-upload .btn-upload:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

.profile-photo-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.8rem;
    color: var(--primary-dark);
}

.tag-soft {
    background: rgba(252, 231, 243, 0.9);
    color: var(--primary-color);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-light);
}

.stat-value {
    font-weight: 600;
    color: var(--primary-color);
}

.stat-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex: 1;
}

.profile-progress-bar {
    position: relative;
    width: 100%;
    max-width: 160px;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.profile-progress-fill {
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transition: width 0.4s ease-out;
}

.action-list {
    list-style: none;
}

.action-list li {
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    margin-bottom: 1.25rem;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Filters */
.filters-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

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

.filter-group.filter-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

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

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.filter-group button,
.filter-group a {
    margin-top: 1.5rem;
}

.filter-group.filter-actions button,
.filter-group.filter-actions a {
    margin-top: 0;
}

/* Results */
.results-header {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.alumni-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.alumni-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alumni-card:hover::after {
    opacity: 1;
}

.alumni-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.alumni-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.alumni-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.alumni-position {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.alumni-company {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.alumni-id {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-alumni-id {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.profile-alumni-id strong {
    color: var(--text-color);
}

.alumni-dept {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.alumni-year {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.alumni-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.no-results {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.5rem 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination-link:hover,
.pagination-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.action-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.action-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}
.action-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Password section as card */
.password-change-section.dashboard-card {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}
.password-change-section.dashboard-card h3 {
    margin-bottom: 1.25rem;
}

/* Password Change Section */
.password-change-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.password-change-section h3 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

/* Make change-password fields more compact */
.password-change-section .form-group {
    margin-bottom: 0.75rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #ffeef5 0%, #ffd6e8 100%);
    color: var(--text-color);
    padding: 1.75rem 0 0.75rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 182, 193, 0.3);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.5rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.35rem;
}

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

.footer-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer-section .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-address {
    font-style: normal;
    line-height: 1.5;
}

.footer-address p {
    margin-bottom: 0.25rem;
}

.footer-contact {
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 182, 193, 0.4);
    color: var(--text-light);
}

/* Mobile Responsive */

/* Tablet (768px – 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 16px;
    }

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

    .dashboard-sidebar {
        order: -1;
    }

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

    .filter-group.filter-actions {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

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

    .section-title {
        font-size: 2.25rem;
        line-height: 1.25;
    }

    .feature-card h3,
    .alumni-info h3 {
        font-size: 1.2rem;
    }

    .nav-brand h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px; /* Stable base for rem; prevents iOS zoom on inputs */
    }

    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    .page-tight .container {
        padding: 0 10px;
    }

    .page-tight .dashboard-card,
    .page-tight .filters-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-tight .alumni-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Dashboard profile section: stack and center on mobile */
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-header-meta {
        width: 100%;
        text-align: center;
    }

    .profile-header-meta h2 {
        word-break: break-word;
    }

    .profile-subtitle {
        text-align: center;
        line-height: 1.5;
    }

    .profile-meta-tags {
        justify-content: center;
    }

    .profile-avatar-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        max-width: 320px;
        height: 100vh;
        text-align: left;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 0 0 2rem;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 0 1.5rem;
        min-height: 48px;
        width: 100%;
        font-size: 1.0625rem; /* 17px - comfortable reading on mobile */
        font-weight: 500;
    }

    .nav-menu a.btn {
        margin: 1rem 1.5rem 0;
        width: calc(100% - 3rem);
        min-height: 48px;
        font-size: 1rem;
        border-radius: 50px;
    }

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

    .hero-subtitle {
        font-size: 1.0625rem;
        line-height: 1.4;
    }

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

    .page-header h1,
    .dashboard-header h1 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .page-header p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .filter-group.filter-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .filter-group.filter-actions button,
    .filter-group.filter-actions a {
        margin-top: 0.25rem;
        width: auto;
    }

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

    .auth-card {
        padding: 1.5rem;
        margin: 1rem;
    }

    .dashboard-card {
        padding: 1.5rem;
    }

    .about-page .container {
        padding: 0 12px;
    }

    .about-page .dashboard-card {
        padding: 1.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .dashboard-header h1 {
        font-size: 1.75rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card p,
    .alumni-company,
    .alumni-dept,
    .alumni-year,
    .alumni-location {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .form-group label {
        font-size: 0.9375rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

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

    /* Touch-friendly elements */
    .btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    input,
    select,
    textarea {
        min-height: 48px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

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

    .main-content {
        padding-top: 0.5rem;
        padding-bottom: 0.75rem;
    }

    .hero {
        padding: 2.25rem 0 2.5rem;
    }

    .features,
    .stats,
    .cta {
        padding: 2.25rem 0;
    }

    .about-page .container {
        padding: 0 10px;
    }

    .about-page .dashboard-card {
        padding: 1rem;
        margin: 0;
    }

    .hero-title {
        font-size: 1.625rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

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

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

    .stats .stat-label {
        font-size: 1.05rem;
    }

    .stats-heading {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .auth-card {
        padding: 1.25rem;
        margin: 0.5rem;
    }

    .dashboard-card {
        padding: 1.25rem;
    }

    .dashboard-card h2 {
        font-size: 1.35rem;
    }

    .filters-card {
        padding: 1rem;
    }

    .filter-group label {
        font-size: 0.9375rem;
    }

    .alumni-card {
        padding: 1.25rem;
    }

    .alumni-info h3 {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .dashboard-header h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section ul li,
    .footer-section p {
        font-size: 0.9375rem;
    }

    .nav-menu {
        max-width: 100%;
    }

    .nav-menu a {
        font-size: 1rem;
        min-height: 44px;
        padding-left: 1.25rem;
    }

    .nav-menu .nav-mobile-header .mobile-brand h2 {
        font-size: 1.3rem;
    }

    .nav-menu .nav-mobile-header .mobile-brand span {
        font-size: 0.85rem;
    }
}

/* Modern Split Layout for Auth */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    /* Adjust based on header height */
    padding: 2rem;
    background-color: var(--bg-light);
}

/* Tighter left/right space for login, register, about */
.page-tight .auth-wrapper {
    padding: 1.25rem 0.75rem;
}
.page-tight .auth-split {
    max-width: 100%;
    width: 100%;
}
.page-tight .auth-form-panel {
    padding: 2rem 1.5rem;
}
.page-tight .auth-side-panel {
    padding: 2rem 1.5rem;
}
.page-tight .container {
    padding: 0 12px;
    max-width: 100%;
}

.auth-split {
    display: flex;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
}

.auth-side-panel {
    flex: 1;
    background: var(--bg-gradient);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-side-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.auth-side-content {
    position: relative;
    z-index: 1;
}

.auth-side-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.auth-side-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.auth-features-list {
    list-style: none;
    margin-top: 2rem;
}

.auth-features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.auth-features-list li::before {
    content: '✓';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.auth-form-panel {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    overflow-y: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
}

/* Mobile responsive for split layout */
@media (max-width: 900px) {
    .auth-split {
        flex-direction: column;
        max-width: 500px;
        /* Reduced max-width for mobile */
    }

    .page-tight .auth-wrapper {
        padding: 1rem 0.5rem;
    }

    .page-tight .auth-form-panel {
        padding: 1.5rem 1rem;
    }

    .auth-side-panel {
        padding: 2rem;
        min-height: 200px;
        text-align: center;
    }

    .page-tight .auth-side-panel {
        padding: 1.5rem 1rem;
    }

    .auth-side-panel h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .auth-features-list {
        display: none;
    }

    .auth-form-panel {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .page-tight .auth-wrapper {
        padding: 0.75rem 0.5rem;
    }
    .page-tight .auth-form-panel {
        padding: 1.25rem 0.75rem;
    }
    .page-tight .container {
        padding: 0 6px;
    }
    .page-tight .dashboard-card,
    .page-tight .filters-card {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .page-tight .alumni-card {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Mobile Menu Header Styling */
.nav-mobile-header {
    display: none;
}

.mobile-menu-close {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu .nav-mobile-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        padding: 1.25rem 1.5rem 1rem;
        background: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0;
        gap: 1rem;
    }

    .nav-menu .nav-mobile-header .mobile-brand {
        flex: 1;
    }

    .nav-menu .nav-mobile-header .mobile-brand h2 {
        font-size: 1.4rem;
        margin: 0;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }

    .nav-menu .nav-mobile-header .mobile-brand span {
        display: block;
        color: var(--text-light);
        font-size: 0.9rem;
        font-weight: 500;
        margin-top: 0.25rem;
    }

    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        background: transparent;
        border: none;
        color: var(--text-color);
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        border-radius: var(--border-radius);
        transition: var(--transition);
        flex-shrink: 0;
    }

    .mobile-menu-close:hover,
    .mobile-menu-close:focus {
        background: rgba(0, 0, 0, 0.06);
        color: var(--primary-color);
    }
}

/* Footer Enhancements */
.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.dept-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dept-list li {
    margin-bottom: 0;
}

.dept-list a {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.1rem 0;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dept-list a:hover {
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .dept-list a {
        white-space: normal;
    }
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
    font-size: 0;
    /* Hide text content */
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.social-links a::before {
    content: attr(aria-label);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    display: block;
    width: 1ch;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
    border-top: none;
    padding-top: 0.25rem;
    margin-top: 0;
}

.footer-bottom-content p {
    margin: 0;
    font-size: 0.8rem;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}