:root {
    --primary-navy: #0a1128;
    --navy-dark: #060a19;
    --navy-light: #121c3d;
    --accent-red: #d6141a;
    --accent-red-hover: #b70f14;
    --accent-red-soft: rgba(214, 20, 26, 0.1);
    --dark-slate: #11141a;
    --light-bg: #f8fafc;
    --border-color: rgba(10, 17, 40, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-navy);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-navy);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Color Classes */
.text-navy {
    color: var(--primary-navy) !important;
}

.text-red {
    color: var(--accent-red) !important;
}

.bg-navy {
    background-color: var(--primary-navy) !important;
}

.bg-navy-dark {
    background-color: var(--navy-dark) !important;
}

.bg-light-soft {
    background-color: var(--light-bg) !important;
}

.bg-red-soft {
    background-color: var(--accent-red-soft) !important;
}

/* Buttons */
.btn-brand-red {
    background: linear-gradient(135deg, #e51820 0%, #b70f14 100%);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    padding: 0.7rem 1.6rem;
    border-radius: 50rem;
    box-shadow: 0 8px 20px rgba(214, 20, 26, 0.28);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-brand-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(214, 20, 26, 0.38);
    background: linear-gradient(135deg, #f01c24 0%, #ca1015 100%);
}

.btn-outline-red {
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    font-weight: 600;
    border-radius: 50rem;
    padding: 0.65rem 1.5rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-red:hover {
    background-color: var(--accent-red);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-whatsapp-outline {
    border: 1px solid rgba(37, 211, 102, 0.6);
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    font-weight: 600;
    border-radius: 50rem;
    padding: 0.7rem 1.6rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-whatsapp-outline:hover {
    background: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background: #050814;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar */
.navbar {
    background: rgba(10, 17, 40, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.35s ease;
}

.navbar.scrolled {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-link {
    font-weight: 500;
    font-size: 0.94rem;
    color: #e2e8f0 !important;
    margin: 0 0.3rem;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff4d52 !important;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 85% 25%, rgba(214, 20, 26, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 12% 75%, rgba(18, 28, 61, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, #060a19 0%, #0a1128 55%, #101a3b 100%);
    color: #ffffff;
    padding: 105px 0 95px;
    position: relative;
}

.badge-pill-custom {
    background: rgba(214, 20, 26, 0.16);
    border: 1px solid rgba(214, 20, 26, 0.4);
    color: #ff7e82;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border-radius: 1.35rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* Badges & Headers */
.section-badge {
    color: var(--accent-red);
    background: var(--accent-red-soft);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.95rem;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-navy);
    margin-bottom: 0.85rem;
}

/* Services Section */
.nav-pills-custom .nav-link {
    color: var(--primary-navy) !important;
    background: #edf2f9;
    border-radius: 50rem;
    padding: 0.6rem 1.4rem;
    margin: 0.25rem;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.nav-pills-custom .nav-link.active {
    background: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(214, 20, 26, 0.25);
}

.service-card {
    background: #ffffff;
    border: 1px solid #e9edf5;
    border-radius: 1.15rem;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-red);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(10, 17, 40, 0.08);
    border-color: rgba(214, 20, 26, 0.25);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    background: #f1f5fa;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: var(--accent-red);
    color: #ffffff;
    transform: scale(1.05);
}

/* Workflow Section */
.workflow-card {
    background: #ffffff;
    border: 1px solid #e7edf7;
    border-radius: 1.25rem;
    padding: 2.2rem 1.6rem;
    position: relative;
    transition: all 0.35s ease;
    height: 100%;
}

.workflow-card:hover {
    transform: translateY(-7px);
    border-color: rgba(214, 20, 26, 0.3);
    box-shadow: 0 18px 40px rgba(10, 17, 40, 0.08);
}

.step-number {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(10, 17, 40, 0.07);
    font-family: var(--font-heading);
    line-height: 1;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-red-soft);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

/* Advantages / Why Choose Us */
.advantage-card {
    background: #ffffff;
    border-radius: 1.1rem;
    border: 1px solid #ebf1f8;
    padding: 2rem 1.6rem;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: rgba(214, 20, 26, 0.25);
    box-shadow: 0 14px 30px rgba(10, 17, 40, 0.06);
    transform: translateY(-4px);
}

/* Testimonials */
.testimonial-card {
    background: #ffffff;
    border-radius: 1.2rem;
    border: 1px solid #e7edf6;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 15px 35px rgba(10, 17, 40, 0.07);
    border-color: rgba(214, 20, 26, 0.2);
}

.star-rating {
    color: #ffb703;
    font-size: 0.95rem;
}

/* Contact Card */
.contact-card-info {
    background: linear-gradient(145deg, #060a19 0%, #0c1433 100%);
    color: #ffffff;
    border-radius: 1.35rem;
}

/* Tech Stack Badge */
.tech-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50rem;
    padding: 0.55rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.tech-pill:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(214, 20, 26, 0.12);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
    background: #25d366;
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 28px;
    z-index: 1040;
    background: var(--primary-navy);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-red);
    color: #ffffff;
}

/* Custom Toast */
.custom-toast {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1090;
    min-width: 330px;
}
