:root {
    --primary-gold: #F4C542;
    /* Text & Borders */
    --secondary-red: #9c131d;
    /* Accent Red */
    --secondary-blue: #062c59;
    /* Accent Blue */
    --dark-navy: #0D1B2A;
    /* Background */
    --highlight-gold: #E6B85C;
    /* Hover/Highlights */
}

body {
    font-family: Arial, sans-serif;
}

/* Navbar */
.nav-link {
    color: #fff !important;
    margin-right: 15px;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--highlight-gold) !important;
}

.bg-body-tertiary {
    background-color: var(--dark-navy) !important;
}

/* text */
.color {
    color: var(--primary-gold);
}

/* Buttons */
.btn-gold {
    background: var(--secondary-red);
    color: #fff;
    border: 2px solid var(--primary-gold);
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gold:hover {
    background: var(--secondary-blue);
    border-color: var(--highlight-gold);
    color: var(--highlight-gold);
}

.btn-sos {
    background-color: var(--secondary-red);
    color: #fff;
    border: 2px solid var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 15px 40px;
    box-shadow: 0 0 20px rgba(179, 34, 46, 0.6);
    transition: all 0.3s ease;
}

.btn-sos:hover {
    background-color: #ee0202;
    color: #fff;
    transform: scale(1.03);
}

/* hero  */
.hero-section {
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(to right, var(--secondary-red), var(--secondary-blue));
    color: #fff;
    padding: 0 20px;
}

.sos {
    height: 150px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgb(219, 31, 31);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    /* padding: 10px 15px; */
    box-shadow: 0 0 20px rgba(179, 34, 46, 0.6);
    transition: all 0.9s ease;
}

.pulse {
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.6);
    }

    /* 25% {
        box-shadow: 0 0 0 25px rgba(255, 0, 0, 0.45);
    } */

    /* 50% {
        box-shadow: 0 0 0 50px rgba(255, 0, 0, 0.3);
    } */

    /* 75% {
        box-shadow: 0 0 0 75px rgba(255, 0, 0, 0.15);
    } */

    100% {
        box-shadow: 0 0 0 90px rgba(255, 0, 0, 0);
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto;
}

/* About */
.about {
    /* padding: 40px 20px; */
    text-align: center;
}

.about h2 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    /* font-size: 1.8rem; */
    font-weight: 700;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* News */
.breaking-highlight {
    border-left: 6px solid #dc3545;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* Report Crime */
.report-card {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.report-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.report-card .icon {
    height: 70px;
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* safety feature */
.safety-card {
    display: flex;
    flex-direction: row;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* .safety-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
} */

.safety-card .icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-s {
    height: 70px;
    width: 70px;
    margin-bottom: 15px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    background-color: var(--dark-navy);
    padding: 40px 20px;
    letter-spacing: 0.8px;
    line-height: 28px;
}

.footer ul li a {
    font-size: 14px;
    font-weight: 400;
}

.footer ul li a i {
    font-size: 12px;
}

@media (max-width: 767px) {
    .navbar-brand span {
        font-size: 1.1rem;
    }

    .navbar-toggler {
        padding: 4px 6px !important;
        font-size: 17px !important;
        border: 2px solid #ddd !important;
    }

    .navbar-toggler-icon {
        background-image: url('/img/menu.png') !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        display: inline-block;
        width: 1em;
        height: 1em;
    }

    .about p {
        text-align: justify;
    }

    .sos {
        height: 105px;
        width: 105px;
        font-size: 0.6rem;
    }

    .hero-section {
        height: 50vh;
    }

    .hero h1 {
        font-size: 31px;
        font-weight: 600;
        color: var(--primary-gold);
    }

    .hero p {
        font-size: 16px;
        max-width: 500px;
        margin: 5px auto;
    }

    .btn-gold {
        background: var(--secondary-red);
        color: #fff;
        border: 2px solid var(--primary-gold);
        padding: 10px 11px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        transition: 0.3s;
    }

    .btn-sos {
        background-color: var(--secondary-red);
        color: #fff;
        border: 2px solid var(--primary-gold);
        font-size: 1rem;
        font-weight: 500;
        border-radius: 50px;
        padding: 10px 11px;
        box-shadow: 0 0 20px rgba(179, 34, 46, 0.6);
        transition: all 0.3s ease;
    }

    .safety-card {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .safety-card h5 {
        text-align: center;
    }

    .safety-card p {
        text-align: center;
    }

    .small-text {
        font-size: 15px;
    }

    .copyright {
        flex-direction: column;
    }
}

@media (max-width: 381px) {
    .small-text {
        font-size: 14px;
    }

    .copyright {
        font-size: 14px;
        letter-spacing: 0.1px;
    }
}

/* Term Conditions */
.terms-header {
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.terms-header i {
    font-size: 3rem;
    animation: shake 1s infinite;
}

.terms-section {
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    padding: 25px 0;
    margin-top: -40px;
}

.terms-section h5 {
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}

.terms-section p {
    color: #555;
    line-height: 1.6;
}

/* Privacy Policy */
.policy-header {
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.policy-header i {
    font-size: 3rem;
    animation: shake 1s infinite;
}

.policy-section {
    /* background: white; */
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    padding: 25px 0;
    margin-top: -40px;
}

.policy-section h5 {
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}

.policy-section p {
    color: #555;
    line-height: 1.6;
}