@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Darumadrop+One&display=swap');

:root {
    --primary-color: #e67e22;
    --text-color: #333;
    --sec-text-color: #282727;
    --bg-color-light: #d5d5d5;
    --bg-color-dark: #11121a;
    --border-color: #e68835;
    --footer-bg: #333;
    --footer-text-color: var(--white);
    --bg-color: white;
    --hover-color: #cf792d;
    --white: white;
    --black: black;

    --btn_blue: #2b92af;
    --red: #f13333;
    --green: #2baf64;
    --blue: #3b82f6;
    --yellow: #f5c231;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
    margin: 0;
    padding: 0;
    color: #374151;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.contact {
    padding: 0px;
}


/* Navigation */
nav {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 
    height: 64px; */
    padding: 10px 20px;
}

.logo img {
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1),
        inset 0px 2px 5px rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    background-color: var(--primary-color);
    height: 30px;
    width: auto;
    max-width: 65px;
    padding: 8px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: all 0.4s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 0;
    background: #e67e22;
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active link styles */
.nav-links a.active {
    color: #111827;
    /* dark text */
}

.nav-links a.active::after {
    width: 100%;
}

.nav-btns {
    display: flex;
    gap: 1.2rem;
}

.nav-button {
    padding: 10px 22px;
    border-radius: 25px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    border: 1px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}


.seller-btn {
    background-color: #e67e22;
    color: white;
}

.agent-btn {
    text-decoration: none;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
}

.seller-btn:hover {
    background-color: #d1913d;
}

.nav-button:active {
    transform: scale(.95);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
}


/* Hero Section */
.hero {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    background-image: url('/agent/assets/imgs/people-network.png');
    background-size: cover;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;


    .hero-container {
        height: inherit;
        width: 100%;
        padding: 80px 0;
        background-color: rgba(0, 0, 0, 0.7);
    }
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: #e67e22;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #f3f4f6;
}

.hero-button:active {
    transform: scale(.9);
}

.hero-button i {
    margin-left: 8px;
}

.cta-button {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 30px;
    border: none;
    text-decoration: none;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.cta-button:hover {
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
    transform: scale(0.95);

}

/* Benefits Section */
.section {
    padding: 50px 0;
}

.section.bg-white {
    background-color: white;
}


.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: #e67e22;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.section-heading {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    color: #111827;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.card {
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    color: white;
    font-size: 20px;
}

.card-icon.orange {
    background-color: #e67e22;
}

.card-icon.green {
    background-color: #10b981;
}

.card-icon.purple {
    background-color: #8b5cf6;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: #111827;
}

.card p {
    color: #6b7280;
    margin: 0;
}


/* Style the input containers */
.combo_field {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 0px;

    .form-group {
        margin-top: 0px;
        width: 100%;

    }
}


.form-group {
    position: relative;
    margin: 15px 0;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 28px);
    padding: 12px 12px 12px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .9rem;
    letter-spacing: .6px;
    transition: border-color 0.3s ease;
    padding-top: 25px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(246, 159, 59, 0.1);
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 12px;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 0 4px;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: 2px;
    font-size: 11px;
    color: #b1b1b1;
    transform: translateY(0%);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-style: italic;
    color: gray;
    font-size: 0.65rem;
    opacity: 0;
}

.form-group input:invalid:focus,
.form-group textarea:invalid:focus {
    border-color: #d11804;
}

/* Ensure placeholder remains visible when input is focused */
.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 1;
}

/* updates on the contact-form */
input:not([type="radio"], [type="number"]):invalid:not(:placeholder-shown) {
    border-color: red;
   /*  background-image: url(/assets/images/checked_red.png); */
}

input:not([type="radio"], [type="number"]):valid:not(:placeholder-shown) {
   /*  background-image: url(/assets/images/checked_green.png); */
}

input:invalid:not(:placeholder-shown),
input:valid:not(:placeholder-shown) {
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: calc(100% - 10px);
}

input:invalid:not(:placeholder-shown)~p {
    color: #a20e0e;
}

.dropdown,
.text-input,
.textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.text-input,
.textarea {
    width: calc(100% - 27px);
}

.dropdown:focus,
.text-input:focus,
.textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.dropdown {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%236B7280" d="M0 0h12L6 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding: 16px 12px;
}

.submit-button {
    width: 100%;
    background-color: #e67e22;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--hover-color);
}

.input-error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.reg-mmssg-display {
    display: flex;
    color: var(--text-color);
    width: fit-content;
    padding: 10px 0;
    border-radius: 5px;
    margin: auto;
    gap: 5px;

    a {
        color: var(--blue);
        text-decoration: underline;
    }

    p {
        font-size: .7rem;
        flex: 1;
        margin: 0;
    }

    i {
        font-size: 25px;
        color: var(--text-color);
    }

}

.reg-mmssg-display.error {
    align-items: center;

    i {
        color: var(--red);
    }
}

.reg-mmssg-display.success {

    i {
        color: var(--green);
    }
}

.reg-mmssg-display.info {

    i {
        color: var(--yellow);
    }
}

/* ******************* Button Loader ****************** */
.btn-loader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.save-btn.loading i,
.tbl-btn.loading i {
    display: none;
}

.save-btn.loading,
.tbl-btn.loading {
    cursor: not-allowed;
    opacity: 0.7;
}