/* ===================== 
   GLOBAL STYLES
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

html, body {
    cursor: default;
}

a, button, [onclick], .skill-badge, .portfolio-card, .testimonial-card {
    cursor: pointer;
}

/* =====================
   CUSTOM CURSOR
   ===================== */

.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    opacity: 1;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    opacity: 1;
}

a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor,
.skill-badge:hover ~ .custom-cursor {
    width: 50px;
    height: 50px;
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(255, 107, 157, 0.5);
}

:root {
    /* Colors */
    --primary-color: #00d4ff;
    --secondary-color: #ff6b9d;
    --dark-bg: #0f1419;
    --dark-bg-2: #1a1f2e;
    --dark-bg-3: #252d3d;
    --text-primary: #e8eef7;
    --text-secondary: #a8b2c6;
    --text-muted: #7a8299;
    --border-color: #2a3547;
    --accent-gold: #ffd700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.5rem;
}

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    cursor: none;
}

@media (max-width: 768px) {
    html {
        cursor: auto;
    }
    
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================== 
   UTILITY CLASSES
   ===================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-title {
    font-size: var(--fs-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: var(--spacing-md) auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

/* ===================== 
   BUTTONS
   ===================== */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: var(--fs-base);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0fa3cc);
    color: var(--dark-bg);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--dark-bg-2);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary-full {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* ===================== 
   HEADER & NAVIGATION
   ===================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: var(--spacing-md) var(--spacing-lg);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-2xl);
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: var(--fs-xl);
}

.logo {
    width: 85px;
    height: 85px;
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.logo:hover {
    transform: scale(1.08) rotateY(5deg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.brand-name {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    flex: 1;
    justify-content: center;
}

.language-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    padding: 8px 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Currency Toggle */
.currency-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
}

.currency-btn {
    padding: 8px 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.currency-btn.active {
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    color: var(--dark-bg);
    border-color: #ff6b9d;
}

.currency-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: var(--fs-sm);
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--fs-sm);
    cursor: pointer;
    padding-bottom: 4px;
    transition: all 0.3s ease;
    font-family: 'Poppins', Arial, sans-serif;
    position: relative;
}

.nav-dropdown-btn:hover {
    color: var(--primary-color);
}

.nav-dropdown-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-dropdown-btn:hover::after {
    width: 100%;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 31, 46, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 240px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
    overflow: hidden;
}

.nav-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-label {
    padding: 10px 20px;
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.05);
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: static;
    font-size: var(--fs-sm);
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding-left: 28px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
    margin-left: auto;
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-language-toggle {
    display: none;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    justify-content: center;
}

.nav-language-toggle .lang-btn {
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.nav-language-toggle .lang-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

/* Mobile Navigation Breakpoint */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .header .container {
        gap: 0;
        padding: 12px 16px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .language-toggle {
        display: none !important;
    }
    
    .currency-toggle {
        display: none !important;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        max-height: 500px;
        overflow: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        justify-content: flex-start;
    }
    
    .nav-menu a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
        display: block;
        font-size: 16px;
        flex: none;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu a:hover {
        color: var(--primary-color);
        padding-left: 10px;
    }
    
    .nav-language-toggle {
        display: flex;
    }
}

/* ===================== 
   HERO SECTION
   ===================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    overflow: hidden;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.08), transparent);
    border-radius: 50%;
    bottom: 20%;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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;
    }
}

@keyframes textGlow {
    from {
        opacity: 0;
        text-shadow: 0 0 10px rgba(0, 212, 255, 0);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: slideUpFadeIn 0.8s ease-out;
}

.hero-title {
    font-size: var(--fs-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -2px;
    animation: textGlow 0.6s ease-out;
}

.hero-subtitle {
    font-size: var(--fs-3xl);
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    font-weight: 400;
    animation: slideInRight 0.8s ease-out 0.3s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUpFadeIn 0.8s ease-out 0.4s backwards;
}

.hero-cta .btn {
    font-size: var(--fs-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: -1;
}

.hero-cta .btn:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* ===================== 
   ABOUT SECTION
   ===================== */

.about {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02), rgba(255, 107, 157, 0.02));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.about-intro {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.skills {
    background: var(--dark-bg-2);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.skills h3,
.services-focus h3 {
    font-size: var(--fs-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.skill-badge {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 157, 0.1));
    border: 1px solid var(--border-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    animation: slideUpFadeIn 0.6s ease-out;
    cursor: pointer;
}

.skill-badge:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.services-focus {
    background: var(--dark-bg-2);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: var(--spacing-xl);
}

.focus-list {
    list-style: none;
}

.focus-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    font-size: var(--fs-base);
    line-height: 1.8;
}

.focus-list li::before {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
}

/* ===================== 
   PORTFOLIO SECTION
   ===================== */

.portfolio {
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.portfolio-category {
    margin-bottom: var(--spacing-2xl);
}

.category-title {
    font-size: var(--fs-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.portfolio-card {
    background: var(--dark-bg-2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 380px;
}

/* Title section - Always visible */
.portfolio-title-section {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--dark-bg-2);
    border-bottom: 1px solid var(--border-color);
    z-index: 5;
    position: relative;
}

.portfolio-header {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
}

/* Image container */
.portfolio-image-wrapper {
    flex: 1;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image-wrapper img {
    transform: scale(1.1);
}

/* Overlay content - visible on hover */
.portfolio-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(15, 20, 25, 0.9) 40%, rgba(15, 20, 25, 0.99) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.portfolio-card:hover .portfolio-content {
    opacity: 1;
}

/* Category label - visible always */
.portfolio-category-label {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--primary-color);
    color: #0f1419;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 600;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-category-label {
    opacity: 1;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

.portfolio-desc {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    max-height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* ===================== 
   PORTFOLIO MODAL
   ===================== */

.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.modal-container {
    position: relative;
    background: var(--dark-bg-2);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid #ff6b9d;
    color: #ff6b9d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 11;
}

.modal-close:hover {
    background: rgba(255, 107, 157, 0.2);
    transform: scale(1.1);
}

.modal-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-image-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-image-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: rgba(0, 212, 255, 0.05);
}

.modal-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.modal-image-main:hover img {
    transform: scale(1.05);
}

.modal-image-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.modal-thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.05);
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: scale(1.05);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-details-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-item-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-category {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.modal-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 10px;
    word-break: break-word;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.modal-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-tags h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    margin: 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.modal-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
}

.portfolio-card {
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .modal-content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }

    .modal-image-main {
        aspect-ratio: 4 / 3;
    }

    .modal-details-section {
        gap: 20px;
    }

    .modal-item-title {
        font-size: 22px;
    }

    .modal-description {
        font-size: 14px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 98%;
        border-radius: 8px;
    }

    .modal-content-wrapper {
        padding: 15px;
        gap: 20px;
    }

    .modal-item-title {
        font-size: 18px;
    }

    .modal-header {
        gap: 8px;
    }

    .modal-image-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .modal-thumbnail {
        width: auto;
        height: 60px;
    }
}

/* ===================== 
   PRICING SECTION
   ===================== */

.pricing {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.02), rgba(0, 212, 255, 0.02));
}

.pricing-subtitle {
    text-align: center;
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.pricing-card {
    background: var(--dark-bg-2);
    border: 1px solid var(--border-color);
    padding: var(--spacing-xl);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 107, 157, 0.05));
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: var(--fs-xs);
}

.pricing-header h3 {
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.pricing-category {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-lg);
}

.pricing-price {
    font-size: var(--fs-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

.pricing-price .currency {
    font-size: var(--fs-lg);
}

.pricing-price .period {
    color: var(--text-secondary);
    font-size: var(--fs-base);
    margin-left: var(--spacing-sm);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    flex-grow: 1;
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===================== 
   TESTIMONIAL SECTION
   ===================== */

.testimonial {
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background: var(--dark-bg-2);
    border: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: slideUpFadeIn 0.6s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-12px) rotateY(2deg);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.testimonial-info h4 {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-info p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: var(--fs-base);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-rating {
    font-size: var(--fs-lg);
}

/* ===================== 
   CONTACT SECTION
   ===================== */

.contact {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02), rgba(255, 107, 157, 0.02));
}

.contact-subtitle {
    text-align: center;
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-card {
    background: var(--dark-bg-2);
    border: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.contact-card h3 {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-sm);
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: var(--dark-bg-3);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: var(--fs-base);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* ===================== 
   FOOTER
   ===================== */

.footer {
    background: var(--dark-bg-2);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* ===================== 
   RESPONSIVE DESIGN
   ===================== */

@media (max-width: 768px) {
    :root {
        --fs-4xl: 2rem;
        --fs-3xl: 1.75rem;
        --fs-2xl: 1.5rem;
        --fs-xl: 1.25rem;
        --spacing-2xl: 2.5rem;
        --spacing-xl: 2rem;
    }

    .header {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .header .container {
        flex-direction: row;
        gap: var(--spacing-sm);
        justify-content: space-between;
    }

    .nav-menu {
        gap: var(--spacing-sm);
        font-size: var(--fs-xs);
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .brand-name {
        font-size: var(--fs-base);
        display: none;
    }

    .hero {
        min-height: 90vh;
        padding: var(--spacing-xl) var(--spacing-md);
        margin-top: 90px;
    }

    .hero-bg {
        width: 300px;
        height: 300px;
        top: 20%;
        right: -50px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .skill-list {
        gap: var(--spacing-sm);
    }

    .skill-badge {
        font-size: var(--fs-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
        --fs-2xl: 1.25rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .hero {
        min-height: 100vh;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .hero-title {
        font-size: var(--fs-3xl);
    }

    .hero-subtitle {
        font-size: var(--fs-2xl);
    }

    .section-title {
        font-size: var(--fs-2xl);
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--fs-sm);
    }

    .about,
    .portfolio,
    .pricing,
    .testimonial,
    .contact,
    .footer {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .portfolio-card,
    .testimonial-card,
    .pricing-card {
        padding: var(--spacing-md);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .skills,
    .services-focus {
        padding: var(--spacing-lg);
    }

    .footer-content {
        gap: var(--spacing-lg);
    }
}

/* ===================== 
   ANIMATIONS & TRANSITIONS
   ===================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card,
.testimonial-card,
.pricing-card {
    animation: slideInUp 0.6s ease-out;
}

/* Smooth scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===================== 
   LANGUAGE TOGGLE
   ===================== */

.language-toggle {
    position: relative;
    display: flex;
    gap: var(--spacing-xs);
    background: var(--dark-bg-2);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    margin-left: 0;
    flex-shrink: 0;
}

.lang-btn {
    padding: 8px 14px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: var(--fs-sm);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

@media (max-width: 768px) {
    .language-toggle {
        margin-left: auto;
        padding: 4px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: var(--fs-xs);
    }
}
