/* =========================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ========================================================= */

body {
    font-family: 'Montserrat', sans-serif;
    color: #0c0c0c;
    background-color: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover, a:focus {
    text-decoration: none;
    color: inherit;
}

.btn, .btn:focus {
    outline: none !important;
    box-shadow: none;
}

/* Spacing helpers */
.layout_padding { padding: 90px 0; }
.layout_padding2 { padding: 75px 0; }
.layout_padding2-top { padding-top: 75px; }
.layout_padding2-bottom { padding-bottom: 75px; }
.layout_padding-top { padding-top: 90px; }
.layout_padding-bottom { padding-bottom: 90px; }

/* Section headings */
.heading_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.heading_container h2 {
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
}

.heading_container h2 span {
    color: #0a97b0;
}

.heading_container p {
    margin-top: 10px;
}

.heading_container.heading_center {
    align-items: center;
    text-align: center;
}

/* Animation */
.fade_in_up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll anchor offset */
section {
    scroll-margin-top: 80px;
}


/* =========================================================
   2. HEADER & NAVIGATION
   ========================================================= */

.hero_area {
    position: relative;
    min-height: auto;
    display: block;
}

/* Top bar */
.header_section .header_top {
    padding: 12px 0;
    background-color: #04233b;
}

.header_section .header_top .contact_nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.header_section .header_top .contact_nav a {
    color: #ffffff;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.header_section .header_top .contact_nav a i {
    margin-right: 8px;
    background-color: #ffffff;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color: #0a97b0;
}

/* Bottom nav */
.header_section .header_bottom {
    background-color: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header_section .header_bottom .container-fluid {
    padding: 0 25px;
}

/* Brand logo */
.brand-logo {
    height: 100px;
    width: auto;
}

@media (max-width: 576px) {
    .brand-logo {
        height: 48px;
    }
}

/* Navbar */
.custom_nav-container {
    padding: 0;
}

.custom_nav-container .navbar-nav {
    margin-left: auto;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 6px 18px;
    color: #000000;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link,
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
    color: #0a97b0;
}

/* Mobile nav toggler */
.custom_nav-container .navbar-toggler {
    width: 37px;
    height: 42px;
    padding: 0;
    border: none;
    outline: none;
}

.custom_nav-container .navbar-toggler span {
    display: block;
    width: 35px;
    height: 4px;
    background-color: #000000;
    margin: 7px 0;
    border-radius: 5px;
    transition: 0.3s;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
    transform: rotate(90deg);
}


/* =========================================================
   3. HERO / SLIDER
   ========================================================= */

.hero_home {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.hero_home .hero_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.hero_home .hero_text {
    position: absolute;
    z-index: 2;
}

.hero_home h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero_home p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Slider section */
.slider_section {
    display: flex;
    align-items: center;
    position: relative;
}

.slider_section .slider_bg_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.slider_section .slider_bg_box img {
    min-width: 100%;
    min-height: 100%;
}

.slider_section .detail-box h1 {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
}

.slider_section .detail-box p {
    color: #fefefe;
}

.btn-contact {
    background-color: #0a97b0;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #087c90;
    color: #ffffff;
}


/* =========================================================
   4. HOMEPAGE / FEATURE SECTIONS
   ========================================================= */

.features_section {
    padding: 60px 0;
}

.features_section i {
    color: #007bff;
    margin-bottom: 15px;
}

.sts01_teaser {
    background-color: #eef4f8;
    padding: 60px 0;
}

.cta_strip {
    background-color: #007bff;
    color: #ffffff;
    padding: 40px 0;
}

.cta_strip .btn1 {
    background-color: #ffffff;
    color: #007bff;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
}


/* =========================================================
   5. ABOUT / SERVICES / MODULES
   ========================================================= */

.about_hero {
    background: #f8f9fa;
}

.about_values i {
    color: #0d6efd;
}

.service_section .box {
    display: flex;
    margin-top: 45px;
    background-color: #f8f8f9;
    padding: 20px;
    border-radius: 5px;
}

.modules_list .col-md-4 .p-4 {
    background: #ffffff;
    border-radius: 8px;
}


/* =========================================================
   6. CONTACT PAGE
   ========================================================= */

.contact_section {
    position: relative;
    padding-bottom: 90px;
}

.contact_section .form_container input {
    width: 100%;
    height: 50px;
    margin-bottom: 25px;
    padding-left: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   7. FOOTER (FIXED — NO NESTING)
   ========================================================= */

.footer {
    background-color: #04233b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
    padding-bottom: 12px;
    color: #ffffff;
}

.footer a {
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-social a {
    text-decoration: none;
    color: #ffffff;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background-color: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.footer-icon {
    height: 28px;
    width: auto;
}

.footer-credentials .footer-imi {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
}

.footer-credentials .footer-imi:hover {
    opacity: 1;
    text-decoration: underline;
}

.imi-logo {
    height: 40px;
    width: auto;
}

.footer-text p {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
    color: #fff;
}

.footer-legal {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    opacity: 0.75;
}

.footer-legal a {
    color: #ffffff;
    margin: 0 6px;
}

.footer-legal .separator {
    opacity: 0.5;
}


/* =========================================================
   8. RESPONSIVE
   ========================================================= */

@media (max-width: 576px) {
    .header_section .header_top .contact_nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero_home h1 {
        font-size: 2.1rem;
        line-height: 1.3;
    }

    .hero_home p {
        font-size: 1rem;
    }

    .features_section .col-md-4 {
        margin-bottom: 1.5rem;
    }

    .cta_strip .btn-lg {
        width: 100%;
    }

    .footer a {
        display: inline-block;
        margin: 4px 6px;
    }
}


/* =========================================================
   9. MISC UTILITIES
   ========================================================= */

.navbar-nav .nav-link.active {
    color: #007bff !important;
    font-weight: 600;
}

/* ==========================================================
    10. CUSTOM OVERRIDES
    ========================================================= */

    .signature-box {
    border: 1px solid #ccc;
    width: 300px;
    height: 150px;
    margin-bottom: 1rem;
}

/* ==========================================================
    11. PRINT STYLES
    ========================================================= */
.service-agreement-wrapper .container {
    max-width: 900px;
}

.service-agreement-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-agreement-wrapper h4 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #0a97b0;
}

.service-agreement-wrapper .form-group {
    margin-bottom: 18px;
}

.service-agreement-wrapper label {
    font-weight: 600;
    margin-bottom: 6px;
}

#signature-pad {
    border: 2px solid #ccc;
    border-radius: 6px;
    width: 100% !important;
    height: 200px !important;
}

.service-agreement-wrapper .btn-box {
    text-align: center;
    margin-top: 30px;
}

/* Signature pad */ 
#signature-pad { 
    border: 2px solid #ccc; 
    border-radius: 6px; 
    width: 100% !important; 
    height: 200px !important; 
} 
/* Clear button */ 
#clearSignature { 
    margin-top: 10px; 
} 
/* Submit button alignment */ 
.service-agreement-wrapper .btn-box { 
    text-align: 
    center; 
    margin-top: 
    30px; 
}


/* Signature box styling */
.signature-box {
    border: 1px solid #ccc;
    width: 300px;
    height: 150px;
    margin-bottom: 1rem;
}