/* ============================================
   RAJHANS VIDYALAYA ALUMNI NETWORK
   Professional Theme with Light/Dark Mode
   ============================================ */

/* ============================================
   CSS VARIABLES - LIGHT MODE (Default)
   ============================================ */
:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    
    /* Secondary Colors */
    --secondary-color: #7c3aed;
    --secondary-hover: #6d28d9;
    
    /* Accent Colors */
    --accent-gold: #f59e0b;
    --accent-teal: #14b8a6;
    --accent-rose: #f43f5e;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    /* Navbar */
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-text: #1e293b;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   CSS VARIABLES - DARK MODE
   ============================================ */
[data-theme="dark"] {
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    
    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Border Colors */
    --border-color: #334155;
    --border-light: #1e293b;
    
    /* Shadow */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    
    /* Navbar */
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --navbar-text: #f1f5f9;
    
    /* Primary adjustments for dark mode */
    --primary-light: #1e3a8a;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */
.alumni-navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
    transition: all var(--transition-normal);
    z-index: 1050;
}

.alumni-navbar .navbar-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Text Logo Styles */
.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-main {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

[data-theme="dark"] .logo-main {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-divider {
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    margin: 0 0.25rem;
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-highlight {
    font-weight: 700;
    color: var(--primary-color);
}

/* Footer Logo Styles */
.footer-logo {
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer-logo .logo-main {
    font-size: 1.3rem;
}

.footer-logo .logo-divider {
    height: 24px;
}

.footer-logo .logo-sub {
    font-size: 0.6rem;
}

/* Responsive Logo */
@media (max-width: 575.98px) {
    .logo-main {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .logo-divider {
        height: 22px;
    }
    
    .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

.alumni-navbar .nav-link {
    color: var(--navbar-text);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color var(--transition-fast);
}

.alumni-navbar .nav-link:hover,
.alumni-navbar .nav-link.active {
    color: var(--primary-color);
}

.alumni-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.alumni-navbar .nav-link:hover::after,
.alumni-navbar .nav-link.active::after {
    width: 70%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.theme-toggle i {
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: transform var(--transition-normal);
}

.theme-toggle:hover i {
    transform: rotate(15deg);
}

/* Join Button */
.btn-join-alumni {
    background: var(--primary-gradient);
    color: var(--text-white) !important;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-join-alumni:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--text-white) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--bg-hero);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-slow);
}

.hero-image:hover {
    transform: scale(1.02);
}

.btn-hero {
    background: var(--text-white);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    background: var(--accent-gold);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero i {
    margin-left: 8px;
    transition: transform var(--transition-normal);
}

.btn-hero:hover i {
    transform: translateX(5px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.feature-icon.chat {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.feature-icon.group {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.feature-icon.network {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

[data-theme="dark"] .feature-icon.chat {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

[data-theme="dark"] .feature-icon.group {
    background: linear-gradient(135deg, #831843 0%, #9d174d 100%);
}

[data-theme="dark"] .feature-icon.network {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon img {
    width: 45px;
    height: 45px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   TOP ALUMNI SPOTLIGHT SECTION
   ============================================ */
.top-alumni-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.top-alumni-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.alumni-spotlight-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: visible;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.alumni-spotlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.alumni-spotlight-header {
    height: 100px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    position: relative;
    border-radius: 24px 24px 0 0;
    margin-bottom: 60px;
}

/* Pattern overlay for header */
.alumni-spotlight-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    border-radius: 24px 24px 0 0;
}

.alumni-spotlight-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid var(--bg-card);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--bg-card);
    z-index: 2;
    transition: transform var(--transition-normal);
}

.alumni-spotlight-card:hover .alumni-spotlight-avatar {
    transform: translateX(-50%) scale(1.05);
}

.alumni-spotlight-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.alumni-spotlight-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.alumni-spotlight-body {
    padding: 0 2rem 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.alumni-spotlight-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.alumni-spotlight-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alumni-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.alumni-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.alumni-info-item i {
    color: var(--text-muted);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: color var(--transition-fast);
}

.alumni-spotlight-card:hover .alumni-info-item i {
    color: var(--primary-color);
}

.alumni-spotlight-journey {
    margin-top: auto;
    padding: 1.5rem 1.25rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    position: relative;
    text-align: left;
}

.journey-quote-icon {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.alumni-spotlight-journey p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alumni-spotlight-batch {
    margin-top: 1.5rem;
}

.batch-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.alumni-spotlight-card:hover .batch-tag {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

[data-theme="dark"] .alumni-spotlight-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
}

[data-theme="dark"] .alumni-spotlight-avatar {
    border-color: var(--bg-card);
}

[data-theme="dark"] .alumni-spotlight-journey {
    background: var(--bg-tertiary);
}

/* Responsive for Top Alumni */
@media (max-width: 767.98px) {
    .top-alumni-section {
        padding: 60px 0;
    }
    
    .alumni-spotlight-avatar {
        width: 100px;
        height: 100px;
        bottom: -50px;
    }
    
    .alumni-spotlight-header {
        margin-bottom: 50px;
    }
    
    .alumni-spotlight-name {
        font-size: 1.2rem;
    }
}

/* ============================================
   MEMBERS SECTION
   ============================================ */
.members-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Search Bar */
.search-container {
    max-width: 500px;
    margin: 2rem auto;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.search-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Member Cards */
.member-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.member-card:hover .member-avatar {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.member-date i {
    font-size: 0.7rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-accordion .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    border: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary-color);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    background: var(--bg-card);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer-section {
    background: var(--bg-secondary);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-about {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover i {
    opacity: 1;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    font-size: 1rem;
}

/* Contact Form */
.footer-form .form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.footer-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.footer-form .form-control::placeholder {
    color: var(--text-muted);
}

.footer-form textarea {
    resize: none;
    min-height: 100px;
}

.btn-send {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    color: var(--text-white);
}

/* Footer Bottom */
.footer-bottom {
    background: var(--bg-tertiary);
    padding: 1.25rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   STATS COUNTER (Optional Enhancement)
   ============================================ */
.stats-section {
    padding: 60px 0;
    background: var(--primary-gradient);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991.98px) {
    .alumni-navbar {
        padding: 0.5rem 0;
    }
    
    .offcanvas {
        background: var(--bg-primary) !important;
    }
    
    .offcanvas .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .offcanvas .nav-link::after {
        display: none;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .member-card {
        padding: 1rem;
    }
    
    .member-avatar {
        width: 50px;
        height: 50px;
    }
    
    .footer-section {
        padding: 40px 0 0;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .search-wrapper {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
    }
    
    .search-wrapper input {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
    
    .search-btn {
        width: 100%;
        border-radius: 12px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.rounded-xl {
    border-radius: 16px;
}

.rounded-2xl {
    border-radius: 20px;
}

/* No Members Found State */
.no-members {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
}

.no-members i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.no-members h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-members p {
    color: var(--text-secondary);
}
