/* =========================================================
   AVI SECURITY LIMITED
   GREEN & WHITE SECURITY WEBSITE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #14251b;
    background: #ffffff;
    line-height: 1.6;
}

:root {
    --green: #08783f;
    --dark-green: #04572d;
    --light-green: #eaf7ef;
    --lighter-green: #f5fbf7;
    --white: #ffffff;
    --black: #10271b;
    --grey: #66746c;
    --border: #dcebe1;
    --shadow: 0 15px 45px rgba(4, 87, 45, 0.10);
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
}

.header-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--black);
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: white;
    font-size: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    font-size: 17px;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--green);
    font-size: 12px;
    letter-spacing: 3px;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-link {
    position: relative;
    padding: 10px 13px;
    color: #26382e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 3px;
    background: var(--green);
    border-radius: 20px;
    transform: translateX(-50%);
    transition: .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 65%;
}

.nav-quote {
    background: var(--green);
    color: white;
    text-decoration: none;
    padding: 12px 17px;
    border-radius: 8px;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease;
}

.nav-quote:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.nav-quote i {
    margin-left: 6px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--green);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 18px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(8,120,63,.15), transparent 30%),
        linear-gradient(135deg,#f4fbf7,#ffffff 60%,#eaf7ef);
}

.hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -160px;
    top: -170px;
    border: 80px solid rgba(8,120,63,.06);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 80px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero p {
    max-width: 650px;
    color: var(--grey);
    font-size: 18px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* HERO CARD */

.hero-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 42px 35px;
    text-align: center;
    box-shadow: var(--shadow);
}

.hero-shield {
    width: 110px;
    height: 110px;
    margin: auto auto 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: linear-gradient(135deg,var(--green),#0a9a51);
    font-size: 48px;
    box-shadow: 0 20px 35px rgba(8,120,63,.22);
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.hero-card-line {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

.hero-stat strong {
    display: block;
    color: var(--green);
    font-size: 30px;
}

.hero-stat span {
    color: var(--grey);
    font-size: 13px;
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: .25s ease;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg,var(--green),#0a9850);
    box-shadow: 0 10px 25px rgba(8,120,63,.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(8,120,63,.25);
}

.btn-outline {
    color: var(--green);
    border: 1px solid var(--green);
    background: white;
}

.btn-outline:hover {
    color: white;
    background: var(--green);
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background: var(--lighter-green);
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
}

.section-label {
    display: block;
    color: var(--green);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 17px;
}

.section-heading h2 span {
    color: var(--green);
}

.section-heading p {
    color: var(--grey);
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.about-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(4,87,45,.06);
    transition: .3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.about-card > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    background: var(--light-green);
    color: var(--green);
    border-radius: 14px;
    font-size: 23px;
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 10px;
}

.about-card p {
    color: var(--grey);
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: #b9dec6;
}

.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--light-green);
    color: var(--green);
    font-size: 22px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--grey);
    font-size: 14px;
}


/* =========================================================
   SAFEKEEPING
========================================================= */

.safekeeping-section {
    position: relative;
    background:
        linear-gradient(135deg,#f3fbf6,#ffffff);
}

.safekeeping-wrapper {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 35px;
    align-items: stretch;
}


/* LEFT */

.safekeeping-info {
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(145deg,var(--dark-green),var(--green));
    color: white;
    box-shadow: 0 20px 50px rgba(4,87,45,.20);
}

.safe-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.13);
    border-radius: 16px;
    font-size: 30px;
    margin-bottom: 25px;
}

.safekeeping-info h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.safekeeping-info p {
    color: rgba(255,255,255,.8);
    margin-bottom: 25px;
}

.safe-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.safe-feature i {
    color: #8de1ac;
}


/* RECEIPT CARD */

.receipt-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.receipt-card-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.receipt-card-header > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--light-green);
    border-radius: 14px;
    font-size: 23px;
}

.receipt-card-header h3 {
    margin-bottom: 3px;
}

.receipt-card-header p {
    color: var(--grey);
    font-size: 14px;
}

.receipt-card label {
    display: block;
    font-weight: 700;
    margin-bottom: 9px;
}

.receipt-input {
    display: flex;
    align-items: center;
    border: 1px solid #cfe1d5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: .2s ease;
}

.receipt-input:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(8,120,63,.10);
}

.receipt-input i {
    padding-left: 16px;
    color: var(--green);
}

.receipt-input input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 16px;
    font-size: 15px;
}

.receipt-button {
    width: 100%;
}

.receipt-message {
    margin-top: 16px;
    color: #b42318;
    font-size: 14px;
    font-weight: 700;
}

.receipt-result {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 17px;
    background: #f0faf3;
    border: 1px solid #bde1ca;
    border-radius: 13px;
}

.receipt-found-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: var(--green);
}

.receipt-found-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.receipt-found-info span {
    color: var(--grey);
    font-size: 13px;
}

.open-receipt {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: white;
    background: var(--green);
    padding: 10px 13px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: .3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.why-card i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: auto auto 18px;
    color: var(--green);
    background: var(--light-green);
    border-radius: 50%;
}

.why-card p {
    color: var(--grey);
    font-size: 14px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: #f7fbf8;
}

.contact-grid {
    max-width: 800px;
    margin: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--light-green);
    color: var(--green);
}

.contact-item p {
    color: var(--grey);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #062e1b;
    color: white;
    padding-top: 65px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-brand h3 {
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255,255,255,.7);
    max-width: 380px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h4 {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: .2s;
}

.footer-links a:hover {
    color: #7be0a3;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,.6);
    font-size: 13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: white;
        padding: 15px 5%;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link,
    .nav-quote {
        margin: 0;
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    .hero-container,
    .safekeeping-wrapper {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hero {
        padding: 90px 0;
    }

}


@media(max-width: 600px) {

    .section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-container {
        gap: 40px;
    }

    .about-grid,
    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .receipt-card,
    .safekeeping-info {
        padding: 25px;
    }

    .receipt-result {
        flex-wrap: wrap;
    }

    .open-receipt {
        width: 100%;
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}
/* ================= WHATSAPP FLOATING BUTTON ================= */

.whatsapp-button {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    background: #25D366;
    color: #ffffff;

    padding: 13px 18px;
    border-radius: 50px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    transition: all 0.3s ease;
}

.whatsapp-button i {
    font-size: 25px;
}

.whatsapp-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Mobile */
@media (max-width: 600px) {
    .whatsapp-button {
        bottom: 18px;
        left: 18px;
        width: 55px;
        height: 55px;

        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-button span {
        display: none;
    }

    .whatsapp-button i {
        font-size: 28px;
    }
}