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

:root {
    /* Bright & Vibrant Color Scheme */
    --primary-color: #2563eb;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --light-bg: #ffffff;
    --card-bg: #ffffff;
    --text-primary: #111827;
    --text-secondary: #374151;
    --border-color: #d1d5db;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;

    /* Bright & Vibrant Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-bg: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 25%, #bae6fd 75%, #7dd3fc 100%);
    --gradient-hero: linear-gradient(135deg, #2563eb 0%, #3b82f6 25%, #60a5fa 75%, #93c5fd 100%);

    /* Enhanced Shadows with Bright Colors */
    --shadow-sm: 0 1px 2px 0 rgba(37, 99, 235, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 0 10px 10px -5px rgba(37, 99, 235, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    --shadow-blue: 0 10px 25px rgba(37, 99, 235, 0.2);
    --shadow-colored: 0 10px 25px rgba(59, 130, 246, 0.25);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* IMPROVED NAVBAR STYLES */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl);
    padding: 0.75rem 0;
}

.navbar-custom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-brand-text {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-text:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--light-bg);
    color: var(--accent-color);
}

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

.navbar-nav.desktop-nav {
    display: flex;
}

.navbar-nav.mobile-menu {
    display: none;
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.admin-nav-btn {
    background: var(--gradient-accent);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-blue);
    border: 2px solid transparent;
}

.admin-nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ENHANCED HERO/PAGE HEADER STYLES */
.hero-wrap {
    background: var(--gradient-hero);
    color: white;
    padding: 12rem 0 8rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.15)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.hero-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--light-bg), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

.hero-desc {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-solid,
.btn-ghost,
.btn-soft {
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-solid::before,
.btn-ghost::before,
.btn-soft::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.5s ease;
}

.btn-solid:hover::before,
.btn-ghost:hover::before,
.btn-soft:hover::before {
    left: 100%;
}

.btn-solid {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-xl);
}

.btn-solid:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-lg);
}

.btn-soft {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-soft:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-orb {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 900;
    backdrop-filter: blur(15px);
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.hero-orb::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* MAIN CONTAINER */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section {
    background: transparent;
}

/* CONTAINER */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ENHANCED CARD STYLES */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 2rem;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent-color);
}

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

.card-header {
    background: var(--gradient-card);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem;
    position: relative;
}

.card-body {
    padding: 3rem;
}

.card-footer {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
}

/* ENHANCED FORM STYLES */
.form-label {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: block;
    font-size: 1rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
    font-weight: 500;
    position: relative;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ENHANCED BUTTON STYLES */
.btn {
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.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.5s ease;
}

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

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
    color: white;
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

.btn-sm {
    padding: 1rem 2rem;
    font-size: 0.9rem;
    border-radius: 12px;
}

/* ENHANCED PROFILE CARD STYLES */
.profile-card {
    max-width: 500px;
    margin: 0 auto 2rem;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-accent);
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--accent-color);
    margin: 0 auto 2rem;
    display: block;
    box-shadow: var(--shadow-colored);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.profile-image-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: 6px solid var(--primary-color);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-colored);
    transition: all 0.3s ease;
}

.profile-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.profile-name {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.profile-title {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
}

.profile-description {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ENHANCED CONTACT INFO STYLES */
.contact-info {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.4s ease;
    z-index: 0;
}

.contact-item:hover::before {
    left: 0;
}

.contact-item:hover {
    color: white;
    transform: translateX(8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-colored);
}

.contact-item>* {
    position: relative;
    z-index: 1;
}

.contact-item i {
    width: 28px;
    margin-right: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.25rem;
    font-size: 1.25rem;
    transition: color 0.4s ease;
}

.contact-item:hover i {
    color: white;
}

.contact-label {
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.contact-item:hover .contact-label {
    color: rgba(255, 255, 255, 0.9);
}

.contact-value {
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
    font-size: 1.1rem;
    transition: color 0.4s ease;
}

.contact-item:hover .contact-value {
    color: white;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ENHANCED ACTIVITY & EDUCATION CARDS */
.activity-card,
.education-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before,
.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.activity-card:hover::before,
.education-card:hover::before {
    transform: scaleX(1);
}

.activity-card:hover,
.education-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent-color);
}

.activity-title,
.education-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.activity-date,
.education-period {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.activity-description,
.education-description {
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.activity-media {
    margin-top: 2rem;
    text-align: center;
}

.activity-media img,
.activity-media video {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.activity-media img:hover,
.activity-media video:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* ENHANCED BADGES */
.badge {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 25px;
    background: var(--accent-color);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.badge-primary {
    background: var(--gradient-accent);
}

.badge-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.badge-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706);
}

.badge-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
}

.badge-info {
    background: linear-gradient(135deg, var(--info-color), #0891b2);
}

/* ENHANCED TABLE STYLES */
.table-responsive {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
}

.table {
    margin-bottom: 0;
    background: transparent;
}

.table thead th {
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 1.5rem 1rem;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table tbody td {
    padding: 1.25rem 1rem;
    border-top: 1px solid var(--border-color);
    font-weight: 500;
    vertical-align: middle;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.01);
    box-shadow: var(--shadow-md);
}

.table tbody tr:nth-child(even) {
    background: rgba(37, 99, 235, 0.02);
}

.table tbody tr:nth-child(even):hover {
    background: #f1f5f9;
}

/* ENHANCED SEARCH AND FILTER CARDS */
.search-filter-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.search-filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.search-filter-card .card-body {
    padding: 2.5rem;
}

.search-filter-card .form-control {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.search-filter-card .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.search-filter-card .btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.search-filter-card .btn-primary {
    background: var(--gradient-accent);
    border: none;
    box-shadow: var(--shadow-blue);
}

.search-filter-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.search-filter-card .btn-secondary {
    background: #f1f5f9;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.search-filter-card .btn-secondary:hover {
    background: #e2e8f0;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* ENHANCED SORTING CARD */
.sorting-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.sorting-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.sorting-card .card-body {
    padding: 1.5rem 2rem;
}

.sorting-card .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sorting-card .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* ENHANCED PAGINATION */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
    background: var(--light-bg);
}

.pagination a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.pagination .active {
    background: var(--gradient-accent);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-blue);
}

/* ENHANCED EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.empty-state i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.7;
}

.empty-state h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* PAGINATION */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pagination {
    display: flex;
    gap: 0.75rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

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

/* FLOATING ADMIN BUTTON */
.floating-admin-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-admin-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.btn-floating {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.btn-floating:hover {
    transform: scale(1.15);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    color: white;
}

.floating-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.floating-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* ENHANCED MOBILE-FIRST RESPONSIVE DESIGN */

/* Mobile Navigation Toggle */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.navbar-toggler:hover {
    background: var(--light-bg);
    color: var(--accent-color);
}

.navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler.active .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler.active .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Navigation Menu */
.navbar-nav.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-nav.mobile-menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.navbar-nav.mobile-menu .nav-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
    border-radius: 16px;
}

.navbar-nav.mobile-menu .admin-nav-btn {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    margin-top: 2rem;
}

/* Tablet and Desktop Breakpoints */
@media (max-width: 1200px) {

    .navbar-custom .container,
    .hero-grid,
    .main-container,
    .container {
        max-width: 1200px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 992px) {

    /* Mobile Navigation */
    .navbar-toggler {
        display: block;
    }

    .navbar-nav.desktop-nav {
        display: none;
    }

    .navbar-nav.mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .navbar-nav.mobile-menu.show {
        display: flex;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Hero Section Mobile */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 1.1rem;
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .hero-orb {
        width: 200px;
        height: 200px;
        font-size: 2.5rem;
    }

    /* Grid Systems Mobile */
    .biodata-grid,
    .activities-grid,
    .education-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards Mobile */
    .card-body {
        padding: 2rem;
    }

    .profile-image,
    .profile-image-placeholder {
        width: 140px;
        height: 140px;
    }

    /* Contact Grid Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    /* Table Responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 600px;
    }

    /* Form Mobile */
    .form-control {
        padding: 1rem 1.25rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Button Mobile */
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions .btn-solid,
    .hero-actions .btn-ghost,
    .hero-actions .btn-soft {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* Hero Mobile Optimization */
    .hero-wrap {
        padding: 6rem 0 3rem;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-eyebrow {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-orb {
        width: 160px;
        height: 160px;
        font-size: 1.75rem;
    }

    /* Container Mobile */
    .main-container {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Cards Mobile */
    .card-body {
        padding: 1.5rem;
    }

    .card-header,
    .card-footer {
        padding: 1.5rem;
    }

    /* Profile Mobile */
    .profile-image,
    .profile-image-placeholder {
        width: 120px;
        height: 120px;
    }

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

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

    /* Activity & Education Cards Mobile */
    .activity-title,
    .education-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .activity-date,
    .education-period {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .activity-description,
    .education-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Contact Items Mobile */
    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }

    /* Form Mobile */
    .form-control {
        padding: 0.875rem 1rem;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    /* Button Mobile */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-sm {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Table Mobile */
    .table thead th {
        padding: 1rem 0.75rem;
        font-size: 0.8rem;
    }

    .table tbody td {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }

    /* Search Filter Mobile */
    .search-filter-card .card-body {
        padding: 1.5rem;
    }

    .search-filter-card .form-control {
        margin-bottom: 1rem;
    }

    .search-filter-card .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Pagination Mobile */
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
        padding: 0.75rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 35px;
    }

    /* Feature Cards Mobile */
    .feature-card {
        padding: 2rem;
        text-align: center;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1.5rem;
    }

    .feature-label {
        font-size: 1.25rem;
    }

    .feature-text {
        font-size: 1rem;
    }

    /* Floating Button Mobile */
    .floating-admin-btn {
        bottom: 1rem;
        right: 1rem;
    }

    .btn-floating {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    /* Empty State Mobile */
    .empty-state {
        padding: 3rem 1.5rem;
    }

    .empty-state i {
        font-size: 3rem;
    }

    .empty-state h4 {
        font-size: 1.25rem;
    }

    .empty-state p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

    /* Extra Small Mobile Devices */
    .navbar-custom .container,
    .hero-grid,
    .main-container,
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Hero Extra Small */
    .hero-wrap {
        padding: 5rem 0 2rem;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
        letter-spacing: 1px;
    }

    .hero-orb {
        width: 140px;
        height: 140px;
        font-size: 1.5rem;
    }

    /* Navigation Extra Small */
    .navbar-brand-text {
        font-size: 1.5rem;
    }

    .navbar-nav.mobile-menu .nav-link {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }

    .navbar-nav.mobile-menu .admin-nav-btn {
        font-size: 1.125rem;
        padding: 0.875rem 1.5rem;
    }

    /* Cards Extra Small */
    .card-body {
        padding: 1.25rem;
    }

    .card-header,
    .card-footer {
        padding: 1.25rem;
    }

    /* Profile Extra Small */
    .profile-image,
    .profile-image-placeholder {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-title {
        font-size: 0.95rem;
    }

    .profile-description {
        font-size: 1rem;
    }

    /* Activity & Education Extra Small */
    .activity-title,
    .education-title {
        font-size: 1.375rem;
    }

    .activity-date,
    .education-period {
        font-size: 0.85rem;
        padding: 0.5rem 0.875rem;
    }

    .activity-description,
    .education-description {
        font-size: 0.95rem;
    }

    /* Contact Items Extra Small */
    .contact-item {
        padding: 0.875rem;
    }

    .contact-item i {
        font-size: 1.25rem;
    }

    .contact-label {
        font-size: 0.8rem;
    }

    .contact-value {
        font-size: 1rem;
    }

    /* Forms Extra Small */
    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
        border-radius: 12px;
    }

    .form-label {
        font-size: 0.85rem;
    }

    /* Buttons Extra Small */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        border-radius: 12px;
    }

    .btn-sm {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    /* Hero Actions Extra Small */
    .hero-actions .btn-solid,
    .hero-actions .btn-ghost,
    .hero-actions .btn-soft {
        padding: 1rem 2rem;
        font-size: 1rem;
        max-width: 280px;
    }

    /* Table Extra Small */
    .table {
        font-size: 0.85rem;
        min-width: 500px;
    }

    .table thead th {
        padding: 0.875rem 0.5rem;
        font-size: 0.75rem;
    }

    .table tbody td {
        padding: 0.875rem 0.5rem;
    }

    /* Search Filter Extra Small */
    .search-filter-card .card-body {
        padding: 1.25rem;
    }

    /* Pagination Extra Small */
    .pagination {
        padding: 0.5rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.5rem 0.625rem;
        font-size: 0.8rem;
        min-width: 32px;
    }

    /* Feature Cards Extra Small */
    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .feature-label {
        font-size: 1.125rem;
    }

    .feature-text {
        font-size: 0.95rem;
    }

    /* Floating Button Extra Small */
    .floating-admin-btn {
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .btn-floating {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    /* Empty State Extra Small */
    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-state i {
        font-size: 2.5rem;
    }

    .empty-state h4 {
        font-size: 1.125rem;
    }

    .empty-state p {
        font-size: 0.95rem;
    }

    /* Data Cells Extra Small */
    .data-cell {
        padding: 1rem;
    }

    .data-label {
        font-size: 0.8rem;
    }

    .data-value {
        font-size: 1rem;
    }

    /* Badge Extra Small */
    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    /* Utility Classes for Mobile */
    .mobile-text-center {
        text-align: center;
    }

    .mobile-full-width {
        width: 100%;
    }

    .mobile-hidden {
        display: none;
    }

    .mobile-block {
        display: block;
    }
}

/* UTILITY CLASSES */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.d-none {
    display: none;
}

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

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.rounded {
    border-radius: 12px;
}

.rounded-lg {
    border-radius: 16px;
}

.rounded-xl {
    border-radius: 20px;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

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

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Better grid system for full width usage */
.biodata-grid,
.activities-grid,
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 1400px) {

    .biodata-grid,
    .activities-grid,
    .education-grid {
        grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {

    .biodata-grid,
    .activities-grid,
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.profile-card-wrapper,
.activity-card-wrapper,
.education-card-wrapper {
    width: 100%;
}

/* Remove empty space by using full width */
.col-lg-4,
.col-lg-6,
.col-xl-4,
.col-md-2,
.col-md-4,
.col-md-6 {
    width: 100%;
}

/* Feature Cards for Home Page */
.feature-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.feature-icon-primary {
    background: var(--gradient-accent);
}

.feature-icon-secondary {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.feature-icon-tertiary {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
}

.feature-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Grid System for Better Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Enhanced Grid System - Better Table Layout */
.biodata-grid,
.activities-grid,
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    width: 100%;
    justify-content: center;
    align-items: start;
}

/* Table-like Layout for Better Organization */
.data-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.data-cell {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.data-cell:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.data-label {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.data-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Improved Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Force cards to stretch and fill available space */
.profile-card-wrapper,
.activity-card-wrapper,
.education-card-wrapper {
    width: 100%;
    min-width: 400px;
    display: flex;
    flex-direction: column;
}

.profile-card,
.activity-card,
.education-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments for better space usage */
@media (min-width: 1400px) {

    .biodata-grid,
    .activities-grid,
    .education-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 3rem;
    }

    .profile-card-wrapper,
    .activity-card-wrapper,
    .education-card-wrapper {
        min-width: 450px;
    }

    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {

    .biodata-grid,
    .activities-grid,
    .education-grid {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
        gap: 2.5rem;
    }

    .profile-card-wrapper,
    .activity-card-wrapper,
    .education-card-wrapper {
        min-width: 420px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .biodata-grid,
    .activities-grid,
    .education-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 2rem;
    }

    .profile-card-wrapper,
    .activity-card-wrapper,
    .education-card-wrapper {
        min-width: 380px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .biodata-grid,
    .activities-grid,
    .education-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    .profile-card-wrapper,
    .activity-card-wrapper,
    .education-card-wrapper {
        min-width: 350px;
    }

    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {

    .biodata-grid,
    .activities-grid,
    .education-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-card-wrapper,
    .activity-card-wrapper,
    .education-card-wrapper {
        min-width: auto;
        width: 100%;
    }

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

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

/* Ensure cards fill the full width of their containers */
.profile-card,
.activity-card,
.education-card {
    width: 100%;
    height: 100%;
}

/* Container adjustments for better space usage */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 1400px) {
    .container {
        padding: 0 2rem;
    }
}

/* Main container adjustments */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1rem;
    width: 100%;
}

@media (min-width: 1400px) {
    .main-container {
        padding: 3rem 2rem;
    }
}

/* Force full width layout - No empty spaces */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all containers use full width */
.navbar-custom .container,
.hero-grid,
.main-container,
.container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Specific adjustments for different screen sizes */
@media (min-width: 1400px) {

    .navbar-custom .container,
    .hero-grid,
    .main-container,
    .container {
        max-width: 1400px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {

    .navbar-custom .container,
    .hero-grid,
    .main-container,
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .navbar-custom .container,
    .hero-grid,
    .main-container,
    .container {
        max-width: 992px;
        margin: 0 auto;
    }
}

@media (max-width: 991px) {

    .navbar-custom .container,
    .hero-grid,
    .main-container,
    .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Grid adjustments for better space utilization */
.biodata-grid,
.activities-grid,
.education-grid {
    justify-items: stretch;
    align-items: stretch;
}

/* Card adjustments */
.profile-card,
.activity-card,
.education-card {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Remove any fixed widths that might cause empty spaces */
.profile-card-wrapper,
.activity-card-wrapper,
.education-card-wrapper {
    width: 100%;
    max-width: none;
}