body {
    background-color: #0f172a;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: none;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}
a,
button {
    cursor: none !important;
}

img {
    cursor: none !important;
}

.fullscreen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    scroll-snap-align: start;
    position: relative;
}
.hero-section {
    height: 100vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
}

/* Text Highlight */
.text-highlight {
    color: #38bdf8;
    text-shadow:
        0 0 8px rgba(56, 189, 248, 0.7),
        0 0 16px rgba(56, 189, 248, 0.5),
        0 0 24px rgba(56, 189, 248, 0.3);
}

.btn-glow {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1.2rem;
    color: #38bdf8;
    background: transparent;
    border: 2px solid #38bdf8;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.4),
        0 0 20px rgba(56, 189, 248, 0.3),
        0 0 40px rgba(56, 189, 248, 0.2);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -75%;
    width: 200%;
    height: 300%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 70%);
    transform: translateY(-50%) rotate(25deg);
    animation: glow-wave 6s linear infinite;
    z-index: 0;
    filter: blur(20px);
}

.btn-glow:hover {
    color: #0ea5e9;
    border-color: #0ea5e9;
    box-shadow:
        0 0 15px #0ea5e9,
        0 0 30px #0ea5e9,
        0 0 45px #0ea5e9;
    transform: scale(1.07);
}

@keyframes glow-wave {
    0% {
        left: -75%;
    }

    100% {
        left: 100%;
    }
}

#main-navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(15, 23, 42, 0.2);
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid transparent;
    z-index: 999;
}

#main-navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding-top: 4px;
    padding-bottom: 4px;
}
.navbar-brand {
    font-size: 1.8rem;
    color: #38bdf8;
    position: relative;
    font-weight: 700;
    overflow: hidden;
    transition: 0.3s;
}
.nav-link {
    font-size: 1rem;
    color: #cbd5e1;
    position: relative;
    padding-bottom: 5px;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    transition: left 0.4s ease-in-out;
    box-shadow: 0 0 8px #38bdf8;
}

.nav-link:hover {
    color: #38bdf8;
}

.nav-link:hover::before {
    left: 0;
}
@keyframes fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: radial-gradient(circle, #38bdf8 30%, transparent 60%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.06s ease-out;
    box-shadow: 0 0 10px #38bdf8, 0 0 30px #38bdf8;
}
/* Hover ring effect */
.custom-cursor-dot.transparent-bg {
    background: transparent;
    border: 1px solid rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6), 0 0 25px rgba(56, 189, 248, 0.4);
    backdrop-filter: none;
    mix-blend-mode: normal;
    animation: pulse-ring 1.2s infinite ease-in-out;
}
@keyframes pulse-ring {
    0% {
        transform: scale(2.4);
        opacity: 1;
    }

    50% {
        transform: scale(2.6);
        opacity: 0.85;
    }

    100% {
        transform: scale(2.4);
        opacity: 1;
    }
}
/* Sparks container */
#click-sparks {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
}
/* Individual spark */
.spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #38bdf8;
    opacity: 0.8;
    box-shadow: 0 0 8px #38bdf8;
    animation: explode 0.6s forwards ease-out;
}
@keyframes explode {
    100% {
        transform: translate(var(--x), var(--y)) scale(0.5);
        opacity: 0;
    }
}
/* ABout Section */
.about-section {
    background: linear-gradient(to right, #0f172a, #111827);
    overflow: hidden;
    height: 100vh !important;
    padding-bottom: 120px !important;
    position: relative;
}
.about-img {
    width: 440px;
    mix-blend-mode: screen;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 15px #38bdf8);
}
/*  Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}
/*  Signature */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #38bdf8;
    text-align: right;
    animation: drawSignature 3s ease forwards;
    opacity: 0;
}
@keyframes drawSignature {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/*  Divider */
.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #38bdf8, #9333ea);
    border-radius: 5px;
}
/* Skill Icon Styles */
.skill-icons {
    justify-content: center;
    align-items: center;
}
.skill-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
    animation: floatSkill 4s ease-in-out infinite alternate;
}
.skill-icon:hover {
    transform: scale(1.3) rotate(5deg);
    filter: drop-shadow(0 0 20px #38bdf8);
}
@keyframes floatSkill {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}
.glow-img-wrapper {
    position: relative;
    display: inline-block;
    isolation: isolate;
}
.glow-img {
    width: 100%;
    max-width: 350px;
    z-index: 2;
    position: relative;
    border-radius: 15px;
}
/* projects */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #38bdf8;
    text-shadow: 0 0 10px #38bdf8;
}
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}
.project-image {
    background-size: cover;
    background-position: center;
    height: 200px;
}
.project-info {
    padding: 20px;
}
.project-info h5 {
    font-size: 1.25rem;
    color: #38bdf8;
    margin-bottom: 10px;
}
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.scroll-down-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid #38bdf8;
    border-radius: 25px;
    position: relative;
    box-shadow: 0 0 10px #38bdf8;
    animation: bounce 2s infinite;
}
.scroll-down-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #38bdf8;
    border-radius: 50%;
    animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
    0% {
        top: 10px;
        opacity: 1;
    }

    50% {
        top: 25px;
        opacity: 0.5;
    }

    100% {
        top: 40px;
        opacity: 0;
    }
}
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }

    60% {
        transform: translateX(-50%) translateY(5px);
    }
}
.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.scroll-down-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.glass-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.3);
}
/* Optional: inner glow effect */
.icon-glow lottie-player {
    filter: drop-shadow(0 0 15px #00f0ff);
}
.service-3d {
    z-index: 2;
}
.glass-card h4,
.glass-card p {
    position: relative;
    z-index: 2;
}
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}
/* This ensures the real pointer remains hidden */
.no-cursor {
    cursor: none !important;
}
#contact {
    color: white;
    overflow: hidden;
}
.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    padding: 12px 15px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.glass-input::placeholder {
    color: #38bdf8;
}

.glass-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

.glow-btn {
    background: #38bdf8;
    color: #0f172a;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
}

.glow-btn:hover {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
    box-shadow: 0 0 20px #38bdf8, 0 0 30px #38bdf8;
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    box-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.1);
}

.glow-btn {
    background: linear-gradient(45deg, #38bdf8, #0ea5e9);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 20px #38bdf8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glow-btn:active {
    animation: pulse-glow 0.4s ease;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px #38bdf8;
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 40px #38bdf8;
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px #38bdf8;
    }
}

.custom-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.custom-modal.d-none {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.modal-content {
    max-width: 400px;
    border-radius: 20px;
    animation: fadeZoom 0.4s ease;
    box-shadow: 0 0 15px #38bdf8, 0 0 30px #00ffae;
}

.glowing-text {
    color: #38bdf8;
    text-shadow: 0 0 5px #38bdf8, 0 0 15px #00ffae;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
    border-radius: 10px;
    border: 2px solid #0f172a;
    box-shadow: 0 0 10px #38bdf8;
    animation: glow-scroll 2s infinite ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0ea5e9, #38bdf8);
    box-shadow: 0 0 15px #38bdf8;
    animation: glow-scroll-hover 1.2s infinite alternate;
}

/* Animation Keyframes */
@keyframes glow-scroll {
    0% {
        box-shadow: 0 0 8px #38bdf8;
    }
    50% {
        box-shadow: 0 0 14px #38bdf8;
    }
    100% {
        box-shadow: 0 0 8px #38bdf8;
    }
}

@keyframes glow-scroll-hover {
    0% {
        box-shadow: 0 0 12px #38bdf8;
    }
    100% {
        box-shadow: 0 0 20px #38bdf8;
    }
}

/* Firefox fallback */
* {
    scrollbar-width: thin;
    scrollbar-color: #38bdf8 #0f172a;
}

/* Footer Base */
.footer-glow {
    background-color: #0f172a;
    padding: 2rem 1rem;
    border-top: 2px solid #38bdf8;
    box-shadow: 0 -5px 15px #0ea5e9;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Animated Thank You Text */
.thanks {
    font-family: 'Caveat', cursive;
    color: #38bdf8;
    font-size: 1.5rem;
    text-shadow: 0 0 8px #38bdf8;
    animation: floatText 4s ease-in-out infinite;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
}

.icon {
    font-size: 2.8rem;
    color: #38bdf8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 0 8px #38bdf8;
    animation: floatText 4s ease-in-out infinite;
}

.icon:hover {
    transform: scale(2.1) rotate(5deg);
    box-shadow: 0 0 15px #38bdf8;
    color: #0ea5e9;
}
.footer-content .copyright {
    font-size: 0.9rem;
    color: #555;
    margin-top: 2rem;
  }

/* Animations */
@keyframes floatText {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes FloatIcon {
    0%, 100% {
        text-shadow: 0 0 8px #38bdf8;
    }
    50% {
        text-shadow: 0 0 15px #38bdf8;
    }
}