/* ============================================
   ROOT VARIABLES
   ============================================ */

:root {
    --primary: #0d1117;
    --primary-light: #1a2332;
    --accent: #58a6ff;
    --accent-hover: #4a8fd4;
    --text: #1a1a1a;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border: #e9ecef;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 50px rgba(0,0,0,0.15);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --sidebar-width: 100%;
    --navbar-height: 70px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: #f0f2f5;
    color: var(--text);
    line-height: 1.6;
    padding-top: var(--navbar-height);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* ============================================
   ANIMATIONS - KEYFRAMES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

/* ============================================
   SECTION ANIMATIONS - AUTO
   ============================================ */

/* All sections animate on scroll */
section {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

section.visible {
    opacity: 1;
}

/* Cards animate with delay */
.card,
.project-card,
.service-card,
.skill-category-card,
.education-card,
.certificate-card,
.achievement-card,
.testimonial-card,
.competency-item,
.contact-info-card,
.contact-form-card,
.related-project-card {
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}

/* Stagger delay for cards */
.card:nth-child(1),
.project-card:nth-child(1),
.service-card:nth-child(1),
.skill-category-card:nth-child(1),
.education-card:nth-child(1),
.certificate-card:nth-child(1),
.achievement-card:nth-child(1),
.testimonial-card:nth-child(1),
.competency-item:nth-child(1),
.related-project-card:nth-child(1) {
    animation-delay: 0.05s;
}

.card:nth-child(2),
.project-card:nth-child(2),
.service-card:nth-child(2),
.skill-category-card:nth-child(2),
.education-card:nth-child(2),
.certificate-card:nth-child(2),
.achievement-card:nth-child(2),
.testimonial-card:nth-child(2),
.competency-item:nth-child(2),
.related-project-card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3),
.project-card:nth-child(3),
.service-card:nth-child(3),
.skill-category-card:nth-child(3),
.education-card:nth-child(3),
.certificate-card:nth-child(3),
.achievement-card:nth-child(3),
.testimonial-card:nth-child(3),
.competency-item:nth-child(3),
.related-project-card:nth-child(3) {
    animation-delay: 0.15s;
}

.card:nth-child(4),
.project-card:nth-child(4),
.service-card:nth-child(4),
.skill-category-card:nth-child(4),
.education-card:nth-child(4),
.certificate-card:nth-child(4),
.achievement-card:nth-child(4),
.testimonial-card:nth-child(4),
.competency-item:nth-child(4),
.related-project-card:nth-child(4) {
    animation-delay: 0.2s;
}

.card:nth-child(5),
.project-card:nth-child(5),
.service-card:nth-child(5),
.skill-category-card:nth-child(5),
.education-card:nth-child(5),
.certificate-card:nth-child(5),
.achievement-card:nth-child(5),
.testimonial-card:nth-child(5),
.competency-item:nth-child(5),
.related-project-card:nth-child(5) {
    animation-delay: 0.25s;
}

.card:nth-child(6),
.project-card:nth-child(6),
.service-card:nth-child(6),
.skill-category-card:nth-child(6),
.education-card:nth-child(6),
.certificate-card:nth-child(6),
.achievement-card:nth-child(6),
.testimonial-card:nth-child(6),
.competency-item:nth-child(6),
.related-project-card:nth-child(6) {
    animation-delay: 0.3s;
}

/* Row items stagger */
.row .col-lg-4,
.row .col-md-6,
.row .col-lg-6,
.row .col-md-4,
.row .col-lg-3 {
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}

.row .col-lg-4:nth-child(1),
.row .col-md-6:nth-child(1),
.row .col-lg-6:nth-child(1),
.row .col-md-4:nth-child(1),
.row .col-lg-3:nth-child(1) {
    animation-delay: 0.05s;
}
.row .col-lg-4:nth-child(2),
.row .col-md-6:nth-child(2),
.row .col-lg-6:nth-child(2),
.row .col-md-4:nth-child(2),
.row .col-lg-3:nth-child(2) {
    animation-delay: 0.1s;
}
.row .col-lg-4:nth-child(3),
.row .col-md-6:nth-child(3),
.row .col-lg-6:nth-child(3),
.row .col-md-4:nth-child(3),
.row .col-lg-3:nth-child(3) {
    animation-delay: 0.15s;
}
.row .col-lg-4:nth-child(4),
.row .col-md-6:nth-child(4),
.row .col-lg-6:nth-child(4),
.row .col-md-4:nth-child(4),
.row .col-lg-3:nth-child(4) {
    animation-delay: 0.2s;
}
.row .col-lg-4:nth-child(5),
.row .col-md-6:nth-child(5),
.row .col-lg-6:nth-child(5),
.row .col-md-4:nth-child(5),
.row .col-lg-3:nth-child(5) {
    animation-delay: 0.25s;
}
.row .col-lg-4:nth-child(6),
.row .col-md-6:nth-child(6),
.row .col-lg-6:nth-child(6),
.row .col-md-4:nth-child(6),
.row .col-lg-3:nth-child(6) {
    animation-delay: 0.3s;
}

/* Timeline items stagger */
.timeline-item {
    opacity: 0;
    animation: fadeInRight 0.7s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}
.timeline-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Hero section - no animation delay */
.hero-section {
    opacity: 1;
    animation: none;
}

/* Page header - no animation delay */
.page-header {
    opacity: 1;
    animation: none;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.card:hover,
.project-card:hover,
.service-card:hover,
.skill-category-card:hover,
.education-card:hover,
.certificate-card:hover,
.achievement-card:hover,
.testimonial-card:hover,
.related-project-card:hover,
.competency-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

/* ============================================
   PROFESSIONAL NAVBAR
   ============================================ */

.navbar {
    background: rgba(13, 17, 23, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0;
    height: var(--navbar-height);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: white !important;
    padding: 0;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand .brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent), #3b7ddb);
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.navbar-brand:hover .brand-icon {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.navbar-brand .brand-text {
    color: white;
}
.navbar-brand .brand-text span {
    color: var(--accent);
}

/* ============================================
   DESKTOP NAVIGATION
   ============================================ */

@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .navbar-nav .nav-item {
        position: relative;
    }

    .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.6) !important;
        font-weight: 500;
        font-size: 0.9rem;
        padding: 8px 16px !important;
        border-radius: 10px;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .navbar-nav .nav-link i {
        font-size: 1rem;
        opacity: 0.6;
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover {
        color: white !important;
        background: rgba(255, 255, 255, 0.06);
    }

    .navbar-nav .nav-link:hover i {
        opacity: 1;
    }

    .navbar-nav .nav-link.active {
        color: white !important;
        background: rgba(88, 166, 255, 0.12);
    }

    .navbar-nav .nav-link.active i {
        opacity: 1;
        color: var(--accent);
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 20px;
        height: 2px;
        background: var(--accent);
        border-radius: 2px;
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        transform: translateX(-50%) scaleX(1);
    }
}

/* Hamburger Button */
.navbar-toggler {
    border: none !important;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-toggler-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   MOBILE SIDEBAR - 100% WIDTH
   ============================================ */

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        overflow-y: auto;
        border-left: none;
        display: flex !important;
        flex-direction: column;
    }

    .navbar-collapse.show {
        right: 0;
    }

    /* Overlay */
    .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .navbar-collapse.show::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* Sidebar Header */
    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        margin-bottom: 20px;
    }

    .sidebar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        text-decoration: none;
    }

    .sidebar-brand i {
        color: var(--accent);
        font-size: 1.4rem;
    }

    .sidebar-close {
        width: 44px;
        height: 44px;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.4rem;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: rotate(90deg);
    }

    /* Sidebar Navigation */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 14px 20px !important;
        border-radius: 12px;
        font-weight: 500;
        font-size: 1.05rem;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        text-decoration: none;
    }

    .navbar-nav .nav-link i {
        font-size: 1.3rem;
        width: 28px;
        text-align: center;
        opacity: 0.6;
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover {
        color: white !important;
        background: rgba(255, 255, 255, 0.06);
        transform: translateX(6px);
    }

    .navbar-nav .nav-link:hover i {
        opacity: 1;
        color: var(--accent);
    }

    .navbar-nav .nav-link.active {
        color: white !important;
        background: rgba(88, 166, 255, 0.12);
    }

    .navbar-nav .nav-link.active i {
        opacity: 1;
        color: var(--accent);
    }

    /* Sidebar Footer */
    .sidebar-footer {
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        margin-top: auto;
    }

    .sidebar-social {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    .sidebar-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.4);
        transition: var(--transition);
        font-size: 1.1rem;
    }

    .sidebar-social a:hover {
        background: rgba(88, 166, 255, 0.15);
        color: var(--accent);
        transform: translateY(-3px);
    }

    .sidebar-version {
        text-align: center;
        margin-top: 14px;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.2);
        letter-spacing: 2px;
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: var(--accent) !important;
}

.page-header h1 {
    font-weight: 800;
    font-size: 2.8rem;
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
}

/* ============================================
   SECTION HEADER
   ============================================ */

.section-header .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: var(--accent) !important;
}

.section-header h2 {
    font-weight: 800;
    font-size: 2.2rem;
    margin-top: 8px;
}

.section-header .text-muted {
    color: var(--text-muted) !important;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f6ff;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.social-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e17 0%, #141e2b 50%, #1a2a3a 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.bg-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, #58a6ff, transparent 70%);
    animation: floatCircle 20s ease-in-out infinite;
}

.bg-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, #ff6b6b, transparent 70%);
    animation: floatCircle 25s ease-in-out infinite reverse;
}

.bg-circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 30%;
    background: radial-gradient(circle, #f7c948, transparent 70%);
    animation: floatCircle 18s ease-in-out infinite 2s;
}

.bg-circle-4 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, #58a6ff, transparent 70%);
    animation: floatCircle 15s ease-in-out infinite 3s;
}

@keyframes floatCircle {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(88, 166, 255, 0.12);
    border: 1px solid rgba(88, 166, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #58a6ff;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #58a6ff;
    border-radius: 50%;
    margin-left: 6px;
    animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: #58a6ff;
    margin-bottom: 12px;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.hero-social {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
}

.hero-social-link:hover {
    background: #58a6ff;
    color: #ffffff;
    border-color: #58a6ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-hero .btn-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, #58a6ff, #3b7ddb);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(88, 166, 255, 0.35);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(88, 166, 255, 0.5);
}

.btn-hero.btn-hero-outline {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.2rem;
}

.btn-hero-icon:hover {
    background: #58a6ff;
    color: #ffffff;
    border-color: #58a6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    border: 2px solid rgba(88, 166, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero-image:hover {
    transform: scale(1.02);
    border-color: rgba(88, 166, 255, 0.4);
}

.hero-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    background: linear-gradient(135deg, #1a2a3a, #0a0e17);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(88, 166, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-avatar span {
    font-size: 6rem;
    font-weight: 800;
    color: #58a6ff;
    letter-spacing: 2px;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(88, 166, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: floatBadge 4s ease-in-out infinite;
}

.floating-badge i {
    font-size: 1.1rem;
    color: #58a6ff;
}

.floating-badge.badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}
.floating-badge.badge-2 {
    bottom: 20%;
    left: -15%;
    animation-delay: 1.5s;
}
.floating-badge.badge-3 {
    bottom: 10%;
    right: -5%;
    animation-delay: 3s;
}

@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ============================================
   HERO RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-image-container {
        max-width: 350px;
        margin: 0 auto;
    }
    .floating-badge.badge-1 {
        right: 0;
        top: 5%;
    }
    .floating-badge.badge-2 {
        left: 0;
        bottom: 15%;
    }
    .floating-badge.badge-3 {
        right: 0;
        bottom: 5%;
    }
    .bg-circle-1 {
        width: 400px;
        height: 400px;
    }
    .bg-circle-2 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-image-container {
        max-width: 280px;
        margin: 0 auto 30px;
    }
    .hero-avatar span {
        font-size: 4rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    .btn-hero-icon {
        width: 100%;
        justify-content: center;
    }
    .floating-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
        gap: 4px;
    }
    .floating-badge i {
        font-size: 0.8rem;
    }
    .floating-badge.badge-1 {
        top: 2%;
        right: 5%;
    }
    .floating-badge.badge-2 {
        bottom: 10%;
        left: 5%;
    }
    .floating-badge.badge-3 {
        bottom: 2%;
        right: 5%;
    }
    .bg-circle-1 {
        width: 250px;
        height: 250px;
        right: -50px;
    }
    .bg-circle-2 {
        width: 200px;
        height: 200px;
        left: -50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-image-container {
        max-width: 220px;
    }
    .hero-avatar span {
        font-size: 3rem;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    .floating-badge {
        display: none;
    }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--radius);
    border: 4px solid var(--accent);
}

.about-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f6ff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 4px solid var(--accent);
}

.info-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.info-item strong {
    width: 90px;
    display: inline-block;
}
.info-item strong i {
    width: 20px;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(88, 166, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    color: var(--accent);
}

.service-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-dot.current {
    background: #28a745;
    box-shadow: 0 0 0 2px #28a745;
}

.timeline-content {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.timeline-header h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.timeline-header h6 {
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.achievement-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.achievement-list li {
    padding: 4px 0;
    font-size: 0.9rem;
}

.achievement-list li i {
    margin-right: 10px;
    color: #28a745;
}

/* ============================================
   EDUCATION CARDS
   ============================================ */

.education-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent);
    height: 100%;
    border: 1px solid var(--border);
    border-left-width: 4px;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.edu-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   CERTIFICATE CARDS
   ============================================ */

.certificate-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.cert-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* ============================================
   ACHIEVEMENT CARDS
   ============================================ */

.achievement-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.achievement-card.featured {
    border-color: #ffc107;
    background: #fffdf5;
}

.achievement-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 12px;
}

/* ============================================
   PROJECT CARDS
   ============================================ */

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay .btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
}

.project-body {
    padding: 18px 20px;
}

.project-body h5 {
    font-weight: 700;
    font-size: 1rem;
    margin: 8px 0 6px;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.tech-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #f0f6ff;
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.filter-buttons .btn {
    margin: 0 5px 10px;
    border-radius: 50px;
    padding: 8px 24px;
}

.filter-buttons .btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ============================================
   SKILLS PAGE
   ============================================ */

.skill-category-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    height: 100%;
}

.skill-category-card .category-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    display: inline-block;
    padding: 4px 14px;
    background: #f0f6ff;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.skill-tag.expert {
    background: #d4edda;
    border-color: #28a745;
}
.skill-tag.advanced {
    background: #cce5ff;
    border-color: var(--accent);
}
.skill-tag.intermediate {
    background: #fff3cd;
    border-color: #ffc107;
}
.skill-tag.beginner {
    background: #f8f9fa;
    border-color: var(--text-muted);
}

.skill-tag small {
    font-size: 0.65rem;
    opacity: 0.7;
    margin-left: 4px;
}

.proficiency-legend .badge {
    margin-right: 5px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-info-card,
.contact-form-card {
    height: 100%;
    border: 1px solid var(--border);
    background: white;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(88, 166, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h6 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    color: var(--text);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
}

#contactForm .form-control {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

#contactForm .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ============================================
   PROJECT SINGLE PAGE
   ============================================ */

.project-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0 60px;
}

.project-hero .badge {
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
}

.project-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 15px;
}

.project-hero .lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.project-meta-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.project-featured-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.project-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.project-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.project-content h4 {
    font-weight: 700;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-content h4 i {
    color: var(--accent);
    margin-right: 10px;
}

.project-content ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.project-content ul li {
    margin-bottom: 8px;
}

.project-sidebar {
    position: sticky;
    top: 100px;
}

.project-sidebar .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.project-sidebar .card-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.project-sidebar .card-title i {
    color: var(--accent);
    margin-right: 10px;
}

.tech-badge {
    display: inline-block;
    padding: 5px 14px;
    background: #f0f6ff;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0 4px 8px 0;
    border: 1px solid var(--border);
}

.tech-badge:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-list .value {
    color: var(--primary);
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.related-project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    height: 100%;
}

.related-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.related-project-card .image {
    height: 180px;
    overflow: hidden;
}

.related-project-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-project-card:hover .image img {
    transform: scale(1.05);
}

.related-project-card .body {
    padding: 18px 20px;
}

.related-project-card .body h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-project-card .body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* ============================================
   CV PAGE
   ============================================ */

.cv-container {
    max-width: 1100px;
    margin: 30px auto;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.cv-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 45px 50px;
}

.cv-header .name {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cv-header .title {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 500;
}

.cv-header .contact-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
}

.cv-header .contact-info i {
    color: var(--accent);
    margin-right: 8px;
    width: 16px;
}

.cv-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0;
}

.cv-main {
    padding: 40px 45px;
    background: white;
}

.cv-sidebar {
    padding: 40px 30px;
    background: var(--bg-light);
    border-left: 1px solid var(--border);
}

.cv-section {
    margin-bottom: 32px;
}

.cv-section:last-child {
    margin-bottom: 0;
}

.cv-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cv-section-title i {
    color: var(--accent);
    font-size: 1.1rem;
}

.profile-summary {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 0;
}

.competency-item {
    margin-bottom: 24px;
    padding: 18px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.competency-item:hover {
    background: #f0f6ff;
    transform: translateX(4px);
}

.competency-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.competency-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
}

.competency-level {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 20px;
    background: var(--accent);
    color: white;
}

.competency-level.expert {
    background: #28a745;
}
.competency-level.advanced {
    background: var(--accent);
}
.competency-level.intermediate {
    background: #ffc107;
    color: var(--primary);
}
.competency-level.beginner {
    background: var(--text-muted);
}

.competency-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 10px;
}

.competency-evidence {
    margin-top: 6px;
    padding-left: 0;
    list-style: none;
}

.competency-evidence li {
    font-size: 0.88rem;
    color: #444;
    padding: 2px 0 2px 20px;
    position: relative;
}

.competency-evidence li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.experience-item {
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.exp-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.exp-company {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
}

.exp-date {
    color: var(--text-muted);
    font-size: 0.82rem;
    white-space: nowrap;
    padding-top: 2px;
}

.exp-description {
    font-size: 0.9rem;
    color: #444;
    margin-top: 4px;
}

.exp-achievements {
    list-style: none;
    padding-left: 0;
    margin-top: 6px;
}

.exp-achievements li {
    font-size: 0.88rem;
    color: #555;
    padding: 2px 0 2px 20px;
    position: relative;
}

.exp-achievements li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.cv-actions {
    padding: 20px 45px 30px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cv-actions .btn {
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cv-actions .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.cv-actions .btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.cv-actions .btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.cv-actions .btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
}

.stat-item .stat-number {
    font-weight: 800;
    color: white;
}

.stat-item .stat-label {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ============================================
   FILTER SECTION
   ============================================ */

.filter-section {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.search-form .input-group-text {
    background: white;
    border-right: none;
    color: var(--text-muted);
}

.search-form .form-control {
    border-left: none;
    padding: 10px 15px;
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--accent);
}

.search-form .btn-primary {
    border-radius: 0 8px 8px 0;
    padding: 10px 20px;
}

.filter-section .form-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
}

.filter-section .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

/* ============================================
   PROJECT PLACEHOLDER
   ============================================ */

.project-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #1a2332, #0d1117);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
}

.project-image-placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.05);
}

.project-image-placeholder-content i {
    font-size: 4rem;
}

.project-image-placeholder-content span {
    display: block;
    font-size: 0.9rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.1);
}

.project-overlay-content {
    display: flex;
    gap: 10px;
}

.project-overlay-content .btn {
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 8px;
}

.project-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.project-actions .btn-sm {
    padding: 4px 12px;
    font-size: 0.75rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination .page-link {
    border: none;
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--accent);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--accent);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state i {
    opacity: 0.3;
}

.empty-state .btn-outline-primary {
    border-radius: 8px;
    padding: 10px 30px;
}
/* ============================================
   BACK TO TOP BUTTON - FIXED
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), #3b7ddb);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(88, 166, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #3b7ddb, var(--accent));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(88, 166, 255, 0.5);
    color: #ffffff;
}

.back-to-top:active {
    transform: scale(0.9);
}

.back-to-top i {
    font-size: 1.4rem;
    transition: var(--transition);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Tooltip on hover */
.back-to-top::after {
    content: 'Back to Top';
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.back-to-top::before {
    content: '';
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    border: 6px solid transparent;
    border-left-color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.back-to-top:hover::after,
.back-to-top:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.back-to-top:hover::before {
    right: calc(100% + 8px);
    transform: translateY(-50%) scale(1);
}

/* ============================================
   BACK TO TOP - RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top i {
        font-size: 1.2rem;
    }
    
    .back-to-top::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, #0a0e17 0%, #141e2b 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    margin-top: 0;
    border-top: 1px solid rgba(88, 166, 255, 0.05);
}

.footer-brand {
    margin-bottom: 10px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-logo i {
    color: #58a6ff;
    font-size: 1.8rem;
}

.footer-logo:hover {
    color: #58a6ff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer-social-wrapper {
    margin-top: 5px;
}

.footer-social-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 1.1rem;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-social-link .social-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: #1a2332;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social-link .social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a2332;
}

.footer-social-link:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: currentColor;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-social-link:hover i {
    color: #ffffff !important;
    transform: scale(1.1);
}

.footer-social-link:hover .social-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.footer-social-link:hover::before {
    opacity: 0.15;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #58a6ff, transparent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 5px 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 0.6rem;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #58a6ff;
    transform: translateX(4px);
}

.footer-links a:hover i {
    opacity: 1;
    color: #58a6ff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-contact li:last-child {
    border-bottom: none;
}

.footer-contact li i {
    color: #58a6ff;
    font-size: 1.1rem;
    margin-top: 2px;
    width: 20px;
}

.footer-contact li div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-contact li a,
.footer-contact li span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-contact li a:hover {
    color: #58a6ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #58a6ff;
}

.footer-tech-badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-tech-badge i {
    color: rgba(255, 255, 255, 0.2);
    margin-right: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .cv-body {
        grid-template-columns: 1fr;
    }
    .cv-sidebar {
        border-left: none;
        border-top: 1px solid var(--border);
    }
    .cv-header .name {
        font-size: 2rem;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .project-hero h1 {
        font-size: 2.2rem;
    }
    .footer {
        padding: 40px 0 0;
    }
    .footer-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cv-container {
        margin: 10px;
        border-radius: 10px;
    }
    .cv-header {
        padding: 25px 20px;
    }
    .cv-header .name {
        font-size: 1.6rem;
    }
    .cv-main {
        padding: 25px 20px;
    }
    .cv-sidebar {
        padding: 25px 20px;
    }
    .cv-actions {
        padding: 15px 20px;
        flex-direction: column;
    }
    .cv-actions .btn {
        width: 100%;
        text-align: center;
    }
    .exp-header {
        flex-direction: column;
    }
    .exp-date {
        white-space: normal;
        margin-top: 2px;
    }
    .competency-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .competency-level {
        margin-top: 4px;
    }
    .page-header {
        padding: 60px 0 40px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .timeline {
        padding-left: 20px;
    }
    .timeline-dot {
        left: -18px;
        width: 12px;
        height: 12px;
    }
    .timeline-header {
        flex-direction: column;
    }
    .timeline-date {
        white-space: normal;
        margin-top: 4px;
    }
    .info-item strong {
        width: 70px;
    }
    .edu-header {
        flex-direction: column;
    }
    .project-hero {
        padding: 60px 0 40px;
    }
    .project-hero h1 {
        font-size: 1.8rem;
    }
    .project-content-section {
        padding: 40px 0;
    }
    .project-sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .footer-brand {
        text-align: center;
    }
    .footer-description {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social-wrapper {
        text-align: center;
    }
    .footer-social-links {
        justify-content: center;
    }
    .footer-heading {
        text-align: center;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links {
        text-align: center;
    }
    .footer-links a {
        justify-content: center;
    }
    .footer-contact {
        text-align: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 8px;
    }
    .footer-tech-badge {
        margin: 2px;
    }
    .filter-section .input-group {
        width: 100%;
    }
    .filter-section .form-select {
        width: 100%;
    }
    .project-overlay-content {
        flex-direction: column;
        align-items: center;
    }
    .project-overlay-content .btn {
        width: 100%;
        text-align: center;
    }
    .stat-item .stat-number {
        font-size: 1.5rem !important;
    }
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .project-image {
        height: 180px;
    }
    .project-image-placeholder {
        height: 180px;
    }
    .pagination .page-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    .footer-social-link {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    .footer-logo {
        font-size: 1.2rem;
    }
    .footer-logo i {
        font-size: 1.4rem;
    }
    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }
    .footer-contact li i {
        margin-top: 0;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background: white !important;
        padding: 0 !important;
    }
    .cv-container {
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .cv-actions,
    .navbar,
    .footer,
    .back-to-top,
    .preloader-wrapper,
    .no-print {
        display: none !important;
    }
    .cv-header {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .competency-item {
        break-inside: avoid;
    }
    .cv-sidebar {
        background: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .skill-tag {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}