/* ===================================
   1. Variables & Reset
   =================================== */
:root {
    --bg-dark: #030712;
    --bg-card: #0f111a;
    --bg-input: #05080f;
    --section-soft-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%);
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-glow: rgba(124, 58, 237, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --font-main: 'Tajawal', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    direction: rtl;
    line-height: 1.6;
}

body,
section,
.navbar,
.nav-menu,
.social-icon,
.lang-toggle,
.theme-toggle,
.service-card,
.portfolio-card,
.testimonial-card,
.stat-card,
.about-mini-card,
.about-stat-card,
.about-skills-panel,
.info-card,
.contact-code-box,
.form-group input,
.form-group textarea,
.form-group select {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.menu-open {
    overflow: hidden;
}

html.menu-open,
body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 994;
}

body.light-theme {
    --bg-dark: #f3f6ff;
    --bg-card: #ffffff;
    --bg-input: #edf2ff;
    --section-soft-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.66) 100%);
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: rgba(15, 23, 42, 0.12);
    --primary-glow: rgba(124, 58, 237, 0.28);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

body.light-theme #particles-canvas {
    opacity: 0.5;
}

body.light-theme .nav-menu,
body.light-theme .social-icon,
body.light-theme .lang-toggle,
body.light-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

body.light-theme .nav-link {
    color: #475569;
}

body.light-theme .nav-link:hover {
    color: #0f172a;
}

body.light-theme .nav-link.active {
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.32);
}

body.light-theme .about-mini-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.1);
    color: #334155;
}

body.light-theme .about-stat-card {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

body.light-theme .about-skills-panel {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.92));
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

body.light-theme .about-skills-header {
    background: rgba(124, 58, 237, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .about-skill-name {
    color: #334155;
}

body.light-theme .about-skill-row .skill-bar {
    background: rgba(15, 23, 42, 0.1);
}

body.light-theme .stat-card {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(15, 23, 42, 0.11);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

body.light-theme .stat-label {
    color: #334155;
}

body.light-theme .filter-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(15, 23, 42, 0.12);
    color: #475569;
}

body.light-theme .portfolio-browser {
    background: rgba(15, 23, 42, 0.06);
}

body.light-theme .tech-tag {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

body.light-theme .btn-outline {
    border-color: rgba(15, 23, 42, 0.2);
    color: #0f172a;
}

body.light-theme .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
}

body.light-theme .portfolio-card,
body.light-theme .testimonial-card,
body.light-theme .service-card,
body.light-theme .contact-code-box,
body.light-theme .info-card {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

body.light-theme .statistics-section::before {
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}

body.light-theme .form-group input,
body.light-theme .form-group textarea,
body.light-theme .form-group select {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
    color: #64748b;
}

body.light-theme .footer {
    border-top-color: rgba(15, 23, 42, 0.1);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   2. Navigation Bar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    gap: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: bold;
    font-family: monospace;
    background: rgba(124, 58, 237, 0.15);
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    line-height: 1;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-center {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 3px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.navbar.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-link {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    display: block;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-start {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-start:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.nav-social {
    display: flex;
    gap: 4px;
}

.social-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.nav-extras {
    display: flex;
    gap: 4px;
}

.lang-toggle,
.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 7px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-main);
    font-size: 0.8rem;
}

.lang-toggle:hover,
.theme-toggle:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.4rem;
    padding: 10px 5px 0px;
}

/* ===================================
   3. Hero Section
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.12;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: right;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.typing-container {
    display: block;
    margin-bottom: 2rem;
    min-height: 2.5rem;
    position: relative;
}

.typing-text {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
    display: inline;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.cursor-blink {
    color: var(--primary);
    animation: blink 1s infinite;
    font-weight: 100;
    font-size: 1.8rem;
    display: inline;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 530px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: #60a5fa;
    font-weight: 900;
    margin-bottom: 4px;
    direction: ltr;
    text-align: center;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero-code {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.code-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), transparent);
    pointer-events: none;
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.filename {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.dots {
    display: flex;
    gap: 6px;
    order: -1;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.green {
    background: #22c55e;
}

.yellow {
    background: #eab308;
}

.red {
    background: #ef4444;
}

.window-body {
    display: flex;
    padding: 15px;
    direction: ltr;
    background: rgba(0, 0, 0, 0.15);
}

.line-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    margin-right: 15px;
    user-select: none;
}

.line-numbers span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: monospace;
}

.code-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.code-text pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.kw {
    color: #c084fc;
}

.str {
    color: #34d399;
}

.prop {
    color: #60a5fa;
}

.num {
    color: #f472b6;
}

.bool {
    color: #f87171;
}

.comment {
    color: #6b7280;
    font-style: italic;
}

.terminal-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 18px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.terminal-prompt {
    color: var(--primary);
    font-weight: 600;
}

.terminal-command {
    color: var(--text-muted);
}

.terminal-cursor {
    animation: blink 1s infinite;
    color: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    animation: scroll-indicator-enter 0.9s ease-out 0.45s forwards;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(124, 58, 237, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(12px);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scroll-indicator-enter {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* ===================================
   4. Sections General
   =================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    margin-bottom: 15px;
}

.section-tag i{
    margin-left: 5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--primary), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
    display: inline;
}

/* ===================================
   5. About Section
   =================================== */
.about-section {
    background: var(--section-soft-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 0 90px;
    overflow: hidden;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 5rem;
}

.about-section::before {
    content: none;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-light);
    font-size: 0.75rem;
    margin: 0 auto 1rem;
    line-height: 1rem;
}

.about-title {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0;
    margin-top: 0.75rem;
}

.about-title .highlight {
    color: #ec4899;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    font-size: 0.92rem;
    line-height: 1.9;
}

.about-cta-row {
    margin-bottom: 1.4rem;
    display: none;
}

.about-mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.about-mini-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 16, 29, 0.7);
    color: var(--text-muted);
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 0.72rem;
    justify-content: center;
}

.about-mini-card-ico{ 
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    display: flex;
    background-color: #7f3aee1a;
    border-radius: 0.75rem;
    gap: 0.75rem;
}

.about-mini-card i {
    color: var(--primary);
    font-size: 1rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.about-stat-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(12, 16, 29, 0.72);
    padding: 10px 12px;
    min-height: 82px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-stat-card h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin: 0 0 5px;
    color: #60a5fa;
}

.about-stat-card p {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.2;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-bg {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0.1;
    border-radius: 20px;
}

.about-image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.about-image-content i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-image-content span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.about-skills-panel {
    background: linear-gradient(165deg, rgba(15, 17, 26, 0.92), rgba(3, 7, 18, 0.96));
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    max-width: 520px;
    width: 100%;
}

.about-skills-header {
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-skills-body {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-skills-category h3 {
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 8px;
    letter-spacing: 0.4px;
}

.about-skills-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-skill-row {
    display: grid;
    grid-template-columns: 42px 1fr 102px;
    align-items: center;
    gap: 10px;
    direction: ltr;
}

.about-skill-percent {
    font-family: monospace;
    font-size: 0.78rem;
    color: #7c3aed;
    text-align: left;
}

.about-skill-name {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.95);
    text-align: right;
    white-space: nowrap;
}

.about-skill-row .skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    overflow: hidden;
}

.about-skill-row .skill-progress {
    background: linear-gradient(90deg, #7c3aed 0%, #d946ef 100%);
    margin-left: auto;
    border-radius: 999px;
}

/* ===================================
   6. Services Section
   =================================== */
.services-section {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    padding: 30px 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 1.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1.85s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 1.6rem;
    color: var(--primary);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 12px;
}

/* ===================================
   7. Portfolio Section (Smooth & Slow Glow)
   =================================== */
.portfolio-section {
    background: var(--section-soft-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.portfolio-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    /* Slow transitions for glow/border on hover */
    transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 1.85s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 1.85s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease,
        filter 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

/* Filter Transitions */
.portfolio-card.filtering-out {
    opacity: 0 !important;
    transform: scale(0.95) !important;
    filter: blur(4px);
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.portfolio-card.filtering-in {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(4px);
}

.portfolio-card.filtering-in.active-filter {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.portfolio-card.filter-hidden {
    display: none !important;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(59, 130, 246, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.95s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.view-project {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(10px);
    transition: transform 0.75s ease 0.15s;
}

.portfolio-card:hover .view-project {
    transform: translateY(0);
}

.portfolio-browser {
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.browser-url {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 5px;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-category {
    display: inline-block;
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.portfolio-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Filter Buttons */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--primary-light);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 50px;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.show-more-container.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    height: 0;
    overflow: hidden;
    margin: 0;
}

#showMoreBtn {
    padding: 12px 30px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

#showMoreBtn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

#showMoreBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ===================================
   8. Skills Section
   =================================== */
.skills-section {
    background: var(--bg-dark);
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.skills-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-light);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    margin-bottom: 5px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.skill-percent {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Statistics Section
   =================================== */
.statistics-section {
    background: var(--bg-dark);
    padding: 100px 0;
    /* position: relative; */
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(15, 17, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.stat-icon i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}


/* ===================================
   9. Testimonials Section
   =================================== */
.testimonials-section {
    background: var(--section-soft-bg);
    overflow: hidden;
}

.testimonials-slider {
    overflow: hidden;
    margin: 0 -20px;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    animation: slide 35s linear infinite;
    width: max-content;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 350px;
    max-width: 400px;
    background: var(--bg-dark);
    padding: 30px 25px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-rating i {
    margin-left: 2px;
}

.testimonial-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===================================
FAQ Section
=================================== */
.faq-section {
    background: var(--bg-dark);
    padding: 100px 0;
    /* position: relative; */
    overflow: hidden;
}

/* Background Glow */
.faq-section::before {
    content: none;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Image Styling */
.faq-image-wrapper {
    text-align: center;
}

.faq-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.2));
    animation: float-img 6s ease-in-out infinite;
}

@keyframes float-img {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* FAQ Content */
.faq-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(15, 17, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.14);
    background: linear-gradient(135deg, rgba(20, 22, 35, 0.9), rgba(25, 27, 42, 0.78));
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.5s ease, padding 0.45s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 0.8rem;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12);
    transition: background-color 0.55s ease, color 0.55s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: white;
    transform: rotate(180deg) scale(1.05);
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.35);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: max-height, opacity, transform;
}

.faq-answer p {
    padding: 0 25px 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    opacity: 1;
    transform: translateY(0);
}

body.light-theme .faq-item {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.light-theme .faq-item.active {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
}

body.light-theme .faq-question:hover {
    background: rgba(124, 58, 237, 0.06);
}

body.light-theme .faq-icon {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.2);
}

body.light-theme .faq-item.active .faq-icon {
    background: var(--primary);
    color: #ffffff;
}


/* ===================================
   10. Contact Section
   =================================== */
.contact-section {
    background: var(--section-soft-bg);
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr;
    gap: 10rem;
    align-items: start;
}

.contact-code-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.code-window-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border);
}

.contact-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-submit:hover {
    background: var(--primary-light);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.contact-form button i {
    font-size: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 15px;
    flex-shrink: 0;
}

.icon-box.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.icon-box.email {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
}

.icon-box.phone {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.info-text {
    flex-grow: 1;
}

.info-text .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-text a {
    font-weight: 700;
    font-size: 1.05rem;
    unicode-bidi: bidi-override;
    direction: ltr;
}

.arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.info-card:hover .arrow {
    color: var(--primary);
    transform: translate(-5px, 5px);
}

/* ===================================
   11. Footer
   =================================== */
.footer {
    background: var(--section-soft-bg);
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
    /* margin-top: 50px; */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    color: var(--text-muted);
}

.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.footer-logo h3 {
    font-size: 1.2rem;
    color: var(--text-main);
}

.footer-logo span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col ul li span {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-list i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom i.fa-heart {
    color: #ef4444;
}

.scroll-top {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===================================
   12. WhatsApp Float Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

/* ===================================
   Mobile AOS Overflow Fix
   =================================== */
   @media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: clip;
    }
    /* Keep AOS smooth on mobile without horizontal page expansion */
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translate3d(0, 24px, 0) !important;
    }
    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translate3d(0, 0, 0) !important;
    }
}
