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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.navbar-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

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

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

.navbar-nav a:hover::after {
    width: 100%;
}
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10rem 3rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.95);
    max-width: 900px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cta-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

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

/* Stats Section */
.stats {
    background: white;
    padding: 4rem 3rem;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 6rem 3rem;
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.service-card > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.7rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-features li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Why Choose Us */
.why-choose {
    padding: 6rem 3rem;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: white;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) .feature-icon {
    animation-delay: 0.6s;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

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

/* Technologies */
.technologies {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.tech-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.tech-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.4);
}

/* CTA Section */
.cta-section {
    padding: 6rem 3rem;
    background: var(--light);
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
}

.cta-section p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: var(--dark);
}

.contact-icon {
    font-size: 2rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 991px) {
    nav {
        padding: 0 1.5rem;
    }
    
    .navbar-nav {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    .logo {
        height: 30px;
    }
    .hero {
        padding: 8rem 1.5rem 5rem;
        margin-top: 68px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 767px) {
    .hamburger {
        display: block;
    }
    .navbar-nav {
        position: fixed;
        top: 68px;
        right: -100%;
        height: calc(100vh - 68px);
        width: 70%;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        z-index: 999;
    }
    .scrolled .navbar-nav {
        top: 55px;
        height: calc(100vh - 55px);
    }
    .navbar-nav.active {
        right: 0;
    }
    .navbar-nav li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 20px;
    }
    .hamburger.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    .hero {
        padding: 2rem 1.5rem;
    }
    .stats,
    .services,
    .why-choose,
    .technologies,
    .cta-section {
        padding: 3rem 2rem;
    }
    .stats-grid {
        gap: 2rem;
    }
    .stat-item {
        padding: 0;
    }
    .stat-number {
        line-height: 1.2;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        line-height: 1.25;
    }
    .section-subtitle {
        font-size: 1.25rem;
        line-height: 1.25;
    }
    .services-grid,
    .features-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    .service-card,
    .feature-card {
        padding: 1.5rem;
    }
    .service-icon,
    .feature-icon {
        line-height: 1;
        margin-bottom: .75rem;
    }
    .service-card h3,
    .feature-card h4 {
        font-size: 1.5rem;
        margin-bottom: .5rem;
    }
    .service-card > p {
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    .service-features li {
        padding: 0.5rem 0;
        gap: 0.75rem;
        line-height: 1.25;
    }
    .feature-card p {
        line-height: 1.5;
    }
    .tech-grid {
        margin-top: 2rem;
        gap: 1.25rem;
    }
    .tech-item {
        padding: 1rem;
    }
    .cta-section h2 {
        font-size: 2.5rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    .cta-section p {
        font-size: 1.25rem;
        line-height: 1.25;
        margin-bottom: 1.5rem;
    }
    .contact-info {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .contact-icon {
        line-height: 1;
    }
    footer {
        padding: 1.5rem;
    }
    .footer-content {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    .footer-section h3 {
        font-size: 1.25rem;
        margin-bottom: .5rem;
    }
    .footer-section p,
    .footer-section a {
        margin-bottom: .5rem;
        line-height: 1.5;
    }
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: .875rem;
    }
}
@media (max-width: 575px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
