:root {
    /* Premium Dark Theme */
    --primary: #0D1B2A;
    --primary-light: #1B263B;
    --secondary: #415A77;
    --accent: #778DA9;
    --gold: #D4AF37;
    --platinum: #E5E4E2;
    --success: #00D4AA;
    --warning: #FFB800;
    --error: #FF3B30;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Backgrounds */
    --bg-primary: #0D1B2A;
    --bg-secondary: #1B263B;
    --bg-tertiary: #415A77;
    --bg-glass: rgba(13, 27, 42, 0.8);
    --bg-card: rgba(27, 38, 59, 0.6);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E5E4E2;
    --text-tertiary: #778DA9;
    --text-muted: #64748B;
    
    /* Shadows & Effects */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-premium: 0 24px 64px rgba(212, 175, 55, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    --gradient-accent: linear-gradient(135deg, #778DA9 0%, #415A77 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(27, 38, 59, 0.9) 100%);
}

.light-theme {
    /* Light theme */
    --dark-bg: #f0f5ff;
    --darker-bg: #e6efff;
    --text-color: #1a202c;
    --bg-color: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.9);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-text: #4a5568;
    --hero-gradient-1: rgba(240, 245, 255, 0.9);
    --hero-gradient-2: rgba(230, 239, 255, 0.9);
    --modal-bg: rgba(255, 255, 255, 0.95);
    --skill-tag-bg: rgba(203, 213, 224, 0.3);
    --skill-tag-text: #2d3748;
}

/* Hero text color fix for light theme */
.light-theme .hero {
    color: #1a202c; /* Dark text for light background */
}

.light-theme .hero h1,
.light-theme .hero h2 {
    color: #1a202c;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.light-theme .social a {
    color: #1a202c;
    background-color: rgba(43, 108, 176, 0.2);
}

.light-theme .social a:hover {
    background-color: rgba(43, 108, 176, 0.4);
}

/* Make the pulse animation more visible */
.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(4, 120, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(4, 120, 87, 0);
    }
}

/* Fix for light theme modal button */
.light-theme .modal-btn {
    color: white;
}

/* Process Section Styles */
.process-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(119, 141, 169, 0.05) 0%, rgba(65, 90, 119, 0.05) 100%);
    z-index: 1;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.process-step {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(119, 141, 169, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: var(--gold);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 20px 20px 0 0;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--shadow-medium);
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.process-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.process-details span {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.guarantee-card {
    background: var(--gradient-gold);
    border-radius: 25px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 15s linear infinite;
}

.guarantee-content {
    flex: 1;
    color: var(--primary);
}

.guarantee-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.guarantee-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.guarantee-badge {
    width: 80px;
    height: 80px;
    background: rgba(13, 27, 42, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-left: 30px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guarantee-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .guarantee-badge {
        margin-left: 0;
    }
    
    .process-step {
        padding: 30px 20px;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: stars-move 30s linear infinite;
    z-index: 1;
}

@keyframes stars-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(119, 141, 169, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 20px 20px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--gold);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 1.2rem;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 30px 0;
    font-style: italic;
    position: relative;
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: Georgia, serif;
    opacity: 0.3;
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-title {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.success-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid rgba(119, 141, 169, 0.1);
    text-align: center;
}

.metric {
    position: relative;
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 10px;
    font-family: var(--font-display);
    display: block;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .success-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
}

/* Fix for nav links in light theme */
.light-theme .nav-links a {
    color: var(--text-color);
}

/* Result Metrics Styling */
.result-metric {
    margin-top: 15px;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    font-size: 0.95rem;
}

.result-metric strong {
    color: var(--gold);
    font-weight: 600;
}

/* Tech Description Styling */
.tech-description {
    margin-bottom: 15px;
}

.tech-description p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Fix for modal text in light theme */
.light-theme .modal p {
    color: var(--text-color);
}

/* Fix for project card heading in light theme */
.light-theme .project-card h2 {
    color: var(--primary);
}

/* Fix for section headings in light theme */
.light-theme .about h2,
.light-theme .background h2,
.light-theme .projects h2 {
    color: var(--text-color);
}

/* Fix for project content headings in light theme */
.light-theme .project-content h3 {
    color: var(--primary);
}

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

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(119, 141, 169, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 15px;
    position: relative;
    letter-spacing: -0.02em;
}

.logo-dot {
    color: var(--gold);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 15px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.play-nav-btn {
    background-color: var(--success);
    color: white !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(4, 120, 87, 0.3);
}

.play-nav-btn:hover {
    background-color: #036743;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.5);
}

.play-nav-btn::after {
    display: none;
}

.orkut-nav-btn {
    background: linear-gradient(45deg, #0066CC, #ed2590);
    color: white !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
    border: 2px solid #003366;
}

.orkut-nav-btn:hover {
    background: linear-gradient(45deg, #0052A3, #003366);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.5);
    border-color: #002244;
}

.orkut-nav-btn::after {
    display: none;
}

.lang-switch {
    background: rgba(119, 141, 169, 0.2);
    color: var(--text-secondary) !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(119, 141, 169, 0.3);
    letter-spacing: 0.5px;
}

.lang-switch:hover {
    background: var(--accent);
    color: var(--text-primary) !important;
    border-color: var(--accent);
    transform: translateY(-1px);
}

.lang-switch::after {
    display: none;
}

.cta-nav-btn {
    background: var(--gradient-gold);
    color: var(--primary) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    border: none;
}

.cta-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    filter: brightness(1.1);
}

.cta-nav-btn::after {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    margin-right: 15px;
    z-index: 1000;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+PHBhdGggZD0iTTAgMGgxMjAwdjgwMEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTAgNDAwYzEwMC0xMDAgMjAwLTEwMCAzMDAtNTBzMjAwIDUwIDMwMCAwIDIwMC0xMDAgMzAwLTEwMCAyMDAgNTAgMzAwIDEwMGwtMzAwIDQwMEgwVjQwMHoiIGZpbGw9IiMwZTc0OTAiIGZpbGwtb3BhY2l0eT0iLjA1Ii8+PHBhdGggZD0iTTAgNTAwYzEwMC01MCAyMDAtNTAgMzAwLTI1czIwMCAyNSAzMDAgMCAyMDAtNTAgMzAwLTUwIDIwMCAyNSAzMDAgNTBsMCAxMDBjLTEwMCAyNS0yMDAgMjUtMzAwIDI1cy0yMDAgMC0zMDAgMFMzMDAgNjUwIDIwMCA2NTBTMTAwIDYyNSAwIDYwMFY1MDB6IiBmaWxsPSIjMDQ3ODU3IiBmaWxsLW9wYWNpdHk9Ii4wNSIvPjwvc3ZnPg==');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.6;
    z-index: 0;
    animation: slow-pulse 15s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-fill-mode: forwards;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    animation-fill-mode: forwards;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.3s forwards;
    animation-fill-mode: forwards;
}

.social {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    animation-fill-mode: forwards;
    position: relative;
    z-index: 10;
}

.social a {
    color: #fff;
    font-weight: 500;
    background-color: rgba(8, 145, 178, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.social a:hover {
    background-color: rgba(8, 145, 178, 0.4);
    transform: translateY(-3px);
}

.flag {
    font-size: 1.5rem;
    margin: 0 5px;
    animation: bounceIn 1s ease 0.9s both;
}

.cta {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    animation-fill-mode: forwards;
    position: relative;
    z-index: 10;
}

.play-btn {
    background-color: var(--success);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.6);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.play-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
}

.play-btn:hover::after {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiMwZTc0OTA7b3BhY2l0eTowLjA4O308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTUxMiw2NEMyNjQuNTgsNjQsNjQsMjY0LjU4LDY0LDUxMlMyNjQuNTgsOTYwLDUxMiw5NjBTOTYwLDc1OS40Miw5NjAsNTEyLDc1OS40Miw2NCw1MTIsNjRabTIxMC4xNCwyMTAuMTRhMTgwLDE4MCwwLDAsMSwwLDI1NC41NWwtNzguNDksNzguNDlMMzg4LjUyLDM1Mi4wNWw3OC40OS03OC40OUExODAsMTgwLDAsMCwxLDcyMi4xNCwyNzQuMTRaIi8+PC9zdmc+');
    background-size: contain;
    background-position: center;
    opacity: 0.1;
    top: 20%;
    right: 10%;
    animation: float-medium 15s ease-in-out infinite;
    pointer-events: none;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 30px;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: 300;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: #f1f5f9;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    margin-bottom: 60px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-align: center;
}

.project-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-details {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    padding: 0 15px;
}

.video-container {
    margin: 0 auto 40px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.play-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

/* Background Section */
.background {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
    transition: background-color 0.3s ease;
}

/* Vector decorative elements */
.vector-element {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    z-index: 0;
}

.vector-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojMGU3NDkwO308L3N0eWxlPjwvZGVmcz48Y2lyY2xlIGNsYXNzPSJhIiBjeD0iMTI4IiBjeT0iMTI4IiByPSIzMiIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTcyLDQyLjVhOC45LDguOSwwLDAsMCw4LjUtNiwxMi45LDEyLjksMCwwLDEsMjQsMCw4LjksOC45LDAsMCwwLDguNSw2LDEyLjksMTIuOSwwLDAsMSwwLDI0LDguOSw4LjksMCwwLDAtOC41LDYsMTIuOSwxMi45LDAsMCwxLTI0LDAsOC45LDguOSwwLDAsMC04LjUtNiwxMi45LDEyLjksMCwwLDEsMC0yNFoiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTcyLDQyLjVhOC45LDguOSwwLDAsMCw4LjUtNiwxMi45LDEyLjksMCwwLDEsMjQsMCw4LjksOC45LDAsMCwwLDguNSw2LDEyLjksMTIuOSwwLDAsMSwwLDI0LDguOSw4LjksMCwwLDAtOC41LDYsMTIuOSwxMi45LDAsMCwxLTI0LDAsOC45LDguOSwwLDAsMC04LjUtNiwxMi45LDEyLjksMCwwLDEsMC0yNFoiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTcyLDE3MC41YTguOSw4LjksMCwwLDAsOC41LTYsMTIuOSwxMi45LDAsMCwxLDI0LDAsOC45LDguOSwwLDAsMCw4LjUsNiwxMi45LDEyLjksMCwwLDEsMCwyNCw4LjksOC45LDAsMCwwLTguNSw2LDEyLjksMTIuOSwwLDAsMS0yNCwwLDguOSw4LjksMCwwLDAtOC41LTYsMTIuOSwxMi45LDAsMCwxLDAtMjRaIi8+PHBhdGggY2xhc3M9ImEiIGQ9Ik0xNzIsMTcwLjVhOC45LDguOSwwLDAsMCw4LjUtNiwxMi45LDEyLjksMCwwLDEsMjQsMCw4LjksOC45LDAsMCwwLDguNSw2LDEyLjksMTIuOSwwLDAsMSwwLDI0LDguOSw4LjksMCwwLDAtOC41LDYsMTIuOSwxMi45LDAsMCwxLTI0LDAsOC45LDguOSwwLDAsMC04LjUtNiwxMi45LDEyLjksMCwwLDEsMC0yNFoiLz48L3N2Zz4=');
    animation: float-medium 15s ease-in-out infinite;
}

.vector-2 {
    width: 160px;
    height: 160px;
    bottom: 15%;
    right: 8%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojMDQ3ODU3O308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTEyOCw0MEExMjgsMTI4LDAsMSwwLDI1NiwxNjgsMTI4LDEyOCwwLDAsMCwxMjgsNDBabTY0LDEyOGE2NCw2NCwwLDEsMS02NC02NEE2NCw2NCwwLDAsMSwxOTIsMTY4WiIvPjwvc3ZnPg==');
    animation: float-slow 20s ease-in-out infinite;
}

.vector-3 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 15%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojMmI2Y2IwO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTEyOCw0OFY2NEgxOTJBNjQsNjQsMCwwLDAsMTI4LDQ4Wm0wLDc2LjhoNzYuOEE3Ni44LDc2LjgsMCwwLDAsMTI4LDQ4Wm0wLDg5LjZIMjA0LjhBNzYuOCw3Ni44LDAsMCwwLDEyOCwxMjQuOFptMCwxMi44djc2LjhBNzYuOCw3Ni44LDAsMCwwLDIwNC44LDIxNC40Wm0tMTIuOCwwSDUxLjJBNzYuOCw3Ni44LDAsMCwwLDEyOCwyOTEuMlptMC0xMi44VjEyNC44QTc2LjgsNzYuOCwwLDAsMCw1MS4yLDIxNC40Wm0wLTg5LjZINTEuMkE3Ni44LDc2LjgsMCwwLDAsMTI4LDIwMi40Wm0wLTEyLjh2LTY0QTY0LDY0LDAsMCwwLDY0LDExMloiLz48L3N2Zz4=');
    animation: float-fast 12s ease-in-out infinite;
}

.background h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 30px;
    text-align: center;
}

.background p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Community message section */
.community-message {
    margin-top: 60px;
    padding: 30px;
    background-color: rgba(14, 116, 144, 0.1);
    border-radius: 12px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

/* Animation trigger class will be added by JavaScript */
.community-message.animate {
    transform: translateY(0);
    opacity: 1;
}

.community-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjEuNSIgZmlsbD0iIzBlNzQ5MCIgb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.5;
    pointer-events: none;
}

.community-message h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.community-message h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.community-message p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
    font-size: 1.1rem;
}

.skills {
    margin: 40px 0;
}

.skills h3 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.skill-tags span {
    background-color: var(--skill-tag-bg);
    color: var(--skill-tag-text);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.skill-tags span:hover {
    background-color: var(--accent);
    color: var(--darker-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(8, 145, 178, 0.4);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #fff;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 10px rgba(8, 145, 178, 0.5);
}

.footer-logo::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    bottom: 5px;
    right: -8px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

footer p {
    opacity: 0.7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 10, 20, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background-color: var(--modal-bg);
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s 0.1s forwards;
    transition: background-color 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--light);
}

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

.modal h2 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal p {
    margin-bottom: 15px;
    color: var(--gray);
}

.modal-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.modal-btn:hover {
    background-color: var(--primary-dark);
}

/* Mobile menu styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--header-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        margin-right: 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 16px 0;
    }

    .nav-links a {
        color: var(--text-color);
        font-size: 1.1rem;
    }

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

    /* Mobile Play RadioGuess button */
    .play-nav-btn {
        width: 80%;
        margin: 0 auto;
        padding: 10px 20px;
        display: block;
    }

    /* Mobile Orkut Community button */
    .orkut-nav-btn {
        width: 80%;
        margin: 0 auto;
        padding: 10px 20px;
        display: block;
    }


    /* Mobile button adjustments */
    .play-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .modal-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Mobile community invitation */
    .community-invitation {
        margin: 15px 10px;
        padding: 10px 15px;
    }

    .community-invitation p {
        font-size: 0.95rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(.9, .9, .9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(.97, .97, .97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-30px);
    }
    100% {
        transform: translatey(0px);
    }
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.play-btn:hover {
    background-color: #036c4e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.5);
}

/* Remove Three.js animation canvas */
#coding-animation {
    display: none;
}

/* Parallax Background Styles */
.parallax-bg {
    position: relative;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    pointer-events: none;
}

.layer-1 {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIGZpbGw9IiMyYjZjYjAiIG9wYWNpdHk9IjAuMyIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.4;
    z-index: 1;
    animation: float-slow 18s ease-in-out infinite;
}

.layer-2 {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSI0IiBoZWlnaHQ9IjQiIGZpbGw9IiMwZTc0OTAiIG9wYWNpdHk9IjAuMjUiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
    opacity: 0.4;
    z-index: 2;
    animation: float-medium 12s ease-in-out infinite;
}

.layer-3 {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iODAiIGhlaWdodD0iODAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg2MCkiPjxjaXJjbGUgY3g9IjQwIiBjeT0iNDAiIHI9IjIiIGZpbGw9IiMwNDc4NTciIG9wYWNpdHk9IjAuMiIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
    z-index: 3;
    animation: float-fast 8s ease-in-out infinite;
}

.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about .parallax-bg-element {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxjaXJjbGUgY3g9IjI1IiBjeT0iMjUiIHI9IjEiIGZpbGw9IiMyYjZjYjAiIG9wYWNpdHk9IjAuMiIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.1;
}

.projects .parallax-bg-element {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNzAiIGhlaWdodD0iNzAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSI2IiBoZWlnaHQ9IjYiIGZpbGw9IiMwZTc0OTAiIG9wYWNpdHk9IjAuMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.1;
}

.background .parallax-bg-element {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg2MCkiPjxjaXJjbGUgY3g9IjMwIiBjeT0iMzAiIHI9IjEuNSIgZmlsbD0iIzA0Nzg1NyIgb3BhY2l0eT0iMC4yIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.1;
}

.projects h2 {
    color: var(--light);
}

.nav-links.active {
    background-color: var(--dark-bg);
}


/* Enhanced Animations */
@keyframes float-slow {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes float-medium {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
    }
    50% {
        transform: translateY(-10px) translateX(-8px) rotate(5deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0);
    }
}

@keyframes float-fast {
    0% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-5px) rotate(-3deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

/* X icon styling */
.x-icon {
    font-family: sans-serif;
    font-weight: bold;
    font-style: normal;
    display: inline-block;
    margin-right: 2px;
    font-size: 1.1em;
}

/* Animated gradient border for CTA button */
.play-btn {
    position: relative;
    z-index: 1;
    border: none;
    padding: 14px 32px;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0891b2, #047857, #2b6cb0);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 50px;
    animation: gradient-border 6s ease infinite;
}

.play-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.play-btn:hover i {
    transform: translateX(4px);
}

@keyframes gradient-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }

}

/* Add 3D hover effect to tech stack skills */
.skill-tags span {
    transform-style: preserve-3d;
    perspective: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.skill-tags span:hover {
    transform: translateY(-5px) translateZ(20px) rotateX(10deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes slow-pulse {
    0% {
        opacity: 0.3;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 0.3;
        transform: scale(1) translateY(0);
    }
}

/* Basic geometric shapes for background animation */
.shape {
    position: absolute;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--accent);
    animation: spin 15s linear infinite, float-medium 8s ease-in-out infinite;
}

.square {
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    animation: bounce 10s infinite alternate, spin-reverse 20s linear infinite;
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--success);
    animation: pulse-scale 8s infinite alternate, float-slow 12s ease-in-out infinite;
}

.rectangle {
    width: 40px;
    height: 15px;
    background-color: var(--secondary);
    animation: tilt 12s infinite alternate, float-fast 10s ease-in-out infinite;
}

.diamond {
    width: 30px;
    height: 30px;
    background-color: var(--primary-dark);
    transform: rotate(45deg);
    animation: spin 25s linear infinite, float-medium 15s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

@keyframes tilt {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

/* More dynamic parallax layers */
.layer-1 {
    animation: float-slow 18s ease-in-out infinite, sway-left 25s ease-in-out infinite;
}

.layer-2 {
    animation: float-medium 12s ease-in-out infinite, sway-right 20s ease-in-out infinite;
}

.layer-3 {
    animation: float-fast 8s ease-in-out infinite, pulse-opacity 10s ease-in-out infinite;
}

@keyframes sway-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

@keyframes sway-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(50px); }
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

/* Enhanced vector elements with simpler shapes */
.vector-1 {
    background-image: none;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(14, 116, 144, 0.2);
    animation: spin 30s linear infinite, float-medium 15s ease-in-out infinite;
}

.vector-2 {
    background-image: none;
    width: 120px;
    height: 120px;
    border: 4px solid rgba(4, 120, 87, 0.2);
    animation: spin-reverse 25s linear infinite, float-slow 20s ease-in-out infinite;
}

.vector-3 {
    background-image: none;
    width: 80px;
    height: 80px;
    transform: rotate(45deg);
    border: 3px solid rgba(43, 108, 176, 0.2);
    animation: spin 20s linear infinite, float-fast 12s ease-in-out infinite;
}

/* Additional floating elements for more movement */
.hero::after {
    animation: float 15s ease-in-out infinite, pulse-opacity 8s infinite;
}

/* Animating the community message */
.community-message.animate {
    animation: glow 8s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(14, 116, 144, 0.1);
    }
    100% {
        box-shadow: 0 0 30px rgba(14, 116, 144, 0.3);
    }
}

/* Ko-fi Button Styling */
.kofi-button {
    position: fixed;
    bottom: 85px;
    left: 20px;
    z-index: 1500;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: bob 4s ease-in-out infinite;
}

.kofi-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--success);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

.kofi-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(4, 120, 87, 0.4);
    background-color: #036c4e;
}

.kofi-trigger i {
    font-size: 1.2rem;
}

.kofi-trigger span {
    display: none;
}

@media (min-width: 768px) {
    .kofi-trigger span {
        display: inline;
    }
}

/* Ko-fi Modal Styling */
.kofi-modal {
    max-width: 90%;
    width: 400px;
    padding: 20px;
    background-color: var(--modal-bg);
    border-radius: 12px;
    position: relative;
}

.kofi-modal h2 {
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.kofi-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kofi-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
}

@media (max-width: 480px) {
    .kofi-modal {
        width: 95%;
        padding: 15px;
    }

    .kofi-container {
        height: 400px;
    }

    .kofi-modal h2 {
        font-size: 1.5rem;
    }
}

/* Remove old Ko-fi Widget styles */
.kofi-container,
.kofi-iframe {
    display: block;
}

/* Copyright text styling */
.copyright {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animated profile image */
.floating-profile {
    position: fixed;
    bottom: 85px;
    right: 20px;
    z-index: 1500;
    width: 50px;
    height: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.floating-profile a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.animated-profile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: bob 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transform-origin: center;
    transition: transform 0.2s ease, border-color 0.3s ease;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.floating-profile:hover .animated-profile {
    transform: scale(1.2);
    border-color: var(--primary);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
}

/* Profile animation keyframes */
@keyframes bob {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* In dark mode, add a subtle glow to the profile */
[data-theme='dark'] .animated-profile {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

/* Medium-sized vectors with faster movement */
.vector-medium-1 {
    background: linear-gradient(45deg, var(--primary) 0%, transparent 100%);
    width: 150px;
    height: 150px;
    top: 20%;
    left: 15%;
    animation: float-fast 8s infinite;
    opacity: 0.15;
}

.vector-medium-2 {
    background: linear-gradient(-45deg, var(--accent) 0%, transparent 100%);
    width: 180px;
    height: 180px;
    top: 60%;
    right: 20%;
    animation: float-medium 7s infinite;
    opacity: 0.15;
}

.vector-medium-3 {
    background: linear-gradient(135deg, var(--secondary) 0%, transparent 100%);
    width: 160px;
    height: 160px;
    bottom: 20%;
    left: 30%;
    animation: float-fast 9s infinite;
    opacity: 0.15;
}

.play-nav-btn {
    background-color: var(--success);
    color: white !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(4, 120, 87, 0.3);
}

.play-nav-btn:hover {
    background-color: #036743;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.5);
}

/* Premium Hero Styles */
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(119, 141, 169, 0.1);
    border-bottom: 1px solid rgba(119, 141, 169, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(119, 141, 169, 0.3);
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--accent);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-secondary);
}

/* New Compact Services Grid */
.services-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px auto;
    max-width: 1000px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(119, 141, 169, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: var(--gold);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--shadow-medium);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.result-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    color: var(--gold);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: inline-block;
}

/* Keep the old grid for backward compatibility but hide it */
.services-grid {
    display: none;
}

/* Compact Tech Highlights */
.tech-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(119, 141, 169, 0.1);
    transition: all 0.3s ease;
}

.tech-highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-medium);
}

.tech-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.tech-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tech-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.products-showcase {
    margin-top: 50px;
    text-align: center;
}

.products-showcase h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-family: var(--font-display);
}

.product-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid rgba(119, 141, 169, 0.1);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.product-link:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow-medium);
    color: var(--text-primary);
}

.product-icon {
    font-size: 1.2rem;
}

.product-stat {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 500;
    margin-left: 5px;
}

/* Calendly CTA Styling */
.calendly-cta {
    margin: 30px 0;
    text-align: center;
}

.btn-calendly {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--gold) 0%, #FFD700 100%);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.btn-calendly:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    color: var(--primary);
}

.btn-calendly i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Responsive design for compact services and tech highlights */
@media (max-width: 768px) {
    .services-grid-compact {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-card .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .result-highlight {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .tech-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .tech-highlight-item {
        padding: 20px;
    }
    
    .tech-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .product-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .product-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-calendly {
        padding: 15px 25px;
        font-size: 1rem;
        gap: 10px;
    }
    
    .btn-calendly i {
        font-size: 1.1rem;
    }
}

.service-category {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(119, 141, 169, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-category:hover::before {
    opacity: 1;
}

.service-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(119, 141, 169, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.service-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-item-detailed {
    padding: 20px;
    background: rgba(119, 141, 169, 0.05);
    border-radius: 15px;
    border-left: 3px solid var(--gold);
    transition: all 0.3s ease;
}

.service-item-detailed:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.service-item-detailed h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-item-detailed p {
    color: var(--text-tertiary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Training Section */
.training {
    padding: 120px 0;
    background: var(--bg-primary);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.training-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(119, 141, 169, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.3);
}

.training-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--text-primary);
}

.training-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.training-card p {
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.training-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.feature-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Expertise Section (renamed from consultancy) */
.expertise {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(119, 141, 169, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.3);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
}

.expertise-card li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.expertise-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.portfolio-item {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(119, 141, 169, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.3);
}

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

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.portfolio-link:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.portfolio-content p {
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.portfolio-tech span {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Experience Section */
.experience {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.experience-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tech-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tech-tags span {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(119, 141, 169, 0.2);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* Consultancy Section */
.consultancy {
    padding: 120px 0;
    background: var(--bg-primary);
}

.consultancy-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.consultancy-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.service-list {
    margin: 40px 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.service-item i {
    color: var(--success);
    font-size: 1.1rem;
}

.contact-note {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 15px;
    border-left: 4px solid var(--gold);
}

.contact-note p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.contact-note strong {
    color: var(--gold);
    font-size: 1.1rem;
}

.premium-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.premium-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.premium-card > p {
    color: var(--text-tertiary);
    margin-bottom: 30px;
}

.premium-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.premium-card li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.premium-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.btn-premium {
    background: var(--gradient-gold);
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    display: inline-block;
    box-shadow: var(--shadow-medium);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    filter: brightness(1.1);
}

/* Footer Styles */
footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(119, 141, 169, 0.1);
    padding: 80px 0 40px;
}

.footer-content {
    text-align: left;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-description {
    color: var(--text-tertiary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-method i {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid rgba(119, 141, 169, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(119, 141, 169, 0.1);
    padding-top: 30px;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-category {
        padding: 30px 20px;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-header h3 {
        font-size: 1.4rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-item {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .portfolio-image {
        height: 180px;
    }
    
    .portfolio-content {
        padding: 25px 20px;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .training-card {
        padding: 30px 20px;
    }
    
    .training-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .consultancy-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .service-item-detailed {
        padding: 15px;
    }
    
    .service-item-detailed h4 {
        font-size: 1rem;
    }
}