/* =========================
   GLOBAL
========================= */

:root {
    --primary-color: #0b2c4d;
    --secondary-color: #0b2c4d;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
    line-height: 1.7;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    background-color: var(--primary-color) !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 0.4px;
}

.nav-link {
    font-weight: 500;
    color: #ffffff !important;
}

.nav-link:hover,
.nav-link.active {
    text-decoration: underline;
}

.dropdown-menu {
    border-radius: 6px;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.navbar-nav .dropdown-menu {
    left: auto;
    right: 0;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 5.5rem 0;
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    position: relative;
    height: 85vh;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    z-index: 0;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 6rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 5px 9px rgba(0, 0, 0, 0.85);
}

.hero-section p {
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 5px 9px rgba(0, 0, 0, 0.85);
}

/* =========================
   SECTION DIVIDER
========================= */

.section-divider {
    height: 40px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.12),
        rgba(0, 0, 0, 0)
    );
}

/* =========================
   SECTION BOX (ABOUT / OUTER)
========================= */

.section-box,
.industries-outer-box {
    border: 2px solid rgba(11, 44, 77, 0.35);
    border-radius: 16px;
    padding: 2.5rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.section-box:hover,
.industries-outer-box:hover {
    border-color: rgba(11, 72, 135, 0.85);
    box-shadow:
        0 0 0 5px rgba(11, 72, 135, 0.35),
        0 14px 28px rgba(11, 72, 135, 0.45);
}

/* =========================
   CARDS (GLOBAL)
========================= */

.card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    border-color: rgba(11, 44, 77, 0.9);
    box-shadow:
        0 0 0 6px rgba(11, 44, 77, 0.45),
        0 18px 36px rgba(11, 44, 77, 0.35);
}

/* =========================
   SERVICES – LIST PAGE IMAGE
========================= */

.service-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   SERVICE DETAIL – IMAGE
========================= */

.service-detail-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 14px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   INDUSTRIES (INNER CARDS)
========================= */

.industry-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 14px;
    height: 100%;
    border: 2px solid rgba(11, 44, 77, 0.35);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: rgba(11, 72, 135, 1);
    box-shadow:
        0 10px 24px rgba(11, 72, 135, 0.35),
        0 0 0 3px rgba(11, 72, 135, 0.25);
}

.industry-icon {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid rgba(11, 44, 77, 0.9);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

/* =========================
   CONTACT SECTION
========================= */

#contact .row {
    align-items: stretch;
}

#contact .col-md-6 {
    display: flex;
}

#contact .col-md-6 > .card {
    flex: 1;
}

/* =========================
   FORMS & BUTTONS
========================= */

form label {
    font-weight: 500;
}

form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(11, 44, 77, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #081f36;
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: 4rem;
    font-size: 0.9rem;
}

footer ul li {
    margin-bottom: 0.4rem;
}

/* =========================
   ANIMATION
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float-left {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    line-height: 56px;
    z-index: 99999;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .hero-section {
        height: 65vh;
        min-height: 420px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .industry-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* =========================
   NAVBAR DROPDOWN HOVER
========================= */

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.dropdown-caret {
    font-size: 0.6rem;
    margin-top: 1px;
    opacity: 0.85;
}
