/* =========================
   GLOBAL RESET
========================= */

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

a {
    text-decoration: none;
}

/* =========================
   BUTTONS
========================= */

.btn {
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
}

/* =========================
   NAVBAR
========================= */

.custom-navbar {
    background: #0f172a;
    padding: 12px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,.15);
    z-index: 1050;
}

.custom-navbar .nav-link {
    color: #fff !important;
    margin: 0 8px;
    font-weight: 500;
}

.custom-navbar .nav-link:hover {
    color: #fbbf24 !important;
}

/* =========================
   NAVBAR BRAND (DESKTOP)
========================= */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   HERO
========================= */

.hero-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-section h1 {
    font-size: 1.8rem;
    word-break: break-word;
    line-height: 1.3;
}

/* =========================
   CARDS
========================= */

.card {
    border: none;
    border-radius: 18px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    z-index: 9999;
}

/* =========================
   CALL BUTTON
========================= */

.call-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #111827;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    z-index: 9999;
}

/* =========================
   MOBILE FIX (IMPORTANT)
========================= */

@media (max-width: 991px) {

    /* navbar padding fix */
    .custom-navbar .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* 🔥 MAIN FIX: logo + title LEFT ALIGN */
    .navbar-brand {
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
        width: 100%;
    }

    /* logo size control */
    .navbar-brand img {
        height: 45px !important;
        flex-shrink: 0;
    }

    /* text wrap control */
    .navbar-brand div {
        text-align: left;
    }

    /* mobile menu background */
    .navbar-collapse {
        background: #0f172a;
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
    }
}

/* =========================
   IMAGE SAFETY
========================= */

img {
    max-width: 100%;
    height: auto;
}