:root {
    --primary: #3b82f6;
    --secondary: #0f172a;
    --dark: #020617;
    --light: #f8fafc;
    --border: rgba(255,255,255,0.08);
}

body {
    font-family: "Inter", sans-serif;
    background: var(--dark);
    color: white;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */

.custom-navbar {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    margin-left: 1rem;
}

.nav-link:hover {
    color: white !important;
}

/* HERO */

.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 30%),
        radial-gradient(circle at bottom right, rgba(37,99,235,0.25), transparent 30%),
        #020617;
}

.hero-badge {
    background: rgba(59,130,246,0.15);
    color: #93c5fd;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(59,130,246,0.4);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin: 2rem 0;
    max-width: 600px;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-outline-light {
    border-radius: 12px;
}

.hero-stats h3 {
    font-weight: 700;
}

.hero-stats p {
    color: rgba(255,255,255,0.6);
}

/* DASHBOARD CARD */

.dashboard-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.dashboard-top {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.dashboard-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
}

.dashboard-body {
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.status-badge {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dashboard-widget {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
}

.dashboard-widget h2 {
    margin: 1rem 0;
    font-weight: 700;
}

.full-width {
    grid-column: span 2;
}

.curve-chart {
    position: relative;
    height: 100px;
    margin-top: 1rem;
}

.curve-chart .line {
    position: absolute;
    width: 100%;
    height: 100%;
    border-bottom: 3px solid var(--primary);
    border-radius: 100px;
    transform: skewY(-4deg);
}

.positive {
    color: #4ade80;
}

.neutral {
    color: #facc15;
}

/* SECTIONS */

.features-section,
.platform-section,
.contact-section {
    background: #0f172a;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.7rem;
    font-weight: 800;
    margin-top: 1rem;
}

.section-text {
    color: rgba(255,255,255,0.7);
}

/* FEATURES */

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59,130,246,0.5);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h4 {
    margin: 1.5rem 0 1rem;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
}

/* PLATFORM */

.platform-image {
    height: 500px;
    background:
        linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.8)),
        url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=1400&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    position: relative;
}

.platform-overlay-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(2,6,23,0.9);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
}

.platform-overlay-card ul {
    padding-left: 1rem;
    margin-top: 1rem;
}

.platform-overlay-card li {
    margin-bottom: 0.7rem;
}

.point-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.point-item i {
    color: #4ade80;
    margin-right: 1rem;
}

/* CONTACT */

.contact-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
}

.form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    padding: 0.9rem 1rem;
}

.form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    box-shadow: none;
    color: white;
}

textarea.form-control {
    resize: none;
}

/* FOOTER */

.footer-section {
    background: #020617;
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-section p {
    color: rgba(255,255,255,0.6);
}

/* =========================================
   OFFICES SECTION
========================================= */

.offices-section {
    background:
        radial-gradient(circle at top right, rgba(59,130,246,0.08), transparent 30%),
        #020617;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* =========================================
   ROW SPACING
========================================= */

.office-row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

/* =========================================
   CARD
========================================= */

.office-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 28px;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,0.98),
            rgba(2,6,23,1)
        );

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transition: all 0.35s ease;
}

/* Glow Effect */

.office-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(59,130,246,0.12),
            transparent 60%
        );

    opacity: 0;

    transition: 0.35s ease;

    z-index: 1;
}

.office-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59,130,246,0.4);
}

.office-card:hover::before {
    opacity: 1;
}

/* =========================================
   IMAGE
========================================= */

.office-image {
    position: relative;

    width: 100%;
    height: 260px;

    overflow: hidden;

    flex-shrink: 0;
}

.office-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    transition: transform 0.5s ease;
}

.office-card:hover .office-image img {
    transform: scale(1.08);
}

/* Image Overlay */

.office-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(2,6,23,0.95),
            rgba(2,6,23,0.1)
        );
}

/* Floating Badge */

.office-floating-badge {
    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 3;

    padding: 0.6rem 1rem;

    border-radius: 50px;

    font-size: 0.85rem;
    font-weight: 600;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    color: white;

    border: 1px solid rgba(255,255,255,0.2);
}

/* =========================================
   CONTENT
========================================= */

.office-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 2.5rem;
}

/* =========================================
   TOP
========================================= */

.office-top {
    margin-bottom: 1.5rem;
}

/* =========================================
   ICON
========================================= */

.office-icon {
    width: 70px;
    height: 70px;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(59,130,246,0.12);

    border: 1px solid rgba(59,130,246,0.2);
}

.office-icon i {
    font-size: 1.8rem;
    color: #60a5fa;
}

/* =========================================
   TITLES
========================================= */

.office-card h3 {
    font-size: 2rem;
    font-weight: 700;

    margin-bottom: 1rem;

    color: white;
}

/* =========================================
   DESCRIPTION
========================================= */

.office-card p {
    color: rgba(255,255,255,0.7);

    line-height: 1.8;

    margin-bottom: 2rem;
}

/* =========================================
   DETAILS
========================================= */

.office-details {
    margin-top: auto;
}

.office-item {
    display: flex;
    align-items: center;

    margin-bottom: 1rem;

    color: rgba(255,255,255,0.85);
}

.office-item i {
    width: 38px;
    height: 38px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);

    margin-right: 1rem;

    color: #60a5fa;
}

/* =========================================
   CUSTOM COLORS
========================================= */

.paris-card {
    background:
        linear-gradient(
            135deg,
            rgba(37,99,235,0.10),
            rgba(15,23,42,0.98)
        );
}

.mauritius-card {
    background:
        linear-gradient(
            135deg,
            rgba(14,165,233,0.10),
            rgba(15,23,42,0.98)
        );
}

/* =========================================
   SOFTWARE SECTION
========================================= */

.software-section {
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.08), transparent 30%),
        #0f172a;
}

/* CARD */

.software-card {
    position: relative;

    overflow: hidden;

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,0.98),
            rgba(2,6,23,1)
        );

    border: 1px solid rgba(255,255,255,0.08);

    transition: all 0.35s ease;

    cursor: pointer;

    height: 100%;
}

.software-card:hover {
    transform: translateY(-8px);

    border-color: rgba(59,130,246,0.4);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.45);
}

/* IMAGE */

.software-image {
    height: 240px;
    overflow: hidden;
}

.software-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.software-card:hover .software-image img {
    transform: scale(1.05);
}

/* CONTENT */

.software-content {
    padding: 1.8rem;
}

.software-content h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.software-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* =========================================
   MODAL
========================================= */

.software-modal {
    background: #020617;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    overflow: hidden;
}

.modal-header {
    padding: 1.5rem 2rem;
}

.modal-title {
    color: white;
    font-weight: 700;
}

.modal-body {
    padding: 0 2rem 2rem;
}

.modal-body p {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
}

.modal-software-image {
    width: 100%;

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.08);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .office-image {
        height: 220px;
    }

    .office-content {
        padding: 2rem;
    }

    .office-card h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 991px) {

    .office-card {
        padding: 2rem;
    }

    .office-card h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 991px) {

    .office-image {
        height: 220px;
    }

    .office-content {
        padding: 2rem;
    }
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .hero-title {
        font-size: 2.8rem;
    }

    .dashboard-card {
        margin-top: 4rem;
    }

    .section-title {
        font-size: 2rem;
    }
}