/* ==================================================
   SAAPI MOBILE WEBSITE
   Loads only on screens 768px and smaller
================================================== */


/* ===========================
   MOBILE GLOBAL
=========================== */

html {
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
    background: #f2f6f3;
    font-size: 15px;
}

.container {
    width: calc(100% - 28px);
    max-width: none;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}


/* ===========================
   MOBILE HEADER
=========================== */

header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background:
        linear-gradient(
            135deg,
            #021d12,
            #075c36
        );
    border-bottom: 3px solid #d4af37;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

header .container,
.header-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 78px;
    padding: 9px 0;
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 10px;
}

.logo img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 50%;
    background: #07120d;
    padding: 2px;
}

.logo div,
.logo-text {
    min-width: 0;
}

.logo h1 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.logo p {
    display: none;
}


/* ===========================
   HAMBURGER BUTTON
=========================== */

.menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: #d4af37;
    color: #032b1a;
    font-size: 21px;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
}


/* ===========================
   MOBILE NAVIGATION
=========================== */

nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 12px 14px 18px;
    border-bottom: 3px solid #d4af37;
    background: #032b1a;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

nav.active {
    display: block;
}

nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    width: 100%;
}

nav ul li a {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

nav ul li a:hover,
nav ul li a:focus {
    background: rgba(212, 175, 55, 0.16);
    color: #f3d66b;
}


/* ===========================
   MOBILE SECTIONS
=========================== */

section {
    padding: 52px 0;
}

section h2 {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 13px;
    color: #064c2e;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62px;
    height: 4px;
    border-radius: 10px;
    background:
        linear-gradient(
            90deg,
            #075c36,
            #d4af37
        );
}

section .container > p,
.section-intro {
    margin: 0;
    color: #66716b;
    font-size: 15px;
    line-height: 1.85;
    text-align: left;
}


/* ===========================
   MOBILE STATISTICS
=========================== */

.stats {
    position: relative;
    overflow: hidden;
    padding: 34px 0;
    background:
        linear-gradient(
            135deg,
            #021d12,
            #075c36
        );
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat-box {
    min-width: 0;
    padding: 22px 12px;
    border-top: 4px solid #d4af37;
    border-radius: 13px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.stat-box h3 {
    margin: 0 0 7px;
    color: #075c36;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.stat-box p {
    margin: 0;
    color: #566159;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}


/* ===========================
   MOBILE ABOUT CARDS
=========================== */

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
}

.card {
    position: relative;
    overflow: hidden;
    padding: 29px 22px;
    border: 1px solid rgba(7, 92, 54, 0.1);
    border-radius: 16px;
    background: #ffffff;
    text-align: left;
    box-shadow: 0 12px 27px rgba(3, 43, 26, 0.11);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background:
        linear-gradient(
            90deg,
            #075c36,
            #d4af37
        );
}

.card i {
    display: flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            #032b1a,
            #075c36
        );
    color: #d4af37;
    font-size: 26px;
}

.card h3 {
    margin: 0 0 12px;
    color: #032b1a;
    font-size: 21px;
    font-weight: 800;
}

.card p {
    margin: 0;
    color: #66716b;
    font-size: 14px;
    line-height: 1.8;
}


/* ===========================
   MOBILE SERVICES
=========================== */

#services {
    background: #edf4f0;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 32px;
}

.service-card {
    position: relative;
    padding: 27px 20px 27px 25px;
    border: 1px solid rgba(7, 92, 54, 0.1);
    border-radius: 14px;
    background: #ffffff;
    text-align: left;
    box-shadow: 0 10px 22px rgba(3, 43, 26, 0.09);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 0;
    width: 5px;
    height: 58px;
    border-radius: 0 6px 6px 0;
    background:
        linear-gradient(
            180deg,
            #d4af37,
            #075c36
        );
}

.service-card i {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 14px;
    background: rgba(7, 92, 54, 0.09);
    color: #075c36;
    font-size: 25px;
}

.service-card h3 {
    margin: 0 0 11px;
    color: #032b1a;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.service-card p {
    margin: 0;
    color: #66716b;
    font-size: 14px;
    line-height: 1.8;
}


/* ===========================
   MOBILE LEGISLATION
=========================== */

#laws {
    background:
        linear-gradient(
            135deg,
            #021d12,
            #075c36
        );
}

#laws h2 {
    color: #ffffff;
}

#laws h2::after {
    background: #d4af37;
}

#laws .container > p,
#laws .section-intro {
    color: rgba(255, 255, 255, 0.82);
}

.laws {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.laws li {
    position: relative;
    margin-bottom: 12px;
    padding: 15px 14px 15px 45px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.laws li::before {
    content: "✓";
    position: absolute;
    top: 14px;
    left: 16px;
    color: #d4af37;
    font-size: 18px;
    font-weight: 800;
}


/* ===========================
   MOBILE REPORT SECTION
=========================== */

#report {
    background: #f4f7f5;
}

#report h2 {
    color: #a51f25;
}

#report h2::after {
    background:
        linear-gradient(
            90deg,
            #a51f25,
            #d4af37
        );
}


/* ===========================
   MOBILE REPORT FORM
=========================== */

form {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 32px 0 0;
    padding: 26px 17px;
    border: 1px solid rgba(3, 43, 26, 0.1);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(3, 43, 26, 0.14);
}

form::before {
    content: "CONFIDENTIAL ANIMAL CRUELTY REPORT";
    display: block;
    margin: -26px -17px 26px;
    padding: 18px 13px;
    background:
        linear-gradient(
            135deg,
            #85181d,
            #bd2a31
        );
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

form label {
    display: block;
    margin-top: 18px;
    color: #032b1a;
    font-size: 13px;
    font-weight: 700;
}

form input,
form textarea,
form select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 51px;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid #c7d3cc;
    border-radius: 9px;
    outline: none;
    background: #fafcfb;
    color: #172019;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: #075c36;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(7, 92, 54, 0.1);
}

form textarea {
    min-height: 145px;
    resize: vertical;
}

form input[type="file"] {
    min-height: auto;
    padding: 10px;
    border: 2px dashed #afc2b7;
    background: #f4f8f5;
    font-size: 13px;
}

form input[type="file"]::file-selector-button {
    margin: 0 8px 0 0;
    padding: 9px 11px;
    border: none;
    border-radius: 7px;
    background: #075c36;
    color: #ffffff;
    font-weight: 700;
}

form button,
form .btn {
    display: flex;
    width: 100%;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 13px 14px;
    border: none;
    border-radius: 9px;
    background:
        linear-gradient(
            135deg,
            #d4af37,
            #efd260
        );
    color: #032b1a;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}


/* ===========================
   MOBILE CONTACT
=========================== */

#contact {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.contact-grid > div {
    position: relative;
    min-width: 0;
    padding: 23px 15px 23px 66px;
    border: 1px solid rgba(7, 92, 54, 0.1);
    border-left: 5px solid #d4af37;
    border-radius: 13px;
    background: #f8fbf9;
    text-align: left;
    box-shadow: 0 9px 20px rgba(3, 43, 26, 0.08);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-grid h3 {
    position: relative;
    margin: 0 0 7px;
    color: #032b1a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.contact-grid h3 i {
    position: absolute;
    top: -4px;
    left: -47px;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #075c36;
    color: #d4af37;
    font-size: 16px;
}

.contact-grid p {
    margin: 0;
    color: #66716b;
    font-size: 13px;
    line-height: 1.65;
}

.contact-grid a {
    color: #075c36;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.email {
    font-size: 13px;
    font-weight: 500;
    word-break: break-word;
}


/* ===========================
   MOBILE FOOTER
=========================== */

footer {
    margin-top: 0;
    padding: 50px 15px 34px;
    border-top: 4px solid #d4af37;
    background:
        linear-gradient(
            135deg,
            #01140c,
            #075c36
        );
    color: #ffffff;
    text-align: center;
}

.footer-logo {
    width: 95px;
    height: 95px;
    margin: 0 auto 20px;
    object-fit: contain;
    border: 2px solid rgba(212, 175, 55, 0.7);
    border-radius: 50%;
    background: #06120c;
    padding: 3px;
}

footer h3 {
    margin: 0 auto 13px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.4;
}

footer p {
    margin: 9px auto 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    line-height: 1.75;
}


/* ===========================
   SMALL PHONES
=========================== */

@media (max-width: 390px) {

    .container {
        width: calc(100% - 20px);
    }

    .logo img {
        width: 51px;
        height: 51px;
    }

    .logo h1 {
        font-size: 11px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    section {
        padding: 45px 0;
    }

    section h2 {
        font-size: 27px;
    }

    .stats .container {
        grid-template-columns: 1fr;
    }

    form {
        padding: 23px 13px;
    }

    form::before {
        margin: -23px -13px 23px;
    }
}