/* ============================================================
   GLOBAL STYLE — NEON TECH V2 PREMIUM
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --accent: #00ffb3;
    --accent-soft: rgba(0,255,180,0.22);
    --glass-bg: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.18);
    --dark: #0c0c0c;
}

body {
    background: var(--dark);
    color: white;
    overflow-x: hidden;
    padding-top: 120px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.fade-in { opacity: 1; }

/* GLASS EFFECT */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    box-shadow: 0 0 35px rgba(0,255,180,0.06);
    border-radius: 20px;
}

/* ============================================================
   LOADER SCREEN
============================================================ */
.loader-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6000;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0,255,180,0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    padding: 16px 24px;
    border-radius: 18px;
    background: rgba(15,15,15,0.75);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 22px rgba(0,255,180,0.18);
    z-index: 2000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-links a {
    color: #dcdcdc;
    font-size: 15px;
    text-decoration: none;
    transition: .25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--accent);
}

/* MOBILE NAV */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        border-radius: 20px;
        text-align: center;
        padding: 30px 0;
        gap: 18px;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* ============================================================
   SECTIONS
============================================================ */
.section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 60px 50px;
    border-radius: 22px;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.7s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: var(--accent);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
    text-align: center;
}

.hero-img-wrap {
    position: relative;
    width: 240px;
    height: 240px;
    margin: auto;
}

.hero-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,180,0.3), transparent 70%);
    filter: blur(18px);
}

.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.hero-title {
    margin-top: 18px;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), #fff);
    -webkit-background-clip: text;
    color: transparent;
}

#typing {
    margin-top: 8px;
    font-size: 20px;
    color: #ccc;
}

.availability {
    color: var(--accent);
    margin-top: 6px;
    letter-spacing: 1px;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* BUTTON STYLES */
.btn {
    padding: 12px 24px;
    background: rgba(0,255,180,0.15);
    border: 1px solid var(--accent);
    color: white;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: .22s ease;
}

.btn:hover {
    background: rgba(0,255,180,0.25); /* Soft neon tint, not full green */
    color: #ffffff; /* White text stays visible */
    font-weight: 600;
    box-shadow: 0 0 18px rgba(0,255,180,0.5);
    transform: translateY(-2px);
}


/* ============================================================
   SKILLS
============================================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.skill-card {
    padding: 22px;
    border-radius: 16px;
    background: rgba(0,255,150,0.08);
    border: 1px solid rgba(0,255,150,0.22);
    transition: .25s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

/* ============================================================
   GALLERY
============================================================ */
.gallery-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-scroll img {
    height: 240px;
    border-radius: 18px;
    transition: .3s;
}

.gallery-scroll img:hover {
    transform: scale(1.06);
}

/* ============================================================
   CERTIFICATIONS — PERFECTLY ALIGNED & FIXED VERSION
============================================================ */

.cert-container {
    position: relative;
    padding: 40px;
    background: rgba(0,255,180,0.05);
    border: 1px solid rgba(0,255,180,0.2);
    border-radius: 22px;
}

/* Track container */
.cert-track {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

/* Horizontal scroll track */
#certCarousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;

    /* hide scrollbar */
    scrollbar-width: none;
}
#certCarousel::-webkit-scrollbar { display: none; }

.cert-card {
    min-width: 260px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(0,255,180,0.08);
    border: 1px solid rgba(0,255,180,0.25);
    scroll-snap-align: center;
    text-align: center;
    transition: .25s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(0,255,180,0.35);
}

/* Fixed arrow positioning */
.cert-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: #111;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.cert-arrow.left { left: 12px; }
.cert-arrow.right { right: 12px; }

/* Progress bar */
.cert-progress {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.22);
    border-radius: 4px;
    margin-top: 25px;
    position: relative;
}

.cert-progress::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    animation: certProgress 7s linear infinite;
}

@keyframes certProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* ============================================================
   EXPERIENCE
============================================================ */
.timeline {
    display: grid;
    gap: 20px;
}

.t-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(0,255,150,0.08);
    border: 1px solid rgba(0,255,150,0.2);
    transition: .3s;
}

.t-card:hover {
    transform: translateX(6px);
}

/* ============================================================
   PROJECTS
============================================================ */
.projects-list {
    display: grid;
    gap: 22px;
}

.project-card {
    padding: 26px;
    border-radius: 18px;
    background: rgba(0,255,180,0.06);
    border: 1px solid rgba(0,255,180,0.2);
    cursor: pointer;
    transition: .25s;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

/* PROJECT MODAL */
.project-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3500;
}

.project-modal-content {
    padding: 32px;
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    width: min(600px, 92%);
    position: relative;
}

.modal-close {
    position: absolute;
    right: 22px;
    top: 18px;
    font-size: 28px;
    cursor: pointer;
}

/* ============================================================
   SERVICES (NEW)
============================================================ */
.services-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(0,255,180,0.25);
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(0,255,180,0.35);
}

/* ============================================================
   PREMIUM CV SECTION (STACKED CLEAN LAYOUT)
============================================================ */

.cv-details {
    margin-bottom: 40px;
}

.cv-details p {
    line-height: 1.6;
    color: #ccc;
}

.cv-subtitle {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--accent);
    font-weight: 600;
}

.cv-highlights li {
    margin-bottom: 8px;
    color: #eee;
}

.cv-buttons {
    margin-top: 25px;
    display: flex;
    gap: 14px;
}

/* PDF VIEWER */
.cv-preview {
    width: 100%;
    padding: 14px;
    background: rgba(255,255,255,0.10);
    border-radius: 18px;
}

.cv-preview embed {
    width: 100%;
    height: 760px;
    border-radius: 14px;
    border: none;
    background: white;
}

/* Mobile Fix */
@media (max-width: 900px) {
    .cv-preview embed {
        height: 580px;
    }
}

/* ============================================================
   FEEDBACK SECTION (PREMIUM)
============================================================ */
.feedback-intro {
    text-align: center;
    color: #ccc;
    margin-bottom: 20px;
}

.feedback-form {
    padding: 30px;
    border-radius: 18px;
    max-width: 600px;
    margin: auto;
}

.input {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(0,255,180,0.25);
    color: white;
}

.feedback-popup {
    text-align: center;
    opacity: 0;
    color: var(--accent);
    margin-top: 10px;
    transition: .3s ease;
}

.feedback-popup.show { opacity: 1; }

/* ============================================================
   CONTACT SECTION (PREMIUM)
============================================================ */
.contact-text {
    text-align: center;
    margin-bottom: 20px;
    color: #ccc;
}

.contact-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    flex: 1;
    min-width: 240px;
    padding: 26px;
    border-radius: 18px;
    text-align: center;
    background: rgba(0,255,180,0.07);
    border: 1px solid rgba(0,255,180,0.22);
    transition: .25s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0,255,180,0.35);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

/* ============================================================
   IMAGE ZOOM
============================================================ */
.zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

#zoomImage {
    max-width: 92%;
    max-height: 92%;
    border-radius: 18px;
}

/* ============================================================
   PDF OVERLAY
============================================================ */
.pdf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

#pdfFrame {
    width: 85%;
    height: 85%;
    border-radius: 16px;
}

/* ============================================================
   AI CHATBOT
============================================================ */
.chatbot-bubble {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 26px;
    z-index: 5000;
    box-shadow: 0 0 18px rgba(0,255,180,0.4);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 26px;
    width: 330px;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 5000;
}

.chat-header {
    padding: 14px;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    font-weight: bold;
}

.chat-body {
    padding: 14px;
    flex: 1;
    overflow-y: auto;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.user-msg {
    background: rgba(0,255,180,0.25);
    margin-left: auto;
}

.bot-msg {
    background: rgba(255,255,255,0.1);
}

.chat-input-wrap {
    display: flex;
    padding: 10px;
    background: rgba(255,255,255,0.06);
}

#chatInput {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
}

.chat-send {
    padding: 10px 14px;
    margin-left: 8px;
    background: var(--accent);
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    text-align: center;
    margin: 40px 0;
    color: #aaa;
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE FIXES
============================================================ */
@media (max-width: 768px) {
    .section {
        padding: 40px 20px;
        margin: 60px 16px;
    }

    .hero-img-wrap {
        width: 190px;
        height: 190px;
    }

    .chatbot-window {
        width: 92%;
        right: 4%;
    }
}

/* REMOVE BLUE LINK COLOR & UNDERLINE GLOBALLY */
a {
    color: inherit !important;
    text-decoration: none !important;
}

a:visited {
    color: inherit !important;
}

a:hover {
    color: var(--accent) !important;
    text-decoration: none !important;
}





