:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #707070;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --border-color: #2a2a2a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.cursor {
    width: 10px;
    height: 10px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease;
    opacity: 0.5;
}

@media (hover: hover) and (pointer: fine) {
    .cursor,
    .cursor-follower {
        display: block;
    }
}

@media (hover: none) or (pointer: coarse) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.8);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-primary);
    font-size: 2rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

/* Premium Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.dropdown-arrow {
    font-size: 0.625rem;
    transition: transform var(--transition-base);
    opacity: 0.7;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0;
    min-width: 650px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(99, 102, 241, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    margin-top: 0;
    overflow: hidden;
}

.dropdown-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(99, 102, 241, 0.05);
}

.dropdown-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.dropdown-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
    gap: 0.75rem;
}

[data-theme="light"] .dropdown-menu {
    background: rgba(249, 250, 251, 0.98);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 80px rgba(99, 102, 241, 0.05);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: inherit;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

[data-theme="light"] .dropdown-item {
    background: rgba(0, 0, 0, 0.02);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.dropdown-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all var(--transition-base);
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 5px 15px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.05);
}

.dropdown-item:hover::after {
    width: 150%;
    height: 150%;
}

.dropdown-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.dropdown-item:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.dropdown-item span {
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Scrollbar styling for dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

/* Add subtle animation to menu items */
@keyframes dropdownItemAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown:hover .dropdown-item {
    animation: dropdownItemAppear 0.5s ease forwards;
    opacity: 0;
}

.dropdown-items-grid .dropdown-item:nth-child(1) { animation-delay: 0.05s; }
.dropdown-items-grid .dropdown-item:nth-child(2) { animation-delay: 0.1s; }
.dropdown-items-grid .dropdown-item:nth-child(3) { animation-delay: 0.15s; }
.dropdown-items-grid .dropdown-item:nth-child(4) { animation-delay: 0.2s; }
.dropdown-items-grid .dropdown-item:nth-child(5) { animation-delay: 0.25s; }
.dropdown-items-grid .dropdown-item:nth-child(6) { animation-delay: 0.3s; }
.dropdown-items-grid .dropdown-item:nth-child(7) { animation-delay: 0.35s; }
.dropdown-items-grid .dropdown-item:nth-child(8) { animation-delay: 0.4s; }
.dropdown-items-grid .dropdown-item:nth-child(9) { animation-delay: 0.45s; }
.dropdown-items-grid .dropdown-item:nth-child(10) { animation-delay: 0.5s; }
.dropdown-items-grid .dropdown-item:nth-child(11) { animation-delay: 0.55s; }
.dropdown-items-grid .dropdown-item:nth-child(12) { animation-delay: 0.6s; }
.dropdown-items-grid .dropdown-item:nth-child(13) { animation-delay: 0.65s; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.sun-icon,
.moon-icon {
    width: 20px;
    height: 20px;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

.moon-icon {
    display: none;
}

.cta-button {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-base);
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, var(--accent-primary) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: drift 20s linear infinite;
    opacity: 0.1;
}

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -300px;
    right: -300px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -200px;
    left: -200px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05);
    }
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

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

.cta-button.primary {
    background: var(--accent-gradient);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.hero-visual {
    position: relative;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: float-card 20s ease-in-out infinite;
    cursor: pointer;
    transition: all var(--transition-base);
}

.floating-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

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

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

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

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

.hero-3d-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: conic-gradient(
        from 180deg at 50% 50%,
        var(--accent-primary) 0deg,
        var(--accent-secondary) 90deg,
        #ec4899 180deg,
        #f59e0b 270deg,
        var(--accent-primary) 360deg
    );
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
    animation: rotate 30s linear infinite;
}

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

.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.section-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

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

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

.service-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    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(--accent-gradient);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: translateX(0);
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.service-icon svg {
    position: relative;
    z-index: 1;
    color: var(--accent-primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: 0.5rem;
}

.about {
    padding: 6rem 0;
}

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

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.feature-icon {
    background: var(--accent-gradient);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.feature h4 {
    margin-bottom: 0.25rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-secondary);
}

.testimonials {
    padding: 6rem 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

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

.testimonial-track {
    display: flex;
    gap: 2rem;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    min-width: 350px;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.nav-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.nav-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.contact {
    padding: 6rem 0;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-item svg {
    color: var(--accent-primary);
}

.cta-card {
    background: var(--accent-gradient);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-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 70%);
    animation: rotate 30s linear infinite;
}

.cta-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.cta-button.large {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--accent-primary);
    position: relative;
}

.cta-button.large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

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

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

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-primary);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-weight: bold;
    font-size: 0.875rem;
}

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

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

.form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.form-overlay.active {
    display: flex;
}

.form-container {
    background: var(--bg-secondary);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

#multiStepForm {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.form-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.form-header h2 {
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
}

.form-progress {
    padding: 0 2rem 2rem;
}

.progress-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    width: 25%;
    transition: width var(--transition-base);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all var(--transition-base);
}

.step.active {
    background: var(--accent-gradient);
    color: white;
}

.form-step {
    display: none;
    padding: 2rem;
    min-height: 300px;
}

.form-step.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

.form-step h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-step h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Special styling for checkbox groups */
.form-group:has(.service-checkboxes) {
    position: static;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    font-size: 1rem;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23a0a0a0' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

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

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group select:not([value=""]) + label,
.form-group select.has-value + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--bg-secondary);
    padding: 0 0.25rem;
    color: var(--accent-primary);
}

.form-group input[placeholder=" "]:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--bg-secondary);
    padding: 0 0.25rem;
    color: var(--accent-primary);
}

.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
}

.form-group input.error:focus,
.form-group select.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Fix for Chrome autofill */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-primary) inset;
    -webkit-text-fill-color: var(--text-primary);
    transition: background-color 5000s ease-in-out 0s;
}

.checkbox-group-label {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.service-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-step[data-step="3"] .form-group:first-child {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.checkbox-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.1;
    transition: width var(--transition-base);
}

.checkbox-label:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.checkbox-label:hover::before {
    width: 100%;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    z-index: 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--accent-gradient);
    border-color: var(--accent-primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--accent-primary);
    font-weight: 600;
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.checkbox-label:has(input[type="checkbox"]:checked)::before {
    width: 100%;
    opacity: 0.15;
}

.checkbox-label span {
    position: relative;
    z-index: 1;
    user-select: none;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.form-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.form-btn.primary {
    background: var(--accent-gradient);
    color: white;
}

.form-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.form-btn.primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s;
}

.form-btn.primary:hover::after {
    width: 300px;
    height: 300px;
}

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

.form-btn.secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-success {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 2rem;
}

@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        height: 400px;
    }

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

@media (max-width: 768px) {
    /* Fix overflow issues */
    body {
        overflow-x: hidden;
    }
    
    section {
        padding: 3rem 0;
    }
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        margin-top: 1rem;
        box-shadow: none;
        border: none;
        background: var(--bg-tertiary);
        max-height: none;
    }
    
    .dropdown-arrow {
        display: none;
    }

    .nav-actions {
        display: none;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.125rem;
    }

    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle {
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 0.5rem;
        background: none;
        border: none;
        z-index: 1001;
    }
    
    .mobile-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .service-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-visual {
        display: none;
    }
    
    .stat {
        flex: 1 1 50%;
        min-width: 120px;
    }
    
    .dropdown-items-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Very small screens */
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
    }

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

    .testimonial-card {
        min-width: 280px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .testimonial-nav {
        display: none;
    }
    
    .contact-details {
        gap: 0.75rem;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    * {
        max-width: 100vw;
    }
    
    /* Fix hero section */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-bg {
        display: none;
    }
    
    /* Fix navbar */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-content {
        padding: 0 1rem;
    }
    
    /* Fix sections padding */
    section {
        padding: 3rem 0;
    }
    
    /* Fix cards and grids */
    .service-card,
    .stat-card,
    .testimonial-card {
        max-width: 100%;
    }
    
    /* Fix CTA buttons */
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Fix testimonials */
    .testimonials-slider {
        padding: 0 1rem;
    }
    
    /* Fix footer */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    /* Hide decorative elements */
    .gradient-orb,
    .particles,
    .floating-card {
        display: none;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}