/* ==========================================================
   CSS Variables & Global Setup
   ========================================================== */
:root {
    /* Main Dark Theme Colors (Default) */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(20, 20, 25, 0.7);
    --bg-card-hover: rgba(30, 30, 40, 0.9);
    --bg-input: rgba(0, 0, 0, 0.3);

    /* Neon Colors */
    --neon-blue: #00f3ff;
    --neon-purple: #bf00ff;

    /* Text Colors */
    --text-light: #ffffff;
    --text-muted: #a0a0a0;

    /* Shadows & Borders */
    --border-color: rgba(255, 255, 255, 0.05);

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

    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

/* Light Mode Overrides */
body.light-mode {
    --bg-dark: #f0f2f5;
    --bg-darker: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(240, 240, 245, 1);
    --bg-input: #ffffff;

    --neon-blue: #0077b6;
    /* darker blue for visibility */
    --neon-purple: #7209b7;

    --text-light: #121212;
    --text-muted: #555555;

    --border-color: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    transition: background-color 0.4s ease, color 0.4s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 100px 0;
}

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

.text-neon-blue {
    color: var(--neon-blue);
}

.text-neon-purple {
    color: var(--neon-purple);
}

/* ==========================================================
   Cursor Follow Effect
   ========================================================== */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.4) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease-out, width 0.2s ease, height 0.2s ease;
}

body.light-mode .cursor-follower {
    background: radial-gradient(circle, rgba(114, 9, 183, 0.2) 0%, transparent 70%);
}

.cursor-follower.expand {
    width: 60px;
    height: 60px;
}

/* ==========================================================
   Utilities & Neon Effects
   ========================================================== */
.section-header {
    margin-bottom: 60px;
}

.section-header .title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header .title span {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

body.light-mode .section-header .title span {
    text-shadow: none;
}

.underline {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    margin-top: 10px;
    border-radius: 2px;
}

.underline.center {
    margin: 10px auto 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    color: #fff;
}

.neon-btn:hover {
    box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-purple);
    transform: translateY(-3px);
}

body.light-mode .neon-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
}

.neon-btn-outline:hover {
    background-color: var(--neon-blue);
    color: #fff;
    box-shadow: 0 0 20px var(--neon-blue);
    transform: translateY(-3px);
}

body.light-mode .neon-btn-outline:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism Neon Boxes */
.neon-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.neon-box:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transform: translateY(-5px);
}

body.light-mode .neon-box:hover {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================
   Header & Navigation
   ========================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
}

#header.sticky {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

body.light-mode #header.sticky {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.logo span {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

body.light-mode .logo span {
    text-shadow: none;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--neon-blue);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--neon-blue);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    text-shadow: none;
}

body.light-mode .nav-link::after {
    box-shadow: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}

/* Theme Toggle Slider */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 46px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #333;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    cursor: pointer;
    position: absolute;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    background-color: var(--neon-blue);
    bottom: 3px;
    left: 3px;
    content: "";
    height: 18px;
    width: 18px;
    position: absolute;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #ccc;
}

input:checked+.slider:before {
    transform: translateX(22px);
    background-color: var(--neon-purple);
}

/* ==========================================================
   Hero Section
   ========================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.greeting {
    font-size: 1.2rem;
    color: var(--neon-blue);
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 20px;
    background: rgba(0, 243, 255, 0.05);
}

body.light-mode .greeting {
    border-color: var(--neon-blue);
    background: rgba(0, 119, 182, 0.1);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    min-height: 130px;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--text-light);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

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

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--neon-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-blue);
    transform: translateY(-3px);
}

body.light-mode .social-links a:hover {
    box-shadow: none;
}

.image-wrapper {
    position: relative;
    width: 400px;
    max-width: 90vw;
    aspect-ratio: 1/1;
    height: auto;
    margin: 0 auto;
}

.image-wrapper img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--bg-dark);
    position: relative;
    z-index: 2;
}

.glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    border-radius: 50%;
    background: conic-gradient(var(--neon-blue), var(--neon-purple), var(--neon-blue));
    z-index: 1;
    animation: rotate 4s linear infinite;
    filter: blur(15px);
    opacity: 0.8;
}

body.light-mode .glow-circle {
    opacity: 0.3;
}

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

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   About Section
   ========================================================== */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--text-light);
}

.about-highlights {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-highlights li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    padding: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* ==========================================================
   Skills Section
   ========================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover {
    border-color: rgba(191, 0, 255, 0.4);
    box-shadow: 0 10px 30px rgba(191, 0, 255, 0.1);
    transform: translateY(-5px);
}

body.light-mode .skill-category:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.skill-category h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.skill-tags span {
    background: var(--border-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover .skill-tags span:hover {
    background: var(--neon-blue);
    color: #fff;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

body.light-mode .skill-category:hover .skill-tags span:hover {
    box-shadow: none;
}

/* ==========================================================
   Experience Section
   ========================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 30px;
    z-index: 1;
}

.bg-neon-blue {
    background-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

.bg-neon-purple {
    background-color: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
}

body.light-mode .bg-neon-blue,
body.light-mode .bg-neon-purple {
    box-shadow: none;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--neon-blue);
}

.timeline-content h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-date {
    display: inline-block;
    padding: 3px 10px;
    background: var(--border-color);
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--neon-purple);
}

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

/* ==========================================================
   Projects Section
   ========================================================== */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--neon-blue);
    color: #fff;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

body.light-mode .filter-btn:hover,
body.light-mode .filter-btn.active {
    box-shadow: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.projects-grid>* {
    min-width: 0;
}

.project-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(191, 0, 255, 0.15));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.light-mode .project-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(114, 9, 183, 0.1));
}

.project-card.hide {
    display: none;
}

.project-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.project-image-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image-placeholder i {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-category {
    font-size: 0.8rem;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Gradient Backgrounds */
.bg-gradient-1 {
    background: linear-gradient(135deg, #1A2980 0%, #26D0CE 100%);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.bg-gradient-4 {
    background: linear-gradient(135deg, #FC466B 0%, #3F5EFB 100%);
}

.bg-gradient-5 {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

/* ==========================================================
   Services Section
   ========================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(191, 0, 255, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(191, 0, 255, 0.15));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.light-mode .service-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(114, 9, 183, 0.1));
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* ==========================================================
   Contact Section & Footer
   ========================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 243, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--neon-blue);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
}

.info-item a:hover {
    color: var(--neon-blue);
}

.contact-form-container {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f3ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1.2rem;
    padding-right: 45px;
    cursor: pointer;
}

/* Muted color for default selection */
.contact-form select:invalid,
.contact-form select option[value=""] {
    color: var(--text-muted);
}

.contact-form select option {
    background-color: #121212;
    color: #fff;
    padding: 15px;
}

body.light-mode .contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

body.light-mode .contact-form select option {
    background-color: #fff;
    color: #121212;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    background: rgba(0, 243, 255, 0.05);
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus,
body.light-mode .contact-form select:focus {
    box-shadow: 0 0 10px rgba(0, 119, 182, 0.2);
    border-color: var(--neon-blue);
    background: #fff;
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus {
    box-shadow: none;
}

.w-100 {
    width: 100%;
}

#form-messages {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
    animation: slideInUp 0.3s ease forwards;
}

#form-messages.success {
    display: block;
    border-left: 4px solid var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
    color: var(--text-light);
}

#form-messages.error {
    display: block;
    border-left: 4px solid #ff3333;
    background: rgba(255, 51, 51, 0.1);
    color: var(--text-light);
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

footer {
    background-color: var(--bg-dark);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links-small {
    display: flex;
    gap: 15px;
}

.social-links-small a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-links-small a:hover {
    color: var(--neon-purple);
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background: var(--neon-blue);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 0 15px var(--neon-blue);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 0 20px #fff;
}

/* ==========================================================
   Responsive Design
   ========================================================== */
@media (max-width: 992px) {
    .container {
        width: 100% !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
        max-width: 100%;
    }

    section {
        width: 100%;
        position: relative;
    }

    .hero-container,
    .about-content,
    .contact-wrapper,
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .hero-content {
        order: 2;
        text-align: center;
        width: 100%;
    }

    .hero-image {
        order: 1;
        margin: 0 auto;
        width: 80%;
    }

    .hero-btns,
    .social-links {
        justify-content: center;
    }

    .header-controls {
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
        z-index: 1002;
    }

    .logo {
        font-size: 1.5rem !important;
    }

    /* Timeline Mobile Overhaul */
    .timeline::after {
        left: 20px !important;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 45px !important;
        padding-right: 0 !important;
        left: 0 !important;
        margin-bottom: 25px !important;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px !important;
        right: auto !important;
        top: 22px !important;
    }

    .timeline-content {
        width: 100% !important;
        padding: 12px !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .scroll-top {
        right: 20px;
        bottom: 20px;
    }

    .cursor-follower {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0 !important;
    }

    .projects-grid {
        gap: 15px !important;
    }

    .filter-controls {
        gap: 8px !important;
        justify-content: center !important;
    }

    .filter-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }

    .hamburger {
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        left: -110%;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 1001;
    }

    .nav-list {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }
}

@media (max-width: 480px) {
    .section-header .title {
        font-size: 1.8rem !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .timeline-item {
        padding-left: 40px !important;
    }

    .timeline::after {
        left: 15px !important;
    }

    .timeline-item .timeline-dot {
        left: 5px !important;
    }

    .scroll-top {
        width: 35px !important;
        height: 35px !important;
        right: 15px !important;
        bottom: 15px !important;
    }
}