:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #33ccea;
    --accent: #f97316;
    --dark: #f5f7fb;
    --dark-lighter: #eef2ff;
    --dark-card: #ffffff;
    --light: #ffffff;
    --surface: #ffffff;
    --surface-muted: #eef2ff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #33ccea 100%);
    --gradient-2: linear-gradient(135deg, #f97316 0%, #fb7185 100%);
    --gradient-3: linear-gradient(135deg, #14b8a6 0%, #22d3ee 100%);
    --gradient-4: linear-gradient(135deg, #facc15 0%, #f97316 100%);
    --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 30px 60px rgba(15, 23, 42, 0.12);
    --border-color: rgba(148, 163, 184, 0.25);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.15) 0%, transparent 45%),
                radial-gradient(circle at bottom right, rgba(51, 191, 234, 0.18) 0%, transparent 50%),
                var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 8% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 92% 85%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
                linear-gradient(135deg, #f9fbff 0%, #ffffff 60%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 75% 80%, rgba(147, 51, 234, 0.08) 0%, transparent 55%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.hero-content .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 2.5rem;
}

.hero-highlights li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.hero-highlights li i {
    color: var(--primary);
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(51, 191, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(51, 191, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-medium);
    transform: perspective(1000px) rotateY(-4deg) translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-6px);
    box-shadow: 0 40px 70px rgba(15, 23, 42, 0.16);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.hero-card-title {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.hero-card-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: -150px;
}

.floating-element-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: 10%;
    right: -100px;
    animation-delay: 2s;
}

.floating-element-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

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

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-of-type(even) {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 35px 65px rgba(37, 99, 235, 0.18);
}

.about-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(51, 191, 234, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(51, 191, 234, 0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 2.4rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(147, 51, 234, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 55px rgba(15, 23, 42, 0.16);
    border-color: rgba(37, 99, 235, 0.25);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 2.2rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(15, 23, 42, 0.14);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Clients Section */
.clients-showcase {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 3.2rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.clients-showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(86, 150, 246, 0.12), transparent 55%);
    pointer-events: none;
}

.clients-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(86, 150, 246, 0.12);
    border: 1px solid rgba(86, 150, 246, 0.25);
}

.clients-content h3 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.clients-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.clients-metrics {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: linear-gradient(145deg, var(--surface-muted) 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    min-height: 110px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.client-card img {
    width: auto;
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-card:hover {
    transform: translateY(-6px);
    border-color: rgba(86, 150, 246, 0.35);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.18);
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 2.6rem 2.3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: var(--shadow-soft);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
    z-index: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.8;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 38px 60px rgba(15, 23, 42, 0.18);
}

.testimonial-card:hover::before {
    transform: scale(1.15);
    opacity: 1;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid rgba(86, 150, 246, 0.4);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

.testimonial-rating {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
    color: #fbbf24;
}

/* FAQ Section */
.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: flex-start;
}

.faq-intro {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.8rem;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow-soft);
}

.faq-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-intro p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.faq-intro .btn {
    margin-top: 2rem;
}

.faq-bullet {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.faq-bullet i {
    color: var(--primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.6rem 1.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.faq-item:hover {
    border-color: rgba(86, 150, 246, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(86, 150, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.8rem;
}

.faq-item.active {
    border-color: rgba(86, 150, 246, 0.45);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(86, 150, 246, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.55rem 1.6rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: transparent;
}

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

.portfolio-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 60px rgba(15, 23, 42, 0.16);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 10%, rgba(15, 23, 42, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.portfolio-content {
    padding: 2rem 2rem 2.25rem;
}

.portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-description {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

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

.tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.portfolio-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.portfolio-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.portfolio-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-modal.active .modal-overlay {
    opacity: 1;
}

.modal-dialog {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    max-width: 900px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 2;
}

.portfolio-modal.active .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border-color: transparent;
    transform: rotate(90deg);
}

.modal-media {
    position: relative;
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--surface);
}

.modal-category {
    align-self: flex-start;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    background: rgba(51, 191, 234, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.8rem;
}

.modal-client {
    color: var(--text-secondary);
    font-weight: 500;
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

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

.modal-tags span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.modal-deliverables ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
}

.modal-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
}

.modal-deliverables li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--success);
    margin-top: 0.2rem;
}

.modal-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(51, 191, 234, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(51, 191, 234, 0.45);
}

.modal-link.hidden {
    display: none;
}

.no-scroll {
    overflow: hidden;
}

@media (max-width: 992px) {
    .modal-dialog {
        grid-template-columns: 1fr;
    }

    .modal-media {
        max-height: 280px;
    }
}

@media (max-width: 600px) {
    .modal-body {
        padding: 2rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-meta {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    padding: 3.2rem;
    box-shadow: var(--shadow-medium);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.contact-text p,
.contact-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.form-input,
.form-textarea {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.04);
}

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

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

/* Footer */
.footer {
    background: var(--dark-lighter);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(51, 191, 234, 0.1) 0%, rgba(51, 191, 234, 0.1) 100%);
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-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 1440 320"><path fill="%236366f1" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

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

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-container {
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .nav-cta {
        padding: 0.65rem 1.3rem;
        font-size: 0.95rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
        box-shadow: 0 30px 50px rgba(15, 23, 42, 0.18);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-highlights {
        gap: 0.8rem;
        margin: 1.5rem 0 2rem;
    }

    .hero-highlights li {
        padding: 0.5rem 0.9rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .hero-visual {
        display: none;
    }

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

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

    /* Clients Section Mobile */
    .clients-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        border-radius: 18px;
    }

    .clients-content h3 {
        font-size: 1.5rem;
    }

    .clients-metrics {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .metric-card {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .client-card {
        padding: 1rem;
        min-height: 90px;
        border-radius: 12px;
    }

    .client-card img {
        max-width: 120px;
        max-height: 50px;
    }

    /* FAQ Section Mobile */
    .faq-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-intro {
        position: static;
        padding: 2rem;
        border-radius: 16px;
    }

    .faq-intro h3 {
        font-size: 1.5rem;
    }

    .faq-list {
        gap: 0.8rem;
    }

    .faq-item {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .faq-question {
        font-size: 0.95rem;
        gap: 0.5rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .faq-answer {
        font-size: 0.9rem;
        max-height: 300px;
        margin-top: 1rem;
    }

    /* Section Padding Mobile */
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Portfolio Modal Mobile */
    .modal-dialog {
        max-width: 100%;
        width: 95%;
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-media {
        width: 100%;
        height: 280px;
    }

    .modal-media img {
        height: 100%;
        object-fit: cover;
    }

    .modal-body {
        padding: 1.8rem;
        gap: 1rem;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-category {
        font-size: 0.7rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-highlights {
        gap: 0.6rem;
        margin: 1rem 0 1.5rem;
        flex-wrap: wrap;
    }

    .hero-highlights li {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        flex: 0 1 auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 12px;
    }

    /* Clients Mobile Extra Small */
    .clients-showcase {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .clients-content h3 {
        font-size: 1.25rem;
        margin: 1rem 0 0.8rem;
    }

    .clients-content p {
        font-size: 0.9rem;
    }

    .clients-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .metric-card {
        padding: 1rem;
        border-radius: 10px;
    }

    .metric-value {
        font-size: 1.3rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .client-card {
        padding: 0.8rem;
        min-height: 80px;
        border-radius: 10px;
    }

    .client-card img {
        max-width: 100px;
        max-height: 45px;
    }

    /* FAQ Mobile Extra Small */
    .faq-intro {
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .faq-intro h3 {
        font-size: 1.25rem;
    }

    .faq-intro p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .faq-bullet {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .faq-list {
        gap: 0.6rem;
    }

    .faq-item {
        padding: 1rem;
        border-radius: 10px;
    }

    .faq-question {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .faq-toggle {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .faq-answer {
        font-size: 0.85rem;
        max-height: 250px;
        margin-top: 0.8rem;
        line-height: 1.5;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* About Mobile Extra Small */
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    /* Services Grid Extra Small */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    /* Testimonials Extra Small */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .testimonial-quote {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-name {
        font-size: 0.95rem;
    }

    .testimonial-role {
        font-size: 0.8rem;
    }

    /* Contact Form Extra Small */
    .contact-form {
        gap: 1rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    /* Footer Extra Small */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Portfolio Modal Extra Small */
    .modal-dialog {
        width: 100%;
        margin: 0 auto;
        border-radius: 16px;
        max-height: 95vh;
    }

    .modal-media {
        height: 200px;
    }

    .modal-body {
        padding: 1.4rem;
        gap: 0.8rem;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .modal-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .modal-client {
        font-size: 0.9rem;
    }

    .modal-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .modal-meta {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .meta-label {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .meta-value {
        font-size: 0.9rem;
    }

    .modal-tags {
        gap: 0.4rem;
    }

    .modal-tags span {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .modal-deliverables li {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(51, 191, 234, 0.9) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(51, 191, 234, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-lighter);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

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