/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f6f9fc;
    color: #0b1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: #0a58ca;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(10, 88, 202, 0.3);
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    background: #084298;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(10, 88, 202, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #0a58ca;
    color: #0a58ca;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-outline:hover {
    background: #0a58ca;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 88, 202, 0.2);
}

/* ============================================
   NAVBAR - COMPLETELY FIXED
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: #0a58ca;
}

.logo i {
    font-size: 1.8rem;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    color: #4a5b6e;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #0a58ca;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a:hover {
    color: #0a58ca;
    background: rgba(10, 88, 202, 0.05);
}

.nav-links a.active {
    color: #0a58ca;
    background: rgba(10, 88, 202, 0.08);
}

.nav-links .nav-cta {
    background: #0a58ca;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

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

.nav-links .nav-cta:hover {
    background: #084298;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 88, 202, 0.3);
}

/* ============================================
   HAMBURGER MENU (Animated)
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    background: transparent;
    border: none;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(10, 88, 202, 0.05);
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #0b1a2e;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background: #0a58ca;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background: #0a58ca;
}

/* ============================================
   MOBILE OVERLAY
   ============================================ */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    padding: 0;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

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

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f4f9;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-header .logo {
    font-size: 1.4rem;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #4a5b6e;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    background: #f0f4f9;
    color: #0a58ca;
}

.mobile-nav-links {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-links li {
    display: block;
}

.mobile-nav-links a {
    display: block;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.05rem;
    color: #0b1a2e;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: #f0f6ff;
    color: #0a58ca;
    padding-left: 24px;
}

.mobile-nav-links .mobile-cta {
    background: #0a58ca;
    color: #fff !important;
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
}

.mobile-nav-links .mobile-cta:hover {
    background: #084298;
    padding-left: 18px;
}

.mobile-menu-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f4f9;
    margin-top: auto;
    background: #fafcff;
    position: sticky;
    bottom: 0;
}

.mobile-menu-footer p {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #4a5b6e;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-footer p i {
    color: #0a58ca;
    width: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(145deg, #f0f6ff 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 400px;
}

.hero-content .badge {
    background: #dbeafe;
    color: #0a58ca;
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-content h1 i {
    color: #0a58ca;
}

.hero-content p {
    font-size: 1.2rem;
    color: #2c3e50;
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats div {
    text-align: left;
}

.hero-stats strong {
    font-size: 2rem;
    font-weight: 800;
    color: #0a58ca;
    display: block;
}

.hero-visual {
    flex: 1 1 300px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" width="400" height="300"><rect width="400" height="300" fill="%23e6f0ff" rx="20"/><circle cx="200" cy="120" r="60" fill="%230a58ca" opacity="0.2"/><circle cx="200" cy="120" r="40" fill="%230a58ca" opacity="0.4"/><circle cx="200" cy="120" r="20" fill="%230a58ca"/><rect x="120" y="200" width="160" height="20" rx="10" fill="%230a58ca" opacity="0.3"/><rect x="150" y="230" width="100" height="12" rx="6" fill="%230a58ca" opacity="0.2"/></svg>') no-repeat center;
    background-size: contain;
    min-height: 300px;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-title p {
    color: #4a5b6e;
    max-width: 600px;
    margin: 8px auto 0;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 80px 0;
    background: #ffffff;
}

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

.service-card {
    background: #f9fcff;
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 88, 202, 0.04);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.01);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(10, 88, 202, 0.15);
    box-shadow: 0 20px 50px rgba(10, 88, 202, 0.08);
}

.service-card i {
    font-size: 2.6rem;
    color: #0a58ca;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-card p {
    color: #3d536b;
    font-size: 0.9rem;
}

/* ============================================
   WORKFLOW
   ============================================ */
.workflow {
    padding: 80px 0;
    background: #f0f6fe;
}

.workflow-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.workflow-text {
    flex: 1 1 300px;
}

.workflow-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.workflow-text ul {
    list-style: none;
    margin: 24px 0;
}

.workflow-text ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.workflow-text ul li i {
    color: #0a58ca;
    width: 24px;
    font-size: 1.1rem;
}

.workflow-visual {
    flex: 1 1 300px;
    background: #dce8fa;
    border-radius: 40px;
    padding: 40px 24px;
    text-align: center;
    color: #0b1a2e;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}

.stat-item {
    background: #f4f9ff;
    padding: 14px 24px;
    border-radius: 60px;
    font-weight: 600;
}

.stat-item span {
    color: #0a58ca;
    font-size: 1.4rem;
    font-weight: 800;
    margin-right: 6px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 80px 0;
    background: #f6faff;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-form {
    flex: 2 1 360px;
    background: #fff;
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.02);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 1rem;
    margin-bottom: 18px;
    transition: 0.2s;
    background: #fafcff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0a58ca;
    outline: none;
    box-shadow: 0 0 0 4px rgba(10, 88, 202, 0.05);
}

.contact-form textarea {
    border-radius: 24px;
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info .info-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.contact-info .info-item i {
    font-size: 1.4rem;
    color: #0a58ca;
    width: 36px;
}

.map-placeholder {
    background: #dce6f2;
    border-radius: 24px;
    padding: 28px 16px;
    text-align: center;
    font-weight: 500;
    margin-top: 12px;
}

.map-placeholder a {
    color: #0a58ca;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0b1a2e;
    color: #d4dfec;
    padding: 40px 0 20px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.6rem;
}

.footer-brand span {
    color: #0a58ca;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    display: block;
    margin: 4px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1f3349;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

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

    .hero-stats {
        gap: 16px;
    }

    .hero-stats strong {
        font-size: 1.4rem;
    }

    .hero-visual {
        min-height: 200px;
    }

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

    .contact-form {
        padding: 24px;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stats div {
        flex: 1 1 45%;
    }

    .hero-stats strong {
        font-size: 1.2rem;
    }

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

    /* Section Titles */
    .section-title h2 {
        font-size: 1.6rem;
    }

    /* Contact */
    .contact-form {
        padding: 16px;
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    /* Mobile Menu */
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }

    /* Buttons */
    .btn-primary,
    .btn-outline {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}