/* ================================
   MODERN BLACK & BLUE THEME
   Jones Web Designs
   ================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-blue: #1e40af;
    --accent-blue: #06b6d4;

    --black: #000000;
    --dark-gray: #0f172a;
    --medium-gray: #1e293b;
    --light-gray: #334155;
    --text-gray: #94a3b8;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(15,23,42,0.95) 50%, rgba(30,64,175,0.3) 100%);
    --gradient-card: linear-gradient(180deg, rgba(30,41,59,0.5) 0%, rgba(15,23,42,0.8) 100%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-blue: 0 10px 40px rgba(37,99,235,0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(0,0,0,0.95);
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
}

.logo-full {
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    transition: all var(--transition-base);
}

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

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
        var(--black);
    animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--light-blue);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeIn 1s ease 0.2s both;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(37,99,235,0.2);
    border-color: var(--light-blue);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-light:hover {
    background: var(--light-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

/* ================================
   SECTIONS
   ================================ */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ================================
   SERVICES SECTION
   ================================ */
.services {
    background: var(--dark-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(59,130,246,0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all var(--transition-base);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about {
    background: var(--black);
}

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

.about-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-weight: 500;
}

.feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    padding-top: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tech Stack Display */
.tech-stack {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
    align-content: space-evenly;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    animation: fadeInScale 0.6s ease backwards;
}

.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }
.tech-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-item svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.tech-item span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* ================================
   PORTFOLIO SECTION
   ================================ */
.portfolio {
    background: var(--dark-bg);
    padding: var(--section-padding) 0;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    height: 400px;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.portfolio-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(30, 64, 175, 0.95) 0%, rgba(37, 99, 235, 0.85) 60%, rgba(37, 99, 235, 0.3) 100%);
}

.portfolio-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.portfolio-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.portfolio-info {
    position: relative;
    z-index: 2;
    width: 100%;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-card:hover .portfolio-info h3 {
    transform: translateY(-5px);
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover .portfolio-tags .tag {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Portfolio animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Grid */
@media (max-width: 968px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .portfolio-card {
        height: 350px;
    }

    .portfolio-overlay {
        padding: 1.5rem;
    }

    .portfolio-info h3 {
        font-size: 1.3rem;
    }

    .portfolio-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-card {
        height: 320px;
    }

    .portfolio-overlay {
        padding: 1.25rem;
    }

    .portfolio-info h3 {
        font-size: 1.2rem;
    }

    .portfolio-info p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .portfolio-tags .tag {
        padding: 0.3rem 0.75rem;
        font-size: 0.75rem;
    }

    .portfolio-icon {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .portfolio-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ================================
   CTA SECTION
   ================================ */
.cta {
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: ctaShift 15s ease infinite;
}

@keyframes ctaShift {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonials-section {
    background: var(--dark-gray);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    pointer-events: none;
    background: var(--gradient-card);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(59,130,246,0.2);
    text-align: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.testimonial-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--white);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--light-blue);
    font-size: 0.95rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.testimonial-dot:hover {
    background: var(--light-blue);
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-hero {
    position: relative;
    padding: 150px 0 100px;
    background: var(--dark-gray);
    overflow: hidden;
}

.contact-hero .hero-background {
    background:
        radial-gradient(circle at 50% 50%, rgba(37,99,235,0.2) 0%, transparent 60%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.contact-section {
    background: var(--black);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-detail h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-detail p {
    color: var(--text-gray);
}

.contact-quote {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
    margin-top: 40px;
}

.contact-quote p {
    font-style: italic;
    color: var(--white);
    margin-bottom: 10px;
}

.contact-quote span {
    color: var(--light-blue);
    font-weight: 600;
}

/* ================================
   CONTACT FORM
   ================================ */
.contact-form-wrapper {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(59,130,246,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.required {
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 10px;
    padding: 15px 20px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

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

.form-group select {
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.btn-submit {
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-loader {
    display: block;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.form-message {
    padding: 15px;
    border-radius: 10px;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark-gray);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(59,130,246,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-gray);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.footer-cta {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all var(--transition-base);
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(59,130,246,0.1);
    text-align: center;
    color: var(--text-gray);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Hide mobile menu elements on desktop */
.mobile-menu-bg,
.mobile-menu-profile {
    display: none;
}

@media (max-width: 968px) {
    /* Show mobile menu elements */
    .mobile-menu-bg,
    .mobile-menu-profile {
        display: flex;
    }

    .mobile-menu-bg {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(0,0,0,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 80px 30px 30px;
        transition: right var(--transition-base);
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile Menu Animated Background */
    .mobile-menu-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        z-index: 0;
        pointer-events: none;
    }

    .mobile-wave {
        position: absolute;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
        animation: waveFloat 8s ease-in-out infinite;
    }

    .mobile-wave:nth-child(1) {
        top: -50%;
        left: -50%;
        animation-delay: 0s;
    }

    .mobile-wave:nth-child(2) {
        bottom: -50%;
        right: -50%;
        animation-delay: -4s;
    }

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

    /* Floating Particles */
    .mobile-particles {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .mobile-particles span {
        position: absolute;
        width: 4px;
        height: 4px;
        background: var(--light-blue);
        border-radius: 50%;
        animation: particleFloat 6s ease-in-out infinite;
        opacity: 0.6;
    }

    .mobile-particles span:nth-child(1) {
        top: 20%;
        left: 20%;
        animation-delay: 0s;
    }

    .mobile-particles span:nth-child(2) {
        top: 40%;
        left: 60%;
        animation-delay: -1s;
    }

    .mobile-particles span:nth-child(3) {
        top: 60%;
        left: 30%;
        animation-delay: -2s;
    }

    .mobile-particles span:nth-child(4) {
        top: 30%;
        left: 80%;
        animation-delay: -3s;
    }

    .mobile-particles span:nth-child(5) {
        top: 70%;
        left: 70%;
        animation-delay: -4s;
    }

    .mobile-particles span:nth-child(6) {
        top: 80%;
        left: 40%;
        animation-delay: -5s;
    }

    @keyframes particleFloat {
        0%, 100% {
            transform: translateY(0px) scale(1);
            opacity: 0.6;
        }
        50% {
            transform: translateY(-30px) scale(1.2);
            opacity: 1;
        }
    }

    /* Mobile Menu Profile Card */
    .mobile-menu-profile {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 30px 20px;
        background: rgba(37,99,235,0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(37,99,235,0.3);
        border-radius: 20px;
        width: 100%;
        animation: slideInProfile 0.6s ease 0.3s backwards;
        margin-bottom: 20px;
    }

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

    .mobile-logo {
        width: 70px;
        height: 70px;
        background: var(--gradient-primary);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        font-weight: 800;
        color: var(--white);
        font-family: var(--font-heading);
        box-shadow: var(--shadow-blue);
        animation: logoRotate 3s ease-in-out infinite;
    }

    @keyframes logoRotate {
        0%, 100% {
            transform: rotate(0deg) scale(1);
        }
        50% {
            transform: rotate(5deg) scale(1.05);
        }
    }

    .mobile-menu-profile h3 {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--white);
        margin: 0;
        text-align: center;
    }

    .mobile-menu-profile p {
        font-size: 0.95rem;
        color: var(--light-blue);
        margin: 0;
        font-weight: 500;
    }

    .mobile-badges {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 8px;
    }

    .mobile-badge {
        background: var(--gradient-primary);
        color: var(--white);
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(37,99,235,0.3);
        animation: badgePulse 2s ease-in-out infinite;
    }

    .mobile-badge:nth-child(1) {
        animation-delay: 0s;
    }

    .mobile-badge:nth-child(2) {
        animation-delay: 0.5s;
    }

    @keyframes badgePulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 4px 12px rgba(37,99,235,0.3);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 6px 16px rgba(37,99,235,0.5);
        }
    }

    /* Navigation Links in Mobile Menu */
    .nav-menu li {
        position: relative;
        z-index: 1;
        width: 100%;
        animation: slideInNav 0.4s ease backwards;
    }

    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu li:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu li:nth-child(7) { animation-delay: 0.7s; }
    .nav-menu li:nth-child(8) { animation-delay: 0.8s; }

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

    .nav-menu .nav-link {
        display: block;
        padding: 15px 20px;
        background: rgba(255,255,255,0.05);
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.1);
        transition: all var(--transition-base);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(37,99,235,0.15);
        border-color: var(--primary-blue);
        transform: translateX(5px);
    }

    .nav-menu .nav-cta {
        background: var(--gradient-primary);
        border: none;
        margin-top: 10px;
    }

    .nav-menu .nav-cta:hover {
        transform: translateX(5px) scale(1.02);
    }

    .hero {
        padding-top: 100px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .tech-stack {
        padding: 30px 20px;
        gap: 20px;
    }

    .tech-item {
        padding: 20px 10px;
    }

    .tech-item svg {
        width: 32px;
        height: 32px;
    }

    .tech-item span {
        font-size: 0.85rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    section {
        padding: var(--section-padding-mobile);
    }

    .logo-full {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .service-card {
        padding: 30px;
    }

    .contact-hero {
        padding-top: 140px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1.1rem;
    }
}

/* ================================
   GDPR CONSENT BANNER
   ================================ */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary-blue);
    padding: 25px 20px;
    z-index: 9999;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gdpr-banner.show {
    transform: translateY(0);
}

.gdpr-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.gdpr-text {
    flex: 1;
    min-width: 300px;
}

.gdpr-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.gdpr-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.gdpr-link {
    color: var(--light-blue);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.gdpr-link:hover {
    color: var(--primary-blue);
}

.gdpr-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-gdpr {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-gdpr-accept {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-gdpr-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-gdpr-reject {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--light-gray);
}

.btn-gdpr-reject:hover {
    color: var(--white);
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
}

/* Mobile GDPR Banner */
@media (max-width: 768px) {
    .gdpr-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .gdpr-buttons {
        flex-direction: column;
    }

    .btn-gdpr {
        width: 100%;
        text-align: center;
    }

    .gdpr-text {
        min-width: auto;
    }
}

/* ================================
   UTILITIES
   ================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
