/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
}


/* =========================
   NAVIGATION
========================= */

header {
    height: 75px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 180px;
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #087f23;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
}

.admin-login-btn {
display: inline-block;
padding: 10px 18px;
background: #087f23;
color: #ffffff;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
font-size: 14px;
transition: 0.3s ease;
}

.admin-login-btn:hover {
background: #05651b;
color: #ffffff;
}

.admin-login-btn {
display: inline-block !important;
padding: 9px 16px !important;
background: #087f23 !important;
color: #ffffff !important;
border-radius: 6px;
font-weight: 600;
text-decoration: none !important;
transition: all 0.3s ease;
}

.admin-login-btn:hover {
background: #05651b !important;
color: #ffffff !important;
transform: translateY(-1px);
}



/* =========================
   HERO
========================= */

.hero {
    min-height: 620px;
    background: linear-gradient(135deg, #f1faf3, #ffffff);

    display: flex;
    flex-direction: row;
    align-items: center;

    padding: 70px 7%;
    gap: 50px;

    width: 100%;
    overflow: hidden;
}

.hero-content {
    flex: 0 0 55%;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 45%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    border-radius: 20px;
}


/* HERO BADGE */

.hero-badge {
    display: inline-block;
    background: #e2f5e6;
    color: #087f23;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 20px;
}


/* HERO HEADING */

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #172019;
}

.hero h1 span {
    color: #087f23;
}

.hero p {
    font-size: 17px;
    color: #555;
    max-width: 600px;
    margin-bottom: 30px;
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;
    border-radius: 7px;

    text-decoration: none;
    font-size: 14px;
    font-weight: bold;

    white-space: nowrap;
    transition: 0.3s;
}

/* CHECK PAYMENT*/
.check-payment-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* SEARCH BUTTON */

.primary-btn {
    background: #087f23;
    color: #ffffff;
    border: 1px solid #087f23;
}

.primary-btn:hover {
    background: #05651b;
}


/* AGENT REGISTER BUTTON */

.agent-btn {
    background: #ffffff;
    color: #087f23;
    border: 1px solid #087f23;
}

.agent-btn:hover {
    background: #087f23;
    color: #ffffff;
}


/* =========================
   STATISTICS
========================= */

.stats {
    padding: 45px 7%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    background: #ffffff;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card h2 {
    color: #087f23;
    font-size: 34px;
    margin-bottom: 5px;
}

.stat-card p {
    color: #666;
    font-size: 14px;
}


/* =========================
   GENERAL SECTION
========================= */

.section {
    padding: 80px 7%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #172019;
}

.section-header p {
    color: #666;
}


/* =========================
   ABOUT
========================= */

.about {
    background: #f7faf8;
}

.about-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-content p {
    color: #555;
    margin-bottom: 18px;
    font-size: 16px;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #ffffff;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: #e5f5e8;
    color: #087f23;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    font-size: 23px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 14px;
}


/* =========================
   SEARCH
========================= */

.search-section {
    background: #f4faf5;
}

.search-box {
    max-width: 500px;
    margin: auto;

    background: #ffffff;
    padding: 40px;
    border-radius: 15px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.search-box h2 {
    margin-bottom: 10px;
}

.search-box p {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

.search-box h4 {
    text-align: left;
    margin-bottom: 8px;
}

.search-box input {
    width: 100%;
    padding: 14px;

    border: 1px solid #ccc;
    border-radius: 7px;

    font-size: 15px;
    outline: none;
}

.search-box input:focus {
    border-color: #087f23;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.search-btn {
    background: #087f23;
    color: #ffffff;
}

.close-btn {
    background: #eeeeee;
    color: #333;
}


/* =========================
   AGENT REGISTRATION
========================= */

.agent-registration {
    background: #f7faf8;
}

.registration-box {
    max-width: 750px;
    margin: auto;

    background: #ffffff;
    padding: 40px;
    border-radius: 15px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    text-align: left;

    margin-bottom: 7px;

    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px;

    border: 1px solid #ccc;
    border-radius: 7px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #087f23;
    box-shadow: 0 0 0 3px rgba(8, 127, 35, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.register-btn {
    width: 100%;
    padding: 14px;

    background: #087f23;
    color: #ffffff;

    border: none;
    border-radius: 7px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.register-btn:hover {
    background: #05651b;
}
.export-btn {
    display: inline-block;
    padding: 12px 16px;
    background: #087f23;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.export-btn:hover {
    background: #05651b;
}

/* =========================
   CENTRES
========================= */

.centres {
    background: #ffffff;
}

.centre-box {
    max-width: 850px;
    margin: auto;

    text-align: center;
    padding: 40px;

    border-radius: 15px;
    background: #f7faf8;
}

.centre-box p {
    color: #666;
    margin-bottom: 20px;
}


/* =========================
   FAQ
========================= */

.faq-list {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.faq-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.faq-item p {
    color: #666;
    font-size: 14px;
}


/* =========================
   CONTACT
========================= */

.contact {
    background: #f7faf8;
    text-align: center;
}

.contact p {
    color: #555;
    margin-bottom: 8px;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #102016;
    color: #ffffff;
    padding: 40px 7%;
    text-align: center;
}

footer h3 {
    margin-bottom: 10px;
}

footer p {
    color: #bfc8c1;
    font-size: 14px;
}

.copyright {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #334137;
    font-size: 13px;
}


/* =========================
   MOBILE & TABLET
========================= */

@media (max-width: 800px) {

    header {
        padding: 0 5%;
    }

    .logo img {
        width: 150px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;

        position: absolute;
        top: 75px;
        left: 0;

        width: 100%;

        background: #ffffff;

        flex-direction: column;
        gap: 0;

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eeeeee;
    }

    .nav-menu a {
        display: block;
        padding: 16px 5%;
    }


    /* HERO */

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
        gap: 40px;
    }

    .hero-content {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        flex: none;
        width: 100%;
    }

    .hero-image img {
        max-width: 400px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }


    /* OTHER MOBILE SECTIONS */

    .stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 5%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .registration-box {
        padding: 25px 20px;
    }
}