/* ===================================
   GLOBAL STYLES & VARIABLES
   =================================== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-text: #f1f5f9;
    --gray-text: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 90px;
}

/* ===================================
   CUSTOM SCROLLBAR
   =================================== */
/* For Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
    border-left: 1px solid rgba(99, 102, 241, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    border: 2px solid var(--darker-bg);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: var(--primary-color);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #667eea var(--darker-bg);
}

/* Custom scrollbar for specific elements */
.modal-body::-webkit-scrollbar,
.lightbox-thumbnails::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.modal-body::-webkit-scrollbar-thumb,
.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-track,
.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar-custom {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-custom.scrolled {
    top: 10px;
}

.navbar-custom .container {
    max-width: 1400px;
}

.navbar-content {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
    transition: all 0.4s ease;
}

.navbar-custom.scrolled .navbar-content {
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

/* Brand Logo */
.navbar-brand-custom {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-brand-custom:hover {
    transform: scale(1.05);
}

.brand-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-initial {
    background: var(--gradient-1);
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    }
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--gray-text);
    line-height: 1;
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 25px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

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

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Active Link */
.nav-link.active {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-link.active::before {
    display: none;
}

.nav-link.active i {
    animation: bounce-icon 0.6s ease;
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* CTA Button */
.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-cta-btn:hover::before {
    left: 100%;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.nav-cta-btn i {
    transition: transform 0.3s ease;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--light-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
@media (max-width: 991px) {
    body {
        padding-top: 80px;
    }
    
    .navbar-custom {
        top: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .brand-text-wrapper {
        display: none;
    }
    
    .navbar-menu {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: calc(100% - 40px);
        max-width: 500px;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: 20px;
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    
    .navbar-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.8rem 1.2rem;
    }
    
    .nav-cta-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 575px) {
    .navbar-content {
        padding: 0.6rem 1rem;
    }
    
    .brand-initial {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: #00f2fe;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

/* Hero Content */
.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    animation: slideInLeft 0.8s ease;
}

.hero-badge i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--light-text);
    animation: slideInLeft 0.8s ease 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.typing-container {
    animation: slideInLeft 0.8s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-text);
}

.typed-text {
    color: var(--primary-color);
    font-weight: 700;
}

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

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
    max-width: 600px;
    animation: slideInLeft 0.8s ease 0.6s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease 0.8s both;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    font-weight: 500;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease 1s both;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-outline-light {
    border: 2px solid rgba(241, 245, 249, 0.3);
    color: var(--light-text);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(241, 245, 249, 0.1);
    border-color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(241, 245, 249, 0.2);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 0.8s ease 1.2s both;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    animation: slideInRight 0.8s ease 0.4s both;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    position: relative;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    border: 3px solid rgba(99, 102, 241, 0.3);
    object-fit: cover;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(99, 102, 241, 0.3);
    border: 3px solid rgba(99, 102, 241, 0.3);
    animation: morph 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.profile-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shine 3s infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

@keyframes shine {
    0% {
        transform: rotate(0deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(360deg) translate(-50%, -50%);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: float-card 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--light-text);
}

.floating-card p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--gray-text);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 5%;
    right: 10%;
    animation-delay: 2s;
}

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

/* Decoration Circles */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(99, 102, 241, 0.3);
    animation: rotate 20s linear infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: reverse;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeIn 1s ease 2s both;
}

.scroll-indicator a {
    text-decoration: none;
    color: var(--gray-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.scroll-indicator a:hover {
    color: var(--light-text);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray-text);
    border-radius: 15px;
    position: relative;
}

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

@keyframes scroll-down {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

.scroll-indicator p {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 100px 0;
    overflow: hidden;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--light-text);
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

/* About Image Container */
.about-image-container {
    position: relative;
    margin-bottom: 2rem;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    border: 3px solid rgba(99, 102, 241, 0.3);
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* About Decoration Circles */
.about-decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(99, 102, 241, 0.3);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.about-decoration-circle.circle-1 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-decoration-circle.circle-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: reverse;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    animation: float-card 3s ease-in-out infinite;
    z-index: 3;
}

.experience-badge h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin: 0.5rem 0 0 0;
    line-height: 1.4;
}

/* Personal Info Grid */
.personal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 600;
}

/* Skills Tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* About Buttons */
.about-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================
   PROJECTS SECTION
   =================================== */
.projects-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 0;
    overflow: hidden;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Project Card */
.project-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.project-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Project Images */
.project-images {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.project-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    height: 100%;
    width: 100%;
}

.project-image-single {
    width: 100%;
    height: 100%;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    cursor: pointer;
}

.project-img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .image-overlay {
    opacity: 1;
}

.image-count {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Project Content */
.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.8rem;
}

.project-description {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-tag {
    margin-bottom: 1rem;
}

.project-tag span {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-view-details {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-view-details:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.btn-view-details:hover i {
    transform: translateX(5px);
}

/* Project Modals */
.project-modal {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: var(--light-text);
}

.project-modal .modal-header {
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1.5rem;
}

.project-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.project-modal .modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.project-gallery img {
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.02);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Custom Scrollbar for Modal */
.project-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.project-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
}

.project-modal .modal-body::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

.project-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Service Card */
.service-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Service Subsections */
.service-subsections {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.subsection-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.subsection-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.subsection-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.subsection-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.3rem;
}

.subsection-content p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.5;
}

/* Wide Service Card (for Backlink) */
.service-wide {
    text-align: center;
}

.service-wide .service-icon {
    margin: 0 auto 1.5rem;
}

.service-wide .service-title {
    font-size: 2rem;
}

.service-wide .service-description {
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Subsections Grid (for Backlink) */
.service-subsections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-subsections-grid .subsection-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.service-subsections-grid .subsection-item:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}

.service-subsections-grid .subsection-icon {
    margin: 0 auto 1rem;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.service-subsections-grid .subsection-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.service-subsections-grid .subsection-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.subsection-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subsection-features li {
    font-size: 0.9rem;
    color: var(--gray-text);
    padding: 0.3rem 0;
}

/* Services CTA */
.services-cta-text {
    font-size: 1.3rem;
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.contact-info-subtitle {
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Info Items */
.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.contact-info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.3rem;
}

.contact-info-content p,
.contact-info-content a {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

/* Contact Social Links */
.contact-social-links {
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-social-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-links-grid .social-link {
    width: 100%;
    aspect-ratio: 1;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.form-label i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.form-control:focus {
    outline: none;
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: var(--gray-text);
    opacity: 0.6;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

select.form-control {
    cursor: pointer;
}

/* Form Response */
.form-response {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.form-response.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-response.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
}

.footer-main {
    padding-bottom: 3rem;
}

/* Footer Widget */
.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .brand-logo {
    margin-bottom: 1rem;
}

.footer-brand .brand-logo .brand-initial {
    background: var(--gradient-1);
    color: white;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 1rem 0 0.3rem 0;
}

.footer-tagline {
    color: var(--gray-text);
    font-size: 1rem;
    margin: 0;
}

.footer-description {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-copyright {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links .separator {
    color: rgba(99, 102, 241, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5);
}

.lightbox-image-container {
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox-image:active {
    cursor: grabbing;
}

.lightbox-caption {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lightbox-counter {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    max-width: 90%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

.lightbox-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lightbox-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-image-container {
        margin-top: 3rem;
    }
    
    .floating-card {
        padding: 0.8rem 1rem;
    }
    
    .floating-card h4 {
        font-size: 1.2rem;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 1rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-image-container {
        margin-bottom: 3rem;
    }
    
    .experience-badge {
        right: 10px;
        bottom: 10px;
        padding: 1rem 1.5rem;
    }
    
    .experience-badge h3 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .profile-placeholder {
        font-size: 5rem;
    }
    
    .shape {
        filter: blur(40px);
    }
    
    .personal-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .skills-tags {
        gap: 0.5rem;
    }
    
    .skill-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-buttons .btn {
        width: 100%;
    }
    
    .project-images {
        height: 220px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .service-subsections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-wrapper {
        margin-bottom: 2rem;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
}
