/* =================================
   MITHU.DEV - GLOBAL CSS
   Phase 01 | Step 04
================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    --bg-primary: #050505;
    --bg-secondary: #0c0c0c;
    --bg-card: #111111;

    --accent: #b6ff00;
    --accent-glow: rgba(182, 255, 0, 0.25);

    --text-primary: #ffffff;
    --text-secondary: #999999;

    --border-color: rgba(255, 255, 255, 0.1);

    --font-main: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

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

/* HTML */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Selection */
::selection {
    background: var(--accent);
    color: #000;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Buttons */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* Container */
.container {
    width: min(90%, 1200px);
    margin-inline: auto;
}

/* Global Accent */
.accent {
    color: var(--accent);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* Smooth Transitions */
a,
button,
.card {
    transition: var(--transition);
}


/* =================================
   MITHU.DEV - PREMIUM NAVBAR
   Phase 02 | Step 02
================================= */

.navbar {
    width: 100%;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

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

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

/* Logo */
.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Contact Button */
.nav-btn {
    padding: 12px 20px;
    border: 1px solid var(--accent);
    border-radius: 6px;

    color: var(--accent);
    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.nav-btn span {
    margin-left: 6px;
}

.nav-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-3px);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        height: 75px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        font-size: 11px;
    }

    .nav-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        width: 94%;
    }

    .logo {
        font-size: 19px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-link {
        font-size: 10px;
    }
}

/* =================================
   MITHU.DEV - HERO SECTION
   Phase 02 | Step 04
================================= */

.hero {
    min-height: 100vh;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 80% 45%,
            rgba(182, 255, 0, 0.07),
            transparent 35%),
        var(--bg-primary);
}

.hero-container {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    margin-bottom: 35px;

    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;

    color: var(--accent);
    background: rgba(182, 255, 0, 0.07);
    border: 1px solid rgba(182, 255, 0, 0.2);
    border-radius: 50px;
}

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

.hero-greeting {
    color: var(--text-secondary);
    font-size: 15px;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
    color: var(--accent);
    text-shadow: 0 0 30px rgba(182, 255, 0, 0.15);
}

.hero-subtitle {
    font-size: 23px;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 500px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 35px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 23px;
    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.primary-btn {
    background: var(--accent);
    color: #000;
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.secondary-btn {
    border: 1px solid var(--border-color);
    color: #fff;
}

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

/* Social Links */
.hero-socials {
    display: flex;
    gap: 25px;
    margin-top: 45px;
}

.hero-socials a {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.hero-socials a:hover {
    color: var(--accent);
}

/* Hero Visual */
.hero-visual {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.12;
    filter: blur(100px);
}

/* Profile Card */
.hero-card {
    width: 330px;
    padding: 30px;

    text-align: center;

    position: relative;
    z-index: 2;

    background: linear-gradient(145deg,
            #191919,
            #090909);

    border: 1px solid rgba(182, 255, 0, 0.25);
    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 35px rgba(182, 255, 0, 0.05);

    transition: all 0.5s ease !important;
}


.hero-card:hover {
    transform: translateY(-12px) rotateY(5deg) scale(1.07);
    border-color: var(--accent);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 35px var(--accent-glow),
        inset 0 0 20px rgba(182, 255, 0, 0.04);
}

.hero-avatar img {
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-avatar img {
    transform: scale(1.12);
}


.card-top {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 35px;
}

.card-top span:first-child {
    color: var(--accent);
}

.hero-avatar {
    width: 125px;
    height: 125px;
    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 65px;
    font-weight: 900;
    color: var(--accent);

    border: 2px solid var(--accent);
    border-radius: 50%;

    background: rgba(182, 255, 0, 0.05);

    box-shadow: 0 0 35px var(--accent-glow);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.hero-card h3 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 12px;
}

.card-line {
    height: 1px;
    background: var(--border-color);
    margin: 25px 0;
}

.card-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.card-skills span {
    padding: 8px 11px;
    font-size: 9px;
    font-weight: 700;

    color: var(--accent);
    background: rgba(182, 255, 0, 0.07);
    border: 1px solid rgba(182, 255, 0, 0.15);
    border-radius: 5px;
}

/* Floating Tags */
.floating-tag {
    position: absolute;
    z-index: 3;

    padding: 13px 18px;

    background: #151515;
    border: 1px solid rgba(182, 255, 0, 0.3);
    border-radius: 8px;

    color: var(--accent);
    font-size: 11px;
    font-weight: 700;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    animation: float 4s ease-in-out infinite;
}

.tag-one {
    top: 65px;
    left: -5px;
}

.tag-two {
    bottom: 65px;
    right: -10px;
    animation-delay: 1s;
}

/* Animations */
@keyframes pulse {
    50% {
        opacity: 0.3;
        box-shadow: 0 0 3px var(--accent);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-visual {
        min-height: 430px;
    }

    .hero-description {
        max-width: 600px;
    }

    .tag-one {
        left: 5%;
    }

    .tag-two {
        right: 5%;
    }
}

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

    .hero-title {
        font-size: 39px;
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-card {
        width: 290px;
        padding: 25px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .floating-tag {
        font-size: 9px;
        padding: 10px;
    }
}

/* =================================
   MITHU.DEV - MOBILE NAVBAR
   Phase 02 | Step 05.2
================================= */

/* Hamburger Button */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;

    background: rgba(182, 255, 0, 0.06);
    border: 1px solid rgba(182, 255, 0, 0.25);
    border-radius: 7px;

    flex-direction: column;
    justify-content: center;
    gap: 6px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;

    background: var(--accent);
    border-radius: 5px;

    transition: var(--transition);
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 85px;
        left: 0;

        width: 100%;
        padding: 25px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;

        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);

        border-bottom: 1px solid rgba(182, 255, 0, 0.2);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);

        transition: var(--transition);
    }

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

    .nav-link {
        font-size: 14px;
    }

    .nav-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 75px;
    }
}

/* =================================
   MITHU.DEV - ENTRANCE ANIMATIONS
   Phase 02 | Step 06.1
================================= */

/* Initial Animation State */
.hero-content>* {
    opacity: 0;
    animation: heroReveal 0.8s ease forwards;
}

.hero-content>*:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-content>*:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content>*:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-content>*:nth-child(4) {
    animation-delay: 0.4s;
}

.hero-content>*:nth-child(5) {
    animation-delay: 0.5s;
}

.hero-content>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* Hero Card Animation */
.hero-card {
    opacity: 0;
    animation: cardReveal 1s ease 0.4s forwards;
}

/* Floating Tags */
.floating-tag {
    animation: float 4s ease-in-out infinite;
}

/* Reveal Animation */
@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Reveal */
@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .hero-content>*,
    .hero-card,
    .floating-tag {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* =================================
   MITHU.DEV - ABOUT SECTION
   Phase 02 | Step 07.2
================================= */

.about-section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;

    background: var(--bg-secondary);
}

/* Section Heading */
.section-heading {
    text-align: center;
    margin-bottom: 75px;
}

.section-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.section-heading h2 {
    font-size: clamp(35px, 5vw, 55px);
    font-weight: 900;
    margin: 18px 0;
    letter-spacing: -2px;
}

.section-heading h2 span {
    color: var(--accent);
}

.section-heading p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* About Layout */
.about-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

/* About Content */
.about-content {
    position: relative;
    z-index: 2;
}

.about-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.about-content h3 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 800;
}

.about-content h3 span {
    color: var(--accent);
}

.about-content>p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* About Information */
.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 35px 0;
}

.about-info div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 8px;

    transition: var(--transition);
}

.about-info div:hover {
    border-color: var(--accent);
    background: rgba(182, 255, 0, 0.04);
    transform: translateY(-4px);
}

.about-info div span {
    color: var(--text-secondary);
    font-size: 10px;
    letter-spacing: 1px;
}

.about-info div strong {
    color: var(--text-primary);
    font-size: 12px;
}

/* About Visual */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 430px;
}

.about-image-card {
    width: 330px;
    padding: 15px;

    position: relative;
    z-index: 2;

    background: linear-gradient(145deg,
            #1a1a1a,
            #080808);

    border: 1px solid rgba(182, 255, 0, 0.25);
    border-radius: 18px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);

    transition: var(--transition);
}

.about-image-card:hover {
    transform: rotate(-2deg) translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 0 35px var(--accent-glow);
}

.about-image-placeholder {
    height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(circle,
            rgba(182, 255, 0, 0.15),
            transparent 65%),
        #101010;

    border-radius: 12px;
}

.about-image-placeholder span {
    font-size: 150px;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 40px var(--accent-glow);
}

/* About Image Styling */
.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

/* Smooth Hover Zoom */
.about-image-card:hover .about-image-placeholder img {
    transform: scale(1.06);
}

/* Image Hover Glow */
.about-image-card:hover .about-image-placeholder {
    box-shadow: 0 0 25px var(--accent-glow);
}


.about-image-caption {
    display: flex;
    justify-content: space-between;
    padding: 18px 5px 5px;

    color: var(--accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Decorative Shape */
.about-decoration {
    position: absolute;
    width: 280px;
    height: 380px;

    border: 1px solid var(--accent);
    border-radius: 18px;

    opacity: 0.2;
    transform: rotate(8deg);
}

/* Responsive */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        text-align: center;
    }

    .about-visual {
        order: -1;
    }

    .about-content .primary-btn {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .about-info {
        gap: 10px;
    }

    .about-info div {
        padding: 12px 8px;
    }

    .about-info div strong {
        font-size: 10px;
    }

    .about-image-card {
        width: 280px;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .about-image-placeholder span {
        font-size: 120px;
    }
}

/* =================================
   MITHU.DEV - SKILLS SECTION
   Phase 02 | Step 08.2
================================= */

.skills-section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 50% 50%,
            rgba(182, 255, 0, 0.035),
            transparent 60%),
        var(--bg-primary);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Skill Card */
.skill-card {
    position: relative;
    padding: 30px 22px;
    min-height: 235px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 14px;

    overflow: hidden;
    transition: var(--transition);
}

/* Card Glow */
.skill-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;

    width: 180px;
    height: 180px;

    background: var(--accent);
    opacity: 0;
    filter: blur(80px);

    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: rgba(182, 255, 0, 0.5);

    background: rgba(182, 255, 0, 0.035);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.skill-card:hover::before {
    opacity: 0.15;
}

/* Skill Icon */
.skill-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;

    background: rgba(182, 255, 0, 0.07);
    border: 1px solid rgba(182, 255, 0, 0.15);
    border-radius: 12px;

    margin-bottom: 22px;

    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Skill Title */
.skill-card h3 {
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Skill Description */
.skill-card p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Skill Category */
.skill-category {
    display: inline-block;

    color: var(--accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;

    padding: 7px 10px;

    background: rgba(182, 255, 0, 0.06);
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .skills-section {
        padding: 80px 0;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .skill-card {
        padding: 20px 14px;
        min-height: 220px;
    }

    .skill-icon {
        width: 45px;
        height: 45px;
        font-size: 23px;
        margin-bottom: 17px;
    }

    .skill-card h3 {
        font-size: 14px;
    }

    .skill-card p {
        font-size: 11px;
    }

    .skill-category {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* =================================
   MITHU.DEV - PROJECTS SECTION
   Phase 02 | Step 09.2
================================= */

.projects-section {
    padding: 110px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(182, 255, 0, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Project Preview */

.project-preview {
    height: 220px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #151a0c;
}

.grocery-preview {
    background: radial-gradient(circle, #283b0c, #10140a);
}

.weather-preview {
    background: radial-gradient(circle, #142d3b, #0b1119);
}

.dashboard-preview {
    background: radial-gradient(circle, #30204a, #11101a);
}

.project-preview::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(182, 255, 0, 0.25);
    border-radius: 50%;
    transition: var(--transition);
}

.project-card:hover .project-preview::before {
    transform: scale(1.4) rotate(45deg);
}

.project-number {
    position: absolute;
    top: 18px;
    left: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.project-preview-text {
    color: white;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
    line-height: 1.4;
    z-index: 1;
}

.project-status {
    position: absolute;
    bottom: 16px;
    right: 16px;
    color: var(--accent);
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 800;
}

/* Project Content */

.project-content {
    padding: 25px;
}

.project-type {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.project-content h3 {
    color: var(--text-primary);
    font-size: 19px;
    margin: 12px 0;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
    min-height: 70px;
    margin-bottom: 20px;
}

/* Technology Tags */

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.project-tech span {
    color: #ccc;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 6px 9px;
    font-size: 10px;
}

/* Project Link */

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    transition: var(--transition);
}

.project-link:hover {
    gap: 16px;
}

/* Responsive */

@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-section {
        padding: 80px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-preview {
        height: 200px;
    }

    .project-content {
        padding: 22px;
    }
}


/* =================================
   MITHU.DEV - CONTACT SECTION
   Phase 02 | Step 10.2
================================= */

.contact-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 15% 50%,
            rgba(182, 255, 0, 0.045),
            transparent 40%),
        var(--bg-primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 55px;
}

/* Contact Information */

.contact-tag {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-info h3 {
    color: var(--text-primary);
    font-size: 34px;
    line-height: 1.4;
    margin: 20px 0;
}

.contact-info h3 span {
    color: var(--accent);
}

.contact-info>p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
    max-width: 420px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);
    font-size: 20px;

    background: rgba(182, 255, 0, 0.07);
    border: 1px solid rgba(182, 255, 0, 0.18);
    border-radius: 12px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-item small {
    color: var(--text-secondary);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.contact-item a,
.contact-item strong {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

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

/* Contact Form */

.contact-form-wrapper {
    padding: 35px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;

    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border-color);
    border-radius: 9px;
    outline: none;

    font-family: var(--font-main);
    font-size: 13px;

    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(182, 255, 0, 0.08);
}

.contact-form button {
    width: fit-content;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

/* Responsive */

@media (max-width: 850px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h3 {
        font-size: 29px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 22px 16px;
    }

    .contact-info h3 {
        font-size: 26px;
    }
}

/* =================================
   MITHU.DEV - FOOTER SECTION
   Phase 02 | Step 11.2
================================= */

.footer-section {
    padding: 45px 0 25px;
    background: #080808;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 35px;
}

.footer-logo {
    color: var(--text-primary);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

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

.footer-top p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

.back-to-top {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
}

.footer-bottom p {
    color: #777;
    font-size: 11px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 11px;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--accent);
}

/* Responsive */

@media (max-width: 600px) {

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-socials {
        flex-wrap: wrap;
        gap: 18px;
    }
}


/* =================================
   MITHU.DEV - SCROLL REVEAL
   Phase 02 | Step 12.1
================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

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

/* Stagger Animation */

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =================================
   MITHU.DEV - SCROLL PROGRESS BAR
   Phase 02 | Step 14.2
================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;

    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);

    z-index: 9999;
    transition: width 0.08s linear;
}


/* =================================
   MITHU.DEV - BACK TO TOP BUTTON
   Phase 02 | Step 15.2
================================= */

.back-to-top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #050505;
    background: var(--accent);

    border: none;
    border-radius: 12px;

    font-size: 25px;
    font-weight: 900;

    cursor: pointer;
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: var(--transition);
    box-shadow: 0 0 20px var(--accent-glow);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--accent-glow);
}

@media (max-width: 480px) {
    .back-to-top-btn {
        right: 18px;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }
}


/* =================================
   MITHU.DEV - CUSTOM CURSOR
   Phase 02 | Step 16.2
================================= */

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;

    width: 18px;
    height: 18px;

    border: 2px solid var(--accent);
    border-radius: 50%;

    background: rgba(182, 255, 0, 0.12);
    box-shadow: 0 0 15px var(--accent-glow);

    pointer-events: none;
    z-index: 10000;

    transform: translate(-50%, -50%);
    opacity: 0;

    transition:
        width 0.2s ease,
        height 0.2s ease,
        opacity 0.2s ease;
}

.custom-cursor.cursor-visible {
    opacity: 1;
}

.custom-cursor.cursor-hover {
    width: 35px;
    height: 35px;
    background: rgba(182, 255, 0, 0.08);
}

/* Disable on touch devices */

@media (hover: none),
(pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}


/* =================================
   MITHU.DEV - SMOOTH SCROLL
   Phase 02 | Step 17.1
================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

section[id] {
    scroll-margin-top: 100px;
}

/* Smooth Page Selection */

::selection {
    color: #050505;
    background: var(--accent);
}

/* Focus Accessibility */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Reduced Motion Support */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* =================================
   MITHU.DEV - WEBSITE PRELOADER
   Phase 02 | Step 18.2
================================= */

.preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;
    z-index: 20000;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    color: white;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 30px;

    animation: preloaderPulse 1.5s ease-in-out infinite;
}

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

.preloader-spinner {
    width: 45px;
    height: 45px;

    margin: 0 auto 22px;

    border: 3px solid rgba(182, 255, 0, 0.12);
    border-top-color: var(--accent);
    border-radius: 50%;

    animation: preloaderSpin 0.8s linear infinite;
}

.preloader-content p {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

@keyframes preloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderPulse {
    50% {
        opacity: 0.5;
        transform: scale(0.96);
    }
}

/* ================================
   EDUCATION SECTION
================================ */

.education-section {
    padding: 100px 0;
    background: #080808;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.education-card {
    padding: 35px;
    background: linear-gradient(145deg, #191919, #090909);
    border: 1px solid rgba(182, 255, 0, 0.2);
    border-radius: 18px;
    transition: all 0.4s ease;
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 0 35px var(--accent-glow);
}

.education-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.education-status {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.education-card h3 {
    color: #fff;
    font-size: 23px;
    margin: 15px 0 8px;
}

.education-card h4 {
    color: var(--accent);
    font-size: 15px;
    margin-bottom: 12px;
}

.education-card p {
    color: #aaa;
    font-size: 14px;
}

.education-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.education-details span {
    padding: 8px 12px;
    color: var(--accent);
    background: rgba(182, 255, 0, 0.08);
    border: 1px solid rgba(182, 255, 0, 0.15);
    border-radius: 20px;
    font-size: 12px;
}

/* EDUCATION TWO COLUMN LAYOUT */

.education-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.education-content h3 {
    font-size: 36px;
    color: #fff;
    margin: 20px 0 12px;
}

.education-content h3 span {
    color: var(--accent);
}

.education-content h4 {
    color: var(--accent);
    font-size: 17px;
    margin-bottom: 18px;
}

.education-content p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 25px;
}

.education-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.education-details div {
    padding: 15px;
    background: rgba(182, 255, 0, 0.04);
    border: 1px solid rgba(182, 255, 0, 0.15);
    border-radius: 12px;
}

.education-details span {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 8px;
}

.education-details strong {
    color: #fff;
    font-size: 13px;
}

/* INSTITUTE IMAGE CARD */

.education-visual {
    display: flex;
    justify-content: center;
}

.education-image-card {
    width: 330px;
    padding: 15px;
    background: linear-gradient(145deg, #191919, #080808);
    border: 1px solid rgba(182, 255, 0, 0.25);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.education-image-card:hover {
    transform: rotate(-2deg) translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 0 35px var(--accent-glow);
}

.education-image-placeholder {
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
}

.education-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.education-image-card:hover .education-image-placeholder img {
    transform: scale(1.06);
}

.education-image-caption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 15px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

/* EDUCATION RESPONSIVE */

@media (max-width: 768px) {

    .education-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .education-content h3 {
        font-size: 28px;
    }

    .education-image-card {
        width: 100%;
        max-width: 330px;
    }

    .education-image-placeholder {
        height: 300px;
    }

    .education-details {
        grid-template-columns: 1fr;
    }

}