/* =====================================================
   CSS CUSTOM PROPERTIES
===================================================== */

:root {
    /* Colors */
    --color-bg: #f7f8fc;
    --color-surface: #ffffff;
    --color-primary: #0f172a;
    --color-secondary: #475569;
    --color-accent: #14b8a6;
    --color-accent2: #2563eb;
    --color-border: #e5e7eb;
    
    /* Dark mode colors */
    --color-bg-dark: #0f172a;
    --color-surface-dark: #1e293b;
    --color-text-dark: #f8fafc;
    --color-text-secondary-dark: #cbd5e1;
    
    /* Effects */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --radius-lg: 22px;
    --max-width: 1200px;
    --transition: 0.3s;
}

/* =====================================================
   GLOBAL STYLES
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--color-bg);
    color: var(--color-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 100px 8%;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

p {
    line-height: 1.7;
    color: var(--color-secondary);
}

/* =====================================================
   NAVBAR
===================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

#themeToggle {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: var(--shadow);
    font-size: 18px;
    transition: var(--transition);
}

#themeToggle:hover {
    transform: rotate(20deg);
}

/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.gradient {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 70%);
    top: -250px;
    right: -150px;
    filter: blur(30px);
    animation: float1 12s infinite alternate;
}

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-container {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 50px;
    background: white;
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16a34a;
    animation: pulse 1.4s infinite;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    margin-bottom: 20px;
}

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

.hero h2 {
    font-size: 30px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 25px;
}

.hero p {
    font-size: 18px;
    color: var(--color-secondary);
    max-width: 620px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.primary-btn {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.35s;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.25);
}

.primary-btn:hover {
    transform: translateY(-4px);
}

.secondary-btn {
    border: 2px solid var(--color-border);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    background: white;
    transition: 0.35s;
}

.secondary-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.socials {
    display: flex;
    gap: 22px;
    font-size: 24px;
}

.socials a {
    transition: var(--transition);
}

.socials a:hover {
    color: var(--color-accent);
    transform: translateY(-4px);
}

.hero-right {
    display: flex;
    justify-content: center;
}

.profile-card {
    width: 380px;
    height: 480px;
    background: white;
    padding: 18px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.profile-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.18);
    top: -30px;
    left: -30px;
    z-index: -1;
}

.profile-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(37, 99, 235, 0.14);
    bottom: -30px;
    right: -30px;
    border-radius: 50%;
    z-index: -1;
}
.hero-specialization {
    margin-top: 14px;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-secondary);
}

.hero-specialization span {
    color: var(--accent);
    margin: 0 5px;
}
/* =====================================================
   STATS
===================================================== */

.stats {
    background: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: -50px;
    border-radius: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 20;
    padding: 45px;
}

.stat h3 {
    font-size: 42px;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.stat p {
    color: var(--color-secondary);
    font-weight: 600;
}

/* =====================================================
   SECTION TITLE
===================================================== */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: var(--color-secondary);
    max-width: 700px;
    margin: auto;
}

/* =====================================================
   ABOUT
===================================================== */

.about {
    background: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 70px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--color-secondary);
    font-size: 17px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 8px solid white;
}

/* =====================================================
   SKILLS
===================================================== */

.skills {
    background: #f8fafc;
}

.skills-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.skill-card{
    background:#ffffff;
    padding:35px;
    border-radius:20px;

    border:1px solid rgba(0,0,0,.04);

    box-shadow:
        0 12px 32px rgba(15,23,42,.08);

    transition:
        transform .35s,
        box-shadow .35s;
}

.skill-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 50px rgba(15,23,42,.15);

}

.skill-card h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tags span {
    background: #eef2ff;
    color: #1e293b;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.skill-tags span:hover {
    background: var(--color-accent);
    color: white;
    cursor: default;
}

/* =====================================================
   EXPERIENCE
===================================================== */

.experience {
    background: white;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-accent), #60a5fa);
    border-radius: 5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 10px;
    width: 22px;
    height: 22px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: 0.35s;
}

.timeline-content:hover {
    transform: translateY(-8px);
}

.timeline-date {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 30px;
    background: #ecfeff;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 700;
}

.timeline-content h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-size: 17px;
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.timeline-content ul {
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.timeline-links {
    margin-top: 20px;
}

.timeline-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 600;
}

.experience-focus {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f766e;
    margin: 8px 0 16px;
}

.selected-outcome {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    line-height: 1.6;
}

.selected-outcome > strong:first-child {
    color: #20c7c7;
}

.selected-outcome p {
    margin: 0;
}


/* =========================
   Projects Section
========================= */

/* =========================
   PROJECT GRID
========================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   PROJECT CARD
========================= */

.project-card {
    background: var(--card-bg, #1d293d);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 200, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

/* =========================
   PROJECT IMAGE
========================= */

.project-card > img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
}

/* =========================
   PROJECT CONTENT
========================= */

.project-card .content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.project-card h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0 0 13px;
}

/* =========================
   TAGS
========================= */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.project-tags span {
    font-size: 0.68rem;
    line-height: 1;
    padding: 7px 9px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);
    color: #dce5f2;

    white-space: nowrap;
}

/* =========================
   DESCRIPTION
========================= */

.project-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 14px;
}

/* =========================
   SELECTED OUTCOME
========================= */

.project-outcome {
    margin-top: auto !important;
    padding-top: 12px;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
}

.project-outcome strong:first-child {
    display: block;
    color: #ffffff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

/* =========================
   FOOTER
========================= */

.project-footer {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 12px;
    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-footer a {
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

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

    .project-card > img {
        height: 200px;
    }

}
/* =====================================================
   EDUCATION
===================================================== */

.education {
    background: #f8fafc;
}

.education-card {
    max-width: 950px;
    margin: auto;
    display: flex;
    gap: 35px;
    padding: 40px;
    background: white;
    border-radius: 22px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}

.edu-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 34px;
    flex-shrink: 0;
}

.edu-year {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: #ecfeff;
    border-radius: 30px;
    font-weight: 700;
    color: var(--color-accent);
}

.edu-content h3 {
    font-size: 30px;
    margin-bottom: 8px;
}

.edu-content h4 {
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.edu-content p {
    margin-bottom: 12px;
    color: var(--color-secondary);
}

/* =====================================================
   PUBLICATIONS
===================================================== */

.publications {
    background: white;
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.publication-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.publication-card:hover {
    transform: translateY(-8px);
}

.status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.review {
    background: #fef3c7;
    color: #92400e;
}

.published {
    background: #dcfce7;
    color: #166534;
}

.publication-card h3 {
    font-size: 23px;
    margin-bottom: 15px;
}

.authors {
    font-weight: 600;
    margin-bottom: 8px;
}

.journal {
    color: var(--color-secondary);
}

.publication-links {
    margin-top: auto;
    padding-top: 20px;
}

.publication-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #0f172a;
    color: white !important;
    font-weight: 600;
    transition: 0.3s;
}

.publication-btn:hover {
    background: var(--color-accent);
    color: white !important;
}

/* =====================================================
   AWARDS
===================================================== */

.awards {
    background: #f8fafc;
}

.award-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.award-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.award-card:hover {
    transform: translateY(-8px);
}

.award-card i {
    font-size: 44px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.award-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.award-card p {
    color: var(--color-secondary);
}

/* =====================================================
   CONTACT
===================================================== */

.contact {
    background: white;
}

.contact-wrapper {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--color-secondary);
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.contact-card p {
    margin-bottom: 30px;
    color: var(--color-secondary);
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #0f172a;
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: auto;
}

.footer-content h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.footer-content p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 35px;
}

.footer-social a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-5px);
}

footer small {
    color: #94a3b8;
}

/* =====================================================
   BACK TO TOP
===================================================== */

#backToTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: none;
    z-index: 999;
}

/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float1 {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(60px);
    }
}

/* =====================================================
   SCROLL REVEAL
===================================================== */

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.show {
    opacity: 1;
    transform: none;
}

/* =====================================================
   DARK MODE
===================================================== */

body.dark{
    background:#0f172a;
    color:#f8fafc;
}

/* Sections */

body.dark section{
    background:#0f172a;
}

/* Navbar */

body.dark header{
    background:#0f172a;
}

body.dark .navbar{
    background:transparent;
}

body.dark .logo,
body.dark .nav-links a{
    color:#fff;
}

body.dark #themeToggle{
    background:#1e293b;
    color:#fff;
}

/* Hero */

body.dark .hero h2{
    color:#cbd5e1;
}

body.dark .hero p{
    color:#cbd5e1;
}

/* THIS FIXES YOUR BADGE */

body.dark .availability{
    background:#ffffff;
    color:#111827;
}

body.dark .availability .dot{
    background:#16a34a;
}

/* Cards */

body.dark .skill-card,
body.dark .project-card,
body.dark .publication-card,
body.dark .education-card,
body.dark .timeline-content,
body.dark .contact-card,
body.dark .award-card{

    background:#1e293b;
    color:#f8fafc;

    border:1px solid rgba(255,255,255,.06);

    box-shadow:
        0 12px 32px rgba(0,0,0,.45);

}

body.dark .skill-card:hover,
body.dark .project-card:hover,
body.dark .publication-card:hover,
body.dark .education-card:hover,
body.dark .timeline-content:hover,
body.dark .contact-card:hover,
body.dark .award-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 55px rgba(0,0,0,.60),
        0 0 20px rgba(20,184,166,.15);

}

/* Card headings */

body.dark .skill-card h3,
body.dark .project-card h3,
body.dark .publication-card h3,
body.dark .education-card h3,
body.dark .timeline-content h3,
body.dark .award-card h3,
body.dark .contact-card h3{

    color:#ffffff;

}

/* Paragraphs */

body.dark p,
body.dark li,
body.dark h4{

    color:#cbd5e1;

}

/* Project tags */

body.dark .project-tags span,
body.dark .skill-tags span{

    background:#334155;
    color:#ffffff;

}

/* Footer line */

body.dark .project-footer{

    border-top:1px solid rgba(255,255,255,.08);

}

/* Buttons */

body.dark .secondary-btn{

    background:#1e293b;
    color:#fff;
    border:1px solid #334155;

}

body.dark .secondary-btn:hover{

    border-color:#14b8a6;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right {
        order: -1;
    }

    .profile-card {
        width: 320px;
        height: 400px;
        margin: auto;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 34px;
    }

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

    .project-grid,
    .skills-grid,
    .publication-grid,
    .award-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 25px;
    }

    .timeline-dot {
        left: -22px;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .profile-card {
        width: 280px;
        height: 340px;
    }
}

/* ==========================================
   Availability Badge - Dark Mode Fix
========================================== */

body.dark .availability {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
}

body.dark .availability .dot {
    background: #16a34a;
}

body.dark .availability * {
    color: #0f172a !important;
}
