/* Modern Premium Styling - Atharva Gawade Portfolio */

/* Custom Variables */
:root {
    --bg-pure: #030306;
    --bg-dark: #07070c;
    --bg-dark-accent: #0b0b14;
    --bg-glass: rgba(10, 10, 18, 0.65);
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glass-hover: rgba(139, 92, 246, 0.25);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-primary: #8b5cf6;
    /* Vivid Violet */
    --accent-secondary: #6366f1;
    /* Electric Indigo */
    --accent-tertiary: #d946ef;
    /* Fuchsia */

    --gradient-accent: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-text: linear-gradient(90deg, #c084fc 0%, #818cf8 100%);
    --gradient-glow: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(99, 102, 241, 0) 70%);

    --font-sans: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-pure);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-pure);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-pure);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.4);
}

/* Ambient Blur Backgrounds */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -10;
    opacity: 0.15;
}

.glow-1 {
    top: -150px;
    left: -150px;
    background: var(--accent-primary);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--accent-secondary);
    opacity: 0.12;
}

.glow-3 {
    top: 45%;
    right: -200px;
    background: var(--accent-tertiary);
    opacity: 0.08;
    width: 500px;
    height: 500px;
}

/* Typography & Layout Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.accent-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-glow {
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* Navbar */
header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    padding: 0.75rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

header.scrolled {
    top: 1rem;
    padding: 0.65rem 2.5rem;
    background: rgba(4, 4, 8, 0.85);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.2);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient-accent);
    transition: var(--transition-fast);
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Left - Name Info */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px;
    z-index: 10;
}

.hero-subtitle {
    font-family: var(--font-display);
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 600;
    line-height: 1.05;
    color: rgba(135, 206, 235, 1.0);
    letter-spacing: -2px;
}

/* Hero Center - Portrait Photo */
.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 520px;
}

.portrait-wrapper {
    position: relative;
    width: 380px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.portrait-glow-ring {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: var(--gradient-glow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.portrait-frame {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    z-index: 2;
    transition: var(--transition-smooth);
}

/* Visual overlay to merge the portrait perfectly with the background */
.portrait-frame::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, var(--bg-pure) 5%, rgba(3, 3, 6, 0.8) 40%, rgba(3, 3, 6, 0) 100%);
    pointer-events: none;
    z-index: 3;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.05) contrast(1.02);
    /* Dual masking for absolute smooth gradient blend */
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 95%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 95%);
    transition: var(--transition-smooth);
}

.portrait-wrapper:hover .portrait-frame {
    transform: translateY(-8px) scale(1.02);
}

.portrait-wrapper:hover .portrait-glow-ring {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, rgba(99, 102, 241, 0) 75%);
}

/* Hero Right - Tagline */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 450px;
    text-align: right;
    z-index: 10;
}

.hero-subtitle-right {
    font-family: var(--font-display);
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.hero-title-right {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    color: rgb(241, 255, 43);
    letter-spacing: -1px;
}

.vertical-socials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

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

.social-icon:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
}

.resume-btn i {
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.resume-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
    transform: translateY(-3px);
}

.resume-btn:hover i {
    transform: scale(1.1);
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    pointer-events: none;
    z-index: 10;
}

.mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 2px;
    animation: scrollMouse 1.8s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    80% {
        transform: translateY(8px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Sections General */
.section {
    padding: 9rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.alternate-bg {
    background-color: var(--bg-dark);
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.sec-subtitle {
    font-family: var(--font-display);
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.5rem;
}

.sec-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 1.2rem auto 0;
    border-radius: 2px;
}

/* About Section Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-heading {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
    line-height: 1.3;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Funny Skills Construction Card (Glassmorphism & Blur) */
.skills-construction-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    margin: 4rem auto 0;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.skills-construction-card .blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 80%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

.skills-construction-card .card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.construction-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: wiggle 2.5s infinite ease-in-out;
    display: inline-block;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }
}

.skills-construction-card h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.funny-warning {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.funny-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    text-align: left;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.funny-details span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.funny-details span i {
    color: var(--accent-primary);
    font-size: 0.95rem;
}

.skills-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-details-card {
    padding: 2.2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-details-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-primary);
    padding-left: 0.8rem;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.details-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.details-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.details-list .label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.details-list .value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Projects Section Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.06);
    background: rgba(255, 255, 255, 0.04);
}

.project-img-wrapper {
    height: 180px;
    background: linear-gradient(135deg, #10101a 0%, #1e1b2e 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 80%);
    z-index: 2;
    pointer-events: none;
}

.project-img-display {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
    z-index: 1;
}

.project-tag {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 3;
}

.project-icon-placeholder {
    font-size: 2.8rem;
    color: rgba(139, 92, 246, 0.35);
    transition: var(--transition-smooth);
}

.project-card:hover .project-icon-placeholder {
    transform: scale(1.1);
    color: rgba(139, 92, 246, 0.65);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.project-info {
    padding: 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.project-tech-tags span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.2rem;
}

.proj-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

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

.proj-link.demo-link {
    color: var(--accent-primary);
}

.proj-link.demo-link:hover {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

/* Contact Section Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-card-sidebar {
    height: 100%;
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(13, 13, 22, 0.8) 0%, rgba(5, 5, 10, 0.8) 100%);
    border: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card-sidebar h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-card-sidebar p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-text a,
.method-text p {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.method-text a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-form {
    padding: 3rem;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border-glass);
    outline: none;
    font-family: inherit;
    transition: var(--transition-fast);
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
}

/* Floating label logic (via placeholder-shown check) */
.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -1rem;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.input-group input:focus~.input-border,
.input-group textarea:focus~.input-border {
    width: 100%;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: transparent;
}

.submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.1rem;
    border-radius: 12px;
    border: none;
    background: var(--gradient-accent);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.25);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.45);
}

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

.submit-btn i {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.submit-btn:hover i {
    transform: translate(3px, -3px);
}

/* Footer Styles */
footer {
    padding: 5rem 0 3rem;
    background-color: #020204;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-desc {
    color: var(--text-secondary);
    max-width: 500px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Scroll Revel Animations (Observer classes) */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-center {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-center {
    transform: scale(0.95);
}

.reveal-left.active,
.reveal-right.active,
.reveal-up.active,
.reveal-center.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* RESPONSIVE DESIGN */

/* Large screens and laptops */
@media (max-width: 1200px) {
    .hero-container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-title-right {
        font-size: 3rem;
    }

    .portrait-wrapper {
        width: 320px;
    }

    .portrait-frame {
        height: 420px;
    }

    .portrait-glow-ring {
        width: 380px;
        height: 380px;
    }
}

/* Tablets and small laptops */
@media (max-width: 991px) {
    header {
        top: 1rem;
        width: 92%;
        padding: 0.75rem 1.8rem;
    }

    header.scrolled {
        padding: 0.65rem 1.8rem;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Toggle active state */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(4, 4, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    /* Hero overhauling to vertical stack */
    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 6rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        justify-items: center;
        text-align: center;
    }

    .hero-left {
        order: 2;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-center {
        order: 1;
        height: auto;
    }

    .hero-right {
        order: 3;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-title {
        font-size: 3.8rem;
    }

    .hero-title-right {
        font-size: 2.8rem;
    }

    .portrait-wrapper {
        width: 300px;
    }

    .portrait-frame {
        height: 380px;
        border-radius: 20px;
    }

    .portrait-glow-ring {
        width: 360px;
        height: 360px;
    }

    .vertical-socials {
        flex-direction: row;
        gap: 1.2rem;
        align-items: center;
    }

    .scroll-indicator {
        display: none;
    }

    /* Grids stack */
    .about-grid,
    .projects-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .contact-card-sidebar {
        padding: 2.5rem;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-title-right {
        font-size: 2.2rem;
    }

    .sec-title {
        font-size: 2.4rem;
    }

    .portrait-wrapper {
        width: 240px;
    }

    .portrait-frame {
        height: 320px;
    }

    .portrait-glow-ring {
        width: 280px;
        height: 280px;
    }

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

    .glass-form,
    .contact-card-sidebar {
        padding: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}