/* Global Variables - Neon Green & Fluorescent Theme */
:root {
    --bg-color: #050a08;
    /* Very Dark Green/Black */
    --bg-alt-color: #0c1612;
    /* Slightly lighter dark green */

    /* Gradients - Fluorescent Green to Cyan */
    --primary-gradient: linear-gradient(135deg, #00ff2a 0%, #00f0ff 100%);
    --secondary-gradient: linear-gradient(135deg, #ccff00 0%, #00ff9d 100%);
    --text-gradient: linear-gradient(to right, #80ffdb, #00ff88);

    /* Solid Colors */
    --primary-color: #00ff9d;
    /* Fluorescent Green */
    --secondary-color: #94a3b8;
    /* Slate Gray */
    --text-color: #d1d5db;
    /* Light Gray */
    --heading-color: #ffffff;
    /* White */

    /* Cards & Glass */
    --card-bg: rgba(12, 22, 18, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(0, 255, 157, 0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --shadow: 0 10px 40px -10px rgba(0, 255, 157, 0.1);
    --glow: 0 0 20px rgba(0, 255, 157, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}



h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 15px auto 0;
    box-shadow: var(--glow);
}

/* Background Icons Floating Animation (Global) */
.bg-icon {
    position: absolute;
    color: rgba(0, 255, 157, 0.03);
    font-size: 4rem;
    z-index: 0;
    animation: float 10s infinite ease-in-out;
    pointer-events: none;
}

.bg-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-duration: 12s;
}

.bg-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-duration: 15s;
    font-size: 3rem;
}

.bg-icon:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-duration: 18s;
    font-size: 5rem;
}

.bg-icon:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation-duration: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Home Section Background - Static Binary Effect */
#home {
    background-color: #020504;
    position: relative;
    overflow: hidden;
}

#home::before {
    /* Large block of "random" binary numbers */
    content: "1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: monospace;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--primary-color);
    opacity: 0.04;
    /* Very light and subtle */
    word-break: break-all;
    letter-spacing: 5px;
    z-index: 0;
    /* Static - No Animation */
    mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
    /* Cascading fade effect */
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
    pointer-events: none;
    text-align: justify;
}

/* Other Sections Background */
#skills,
#projects,
#contact,
#achievements {
    background-color: #08100d;
    position: relative;
}

#experience,
#services,
#about {
    background-color: #050a08;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-fixed-resume {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    background: var(--primary-gradient);
    color: #000;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.4);
    padding: 1rem 2rem;
    font-weight: 700;
}

.btn-fixed-resume:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.6);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.2);
    width: auto;
}

.contact-form .btn-primary {
    width: 100%;
    display: flex;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.5);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(5, 10, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo span {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
}

.hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.profile-img-container {
    width: 280px;
    height: 280px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    padding: 5px;
    background: rgba(5, 10, 8, 0.5);
    box-shadow: 0 0 20px var(--primary-color),
        inset 0 0 10px var(--primary-color);
    position: relative;
    border: 2px solid var(--primary-color);
}

.profile-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-alt-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-name {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #bcebd9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-bio {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Centered Card (Education & Experience) */
.centered-card-container {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 157, 0.1);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.info-card h4 {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.car-flow {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    position: relative;
}

/* Vertical connector line */
.car-flow::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.car-stage {
    position: relative;
    padding-left: 3.5rem;
    z-index: 1;
}

.car-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.car-icon {
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.car-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.car-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Stage-specific styling */
.car-challenge .car-icon {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.car-challenge .car-label {
    color: rgba(255, 107, 107, 0.8);
}

.car-challenge .car-content {
    color: #d1d5db;
}

.car-action .car-icon {
    color: #ffd43b;
    border-color: rgba(255, 212, 59, 0.3);
}

.car-action .car-label {
    color: #ffd43b;
}

.car-action .car-content {
    color: #d1d5db;
}

.car-result .car-icon {
    color: #0a0a0a;
    /* Dark icon to reduce glare against bright bg */
    background: #51cf66;
    border-color: #51cf66;
    box-shadow: 0 0 15px rgba(81, 207, 102, 0.4);
}

.car-result .car-label {
    color: #51cf66;
    font-weight: 800;
}

.car-result .car-content {
    color: #d1d5db;
    font-weight: 500;
}

.car-stage:hover .car-icon {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.car-result:hover .car-icon {
    box-shadow: 0 0 25px rgba(81, 207, 102, 0.6);
}

.info-card .date {
    display: inline-block;
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.gpa-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    background: var(--primary-gradient);
    color: #000;
    border-radius: 50px;
    margin-left: 0.5rem;
    vertical-align: middle;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

.card-header-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header-meta .date {
    margin-bottom: 0;
}

.project-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-color);
    text-align: center;
}

.project-info-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.project-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    font-weight: 600;
}

.grade-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    background: var(--primary-gradient);
    color: #000;
    border-radius: 50px;
    margin-left: 0.5rem;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

.experience-subtitle {
    color: #d1d5db;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-style: italic;
}


/* Skills: Categorized Layout */
.skills-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.skill-category-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.skill-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.skill-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 157, 0.3);
    box-shadow: 0 15px 40px rgba(0, 255, 157, 0.15);
}

.skill-category-card:hover::before {
    opacity: 1;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.3));
}

.skill-category-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Reusing skill-tag with minor adjustments */
.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
    font-weight: 500;
}

.skill-tag i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(0, 255, 157, 0.08);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.2);
    transform: translateY(-3px);
}

.skill-tag:hover i {
    transform: scale(1.2);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -10px rgba(0, 255, 157, 0.15);
}

/* Improved Service Icons */
.service-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.3));
}

/* About Section Styling */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-main-text {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 4rem;
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.about-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -10px rgba(0, 255, 157, 0.15);
}

.about-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.3));
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.about-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.service-skill-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.service-skill-tag:hover {
    background: rgba(0, 255, 157, 0.08);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    transform: translateY(-2px);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
    /* Increased spacing */
    position: relative;
    z-index: 2;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -10px rgba(0, 255, 157, 0.2);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 8, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary-color);
    color: #000;
}

.project-info {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-context {
    display: block;
    font-size: 0.75rem;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.project-info p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-actions {
    margin-top: auto;
}

.btn-view-features {
    width: 100%;
    background: rgba(0, 255, 157, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.2);
    color: var(--primary-color);
    padding: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-view-features:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
    transform: translateY(-2px);
}

.btn-view-features i {
    transition: transform 0.3s ease;
}

.btn-view-features.active i {
    transform: rotate(180deg);
}

.project-features-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease;
    opacity: 0;
    margin-bottom: 0;
}

.project-features-details.active {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.car-flow-compact {
    gap: 1.2rem;
    margin-top: 0;
}

.car-flow-compact .car-stage {
    padding-left: 2.5rem;
}

.car-flow-compact .car-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
}

.car-flow-compact::before {
    left: 11px;
}

.project-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for 4 cards looks better */
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.project-duration i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.achievement-card {
    background: var(--card-bg);
    padding: 3.5rem 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.achievement-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -10px rgba(0, 255, 157, 0.15);
}

.achievement-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.3));
}

.achievement-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.achievement-subtitle {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.achievement-subtitle .date {
    display: inline-block;
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.achievement-card .car-flow {
    width: 100%;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--card-bg);
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
    transform: rotate(90deg);
}

.modal-project-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.modal-project-header .project-context {
    margin-bottom: 0.8rem;
}

.modal-project-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050a08;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
    border: 2px solid #050a08;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--glass-border) #050a08;
}

/* Contact Section & Footer */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.contact-item p a {
    color: inherit;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.contact-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    width: 100%;
}

.form-group input:focus,
/* Button Loading State & Spinner */
.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-loading .btn-spinner {
    display: inline-block;
}

.btn-loading i {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.form-success-message {
    padding: 1.5rem;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 600;
    animation: fadeInUp 0.5s ease forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.footer {
    padding: 4rem 0;
    text-align: center;
    background: #020504;
    border-top: 1px solid var(--glass-border);
    color: var(--secondary-color);
    position: relative;
    z-index: 10;
}

.footer-cta {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.footer-cta-title {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #fff, #bcebd9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.footer-cta-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-socials {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-socials a {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: 0.3s;
}

.footer-socials a:hover {
    color: var(--primary-color);
}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {

    .projects-grid,
    .services-grid,
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .projects-grid,
    .services-grid,
    .achievements-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .centered-card-container {
        flex-direction: column;
        align-items: center;
    }

    .about-main-text {
        font-size: 1.1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
        padding: 1.2rem;
    }

    .skills-categories-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 3rem 0;
    }

    .footer-cta-title {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(5, 10, 8, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 120px;
    }
}
