/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A9EFF;
    --secondary-color: #2E75B6;
    --accent-color: #64B5F6;
    --dark-bg: #0A1628;
    --darker-bg: #060D1A;
    --card-bg: #0F1B2E;
    --text-white: #E8EEF7;
    --text-gray: #B0BEC5;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--dark-bg);
    overflow-x: hidden;
    scroll-behavior: smooth;  /* Smooth scrolling */
}

/* Add subtle animations to all interactive elements */
a, button, .btn {
    transition: all 0.3s ease;
}

/* Smooth transitions for all cards */
.service-card, .pricing-card, .feature-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* UPDATED LOGO STYLING */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;  /* Reduced space between logo and text */
}

.logo img {
    height: 100px;
    width: 100px;
    filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: 'Orbitron', 'Rajdhani', 'Exo 2', 'Poppins', sans-serif;  /* Tech/modern font */
    font-size: 26px;  /* Bigger than WEB STUDIO */
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;  /* Much smaller than Softcode */
    font-weight: 400;
    color: #8AB4F8;
    letter-spacing: 3px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-cta {
    background: linear-gradient(135deg, #4A9EFF 0%, #2E75B6 100%);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #0A1628 0%, #1a2f4f 50%, #0A1628 100%);
    color: var(--text-white);
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    background-size: 200px 200px;
    animation: stars 20s linear infinite;
    opacity: 0.3;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #4A9EFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat h3 {
    font-size: 42px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat p {
    font-size: 16px;
    color: var(--text-gray);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #4A9EFF 0%, #2E75B6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(74, 158, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #4A9EFF 0%, #2E75B6 100%);
    color: white;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    padding: 80px 20px;
    background: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(74, 158, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.3);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid rgba(74, 158, 255, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.3);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4A9EFF 0%, #2E75B6 100%);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pages {
    color: var(--text-gray);
    font-size: 16px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 30px;
}

.currency {
    font-size: 24px;
    color: var(--text-gray);
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 20px;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    padding: 80px 20px;
    background: var(--darker-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, #0A1628 0%, #1a2f4f 50%, #0A1628 100%);
    color: var(--text-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent);
    background-size: 200px 200px;
    animation: stars 20s linear infinite;
    opacity: 0.2;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-bg);
    color: var(--text-gray);
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* UPDATED FOOTER LOGO STYLING (same as navbar) */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 100px;
    width: 100px;
    filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.5));
}

.footer-logo span {
    font-family: 'Orbitron', 'Rajdhani', 'Exo 2', 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.social-links a {
    text-decoration: none;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
    color: var(--text-gray);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Animated hamburger menu */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        border-top: 1px solid rgba(74, 158, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Stagger animation for menu items */
    .nav-menu.active li {
        animation: slideIn 0.5s ease forwards;
        opacity: 0;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Mobile hero animations */
    .hero-title {
        font-size: 36px;
        animation: fadeInUp 0.8s ease;
    }

    .hero-subtitle {
        font-size: 18px;
        animation: fadeInUp 1s ease;
    }

    .hero-description {
        animation: fadeInUp 1.2s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        animation: bounceIn 1.4s ease;
    }

    @keyframes bounceIn {
        0% {
            opacity: 0;
            transform: scale(0.3);
        }
        50% {
            opacity: 1;
            transform: scale(1.05);
        }
        70% {
            transform: scale(0.9);
        }
        100% {
            transform: scale(1);
        }
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    /* Animate stats on scroll */
    .stat {
        animation: popIn 0.6s ease;
    }

    .stat:nth-child(1) { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
    .stat:nth-child(2) { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }
    .stat:nth-child(3) { animation-delay: 0.6s; opacity: 0; animation-fill-mode: forwards; }

    @keyframes popIn {
        from {
            opacity: 0;
            transform: scale(0.5);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Service cards animation on mobile */
    .service-card {
        animation: fadeInScale 0.6s ease;
        animation-fill-mode: backwards;
    }

    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Enhanced card hover on mobile (tap) */
    .service-card:active {
        transform: translateY(-5px) scale(0.98);
    }

    .section-header h2 {
        font-size: 32px;
        animation: fadeIn 0.8s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Pricing cards slide in animation */
    .pricing-card {
        animation: slideInBottom 0.6s ease;
        animation-fill-mode: backwards;
    }

    .pricing-card:nth-child(1) { animation-delay: 0.1s; }
    .pricing-card:nth-child(2) { animation-delay: 0.2s; }
    .pricing-card:nth-child(3) { animation-delay: 0.3s; }
    .pricing-card:nth-child(4) { animation-delay: 0.4s; }

    @keyframes slideInBottom {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* CTA button pulse animation */
    .cta-buttons .btn-primary {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
        }
        50% {
            box-shadow: 0 4px 25px rgba(74, 158, 255, 0.6);
        }
        100% {
            box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
        }
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}