
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #080d18;
    --navy-2: #101827;
    --red: #e02020;
    --red-dark: #b91616;
    --text: #172033;
    --muted: #667085;
    --light: #f6f8fb;
    --white: #ffffff;
    --border: rgba(15, 23, 42, .08);
    --shadow: 0 18px 50px rgba(15, 23, 42, .10);
    --shadow-hover: 0 24px 65px rgba(15, 23, 42, .16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
}

/* NAVBAR */
.navbar {
    background: rgba(8, 13, 24, .96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.07);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-logo {
    height: 76px;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-item {
    margin-left: 0;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,.78) !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 10px 13px !important;
    border-radius: 10px;
    transition: .25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.07);
}

.navbar .btn-danger {
    margin-left: 8px;
}

/* BUTTONS */
.btn-danger {
    background: linear-gradient(135deg, var(--red), #f04444);
    border: 0;
    border-radius: 11px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(224,32,32,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(224,32,32,.30);
}

.btn-lg {
    padding: 13px 25px;
}

/* HERO */
.hero-section {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5,9,18,.90) 0%, rgba(5,9,18,.70) 48%, rgba(5,9,18,.42) 100%),
        url('https://specializedretailstorage.blob.core.windows.net/securitywebmedia/hero-security.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: -180px;
    border-radius: 50%;
    background: rgba(224,32,32,.12);
    filter: blur(10px);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.hero-section .lead {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 2vw, 1.3rem);
}

/* GENERAL SECTIONS */
.section {
    padding: 105px 0;
}

.section-light {
    background: var(--white);
}

.section-grey {
    background:
        radial-gradient(circle at 10% 10%, rgba(224,32,32,.035), transparent 30%),
        var(--light);
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.045em;
    margin-bottom: 18px;
}

.section h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 20px;
    background: var(--red);
}

.section > .container > p.lead,
.section > .container > .lead {
    color: var(--muted);
}

/* PAGE HERO / INNER PAGE HEADERS */
section.bg-dark.text-white.text-center.py-5 {
    padding: 95px 20px !important;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 30%, rgba(224,32,32,.18), transparent 28%),
        linear-gradient(135deg, #080d18, #111b2d) !important;
}

section.bg-dark.text-white.text-center.py-5::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    left: -100px;
    bottom: -140px;
}

section.bg-dark.text-white.text-center.py-5 .container {
    position: relative;
    z-index: 1;
}

section.bg-dark.text-white.text-center.py-5 h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.05em;
}

section.bg-dark.text-white.text-center.py-5 .lead {
    color: rgba(255,255,255,.72);
}

/* CARDS */
.card {
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.96);
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15,23,42,.06) !important;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(224,32,32,.14) !important;
}

.card-body,
.card.p-4,
.card.p-5 {
    padding: 30px !important;
}

.card-title {
    font-weight: 800;
    letter-spacing: -.02em;
}

.card p {
    color: var(--muted);
}

.card strong {
    color: var(--text);
}

/* IMAGES */
.index-img,
.service-img,
.gal-img,
.ser-img,
.team-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 14px 35px rgba(15,23,42,.12) !important;
}

.index-img {
    height: 290px;
}

.service-img {
    height: 300px;
}

.gal-img {
    height: 390px;
}

.ser-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.team-img {
    height: 320px;
    transition: transform .4s ease;
}

.team-img:hover {
    transform: scale(1.025);
}

/* IMAGE HOVER */
.index-img,
.gal-img,
.service-img {
    transition: transform .35s ease, box-shadow .35s ease;
}

.index-img:hover,
.gal-img:hover,
.service-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

/* STATS */
.text-danger {
    color: var(--red) !important;
}

.section-grey .col-md-3 h3,
.section-grey h3.text-danger {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.05em;
}

.section-grey .col-md-3 p {
    color: var(--muted);
    font-weight: 600;
}

/* ACCREDITATIONS */
.card-footer {
    background: transparent !important;
}

.card-footer .btn {
    border-radius: 10px;
}

/* FORMS */
.form-control {
    border: 1px solid #dfe4ec;
    border-radius: 12px;
    padding: 13px 15px;
    min-height: 50px;
    background: #fbfcfe;
    transition: .2s ease;
}

.form-control:focus {
    border-color: rgba(224,32,32,.55);
    box-shadow: 0 0 0 4px rgba(224,32,32,.08);
    background: #fff;
}

textarea.form-control {
    min-height: 150px;
}

/* CONTACT MAP */
.ratio {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* FOOTER */
footer {
    background: #070b14 !important;
    color: rgba(255,255,255,.68) !important;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 28px 0 !important;
}

footer a {
    color: rgba(255,255,255,.82) !important;
    transition: .2s ease;
}

footer a:hover {
    color: #fff !important;
}

/* MOBILE */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 64px;
    }

    .navbar-collapse {
        padding: 12px 0 8px;
    }

    .navbar-nav .nav-link {
        padding: 11px 12px !important;
    }

    .navbar .btn-danger {
        margin-left: 0;
    }

    .hero-section {
        min-height: 580px;
        padding: 80px 0;
    }

    .section {
        padding: 75px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 560px;
        background-position: 62% center;
    }

    .hero-section h1 {
        font-size: 2.65rem;
    }

    .section {
        padding: 65px 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .index-img,
    .service-img {
        height: 240px;
    }

    .gal-img {
        height: 300px;
    }

    .ser-img {
        height: 300px;
    }

    .team-img {
        height: 270px;
    }

    section.bg-dark.text-white.text-center.py-5 {
        padding: 70px 20px !important;
    }
}

/* SMALL MOTION */
@media (prefers-reduced-motion: no-preference) {
    .hero-section h1,
    .hero-section .lead,
    .hero-section .btn {
        animation: heroIn .7s ease both;
    }

    .hero-section .lead {
        animation-delay: .08s;
    }

    .hero-section .btn {
        animation-delay: .16s;
    }
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
