@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

#dragon-cursor-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: none;
    filter: sepia(20%) blur(5px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

#dragon-cursor-svg:hover {
    opacity: 1;
    filter: sepia(20%) blur(0);
}

.cursor {
    display: none !important;
}

#cursor-trail-container {
    display: none !important;
}

.map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.5s ease, filter 0.5s ease;
    filter: drop-shadow(0 0 10px #00bfff) blur(2px);
}

.hero-section {
    position: relative;
    z-index: 2; 
    padding-top: calc(2rem + 60px);
    overflow: hidden; 
}

.code-glow {
    position: absolute;
    font-size: 0.7rem;
    color: #00bfff;
    text-shadow: 0 0 5px #00bfff;
    animation: flicker 2s infinite ease-in-out alternate,
               floatY 6s infinite ease-in-out;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

:root {
    --neon-pink: #FF1493;
    --neon-cyan: #00FFFF;
    --neon-green: #39FF14;
    --cyber-black: #0A0A0A;
    --cyber-dark: #111111;
    --cyber-gray: #333333;
    --text-light: #f0f0f0;
    --text-dark: #0A0A0A;

    --pink-glow: 0 0 15px rgba(255, 20, 147, 0.7);
    --cyan-glow: 0 0 15px rgba(0, 255, 255, 0.7);
    --green-glow: 0 0 15px rgba(57, 255, 20, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--cyber-black);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

a:hover {
    color: var(--neon-cyan);
}

section {
    padding: 5rem 0;
    position: relative;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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

.tilt-card {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.typewriter-text {
    border-right: 2px solid transparent; 
    white-space: pre-wrap;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    min-height: 1.6em;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--neon-green) }
}

.hidden {
    display: none !important;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 20, 147, 0.3);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    transform-origin: top left;
}

.menu-toggle span:nth-child(3) {
    transform-origin: bottom left;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.border-bottom-pink {
    display: inline-block;
    border-bottom: 4px solid var(--neon-pink);
    padding-bottom: 0.5rem;
}

.border-bottom-cyan {
    display: inline-block;
    border-bottom: 4px solid var(--neon-cyan);
    padding-bottom: 0.5rem;
}

.border-bottom-green {
    display: inline-block;
    border-bottom: 4px solid var(--neon-green);
    padding-bottom: 0.5rem;
}

.section-divider {
    height: 4px;
    width: 100px;
    margin: 0 auto 3rem;
    background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan), var(--neon-green));
}

.glassmorphic-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glassmorphic-card:hover {
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.5);
}

.glassmorphic-card-cyan {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glassmorphic-card-cyan:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

.glassmorphic-card-green {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glassmorphic-card-green:hover {
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.5);
}

.glassmorphic-card-pink {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glassmorphic-card-pink:hover {
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.5);
}

.cyber-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.cyber-button:hover::before {
    left: 100%;
}

.cyber-button:hover {
    transform: translateY(-3px);
}

.cyber-button-primary {
    background-color: var(--neon-pink);
    color: var(--text-dark);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.5);
}

.cyber-button-primary:hover {
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.8);
}

.cyber-button-secondary {
    background-color: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.cyber-button-secondary:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
    background-color: rgba(0, 255, 255, 0.1);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    position: relative; 
    z-index: 2;
}

.profile-circle-container {
    width: 200px;
    height: 200px;
    border-radius: 10%;
    padding: 3px;
    border: 3px solid var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    position: relative; 
}

#pixel-effect-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10%;
    z-index: 2;
    pointer-events: none;
}

.profile-circle-container:hover {
    transform: scale(1.05);
}

.profile-circle-img {
    width: 100%;
    height: 103.5%;
    border-radius: 10%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    transition: font-size 0.3s ease;
    white-space: nowrap;
    margin: 0 auto;
    display: inline-block;
    position: relative;
}

.hero-name .verified-badge-img {
    vertical-align: middle;
    position: relative;
    top: -5px;
    margin-left: 20px;
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 4px var(--neon-cyan));
    animation: pulse-glow-badge 2.5s infinite ease-in-out;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-name .verified-badge-img.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.verified-badge-img:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--neon-cyan)) drop-shadow(0 0 5px #fff);
}

@keyframes pulse-glow-badge {
    0%, 100% {
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 4px var(--neon-cyan));
    }
    50% {
        transform: scale(1.05) translateY(-1px);
        filter: drop-shadow(0 0 10px var(--neon-cyan)) drop-shadow(0 0 2px #ffffff);
    }
}

.cyber-title-box {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    border-radius: 5px;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px var(--neon-cyan);
    text-transform: uppercase;
}

.centered-description {
    max-width: 700px;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.animated-profile {
    animation: floatY 4s ease-in-out infinite;
}

.cityscape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.7) 30%, transparent 100%),
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAxMDBWNzBIMTENMDBWNjBIMzBWMTAwSDQwVjUwSDUwVjEwMEg1NVY0MEg2NVMxMDZWMTAwSDcwVjYwSDgwVjEwMEg5MFY4MEgxMDBWMTAwSDExMCIgZmlsbD0iIzAwMCIvPjwvc3ZnPg==') bottom center repeat-x;
    background-size: contain;
    opacity: 0.5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-subtitle {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-card {
    text-align: center;
    padding: 1.5rem;
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.service-card:nth-child(odd) i {
    color: var(--neon-pink);
}

.service-card:nth-child(3n) i {
    color: var(--neon-green);
}

.service-card h3 {
    margin-bottom: 0.8rem;
}

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

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
}

.glassmorphic-card-cyan .skill-icon {
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.glassmorphic-card-pink .skill-icon {
    color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.2);
}

.glassmorphic-card-green .skill-icon {
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.skill-content {
    width: 100%;
}

.skill-content h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.glassmorphic-card-cyan .progress-bar .progress {
    background-color: var(--neon-cyan);
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.glassmorphic-card-pink .progress-bar .progress {
    background-color: var(--neon-pink);
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-pink);
}

.glassmorphic-card-green .progress-bar .progress {
    background-color: var(--neon-green);
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-green);
}

.skill-details {
    list-style-type: none;
}

.skill-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-details li:last-child {
    border-bottom: none;
}

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

.certificate-card {
    display: flex;
    flex-direction: column;
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.certificate-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.certificate-badge {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.glassmorphic-card-cyan .certificate-badge {
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.glassmorphic-card-pink .certificate-badge {
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
}

.glassmorphic-card-green .certificate-badge {
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.certificate-period {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.certificate-description {
    margin-bottom: 1.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.contact-subtitle, .form-title {
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.pink-icon {
    background-color: rgba(255, 20, 147, 0.2);
    color: var(--neon-pink);
}

.cyan-icon {
    background-color: rgba(0, 255, 255, 0.2);
    color: var(--neon-cyan);
}

.green-icon {
    background-color: rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-details a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--neon-pink);
}

.social-links {
    margin-top: 2.5rem;
}

.social-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cyber-black);
    transition: all 0.3s ease;
}

.pink-border {
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
}

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

.cyan-border {
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

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

.green-border {
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border-radius: 5px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.input-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.form-button {
    width: 100%;
    margin-top: 1rem;
}

.footer {
    position: relative;
    padding: 5rem 0 0;
    background-color: var(--cyber-black);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--neon-pink);
}

.footer .cityscape {
    bottom: 100%;
    transform: rotate(180deg);
}

.toast {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
    border-radius: 5px;
    padding: 1rem;
    transition: bottom 0.5s ease;
    z-index: 9999;
}

.toast.show {
    bottom: 30px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-content i {
    color: var(--neon-green);
    font-size: 1.5rem;
}

.toast-message {
    font-weight: 500;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background-color: var(--neon-green);
}

@keyframes toast-progress-anim {
    from { width: 0; }
    to { width: 100%; }
}

@media (max-width: 992px) {
    .hero-content {
        text-align: center;
    }
    .hero-description {
        margin: 0 auto 2rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    .nav-links.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
        z-index: 1010;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .section-title {
        font-size: 2rem;
    }
    .about-services {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .map {
        filter: drop-shadow(0 0 5px #00bfff);
        opacity: 0.4;
    }
}

@media (max-width: 576px) {
    .hero-name {
        font-size: 5vw;
        white-space: nowrap !important;
        overflow: visible; 
        text-overflow: clip; 
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .hero-name .verified-badge-img {
        height: 1.2em;
        width: auto;
        margin-left: 5px;
        top: 0; 
        transform: none; 
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons .cyber-button {
        width: 100%;
    }
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .certificates-grid, .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .profile-circle-container {
        width: 150px;
        height: 150px;
    }
    .cyber-title-box {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .logo {
        font-size: 1.5rem;
    }
}

#cyber-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

#cyber-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    width: 300px;
    text-align: center;
    position: relative;
}

.terminal-text {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-cyan);
    min-height: 1.5em;
}

.loading-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    box-shadow: 0 0 15px var(--neon-cyan);
    animation: loadProgress 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.scanner-line {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    opacity: 0.5;
    animation: scanDown 2s infinite linear;
    z-index: -1;
}

@keyframes loadProgress {
    0% { width: 0%; }
    40% { width: 40%; }
    70% { width: 80%; }
    100% { width: 100%; }
}

@keyframes scanDown {
    0% { top: -20%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 120%; opacity: 0; }
}

@media (max-width: 1024px) {
    #dragon-cursor-svg {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.terminal-mode-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    background: rgba(0, 255, 255, 0.05);
    color: #0ff;
    border: 1px solid #0ff;
    padding: 10px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 0 5px #0ff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    cursor: pointer;
}

.terminal-mode-btn:hover {
    background: #0ff;
    color: #000;
    box-shadow: 0 0 20px #0ff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .terminal-mode-btn {
        bottom: 20px;
        right: 20px;
        font-size: 12px;
        padding: 8px 15px;
    }
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #050505;
    border: 2px solid #ff3333; 
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.4);
    position: relative;
    border-radius: 5px;
    background-image: linear-gradient(rgba(255, 51, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 51, 51, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.modal-icon {
    font-size: 3rem;
    color: #ff3333;
    margin-bottom: 1rem;
    animation: pulse-red 1s infinite;
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    color: #ff3333;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff3333;
    letter-spacing: 2px;
}

.modal-body p {
    font-family: 'Share Tech Mono', monospace;
    color: #fff;
    line-height: 1.6;
}

.modal-btn {
    margin-top: 20px;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid #ff3333;
    color: #ff3333;
    padding: 10px 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.modal-btn:hover {
    background: #ff3333;
    color: #000;
    box-shadow: 0 0 20px #ff3333;
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}
