/* ==========================================================================
   CSS Variables & Theme Definition
   Theme: High Contrast Dark (Black/White with Green/Blue/Red Accents)
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #0b0f19;
    --bg-card: rgba(22, 27, 43, 0.6);
    --bg-card-hover: rgba(32, 38, 56, 0.8);

    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;

    /* Science Accents */
    --accent-blue: #06b6d4;
    /* Tech/Intellect - Cyan */
    --accent-red: #8b5cf6;
    /* Biology/Life - Violet */
    --accent-green: #3b82f6;
    /* Growth/Success - Blue */
    --accent-primary: var(--accent-blue);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Layout */
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Background Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
}

.section-padding {
    padding: 100px 10%;
}

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

.section-header h2 {
    font-size: 3rem;
    letter-spacing: -1px;
}

.section-header span {
    color: var(--accent-primary);
}

.divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-red));
    margin: 15px auto 0;
    border-radius: 2px;
}

.divider.left {
    margin: 15px 0 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    background: rgba(5, 5, 5, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 10%;
}

.nav-logo {
    height: 110px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: var(--transition-smooth);
}

.nav-logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
}

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

.btn-contact {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--text-primary) !important;
}

.btn-contact:hover {
    background: white;
    color: black !important;
}

.btn-contact::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-blue);
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.greeting {
    font-size: 1.1rem;
    color: var(--accent-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.brown-fade {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(192, 128, 80, 0.6) 50%, rgba(139, 69, 19, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    opacity: 0.8;
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-red);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(61px, 9999px, 52px, 0);
    }

    5% {
        clip: rect(33px, 9999px, 14px, 0);
    }

    10% {
        clip: rect(12px, 9999px, 59px, 0);
    }

    15% {
        clip: rect(29px, 9999px, 73px, 0);
    }

    20% {
        clip: rect(81px, 9999px, 3px, 0);
    }

    25% {
        clip: rect(8px, 9999px, 51px, 0);
    }

    30% {
        clip: rect(83px, 9999px, 60px, 0);
    }

    35% {
        clip: rect(6px, 9999px, 16px, 0);
    }

    40% {
        clip: rect(48px, 9999px, 33px, 0);
    }

    45% {
        clip: rect(51px, 9999px, 17px, 0);
    }

    50% {
        clip: rect(78px, 9999px, 7px, 0);
    }

    55% {
        clip: rect(100px, 9999px, 46px, 0);
    }

    60% {
        clip: rect(34px, 9999px, 31px, 0);
    }

    65% {
        clip: rect(68px, 9999px, 20px, 0);
    }

    70% {
        clip: rect(7px, 9999px, 77px, 0);
    }

    75% {
        clip: rect(10px, 9999px, 29px, 0);
    }

    80% {
        clip: rect(82px, 9999px, 32px, 0);
    }

    85% {
        clip: rect(11px, 9999px, 37px, 0);
    }

    90% {
        clip: rect(24px, 9999px, 63px, 0);
    }

    95% {
        clip: rect(48px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(74px, 9999px, 43px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    5% {
        clip: rect(52px, 9999px, 74px, 0);
    }

    10% {
        clip: rect(79px, 9999px, 85px, 0);
    }

    15% {
        clip: rect(75px, 9999px, 5px, 0);
    }

    20% {
        clip: rect(67px, 9999px, 61px, 0);
    }

    25% {
        clip: rect(14px, 9999px, 79px, 0);
    }

    30% {
        clip: rect(1px, 9999px, 66px, 0);
    }

    35% {
        clip: rect(86px, 9999px, 30px, 0);
    }

    40% {
        clip: rect(23px, 9999px, 98px, 0);
    }

    45% {
        clip: rect(85px, 9999px, 72px, 0);
    }

    50% {
        clip: rect(71px, 9999px, 75px, 0);
    }

    55% {
        clip: rect(2px, 9999px, 48px, 0);
    }

    60% {
        clip: rect(30px, 9999px, 16px, 0);
    }

    65% {
        clip: rect(59px, 9999px, 50px, 0);
    }

    70% {
        clip: rect(41px, 9999px, 62px, 0);
    }

    75% {
        clip: rect(2px, 9999px, 82px, 0);
    }

    80% {
        clip: rect(47px, 9999px, 73px, 0);
    }

    85% {
        clip: rect(3px, 9999px, 27px, 0);
    }

    90% {
        clip: rect(26px, 9999px, 55px, 0);
    }

    95% {
        clip: rect(42px, 9999px, 97px, 0);
    }

    100% {
        clip: rect(38px, 9999px, 49px, 0);
    }
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 20px;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    max-width: 500px;
}

.blob-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(25px);
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(6, 182, 212, 0.15)) grayscale(10%);
    transition: var(--transition-smooth);
    opacity: 0.5;
}

.hero-image:hover {
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(6, 182, 212, 0.3)) grayscale(0%);
    transform: translateY(-10px) scale(1.02);
}

/* ==========================================================================
   Academics Section
   ========================================================================== */
.academics {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-dark), #080808);
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.achievement-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.achievement-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.achievement-card.highlight::before {
    background: var(--accent-blue);
}

.achievement-card:nth-child(2)::before {
    background: var(--accent-red);
}

.achievement-card:nth-child(3)::before {
    background: var(--accent-green);
}


.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
}

.blue-glow {
    color: var(--accent-blue);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.red-glow {
    color: var(--accent-red);
    text-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

.green-glow {
    color: var(--accent-green);
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
}

.achievement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.score-text {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.detail {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Vision Section
   ========================================================================== */
.vision {
    background: #080808;
}

.vision-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.vision-content {
    flex: 1;
}

.vision-text p {
    margin-top: 25px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.professor-note {
    margin-top: 40px;
    background: rgba(0, 240, 255, 0.03);
    border-left: 3px solid var(--accent-blue);
    padding: 25px;
    border-radius: 0 8px 8px 0;
}

.professor-note i {
    color: var(--accent-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.professor-note p {
    margin-top: 0;
    color: var(--text-primary);
    font-style: italic;
    font-size: 1.05rem;
}

.vision-interactive {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* CSS Atom/Molecule Graphic */
.orb-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.orb.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5), inset 0 0 15px rgba(0, 240, 255, 0.5);
    z-index: 10;
}

.orb.electron {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orb.electron::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translateX(-50%);
}

.e1 {
    width: 140px;
    height: 140px;
    animation: orbit 8s linear infinite;
}

.e1::before {
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
}

.e2 {
    width: 200px;
    height: 200px;
    animation: orbit 12s linear infinite reverse;
}

.e2::before {
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.e3 {
    width: 260px;
    height: 260px;
    animation: orbit 18s linear infinite;
}

.e3::before {
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}

@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 10% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2rem;
    color: white;
}

.footer-brand p {
    color: var(--accent-blue);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-link {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-link i {
    margin-right: 10px;
    color: var(--text-primary);
}

.contact-link:hover {
    color: var(--accent-blue);
}

.availability {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 102, 0);
    }
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animations & Interactivity
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

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

    .vision-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 5%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .brown-fade {
        display: inline;
    }

    /* Allow breaking to new line cleanly */

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

    .hero-content {
        margin-top: 50px;
    }

    .hero-image {
        max-width: 250px;
    }

    .blob-bg {
        width: 220px;
        height: 220px;
    }

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

    .vision-container {
        flex-direction: column;
        text-align: center;
    }

    .divider {
        margin: 15px auto 0 !important;
    }

    .professor-note {
        border-left: none;
        border-top: 3px solid var(--accent-blue);
        border-radius: 0 0 8px 8px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .availability {
        justify-content: center;
    }
}

/* ==========================================================================
   Interactive Cursor & Particle Trail
   ========================================================================== */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9997;
    transition: background 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-dot {
    display: none;
}

.cursor-outline {
    display: none;
}

.cursor-hover .cursor-dot {
    width: 0;
    height: 0;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-color: transparent;
}

.trail-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.8;
    transform: scale(1);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out, background-color 0.3s;
    box-shadow: 0 0 5px var(--accent-primary);
}

/* Contact form styles appended */
/* Base Variables & Reset */


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



/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    background: var(--accent-1);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    background: var(--accent-2);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* Layout */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    z-index: 1;
}

@media (min-width: 800px) {
    .container {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Profile Section */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.avatar-container {
    margin-bottom: 2rem;
    position: relative;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-muted);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    transition: all 0.5s ease;
}

.avatar-container:hover .avatar-placeholder {
    border-color: var(--accent-2);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.4);
    transform: scale(1.05);
}

/* Make sure the user's future image fits perfectly inside */
.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-2), var(--accent-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--accent-2);
}

/* Contact Section */
.contact-card {
    display: flex;
    flex-direction: column;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-1);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message Style */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--text-main);
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-2);
    margin-bottom: 0.5rem;
    animation: scaleIn 0.5s ease-out forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

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

.success-message h3 {
    font-size: 1.8rem;
    color: var(--text-main);
}

.success-message p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Error Message Style */
.error-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--text-main);
}

.error-icon {
    font-size: 5rem;
    color: #ef4444;
    /* Red color */
    margin-bottom: 0.5rem;
    animation: scaleIn 0.5s ease-out forwards;
}

.error-message h3 {
    font-size: 1.8rem;
    color: var(--text-main);
}

.error-message p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--accent-2);
    color: var(--accent-2);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

/* Footer Section */
.site-footer {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 0;
    margin-top: -1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--accent-1);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-2);
    text-decoration: underline;
}

/* Responsive adjustments for all screen sizes */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {


    .container {
        margin: 1rem;
    }

    .glass-panel {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .avatar-placeholder {
        width: 150px;
        height: 150px;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}