:root {
    --primary: #0793f3;
    --primary-hover: #0670c7;
    --secondary: #FFFFFF;
    --dark: #0a2540;
    --text-body: #1a1a2e;
    --bg-subtle: #f4f9ff;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--secondary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
}

a { text-decoration: none; transition: all 0.3s ease; }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
}
.btn-outline-custom:hover {
    background-color: var(--primary);
    color: white;
}

.btn-pill { border-radius: 50px; }

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    max-width: 100vw;
}
.navbar-brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}
.navbar-brand-text span { color: var(--primary); }
.navbar.scrolled {
    background-color: var(--dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}
.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    margin-right: 0.5rem;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1020;
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar-nav { width: 100%; align-items: flex-start !important; }
    .nav-item { width: 100%; margin-bottom: 0.5rem; }
    .nav-link { padding: 0.75rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-item:last-child { margin-top: 1rem !important; width: 100%; }
    .btn-pill { width: 100%; text-align: center; display: block; }
}
@media (min-width: 992px) {
    .navbar-collapse {
        background-color: transparent !important;
        position: static;
        padding: 0;
        border: none;
        max-height: none;
        overflow: visible;
    }
    .nav-item { width: auto; margin-bottom: 0; }
    .nav-link { border-bottom: none; padding: 0.5rem 1rem; }
    .btn-pill { width: auto; display: inline-block; }
}

/* Hero */
.hero-section {
    background-color: var(--dark);
    background-image: linear-gradient(135deg, rgba(7, 147, 243, 0.15) 0%, rgba(10, 37, 64, 0) 60%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-title {
    color: white;
    font-size: 2.125rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-lead {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin-bottom: 2rem;
}
.hero-badge {
    background: rgba(7, 147, 243, 0.15);
    color: var(--primary);
    border: 1px solid rgba(7, 147, 243, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.hero-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-img-wrap img { width: 100%; height: auto; display: block; }

/* Sections */
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.section-subtitle {
    color: #6c757d;
    max-width: 720px;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(7,147,243,0.05);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(7,147,243,0.1);
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

/* Service Cards */
.service-card {
    background: white;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(7,147,243,0.05);
}
.service-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(7,147,243,0.1);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #0670c7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.25rem;
}

/* Process Steps */
.process-step {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    position: relative;
    border: 1px solid #eef2f7;
    transition: all 0.3s;
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(7,147,243,0.1);
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #eef2f7;
    height: 100%;
    position: relative;
    transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(7,147,243,0.15);
}
.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-heading);
}

.display-5 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

/* Project Cards */
.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef2f7;
    transition: all 0.3s;
    height: 100%;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(7,147,243,0.12);
}
.project-img {
    height: 220px;
    background: var(--bg-subtle);
    overflow: hidden;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.project-card:hover .project-img img { transform: scale(1.05); }

/* Testimonial */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}
.stars { color: #ffc107; font-size: 1.1rem; margin-bottom: 1rem; }

/* FAQ */
.accordion-button:not(.collapsed) {
    background-color: rgba(7, 147, 243, 0.08);
    color: var(--primary);
    font-weight: 600;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(7, 147, 243, 0.25);
}

/* Service Areas */
.area-tag {
    display: inline-block;
    background: var(--bg-subtle);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 50px;
    margin: 5px;
    font-weight: 500;
    border: 1px solid #e0eaf5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0d3a6b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(7,147,243,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}
footer h5 { color: white; margin-bottom: 1.5rem; font-size: 1.125rem; }
footer a { color: #adb5bd; }
footer a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.whatsapp-float.show { opacity: 1; visibility: visible; }
.whatsapp-float:hover { color: white; transform: scale(1.1); }

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background-color: var(--primary-hover); }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse-anim { animation: pulse-green 2s infinite; }

/* Breadcrumb */
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}
.breadcrumb-custom .breadcrumb-item {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}
.breadcrumb-custom .breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-custom .breadcrumb-item.active { color: var(--primary); }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-section { padding: 120px 0 60px; }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .display-5 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
}

@media (max-width: 426px) {
    .display-5 { font-size: 1.125rem; }
    h3 { font-size: 1.125rem; }
}