:root {
    --mj-blue: #1a237e;
    --mj-gray: #6c757d;
}

/* Split Top Bar */
.top-split-bar {
    font-size: 0.9rem;
    font-weight: 600;
}

.top-split-left {
    background-color: #444;
    color: white;
    padding: 8px 0;
}

.top-split-right {
    background-color: #1a237e;
    color: white;
    padding: 8px 0;
    transition: background 0.3s;
}

.top-split-right:hover {
    background-color: #0d193c;
    cursor: pointer;
}

/* Navbar */
.navbar-brand img {
    max-height: 55px;
    width: auto;
}

.navbar-brand span {
    font-weight: bold;
    color: var(--mj-blue);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 35, 126, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-light .navbar-toggler {
    border-color: #1a237e !important;
}

/* Resting State: Professional Dark Gray, Bold, Uppercase */
.navbar-light .navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

/* Hover/Active State: Brand Purple with Thick Underline */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #1a237e !important;
    border-bottom: 3px solid #1a237e;
}

/* Mobile Menu Dropdown Styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #f8f9fa;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
        margin-top: 1rem;
        padding: 1.5rem 1rem;
        border-radius: 0.25rem;
    }
    
    .navbar-collapse .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar-collapse .nav-link {
        font-weight: 500 !important;
        color: #495057 !important;
        padding: 0.75rem 0 !important;
        border-bottom: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
    
    .navbar-collapse .nav-link:hover {
        color: var(--mj-blue) !important;
        border-bottom: none !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 25, 60, 0.25), rgba(13, 25, 60, 0.35)), url('../7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.hero-section .container {
    z-index: 1;
}

.hero-section h1, .hero-section p, .hero-section .lead {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.min-vh-75 {
    min-height: 75vh;
}

.usp-highlight {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.6;
}

/* Primary Button */
.btn-mj {
    background-color: var(--mj-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    min-height: 44px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-mj:hover {
    background-color: #283593;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Trust Section */
.trust-section {
    padding: 0;
}

.mj-trust-band {
    background-color: #f5f6f8;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 3rem 0;
}

.trust-card {
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-card > div.rounded-circle {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.35rem !important;
    margin-bottom: 0.75rem !important;
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--mj-blue);
    line-height: 1;
    margin-bottom: 1rem;
}

.trust-card h5 {
    color: var(--mj-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.trust-card p {
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Section Divider */
.mj-section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0 20%, #e0e0e0 80%, transparent);
    margin: 0;
    width: 100%;
}

/* Section Title Typography */
.mj-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Services Section */
.mj-service-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    background-color: white;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mj-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.mj-service-card .card-title {
    color: var(--mj-blue);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.mj-service-card .card-text {
    line-height: 1.6;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    background-color: white;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.mj-gallery-frame {
    height: 300px;
    display: flex;
    align-items: center;
}

.mj-gallery-frame-top {
    align-items: flex-start;
}

.mj-gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.mj-crop-top {
    object-position: center top;
}

.mj-crop-center {
    object-position: center center;
}

.mj-crop-bottom {
    object-position: center bottom;
}

.overlay-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Why Section */
.why-section h4 {
    color: var(--mj-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Parallax Background */
.parallax-bg {
    background-image: url('../8.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-section a {
    color: var(--mj-blue);
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

.mj-form-reassurance {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    border-top: 1px solid #e0e0e0;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    min-height: 44px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.mobile-cta-call {
    background-color: #444;
}

.mobile-cta-call:hover {
    background-color: #333;
    color: white;
}

.mobile-cta-quote {
    background-color: var(--mj-blue);
}

.mobile-cta-quote:hover {
    background-color: #283593;
    color: white;
}

body {
    padding-bottom: 0;
}

/* Mobile Typography */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 2.5rem 0;
    }
    
    .usp-highlight {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }
    
    .mj-trust-band {
        padding: 2.5rem 0;
    }
    
    .trust-card {
        padding: 1.5rem 1rem;
    }
    
    .mj-section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .mj-gallery-frame {
        height: 280px;
    }
    
    .mj-service-card {
        min-height: auto;
        padding: 1.75rem 1.25rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .parallax-bg {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

