/* ==================================================
   VARIABLES & RESET
================================================== */
:root {
    --primary: #0056d2;
    --primary-dark: #002d62;
    --accent: #0ea5e9;
    --bg-light: #f8fafc;
    --bg-soft: #f1f5f9;
    --text-dark: #0b1f38;
    --text-muted: #475569;
    --border: #e2e8f0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

/* ==================================================
   CONTAINER
================================================== */
.container {
    width: 92%;
    max-width: 1240px;
    margin: auto;
}

/* ==================================================
   BUTTONS
================================================== */
.btn {
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 14px 32px rgba(0, 86, 210, 0.35);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 86, 210, 0.45);
}

.btn.large {
    padding: 16px 38px;
    font-size: 17px;
}

/* ============================================================================
   HEADER – Clean, Compact, Responsive
============================================================================ */
.header {
    width: 100%;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
}

/* ============================================================================
   NAVIGATION MENU
============================================================================ */
.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #002D62;
    padding: 8px 0;
    transition: 0.25s;
}

.navbar ul li a:hover {
    color: #0096FF;
}

/* ============================================================================
   STABLE DROPDOWN (DESKTOP)
============================================================================ */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 55px;
    left: 0;
    width: 250px;
    padding: 20px 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.dropdown:hover .mega-menu,
.dropdown.hover-active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    height: 25px;
}

.mega-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #002D62;
    margin-bottom: 10px;
}

.mega-menu a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #002D62;
    text-decoration: none;
    transition: 0.2s ease;
}

.mega-menu a:hover {
    color: #0096FF;
    padding-left: 5px;
}

/* ============================================================================
   MOBILE MENU ICON
============================================================================ */
.mobile-menu-icon {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

/* ============================================================================
   MOBILE RESPONSIVE
============================================================================ */
@media (max-width: 900px) {

    .mobile-menu-icon {
        display: block;
    }

    .navbar .nav-links {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        padding: 20px 0;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }

    .nav-links.nav-active {
        max-height: 700px;
        opacity: 1;
        pointer-events: auto;
        border-bottom: 1px solid #eee;
    }

    .dropdown:hover .mega-menu {
        display: none;
    }

    .dropdown.open .mega-menu {
        display: block !important;
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto;
        padding: 12px 20px;
        background: #f4f8ff;
        border-radius: 10px;
        box-shadow: none;
    }
}

/* ================= HERO LAYOUT ================= */
.tools-hero {
    padding: 150px 0 120px;
    background: radial-gradient(circle at top right, #0ea5e9, #002d62 55%);
    color: #ffffff;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

/* LEFT CONTENT */
.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 19px;
    max-width: 560px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

/* RIGHT IMAGE */
.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.hero-cta .btn {
    background: linear-gradient(135deg, #0b84ff, #0056d2);
    color: #ffffff;
    border: none;
    box-shadow: 0 14px 34px rgba(11, 132, 255, 0.35);
}

.hero-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(11, 132, 255, 0.45);
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-content h1 {
        font-size: 34px;
    }
}


/* ==================================================
   INTRO
================================================== */
.tools-intro {
    padding: 100px 0 80px;
    background: var(--white);
    text-align: center;
}

.tools-intro h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 14px;
}

.tools-intro p {
    max-width: 860px;
    margin: auto;
    color: var(--text-muted);
}

/* ==================================================
   TOOLS GRID
================================================== */
.tools-grid-section {
    padding: 110px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 34px;
}

.tool-card {
    background: var(--white);
    border-radius: 18px;
    padding: 34px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(2, 8, 23, 0.08);
    transition: all 0.35s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(2, 8, 23, 0.12);
}

.tool-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.tool-card ul {
    list-style: none;
}

.tool-card ul li {
    padding: 9px 0;
    font-size: 15.5px;
    color: #334155;
    border-bottom: 1px dashed var(--border);
}

.tool-card ul li:last-child {
    border-bottom: none;
}

/* ==================================================
   DEPLOYMENT
================================================== */
.tools-deployment {
    background: linear-gradient(180deg, var(--white), var(--bg-soft));
    padding: 110px 0;
    text-align: center;
}

.tools-deployment h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 50px;
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.deployment-box {
    background: var(--white);
    padding: 26px;
    border-radius: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.08);
}

/* ==================================================
   CTA
================================================== */
.tools-final-cta {
    background: linear-gradient(135deg, var(--primary-dark), #001a3a);
    padding: 120px 0;
    color: var(--white);
    text-align: center;
}

.tools-final-cta h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 14px;
}

.tools-final-cta p {
    max-width: 760px;
    margin: auto auto 36px;
    opacity: 0.9;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 768px) {
    .tools-hero h1 {
        font-size: 32px;
    }

    .tools-intro h2,
    .tools-deployment h2,
    .tools-final-cta h2 {
        font-size: 28px;
    }
}
