﻿:root {
    --primary-gradient: linear-gradient(135deg, #ff4ecd, #7b61ff);
    --dark-bg: #0f0f1a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
}

/* Global */
body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Segoe UI', sans-serif;
}

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #1a1a2e, #0f0f1a);
    position: relative;
    overflow: hidden;
}

/* Title */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--text-muted);
}

/* Description */
.hero-description {
    margin-top: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Image */
.hero-img {
    max-width: 350px;
   
    transition: 0.4s ease;
}

    /* Floating Effect */
    .hero-img:hover {
        transform: translateY(-10px);
    }

/* Gradient Glow Effect */
.hero-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    filter: blur(120px);
    top: -100px;
    left: -100px;
    opacity: 0.4;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}



/* ABOUT SECTION */
.about-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

/* IMAGE */
.about-img {
    max-width: 300px;
    border-radius: 50%;
    transition: 0.3s ease;
}

    .about-img:hover {
        transform: scale(1.05);
    }

/* TEXT */
.about-text {
    line-height: 1.7;
    margin-bottom: 10px;
}

/* SKILL BADGES */
.skill-badge {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px 5px 0 0;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    transition: 0.3s;
}

    .skill-badge:hover {
        background: linear-gradient(135deg, #ff4ecd, #7b61ff);
        color: white;
    }





/* PROJECT CARD */
.project-card {
    overflow: hidden;
}

/* IMAGE */
.project-img {
    border-radius: 10px;
    transition: 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

/* TECH STACK */
.tech-stack span {
    display: inline-block;
    font-size: 0.75rem;
    padding: 5px 10px;
    margin: 5px 5px 0 0;
    border-radius: 15px;
    background: rgba(255,255,255,0.08);
}


/* TIMELINE */
.timeline {
    position: relative;
    margin-top: 50px;
    padding-left: 20px;
    border-left: 2px solid rgba(255,255,255,0.1);
}

/* ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

/* DOT */
.timeline-dot {
    position: absolute;
    left: -10px;
    top: 10px;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ff4ecd, #7b61ff);
    border-radius: 50%;
}

/* CONTENT */
.timeline-content {
    margin-left: 20px;
}

/* EXPERIENCE PROJECT */
/* EXPERIENCE PROJECT BLOCK */
.exp-project {
    position: relative;
    padding-left: 20px;
    margin-top: 20px;
}

    /* SUBTLE LEFT LINE */
    .exp-project::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 3px;
        height: 70%;
        background: linear-gradient(135deg, #ff4ecd, #7b61ff);
        border-radius: 5px;
        opacity: 0.7;
    }

    /* TITLE */
    .exp-project h6 {
        font-weight: 600;
        margin-bottom: 5px;
    }

    /* TEXT */
    .exp-project li {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

    /* DIVIDER (SUBTLE 🔥) */
    .exp-project:not(:last-child) {
        border-bottom: 1px dashed rgba(255,255,255,0.08);
        padding-bottom: 15px;
    }
/* COMPANY LOGO */
.company-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 8px;
}

/* ROLE */
.role-title {
    font-weight: 600;
    font-size: 1.1rem;
}

/* COMPANY NAME */
.company-name {
    color: var(--text-muted);
    font-size: 0.85rem;
}

   



/*=========== API SECTION (THEMED) ===========*/

.api-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
}

/* INPUTS */
#apiMethod,
#apiUrl,
#apiBody {
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
}

    #apiMethod:focus,
    #apiUrl:focus,
    #apiBody:focus {
        border-color: #ff4ecd;
        box-shadow: none;
    }

    /* DROPDOWN OPEN LIST (IMPORTANT 🔥) */
    #apiMethod option {
        background-color: #0f0f1a !important; /* solid dark */
        color: white !important;
    }

        /* HOVER / SELECT FIX (limited support but works in some browsers) */
        #apiMethod option:checked {
            background: linear-gradient(135deg, #ff4ecd, #7b61ff);
            color: white;
        }

/* RESPONSE BOX 🔥 */
#apiResponse {
    margin-top: 15px;
    color: #00ffcc;
    background: #020617;
    padding: 15px;
    border-radius: 10px;
    max-height: 350px;
    overflow: auto;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* META INFO */
.api-meta {
    color:  ;
    font-size: 0.9rem;
}

/* LOADER (MATCH THEME) */
.loader {
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid #ff4ecd;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 1s linear infinite;
    display: none;
}

/* METHOD COLORS (UNCHANGED BUT POLISHED) */
.method-get {
    background: #22c55e;
}

.method-post {
    background: #3b82f6;
}

.method-put {
    background: #f59e0b;
}

.method-delete {
    background: #ef4444;
}

/* MOBILE FIX */
@media (max-width: 576px) {
    #apiBody {
        height: 100px;
    }

    #apiResponse {
        max-height: 250px;
    }
}





