/* Variables */
:root {
    --bg-color: #0c0e12;
    --primary-color: #00ff66;
    --secondary-color: #10b981;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(20, 22, 28, 0.65);
    --glass-border: rgba(0, 255, 102, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Starry Background Animations */
#stars, #stars2, #stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
}

/* Base Styles */
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
}

.section {
    padding: 100px 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-main);
}

.section-title span {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
    animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 12px rgba(0, 255, 102, 0.35); }
    100% { box-shadow: 0 0 25px rgba(0, 255, 102, 0.65), 0 0 10px rgba(16, 185, 129, 0.3); }
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.7);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    transition: 0.3s;
}

.navbar.scrolled {
    background: rgba(11, 12, 16, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo::after {
    content: '.';
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
    box-shadow: 0 0 8px var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Ambient Space Nebula Lights */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    background: var(--primary-color);
    top: 15%;
    left: 5%;
    animation: pulseNebula1 10s ease-in-out infinite alternate;
}

.hero::after {
    background: var(--secondary-color);
    bottom: 15%;
    right: 5%;
    animation: pulseNebula2 10s ease-in-out infinite alternate;
}

@keyframes pulseNebula1 {
    0% { transform: scale(1) translate(0, 0); opacity: 0.15; }
    100% { transform: scale(1.3) translate(30px, 20px); opacity: 0.25; }
}

@keyframes pulseNebula2 {
    0% { transform: scale(1) translate(0, 0); opacity: 0.15; }
    100% { transform: scale(1.3) translate(-30px, -20px); opacity: 0.25; }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.greeting {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.glitch {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    color: white;
}

.typing-text {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 40px;
}

.short-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--primary-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-container {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.avatar-container img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.2);
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 3;
}

.avatar-container:hover img {
    transform: scale(1.04);
    border-color: var(--primary-color);
    box-shadow: 0 0 45px rgba(0, 255, 102, 0.45);
}

/* Concentric Spinning Cyber Rings */
.orbit {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed transparent;
    z-index: 2;
    pointer-events: none;
}

.orbit-1 {
    width: 315px;
    height: 315px;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    animation: spinClockwise 16s linear infinite;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.orbit-2 {
    width: 335px;
    height: 335px;
    border-left-color: var(--secondary-color);
    border-right-color: var(--secondary-color);
    animation: spinCounterClockwise 12s linear infinite;
    filter: drop-shadow(0 0 8px var(--secondary-color));
    opacity: 0.7;
}

@keyframes spinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* About Section */
/* About Section (Premium Redesign) */
.about-container {
    display: flex;
    align-items: center;
    padding: 60px 50px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 0 0 auto;
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image-wrapper:hover::before {
    transform: translate(-6px, -6px);
    border-color: var(--primary-color);
    box-shadow: 0 0 35px rgba(0, 255, 102, 0.55);
}

.about-image img {
    width: 330px;
    height: 410px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image:hover img {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-info {
    flex: 1;
}

.about-info .bio {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.85;
    color: #e0e0e0;
    margin-bottom: 35px;
    border-left: 3px solid var(--primary-color);
    padding-left: 25px;
    letter-spacing: 0.2px;
}

/* Personal Info Grid-Slots */
.personal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.info-item:hover {
    background: rgba(0, 255, 102, 0.03);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 255, 102, 0.12), var(--glass-shadow);
}

.info-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.55);
    background: rgba(0, 255, 102, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(0, 255, 102, 0.15);
}

.info-item:hover i {
    background: var(--primary-color);
    color: var(--bg-color);
    text-shadow: none;
    transform: rotate(360deg);
}

.info-item span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 3px;
}

.info-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        padding: 50px 30px;
        gap: 45px;
        align-items: stretch;
    }
    .about-image {
        align-self: center;
        margin-bottom: 10px;
    }
    .about-image img {
        width: 290px;
        height: 360px;
    }
    .about-image-wrapper::before {
        top: 10px;
        left: 10px;
        right: -10px;
        bottom: -10px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 40px 20px;
        gap: 35px;
    }
    .personal-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-info .bio {
        font-size: 1.05rem;
        line-height: 1.75;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 30px 15px;
        gap: 30px;
    }
    .about-image img {
        width: 240px;
        height: 300px;
    }
    .info-item {
        padding: 12px 15px;
        gap: 12px;
        border-radius: 12px;
    }
    .info-item i {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .info-item span {
        font-size: 0.75rem;
        letter-spacing: 0.8px;
        margin-bottom: 2px;
    }
    .info-item p {
        font-size: 0.95rem;
    }
}

/* Skills Section (Premium Upgrade) */
.skills-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.filter-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
}

.filter-tab-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
    transform: translateY(-2px);
}

.filter-tab-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.35);
    transform: scale(1.05);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.skill-card {
    position: relative;
    padding: 35px 25px;
    border-radius: 20px;
    background: rgba(11, 12, 16, 0.6);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 255, 102, 0.15), var(--glass-shadow);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
    margin-bottom: 15px;
    transition: 0.4s;
}

.skill-card:hover .skill-icon {
    transform: scale(1.15);
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

.skill-card h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.skill-category {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 25px;
    transition: 0.3s;
}

.skill-card:hover .skill-category {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.progress-bar {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 12px;
    padding: 2px;
    overflow: visible;
}

.progress {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

/* Pulsating bubble thumb on the progress meter */
.progress::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color), 0 0 15px #fff;
    animation: pulseThumb 1.5s infinite alternate;
}

@keyframes pulseThumb {
    0% { transform: translateY(-50%) scale(0.9); box-shadow: 0 0 8px var(--primary-color); }
    100% { transform: translateY(-50%) scale(1.3); box-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--secondary-color); }
}

.skill-level {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: 0.3s;
}

.skill-card:hover .skill-level {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.55);
}

/* Experience & Education Section */
.timeline-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.timeline-column {
    flex: 1;
}

.timeline {
    border-left: 2px solid var(--primary-color);
    padding-left: 30px;
    position: relative;
}

.timeline-item {
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -39px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 255, 102, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-item h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.timeline-item h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timeline-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    border-radius: 5px;
    padding: 5px;
    margin-top: 15px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.project-card {
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--bg-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 10px;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: 0.3s;
}

.project-card:hover .project-links a {
    transform: translateY(0);
}

.project-links a:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--primary-color);
}

.project-info {
    padding: 25px;
}

.project-category {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h3 {
    font-family: var(--font-heading);
    margin: 10px 0;
    font-size: 1.3rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: var(--primary-color);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.blog-card {
    overflow: hidden;
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 15px;
}

.blog-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 15px 0;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: rgba(0, 255, 102, 0.05);
    border-right: 1px solid var(--glass-border);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 20px;
}

.contact-form {
    flex: 1.5;
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.btn-block {
    width: 100%;
}

.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--glass-border);
    background: rgba(11, 12, 16, 0.9);
}

footer p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 991px) {
    .section { padding: 80px 5%; }
    .hero { padding-top: 120px; }
    .hero-content { flex-direction: column-reverse; text-align: center; gap: 30px; padding: 20px; }
    .hero-text { padding-right: 0; }
    .hero-buttons, .social-links { justify-content: center; }
    .about-container { flex-direction: column; text-align: center; padding: 20px; }
    .timeline-container { flex-direction: column; gap: 30px; }
    .contact-container { flex-direction: column; }
    .contact-info { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 30px; }
    .contact-form { padding: 30px; }
    
    .hamburger { display: block; z-index: 1001; }
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(11, 12, 16, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.4s ease-in-out;
        z-index: 1000;
    }
    .nav-links.active { right: 0; }
}

@media (max-width: 768px) {
    .glitch { font-size: 2.5rem; }
    .typing-text { font-size: 1.2rem; }
    .personal-info { grid-template-columns: 1fr; }
    .section-title { font-size: 2.2rem; margin-bottom: 30px; }
    .hero-image img { max-width: 250px; }
    .about-image img { width: 100%; max-width: 300px; }
}

/* ==========================================================================
   CV Modal Styles
   ========================================================================== */
.cv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cv-modal.active {
    display: flex;
    opacity: 1;
}

.cv-modal-content {
    width: 90%;
    max-width: 850px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.2);
}

@keyframes modalSlide {
    from { transform: translateY(-30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.cv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid var(--glass-border);
}

.cv-modal-header h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
}

.cv-modal-close {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
}

.cv-modal-close:hover {
    color: #ff0055;
    text-shadow: 0 0 10px #ff0055;
}

.cv-modal-body {
    flex: 1;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.cv-modal-body iframe {
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: #ffffff;
}

.cv-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 15px 25px;
    border-top: 1px solid var(--glass-border);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 400px;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--glass-shadow);
    color: var(--text-main);
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.15), var(--glass-shadow);
}

.toast.error {
    border-left-color: #ff0055;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.15), var(--glass-shadow);
}

.toast-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success .toast-icon {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

.toast.error .toast-icon {
    color: #ff0055;
    text-shadow: 0 0 8px #ff0055;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-message {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast-close {
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
    font-size: 0.9rem;
}

.toast-close:hover {
    color: var(--text-main);
}

/* ==========================================================================
   Recommendations Section (Premium Slider Edition)
   ========================================================================== */
.recommendations-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}

.recommendations-slider {
    flex: 1;
    overflow: hidden;
    padding: 15px 5px;
}

.recommendations-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.recommendation-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 50px 40px 40px 40px;
    position: relative;
    box-sizing: border-box;
    transition: 0.5s ease;
    border-radius: 20px;
    background: rgba(11, 12, 16, 0.6);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.recommendation-slide:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.15), var(--glass-shadow);
}

/* Star Rating Style */
.star-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: #ffb703;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.6);
    font-size: 0.95rem;
}

/* Quote Icon Stylings */
.recommendation-slide .quote-icon {
    position: absolute;
    top: -25px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
    z-index: 2;
}

.recommendation-slide .review-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

/* Client Profiles */
.recommendation-slide .client-info {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    position: relative;
}

.recommendation-slide .client-avatar {
    position: relative;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
}

.recommendation-slide .client-avatar img,
.recommendation-slide .client-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-color);
    position: relative;
    z-index: 2;
}

.recommendation-slide .client-avatar-placeholder {
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Spinning Glowing Border for Avatar */
.avatar-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
    animation: rotateGlow 4s linear infinite;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.recommendation-slide .client-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.recommendation-slide .client-details p {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 255, 102, 0.3);
    margin: 0;
}

/* LinkedIn Button */
.rec-linkedin-btn {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: 0.3s;
}

.rec-linkedin-btn:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.5);
}

/* Slider Buttons */
.slider-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Dots Navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    transform: scale(1.2);
    width: 25px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .recommendations-slider-container {
        gap: 10px;
    }
    
    .slider-btn {
        display: none; /* Hide arrow buttons on mobile to use touch swipe or just dots */
    }
    
    .recommendation-slide {
        padding: 40px 25px 25px 25px;
    }
    
    .recommendation-slide .quote-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        right: 25px;
        top: -20px;
    }
    
    .recommendation-slide .review-text {
        font-size: 1rem;
    }
    
    .recommendation-slide .client-avatar {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .recommendation-slide .client-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding-top: 20px;
    }
    
    .rec-linkedin-btn {
        margin-left: 0;
        margin-top: 5px;
    }
}
