/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #080810;
    --bg-secondary: #0d0d1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --teal: #00d4aa;
    --teal-2: #00b4d8;
    --teal-3: #0fffff;
    --gradient: linear-gradient(135deg, #00d4aa, #00b4d8, #0fffff);
    --gradient-soft: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 180, 216, 0.15));
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #5a6a7a;
    --border: rgba(0, 212, 170, 0.12);
    --border-hover: rgba(0, 212, 170, 0.35);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-teal: 0 0 30px rgba(0, 212, 170, 0.2);
    --shadow-glow: 0 0 60px rgba(0, 212, 170, 0.15);
    --nav-height: 72px;
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

body.loading {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 99px;
}

/* ===== LOADER ===== */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    animation: pulse 1s ease-in-out infinite alternate;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-fill {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: 99px;
    animation: loadFill 2s ease-in-out forwards;
}

@keyframes loadFill {
    to {
        width: 100%;
    }
}

@keyframes pulse {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}

/* ===== CUSTOM CURSOR ===== */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--teal);
    top: 0;
    left: 0;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 212, 170, 0.5);
    top: 0;
    left: 0;
    transition: transform 0.12s ease, width 0.3s, height 0.3s, opacity 0.3s;
}

@media (hover: none) {

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: var(--transition);
    padding: 0 2rem;
}

#navbar.scrolled {
    background: rgba(8, 8, 16, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 99px;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-hire {
    padding: 0.5rem 1.25rem;
    background: var(--gradient);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000 !important;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-hire:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 99px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== SECTION COMMON ===== */
section {
    padding: 120px 2rem;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 99px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.875rem 1.75rem;
    background: var(--gradient);
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #000;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.875rem 1.75rem;
    background: transparent;
    border: 1.5px solid var(--border-hover);
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--teal);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-sm);
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 60px);
    position: relative;
}

.hero-bg-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite alternate;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 170, 0.35);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 180, 216, 0.25);
    bottom: 0;
    left: -100px;
    animation-delay: 3s;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 255, 255, 0.15);
    top: 50%;
    left: 40%;
    animation-delay: 6s;
}

@keyframes orbFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.hero-greeting {
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-typed-wrapper {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 2em;
}

.typed-text {
    color: var(--teal);
}

.typed-cursor {
    color: var(--teal);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Profile image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-ring {
    position: relative;
    width: 380px;
    height: 380px;
}

.image-ring::before,
.image-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: ringRotate 8s linear infinite;
}

.image-ring::after {
    inset: 12px;
    animation-duration: 12s;
    animation-direction: reverse;
    opacity: 0.5;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.image-ring-inner {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 180, 216, 0.1));
}

.profile-placeholder i {
    font-size: 8rem;
    color: rgba(0, 212, 170, 0.3);
}

.floating-badge {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(8, 8, 16, 0.9);
    border: 1.5px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--teal);
    box-shadow: var(--shadow-teal);
    animation: badgeFloat 4s ease-in-out infinite alternate;
}

.badge1 {
    top: 20px;
    left: 10px;
    animation-delay: 0s;
}

.badge2 {
    top: 20px;
    right: 10px;
    animation-delay: 1s;
}

.badge3 {
    bottom: 40px;
    left: 0;
    animation-delay: 2s;
}

.badge4 {
    bottom: 40px;
    right: 0;
    animation-delay: 0.5s;
}

@keyframes badgeFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--teal), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* ===== ABOUT ===== */
#about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}

.about-img-box {
    position: relative;
    width: 340px;
    height: 400px;
    margin: 0 auto;
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 180, 216, 0.08));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(0, 212, 170, 0.25);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #000;
    box-shadow: var(--shadow);
}

.about-accent-card {
    position: absolute;
    top: -20px;
    left: -20px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
}

.about-accent-card i {
    color: var(--teal);
    font-size: 1.1rem;
}

.about-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.about-bio {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.highlight-item i {
    color: var(--teal);
    font-size: 0.9rem;
}

.about-skills-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.skill-tag {
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--teal);
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

/* ===== SKILLS ===== */
#skills {
    background: var(--bg-primary);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category {
    padding: 2rem;
}

.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--teal);
}

.skill-cat-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-bar-item {}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.skill-info span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-info span:last-child {
    color: var(--teal);
    font-weight: 600;
}

.skill-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: var(--gradient);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0fffff;
    box-shadow: 0 0 10px #0fffff;
}

/* ===== PROJECTS ===== */
#projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    overflow: hidden;
}

.project-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.project-img-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.style1 {
    background: linear-gradient(135deg, #1a0533, #2d1b69, #1a3a4c);
    color: #c084fc;
}

.style2 {
    background: linear-gradient(135deg, #0a2818, #14532d, #0f4d55);
    color: #4ade80;
}

.style3 {
    background: linear-gradient(135deg, #3b2300, #78350f, #451a03);
    color: #fbbf24;
}

.style4 {
    background: linear-gradient(135deg, #0a0a1e, #1e1b4b, #0a2060);
    color: var(--teal);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img-placeholder {
    transform: scale(1.05);
}

.btn-view {
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .btn-view {
    transform: translateY(0);
    opacity: 1;
}

.project-info {
    padding: 1.75rem;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.project-tags span {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 212, 170, 0.1);
    color: var(--teal);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.project-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.proj-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.proj-link:hover {
    color: var(--teal);
}

/* ===== SERVICES ===== */
#services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #000;
    transition: var(--transition);
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-teal);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    color: var(--text-secondary);
}

.service-list li i {
    color: var(--teal);
    font-size: 0.75rem;
}

.service-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
}

.service-card:hover .service-arrow {
    background: var(--gradient);
    color: #000;
    border-color: transparent;
    transform: translateX(4px);
}

/* ===== TESTIMONIALS ===== */
#testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    position: relative;
}

.testi-quote {
    font-size: 2rem;
    color: var(--teal);
    opacity: 0.4;
    margin-bottom: 1rem;
    line-height: 1;
}

.testi-text {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testi-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 3px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #000;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.testi-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== CONTACT ===== */
#contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--teal);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

a.contact-value:hover {
    color: var(--teal);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gradient);
    color: #000;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-teal);
}

.contact-form {
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    resize: none;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    background: rgba(0, 212, 170, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 1rem;
    margin-top: 1rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.form-success i {
    color: var(--teal);
    font-size: 1.1rem;
}

.form-success.show {
    display: flex;
}

/* ===== FOOTER ===== */
#footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 2rem 30px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-logo span {
    color: var(--teal);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-top .social-links {
    justify-content: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #000;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-teal);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .image-ring {
        width: 280px;
        height: 280px;
    }

    .hero-desc {
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-box {
        width: 280px;
        height: 340px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 700px) {
    section {
        padding: 80px 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(8, 8, 16, 0.97);
        backdrop-filter: blur(20px);
        align-items: center;
        justify-content: center;
        gap: 1rem;
        z-index: 999;
    }

    .nav-links.open a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .image-ring {
        width: 240px;
        height: 240px;
    }
}