/* ===============================
   JP Northbridge – Global Theme
   Primary Brand: #1B385E
================================ */

:root {
    --primary: #1B385E;
    --primary-dark: #152b49;
    --accent: #fbbf24;
    --light-bg: #f4f7fb;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body background */
body {
    background-color: var(--light-bg);
}

/* ===============================
   HERO SECTION
================================ */
.hero-gradient,
.contact-hero,
.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #1B385E 0%,
        #274a7d 100%
    );
    color: #ffffff;
}

.hero-gradient::before,
.contact-hero::before,
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-gradient .container,
.contact-hero .container,
.about-hero .container {
    position: relative;
    z-index: 2;
}

/* ===============================
   SERVICE CARDS
================================ */
.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(27, 56, 94, 0.18) !important;
}

/* ===============================
   BUTTONS
================================ */
.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(27, 56, 94, 0.35);
}

/* Accent CTA (optional) */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.btn-accent:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
}

/* ===============================
   FORMS
================================ */
.form-control,
.form-select {
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(27, 56, 94, 0.15);
}

/* ===============================
   CARDS
================================ */
.card {
    border-radius: 14px;
}

/* ===============================
   SECTIONS
================================ */
section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ===============================
   NAVBAR LOGO
================================ */
.navbar-logo {
    max-height: 42px;
    width: auto;
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.04);
}


/* ===============================
 Cuustom CSS
================================ */

.section-title:after{
    right: 0;
    margin: auto;
}


@media (max-width: 576px) {
    .navbar-logo {
        max-height: 34px;
    }
}

/* ===============================
   TYPOGRAPHY (RESPONSIVE)
================================ */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.4rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* ===============================
   FADE-IN ANIMATION
================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===============================
   CUSTOM SCROLLBAR
================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e5e7eb;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
/* HERO SPACING – CLEAN & PREMIUM */
.hero-gradient {
    padding-top: 0.5rem; /* tight logo/menu → hero spacing */
}

.hero-inner {
    padding-top: 2.25rem;   /* reduced from py-5 */
    padding-bottom: 2.5rem;
}

/* Desktop refinement */
@media (min-width: 992px) {
    .hero-inner {
        padding-top: 2rem;
        padding-bottom: 2.25rem;
    }
}

/* Typography tightening */
.hero-gradient h1 {
    margin-bottom: 1.25rem;
}

.hero-gradient .lead {
    margin-bottom: 1.5rem;
}

.btn-outline-primary {
    color: #1B385E;
    border-color: #1B385E;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #1B385E;
    color: #ffffff;
    border-color: #1B385E;
}

.btn-outline-primary:active {
    background-color: #162E4C;
    border-color: #162E4C;
}
