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

:root {
    --bg: #030712;
    --card: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(6, 182, 212, 0.4);
    --text: #f9fafb;
    --muted: #9ca3af;
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --purple: #8b5cf6;
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* Background Ambient Lighting Glows */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.glow-1 {
    background: rgba(6, 182, 212, 0.12);
    top: -200px;
    right: -100px;
}

.glow-2 {
    background: rgba(139, 92, 246, 0.08);
    bottom: -250px;
    left: -150px;
}

/* Navigation Architecture */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(3, 7, 18, 0.75);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.cyan-dot {
    color: var(--cyan);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--text);
    text-shadow: 0 0 12px var(--cyan-glow);
}

/* Landing Splash Screen Structure */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-right-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--cyan) 20%, #60a5fa 50%, var(--purple) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Interactive Elements & Buttons */
.primary-btn, .secondary-btn, .submit-btn {
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: inherit;
}

.primary-btn {
    background: var(--text);
    color: var(--bg);
}

.primary-btn:hover {
    background: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px var(--cyan-glow);
}

.secondary-btn {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    cursor: pointer;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Glassmorphic Cards UI Engine */
.hero-card, .glass-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.hero-card {
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mini-title {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.hero-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

.gradient-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.focus-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.focus-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

/* Timeline Components */
.edu-timeline {
    display: flex;
    flex-direction: column;
}

.edu-item {
    display: flex;
    flex-direction: column;
}

.edu-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.edu-degree {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.4;
}

.edu-year {
    font-size: 0.8rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--cyan);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.edu-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

.edu-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--border) 0%, rgba(255, 255, 255, 0.01) 100%);
    margin: 1.25rem 0;
    width: 100%;
}

/* About Slider Navigation Layers */
#about-tabs-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.25rem;
    width: fit-content;
}

.about-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 0.65rem 1.65rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.about-tab-btn:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

.about-tab-btn.active {
    background: rgba(6, 182, 212, 0.12);
    border-color: var(--cyan);
    color: var(--text);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

/* Base Slider Track Engines */
.about-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.about-slider-track {
    display: flex;
    width: 200%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-slide {
    width: 50%;
    flex-shrink: 0;
    padding: 0 4px;
}

/* Dynamic Highly Responsive Auto-Fitting Grid Matrix */
.about-grid {
    display: grid;
    /* Bypasses hardcoded columns to auto-wrap elements based on layout footprint limits */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 2rem;
}

.bio-text-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skills-matrix-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skills-category-group h4 {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* Slide 2: Personal Layout Architecture */
.personal-grid {
    align-items: stretch;
}

.personal-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.personal-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--cyan), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.personal-interests-tags {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.p-tag {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}

.profile-image-container {
    padding: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(105%);
    opacity: 0.9;
    transition: var(--transition);
}

.profile-image-container:hover .about-profile-img {
    filter: grayscale(0%) contrast(100%);
    scale: 1.02;
    opacity: 1;
}

.image-overlay-glow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(3, 7, 18, 0.6);
    pointer-events: none;
}

/* Section Common Definitions */
.section {
    padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-title p {
    color: var(--cyan);
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 2rem;
}

.glass-card {
    padding: 2.5rem;
}

.glass-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.tags span {
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: #e5e7eb;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tags span:hover {
    border-color: var(--cyan);
    color: var(--text);
    background: rgba(6, 182, 212, 0.04);
}

/* ==========================================================================
   INFINITE AUTOMATIC CAROUSEL SYSTEM & PROJECT CARDS
   ========================================================================= */

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.carousel-wrapper {
    overflow: hidden; 
    width: 100%;
    padding: 1rem 0 2rem 0;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.75rem;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: max-content; /* Prevents track contraction over hardware execution calls */
}

.carousel-item {
    flex: 0 0 360px; 
    width: 360px;
    max-width: 360px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 290px; 
    white-space: normal; 
    word-wrap: break-word;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; 
}

.project-card h3 {
    margin-bottom: 0.85rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}

.project-card p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-link {
    margin-top: auto; 
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* ==========================================================================
   DRAGGABLE SWIPER BLOG TIMELINE LAYERS
   ========================================================================= */

.blog-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.blog-track-container {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 1.5rem;
    cursor: grab;
    user-select: none;
    scrollbar-width: none; 
}

.blog-track-container::-webkit-scrollbar {
    display: none;
}

.blog-track-container.grabbing {
    cursor: grabbing;
}

.blog-swipe-card {
    flex: 0 0 380px;
    width: 380px;
    max-width: 90vw;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    scroll-snap-align: start;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    cursor: pointer;
}

.blog-swipe-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--card-hover);
}

.blog-card-preview-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.truncated-preview {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

.blog-card-footer-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
    margin-top: auto;
    padding-top: 1.5rem;
}

/* Long Form Typography Modal Sheet overrides */
.text-reader-modal {
    width: min(840px, 95%) !important;
    height: 80vh !important;
}

.expanded-image-wrapper {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.expanded-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CV Layer Dialog Sheets */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #0b1126;
    border: 1px solid var(--border-hover);
    width: min(900px, 94%);
    height: 85vh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.close-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text);
}

.modal-body {
    flex: 1;
    background: #070a1a;
    position: relative;
}

.cv-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
}

.context-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* External Connections Platform Routing links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 2rem;
}

.c-link {
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
    width: fit-content;
}

.c-link svg {
    transition: var(--transition);
}

.c-link:hover {
    color: var(--text);
}

.c-link:hover svg {
    color: var(--cyan);
    transform: scale(1.1);
}

/* Standard Inputs Platform Setup */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    width: 100%;
}

input, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 1.1rem;
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

textarea {
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 1.1rem;
    top: 1.1rem;
    color: var(--muted);
    transition: var(--transition);
    pointer-events: none;
    font-size: 0.95rem;
}

input:focus ~ label, input:not(:placeholder-shown) ~ label,
textarea:focus ~ label, textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    padding: 0 0.4rem;
    background: #030712;
    color: var(--cyan);
    border-radius: 4px;
}

input:focus, textarea:focus {
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.submit-btn {
    border: none;
    cursor: pointer;
    background: var(--text);
    color: var(--bg);
}

.submit-btn:hover {
    background: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--cyan-glow);
}

footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   RESEARCH BLOG LAYERS
   ========================================================================= */

.blog-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap; /* Prevents button truncation on narrow break pipelines */
}

.blog-key-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    color: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0; /* Protects icon profile geometry dimensions */
}

.blog-key-btn:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.04);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.admin-controls-badge {
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.admin-action-btn {
    background: var(--cyan);
    color: var(--bg);
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.admin-action-btn:hover {
    background: var(--text);
    box-shadow: 0 4px 12px var(--cyan-glow);
}

.admin-logout-btn {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.admin-logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.full-width-msg {
    padding: 3rem;
    text-align: center;
}

.system-error-text {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-md);
    width: fit-content;
}

.custom-file-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.custom-file-btn:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

.small-modal {
    width: min(440px, 94%) !important;
    height: auto !important;
}

/* ==========================================================================
   ROBUST MEDIA OPTIMIZATION RULES (PhD BRAND LAYOUT PRESERVATION)
   ========================================================================= */

@media(max-width: 1024px) {
    .carousel-item {
        flex: 0 0 320px;
        width: 320px;
    }
    .hero-grid {
        gap: 2rem;
    }
}

@media(max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero { 
        padding: 2rem 0; 
    }
    
    .nav-container { 
        padding: 1rem 0; 
    }
    
    nav { 
        gap: 1.25rem; 
    }
    
    nav a { 
        font-size: 0.85rem; 
    }
    
    .glass-card, .hero-card {
        padding: 1.75rem;
    }
    
    #about-tabs-container {
        display: flex !important;
        width: 100%;
        gap: 0.5rem;
    }

    .about-tab-btn {
        flex: 1;
        text-align: center;
        padding: 0.85rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .modal-content {
        height: 90vh;
        width: 96%;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .profile-image-container {
        min-height: 300px;
    }

    .blog-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .admin-controls-badge {
        width: 100%;
        justify-content: space-between;
    }
    
    .blog-swipe-card {
        flex: 0 0 300px;
        width: 300px;
        min-height: 260px;
        padding: 1.5rem;
    }
}

@media(max-width: 480px) {
    nav { 
        display: none; 
    }
    .hero-buttons { 
        flex-direction: column; 
        width: 100%;
    }
    .primary-btn, .secondary-btn { 
        width: 100%; 
    }
    .blog-header-flex h2 {
        font-size: 1.5rem;
    }
}