/* css/style.css */
:root {
    --red: #BE0F14;
    --navy: #002357;
    --white: #FFFFFF;
    --light: #F5F5F5;
    --gray: #6B6B6B;
    --red-dark: #990B0F;
    --navy-dark: #001535;
    --overlay-dark: rgba(0, 0, 0, 0.55);
    --overlay-card: rgba(0, 0, 0, 0.38);
    --overlay-light: rgba(0, 35, 87, 0.72);
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

html,
html:focus-within {
    scroll-behavior: auto !important;
}

/* Typography & Reset */
body {
    overflow-x: hidden;
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--navy);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 72px;
    letter-spacing: 2px;
    line-height: 1.1;
}

h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 52px;
    line-height: 1.1;
}

h3 {
    font-weight: 600;
    font-size: 26px;
    text-transform: uppercase;
}

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

.text-red {
    color: var(--red);
}

.text-navy {
    color: var(--navy);
}

.text-white {
    color: var(--white);
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-navy {
    background-color: var(--navy);
}

.red-rule {
    height: 3px;
    width: 60px;
    background-color: var(--red);
    margin-bottom: 20px;
}

/* Buttons */
.btn,
button {
    border-radius: 0 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-red {
    background-color: var(--red);
    color: var(--white);
}

.btn-primary-red:hover {
    background-color: var(--red-dark);
    color: var(--white);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 8px 20px rgba(190, 15, 20, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-cta-white {
    background-color: var(--white);
    color: var(--red);
    font-weight: 600;
    font-size: 18px;
    padding: 16px 36px;
    display: inline-block;
    margin-top: 24px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-white:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 35, 87, 0.4);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 3px solid var(--red);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 35, 87, 0.1);
}

.navbar-brand .logo-text {
    font-family: 'Bebas Neue', cursive;
    color: var(--navy);
    font-size: 32px;
    line-height: 1;
}

.navbar-brand .logo-sub {
    color: var(--red);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--navy) !important;
    font-size: 15px;
    position: relative;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border-radius: 0;
    border-color: var(--navy);
    color: var(--navy);
}

/* Heroes */
.hero {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg,
.hero-bg .carousel-inner,
.hero-bg .carousel-item {
    width: 100%;
    height: 100%;
}

.hero-bg .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    margin-top: 180px;
    text-align: left;
}

.hero-label {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 20px;
    display: block;
}

.hero-content h1 {
    max-width: 900px;
}

.hero-content p {
    max-width: 650px;
    margin-left: 0;
    margin-right: 0;
}

.hero-buttons {
    justify-content: flex-start;
}

.page-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 126px;
    /* Offset for fixed header */
}

.contact-hero {
    height: 35vh;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.breadcrumb {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.breadcrumb span {
    color: var(--red);
}

.red-slash {
    width: 60px;
    height: 4px;
    background-color: var(--red);
    margin: 16px 0;
}

.hero-stripe {
    height: 3px;
    width: 100%;
    background-color: var(--red);
    position: relative;
    z-index: 2;
}

/* Image Cards and Sections */
.value-image-card {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.value-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s ease;
}

.value-image-card:hover img {
    transform: scale(1.04);
}

.value-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 35, 87, 0.7) 0%, rgba(0, 35, 87, 0.1) 60%, transparent 100%);
}

.stat-badge {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: var(--red);
    color: var(--white);
    padding: 20px 28px;
}

.stat-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 64px;
    display: block;
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 3px;
}

/* Service Preview Cards */
.service-card {
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 35, 87, 0.14);
    border-top-color: var(--red);
}

.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.06);
}

.service-card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    color: var(--white);
    opacity: 0.35;
    line-height: 1;
}

.service-card-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 1px;
    display: inline-block;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--navy);
}

/* Sections with Backgrounds */
.why-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: var(--navy);
    background-color: var(--white);
}

.why-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.why-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 87, 0.88);
}

.why-content {
    position: relative;
    z-index: 1;
}

.why-card {
    height: 100%;
    background-color: var(--light);
    border-left: 4px solid var(--red);
    padding: 28px 32px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: 0 12px 35px rgba(0, 35, 87, 0.12);
}

.why-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    letter-spacing: 1px;
    text-transform: none;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 17px;
    line-height: 1.7;
}

.icon-box {
    background: rgba(255, 255, 255);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--red);
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.why-col:hover .icon-box {
    transform: scale(1.1);
}

.cta-banner {
    position: relative;
    padding: 60px 0;
    color: var(--white);
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(190, 15, 20, 0.88);
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Services Detail Page */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-section:nth-child(even) {
    background-color: var(--light);
}

.service-img-wrap {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.7s ease;
}

.service-img-wrap:hover img {
    transform: scale(1.04);
}

.service-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 35, 87, 0.2) 0%, rgba(0, 35, 87, 0.5) 100%);
}

.service-process-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 35, 87, 0.82);
    color: var(--white);
    padding: 20px 32px;
}

.service-process-badge span {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    color: var(--red);
    letter-spacing: 1px;
}

.service-text-box ul {
    padding-left: 20px;
    list-style-type: square;
}

.service-text-box ul li {
    margin-bottom: 10px;
}

.service-text-box ul li::marker {
    color: var(--red);
}

/* Certifications Page */
.cert-list {
    list-style: none;
    padding: 0;
}

.cert-list li {
    padding: 12px 16px;
    background: var(--light);
    margin-bottom: 8px;
    border-left: 4px solid transparent;
    transition: border-left-color 0.3s ease, background-color 0.3s ease;
    font-weight: 600;
    font-size: 18px;
}

.cert-list li:hover {
    border-left-color: var(--red);
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.industries-section {
    position: relative;
    padding: 100px 0;
    color: var(--white);
}

.industries-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.industries-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industries-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 87, 0.9);
}

.industry-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px;
    text-align: center;
    height: 100%;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.industry-card:hover {
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.cert-feature-img {
    position: relative;
    height: 440px;
    overflow: hidden;
}

.cert-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s ease;
}

.cert-feature-img:hover img {
    transform: scale(1.04);
}

.cert-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 35, 87, 0.8) 0%, transparent 50%);
}

.cert-img-badge {
    position: absolute;
    bottom: 0px;
    background: var(--red);
    color: var(--white);
    font-family: 'Bebas Neue', cursive;
    font-size: 22px;
    padding: 10px 20px;
    letter-spacing: 2px;
}

/* Contact Form & Page */
.contact-section {
    padding: 80px 0;
}

.form-control,
.form-select {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px 16px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--navy);
    box-shadow: none;
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    font-size: 14px;
}

.contact-info-box {
    background-color: transparent;
    color: var(--navy);
    padding: 0;
}

.contact-info-row {
    background-color: var(--light);
    border-left: 4px solid var(--red);
    padding: 32px 30px;
    margin-bottom: 30px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 35, 87, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 35, 87, 0.1);
}

.contact-info-row i {
    display: none;
}

.contact-info-row h4 {
    color: var(--red);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-info-row p {
    color: var(--navy);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 0;
    word-break: break-word;
}

.contact-info-row hr {
    border: 0;
    border-top: 1px solid rgba(0, 35, 87, 0.2);
    margin: 24px 0 20px;
}

.contact-info-row span {
    color: var(--navy);
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    border-top: 4px solid var(--red);
    padding: 60px 0 20px;
}

.footer-heading {
    font-family: 'Bebas Neue', cursive;
    color: var(--red);
    font-size: 28px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a::before {
    margin-right: 8px;
    color: var(--red);
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--red);
}

.footer-links a:hover::before {
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 991px) {
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 42px;
    }

    .hero {
        margin-top: 72px;
        height: 700px;
    }

    .hero-content {
        text-align: center;
        max-width: 900px;
        margin-top: 110px;
    }

    .hero-content h1,
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        
    }

    .hero-buttons {
        justify-content: center;
        align-items: center;
    }

    .service-img-wrap {
        height: 350px;
    }

    .cert-feature-img {
        height: 350px;
    }

    .why-section {
        padding: 60px 0;
    }

    .why-content {
        text-align: center;
    }

    .why-card {
        text-align: left;
    }

    .page-hero {
        margin-top: 126px;
    }

    .contact-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 36px;
    }

    .service-img-wrap {
        height: 280px;
    }

    .service-card-img {
        height: 180px;
    }

    .value-image-card {
        height: 320px;
        margin-top: 40px;
    }

    .cert-feature-img {
        height: 300px;
        margin-top: 30px;
    }

    .btn-cta-white,
    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .contact-info-row {
        padding: 26px 22px;
        margin-bottom: 24px;
    }

    .contact-info-row p {
        font-size: 28px;
    }

    .contact-info-row h4 {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .contact-info-row span {
        font-size: 16px;
    }

    .why-card {
        padding: 24px;
    }

    .why-card h3 {
        font-size: 24px;
    }
}


.service-area-box {
    position: relative;
    padding: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.service-area-box::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -60px;
    background: rgba(220, 53, 69, 0.22);
    border-radius: 50%;
    filter: blur(10px);
}

.service-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-city-list span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}