/* ----- GLOBAL PALETTE (exact) ----- */
:root {
    --bg: #f8fafc;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --btn-primary: #2563eb;
    --btn-hover: #1d4ed8;
    --accent-laravel: #ff2d20;
    --border-light: #e5e7eb;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --radius-btn: 12px;
    --radius-card: 20px;
}

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    padding-top: 72px;
    scroll-behavior: smooth;
}

/* ----- NAVBAR (same as previous) ----- */
.navbar-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: 72px;
    background: transparent;
    transition:
        background 0.25s ease,
        backdrop-filter 0.25s ease,
        box-shadow 0.25s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.premium-nav.scrolled {
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-mark {
    background: var(--text-primary);
    color: var(--bg);
    font-weight: 700;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.logo-text {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .nav-item {
    position: relative;
    padding: 0;
}

.nav-links .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-links .nav-link:hover {
    color: var(--accent-laravel);
}

.nav-links .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2.5px;
    background: var(--accent-laravel);
    transition: width 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
    border-radius: 4px;
}

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

.nav-links .nav-link.active {
    color: var(--text-primary);
}

.nav-links .nav-link.active::after {
    width: 100%;
    background: var(--accent-laravel);
    box-shadow: 0 0 6px rgba(255, 45, 32, 0.25);
}

.btn-hire {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-primary);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.4rem 0.5rem 1.6rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
    line-height: 1.4;
}

.btn-hire:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
    color: #ffffff;
}

.btn-hire i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-hire:hover i {
    transform: translateX(3px);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-primary);
    padding: 0 4px;
    cursor: pointer;
    transition: color 0.2s;
}

.hamburger:hover {
    color: var(--accent-laravel);
}

/* mobile overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(4px);
    z-index: 1060;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.mobile-menu-overlay.open {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80vw;
    height: 100%;
    background: var(--bg);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.04);
    padding: 2rem 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-left: 1px solid var(--border-light);
}

.mobile-menu-overlay.open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.mobile-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-primary);
    padding: 0 4px;
    cursor: pointer;
    transition: color 0.2s;
}

.mobile-close:hover {
    color: var(--accent-laravel);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mobile-nav-list .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition:
        color 0.2s,
        border-color 0.2s;
    display: inline-block;
    width: fit-content;
}

.mobile-nav-list .nav-link:hover {
    color: var(--accent-laravel);
    border-bottom: 1px solid var(--accent-laravel);
}

.mobile-nav-list .nav-link.active {
    color: var(--accent-laravel);
    border-bottom: 1px solid var(--accent-laravel);
}

.mobile-cta {
    margin-top: 2.5rem;
}

.mobile-cta .btn-hire {
    width: fit-content;
}

/* ============================================================
CONTACT SECTION – SPLIT GLASS CARD (Redesigned)
============================================================ */

.contact-section {
    background: #0f172a;
    /* Dark Blue Background */
    padding: 80px 0;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
}

.contact-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- Header ----- */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.15);
    padding: 0.5rem 1.2rem 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.contact-badge i {
    font-size: 1.1rem;
    color: #ff3b30;
}

.contact-title {
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: -0.02em;
    color: #f8fafc !important;
    margin-bottom: 0.75rem;
}

.contact-accent-line {
    width: 60px;
    height: 4px;
    background: #ff3b30;
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

.contact-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ----- Glass Card (Split) ----- */
.contact-glass-card {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem 2.8rem;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.contact-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px -14px rgba(0, 0, 0, 0.4);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* ----- Left Side ----- */
.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 59, 48, 0.08);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: #ff3b30;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
}

/* ----- Socials ----- */
.contact-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
}

.social-circle:hover {
    transform: translateY(-4px);
    color: #ff3b30;
    background: #fef2f2;
    box-shadow: 0 8px 20px -6px rgba(255, 59, 48, 0.2);
    border-color: #ff3b30;
}

/* ----- Right Side ----- */
.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 1.5rem;
    border-left: 1px solid #e5e7eb;
}

/* Status */
.status-wrapper {
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.5rem 1.4rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #065f46;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.status-subtext {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.right-divider {
    width: 60px;
    height: 2px;
    background: #ff3b30;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* ----- Buttons ----- */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 260px;
}

.btn-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
    width: 100%;
}

.btn-primary-action:hover {
    background: #1d4ed8;
    transform: scale(1.05);
    box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.3);
    color: #ffffff;
}

.btn-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    padding: 0.7rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 100%;
}

.btn-secondary-action:hover {
    background: #f1f5f9;
    border-color: #0f172a;
    transform: scale(1.05);
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .contact-glass-card {
        padding: 2rem 1.8rem;
    }

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

    .contact-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e5e7eb;
        padding-top: 2rem;
    }

    .contact-actions {
        max-width: 100%;
    }

    .btn-primary-action,
    .btn-secondary-action {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-glass-card {
        padding: 1.5rem 1rem;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-item {
        padding: 0.5rem 0;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
    }

    .contact-icon i {
        font-size: 1.1rem;
    }

    .social-circle {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .mobile-cta .btn-hire {
        display: inline-flex;
    }
}

@media (min-width: 992px) {
    .mobile-cta .btn-hire {
        display: none;
    }

    .nav-cta {
        display: block;
    }
}

/* ----- SECTION SHARED ----- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 69%;
    margin: 0 auto 2.5rem;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--accent-laravel);
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

/* ----- HERO (two-column) ----- */
.hero-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-card {
    padding: 1.8rem 0.5rem;
}

.badge-freelance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 45, 32, 0.06);
    border: 1px solid rgba(255, 45, 32, 0.1);
    padding: 0.5rem 1.2rem 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
}

#skills div div,
#projects div div,
#contact div div {

    .badge-freelance,
    h2,
    .skill-tag,
    .section-subtitle {
        color: var(--bg);
    }
}

.contact-item div {
    color: var(--bg);
}

.badge-freelance i {
    font-size: 1.1rem;
    color: var(--accent-laravel);
}

.main-heading {
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.main-heading span {
    color: var(--accent-laravel);
    border-bottom: 3px solid rgba(255, 45, 32, 0.15);
    padding-bottom: 2px;
}

.desc-text {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.btn-premium {
    border-radius: 60px;
    padding: 0.7rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary-custom {
    background: var(--accent-laravel);
    color: white;
    border: 1px solid var(--accent-laravel);
}

.btn-primary-custom:hover {
    background: #d92015;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(255, 45, 32, 0.25);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline-custom:hover {
    background: #eef2f7;
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.social-icons {
    display: flex;
    gap: 1.4rem;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--text-primary);
    transition: 0.2s ease;
    line-height: 1;
}

.social-icons a:hover {
    color: var(--accent-laravel);
    transform: translateY(-4px);
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.8rem;
}

.trust-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.06);
    padding: 0.65rem 1.4rem;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-card i {
    font-size: 1.1rem;
    color: var(--accent-laravel);
}

.profile-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 32px;
    padding: 1.2rem 1.2rem 0.8rem 1.2rem;
    box-shadow: 0 30px 50px -20px rgba(15, 23, 42, 0.08);
    width: 100%;
    max-width: 380px;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.profile-card:hover {
    transform: translateY(-6px);
}

.profile-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 24px;
    background: #e2e8f0;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 1rem;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.8rem;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    pointer-events: none;
}

.floating-badge i {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--accent-laravel);
}

.badge-1 {
    top: -2%;
    left: -6%;
}

.badge-2 {
    top: 25%;
    right: -12%;
}

.badge-3 {
    bottom: 12%;
    left: -10%;
}

.badge-4 {
    bottom: -2%;
    right: -5%;
}

.badge-5 {
    top: 55%;
    left: -15%;
}

.badge-6 {
    top: 8%;
    right: -8%;
}

/* ----- ABOUT ----- */
.about-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    height: 100%;
}

/* ----- SKILLS / SERVICES / PROJECTS / EXPERIENCE / CONTACT ----- */
.skill-tag {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 60px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: 0.2s;
    display: inline-block;
}

.skill-tag:hover {
    border-color: var(--accent-laravel);
    color: var(--accent-laravel);
}

.service-card,
.project-card,
.exp-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-light);
    transition: 0.2s ease;
    height: 100%;
}

.service-card:hover,
.project-card:hover,
.exp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 45, 32, 0.15);
}

.project-card h3 {
    color: var(--border-light);
}

.service-icon {
    font-size: 2.4rem;
    color: var(--accent-laravel);
    margin-bottom: 1rem;
}

.project-img {
    border-radius: 12px;
    background: #e2e8f0;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 0px;
}

/* contact */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--accent-laravel);
    width: 2.4rem;
}

/* footer */
.footer-note {
    border-top: 1px solid var(--border-light);
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
    text-decoration: none;
}

.footer-icon:hover {
    background: var(--accent-laravel);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.35);
}

/* ====== SKILLS SECTION – GLASSMORPHISM CARDS (WHITE BACKGROUND) ====== */

/* Background & spacing */
.skills-section-white {
    background: #ffffff;
    /* pure white */
    padding: 80px 0;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
}

.skills-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.skills-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.skills-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 45, 32, 0.06);
    border: 1px solid rgba(255, 45, 32, 0.1);
    padding: 0.5rem 1.2rem 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #111827;
    margin-bottom: 1rem;
}

.skills-badge i {
    font-size: 1.1rem;
    color: #ff2d20;
}

.skills-title {
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 0.75rem;
}

.skills-accent-line {
    width: 60px;
    height: 4px;
    background: #ff2d20;
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

.skills-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Glassmorphism Card */
.skill-glass-card {
    background: #f8f9fa;
    /* Dark navy */
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    border: 1px solid #111827;
    box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.25);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
    height: 100%;
    color: #f8fafc;
}

.skill-glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.35);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Card title */
.skill-glass-card .card-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    color: #111827;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-glass-card .card-title i {
    color: #ff2d20;
    font-size: 1.5rem;
}

/* List items */
.skill-glass-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-glass-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.skill-glass-card ul li:last-child {
    border-bottom: none;
}

.skill-glass-card ul li i.bi-check-lg {
    color: #ff2d20;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.skill-glass-card ul li i.tech-icon {
    color: #ff2d20;
    font-size: 1rem;
    width: 1.4rem;
    text-align: center;
    flex-shrink: 0;
}

.project-description {
    color: #111827;
}

.project-tech span {
    color: #ff2d20;
}

.project-features li {
    color: #111827;
}

.project-content {
    padding: 22px;
}

.project-category {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(249, 65, 68, 0.12);
    color: var(--accent-laravel);
    font-size: 0.8rem;
    font-weight: 600;
}

.project-description {
    margin: 16px 0;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-tech span {
    padding: 5px 12px;
    border-radius: 30px;
    background: rgb(254 232 232);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
}

.project-features {
    padding-left: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-features li {
    margin-bottom: 6px;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-laravel);
    font-weight: 600;
    text-decoration: none;
}

.project-btn:hover {
    color: #fff;
}

/* Project Section */

/* Project category filters */
.project-filters .project-filter {
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #243247;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.project-filters .project-filter:hover,
.project-filters .project-filter.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.project-filters .project-filter:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 3px;
}

/* Project image area */
.project-image-wrap {
    overflow: hidden;
    background: #f1f5f9;
}

.project-image-wrap .project-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

/* Project status */
.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 16px 0 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-item[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .project-filters .project-filter {
        transition: none;
    }
}


/* Keep all three project buttons on one line */
#projects .project-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

#projects .project-link {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    min-height: 42px;
    padding: 0.6rem 0.7rem;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 9px;
}

/* Prevent labels from wrapping */
#projects .project-link i {
    flex-shrink: 0;
}

/* Smaller screens */
@media (max-width: 400px) {
    #projects .project-links {
        gap: 0.3rem;
    }

    #projects .project-link {
        gap: 0.25rem;
        padding: 0.55rem 0.45rem;
        font-size: 0.72rem;
    }
}

/* End Project Section */

/* Responsive grid */
@media (max-width: 1199px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* responsive adjustments */
@media (max-width: 991px) {
    .main-heading {
        font-size: 2.8rem;
    }

    .floating-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .badge-1 {
        top: -4%;
        left: -2%;
    }

    .badge-2 {
        top: 20%;
        right: -6%;
    }

    .badge-3 {
        bottom: 8%;
        left: -6%;
    }

    .badge-4 {
        bottom: -4%;
        right: -2%;
    }

    .badge-5 {
        top: 50%;
        left: -10%;
    }

    .badge-6 {
        top: 4%;
        right: -4%;
    }
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 2.4rem;
    }

    .desc-text {
        font-size: 1rem;
        max-width: 100%;
    }

    .trust-grid {
        gap: 0.6rem;
    }

    .trust-card {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .profile-card {
        max-width: 300px;
        margin: 2rem auto 0;
    }

    .floating-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.7rem;
    }

    .social-icons {
        font-size: 1.4rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2rem;
    }

    .profile-card {
        max-width: 240px;
    }

    .badge-freelance {
        font-size: 0.75rem;
        padding: 0.3rem 1rem;
    }
}

/* focus */
.nav-link:focus-visible,
.logo-link:focus-visible,
.hamburger:focus-visible,
.mobile-close:focus-visible,
.btn-hire:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--btn-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* animations */
.fade-slide-up {
    animation: fadeSlideUp 0.7s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

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

.floating-badge {
    animation: floatSoft 6s infinite alternate ease-in-out;
}

.floating-badge:nth-child(2) {
    animation-delay: 0.6s;
}

.floating-badge:nth-child(3) {
    animation-delay: 1.2s;
}

.floating-badge:nth-child(4) {
    animation-delay: 0.2s;
}

.floating-badge:nth-child(5) {
    animation-delay: 1.8s;
}

.floating-badge:nth-child(6) {
    animation-delay: 0.9s;
}

@keyframes floatSoft {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    100% {
        transform: translate(6px, -8px) scale(1.02);
    }
}

/* dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f172a;
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --btn-primary: #2563eb;
        --btn-hover: #1d4ed8;
        --accent-laravel: #ff2d20;
        --border-light: #1e293b;
        --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .premium-nav.scrolled {
        background: rgba(15, 23, 42, 0.85);
        border-bottom: 1px solid var(--border-light);
    }

    .about-card,
    .service-card,
    .project-card,
    .exp-card {
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(4px);
        border-color: var(--border-light);
    }

    .trust-card,
    .profile-card,
    .skill-tag {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(4px);
        border-color: var(--border-light);
    }

    .btn-outline-custom {
        border-color: var(--border-light);
        color: var(--text-primary);
    }

    .btn-outline-custom:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}


/* Accessibility: visible keyboard focus */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 4px;
}

/* Keep focus visible against dark sections */
:where(.hero-wrapper, footer, .footer-section)
:where(a, button, [tabindex]):focus-visible {
    outline-color: #7dd3fc;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
