/* ============================================================
   PropRecruit - Main Stylesheet
   Location: assets/css/style.css
   ============================================================ */

/* -- Variables --------------------------------------------- */
:root {
    --navy:         #39464A;
    --orange:       #F26A2E;
    --teal:         #77CDD0;
    --navy-light:   #eef0f1;
    --navy-mid:     #c2cacc;
    --orange-light: #fef0e9;
    --orange-border:#f5c4a9;
    --white:        #ffffff;
    --text-muted:   #6b7c80;
    --font:         'Montserrat', sans-serif;
    --radius:       8px;
    --radius-lg:    12px;
}

/* -- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { margin: 0; padding: 0; }
body { margin: 0; padding: 0; font-family: var(--font); color: var(--navy); background: #f7f8f8; font-size: 14px; line-height: 1.6; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--navy);
    background: #f7f8f8;
    font-size: 14px;
    line-height: 1.6;
}
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* -- Layout ------------------------------------------------ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0px;
}
.container-sm {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0px;
}
.page-wrap {
    min-height: calc(100vh - 90px);
    padding: 32px 0 90px;
}

/* -- Navbar ------------------------------------------------ */
.navbar {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo img {
    height: 116px;
    width: auto;
}
.nav-logo:hover { text-decoration: none; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--orange);
    background: var(--orange-light);
    text-decoration: none;
}
.btn-outline-nav {
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius);
    border: 2px solid var(--navy);
    text-decoration: none;
    transition: all 0.15s;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.btn-outline-nav:hover {
    background: var(--navy);
    color: #fff;
    text-decoration: none;
}
.btn-primary-nav {
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius);
    border: 2px solid var(--orange);
    text-decoration: none;
    transition: all 0.15s;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.btn-primary-nav:hover {
    background: #d85a22;
    border-color: #d85a22;
    text-decoration: none;
}

/* -- Mobile Nav -------------------------------------------- */
.nav-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-mobile-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}
.nav-mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 12px 24px 16px;
    border-top: 1px solid var(--navy-light);
}
.nav-mobile-menu.open { display: flex; }
.mobile-link {
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--navy-light);
    text-decoration: none;
}
.mobile-link:hover { color: var(--orange); text-decoration: none; }
.mobile-cta { color: var(--orange) !important; }

/* -- Buttons ----------------------------------------------- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
    text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.btn-primary:hover { background: #d85a22; border-color: #d85a22; }
.btn-secondary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn-secondary:hover { background: #2a3438; }
.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy-mid);
}
.btn-outline:hover { background: var(--navy-light); }
.btn-sm  { padding: 6px 14px; font-size: 11px; }
.btn-lg  { padding: 13px 28px; font-size: 13px; }
.btn-full { width: 100%; display: block; }

/* -- Hero -------------------------------------------------- */
.hero {
    background: var(--navy);
    text-align: center;
	padding: 60px 24px 56px;
	margin-top: 10;
	display: block;
}
.hero-logo {
    height: 1066px;
    width: auto;
    margin: 0 auto 10px;
}
.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}
.hero-title em {
    color: var(--orange);
    font-style: normal;
}
.hero-divider {
    width: 40px;
    height: 3px;
    background: var(--orange);
    margin: 14px auto;
    border-radius: 2px;
}
.hero-subtitle {
    font-size: 14px;
    color: var(--navy-mid);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.75;
}

/* -- Portal Cards ------------------------------------------ */
.portal-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.portal-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
    min-width: 200px;
    max-width: 280px;
    border: 2px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
    display: block;
}
.portal-card:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
    text-decoration: none;
}
.portal-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 10px;
}
.pill-orange { background: var(--orange-light); color: var(--orange); }
.pill-navy   { background: var(--navy-light);   color: var(--navy); }
.portal-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.portal-card-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* -- Features ---------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.feature-item {
    padding: 28px 20px;
    border-right: 1px solid var(--navy-light);
    text-align: center;
}
.feature-item:last-child { border-right: none; }
.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.feature-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}
.feature-text { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* -- How it works ------------------------------------------ */
.how-card {
    background: #fff;
    border: 1px solid var(--navy-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
}
.how-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.how-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.how-text { font-size: 11px; color: var(--text-muted); line-height: 1.55; }

/* -- Cards ------------------------------------------------- */
.card {
    background: #fff;
    border: 1px solid var(--navy-light);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 14px;
}
.card-accent { border-left: 3px solid var(--orange); }

/* -- Forms ------------------------------------------------- */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.form-control {
    width: 100%;
    padding: 10px 13px;
    border-radius: var(--radius);
    border: 1.5px solid var(--navy-light);
    background: #fff;
    font-size: 13px;
    font-family: var(--font);
    color: var(--navy);
    transition: border-color 0.15s;
}
.form-control:focus {
    outline: none;
    border-color: var(--orange);
}
.form-control::placeholder { color: var(--navy-mid); }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-error {
    font-size: 11px;
    color: #C62828;
    margin-top: 4px;
}
.form-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* -- Badges ------------------------------------------------ */
.badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}
.badge-orange  { background: var(--orange-light); color: var(--orange); border: 1px solid var(--orange-border); }
.badge-navy    { background: var(--navy); color: #fff; }
.badge-grey    { background: var(--navy-light); color: var(--text-muted); border: 1px solid var(--navy-mid); }
.badge-verified{ background: #e8f7f8; color: #3a9fa2; border: 1px solid #aee3e5; }

/* -- Alerts ------------------------------------------------ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    border-left: 4px solid transparent;
}
.alert-success { background: #E8F5E9; border-color: #4CAF50; color: #2E7D32; }
.alert-error   { background: #FFEBEE; border-color: #F44336; color: #C62828; }
.alert-info    { background: var(--orange-light); border-color: var(--orange); color: #c04e15; }

/* -- Stats ------------------------------------------------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.stat-card {
    background: var(--navy-light);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}
.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}
.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -- Tabs -------------------------------------------------- */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--navy-light);
    margin-bottom: 24px;
    overflow-x: auto;
}
.tab-btn {
    padding: 10px 18px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font);
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    transition: color 0.15s;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* -- Ratings ----------------------------------------------- */
.star-display { color: var(--orange); font-size: 14px; }
.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.rating-bar-label { font-size: 11px; color: var(--text-muted); width: 140px; font-weight: 600; }
.rating-bar-wrap  { flex: 1; height: 7px; background: var(--navy-light); border-radius: 4px; overflow: hidden; }
.rating-bar-fill  { height: 100%; border-radius: 4px; background: var(--orange); }
.rating-bar-val   { font-size: 12px; font-weight: 700; color: var(--navy); min-width: 28px; }

/* -- Toggle ------------------------------------------------ */
.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--navy-light);
}
.toggle-wrap:last-child { border-bottom: none; }
.toggle-info h4 { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.toggle-info p  { font-size: 11px; color: var(--text-muted); }
.toggle {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: var(--navy-mid);
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}
.toggle.on { background: var(--orange); }
.toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: left 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle.on::after { left: 21px; }

/* -- Section labels ---------------------------------------- */
.section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.section-title-orange {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--orange-light);
}

/* -- Footer ------------------------------------------------ */
.footer { background: var(--navy); margin-top: 60px; }
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 12px;
}
.footer-logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}
.footer-logo:hover { text-decoration: none; }
.footer-tagline { font-size: 12px; color: var(--navy-mid); margin-bottom: 6px; }
.footer-popia   { font-size: 10px; color: var(--navy-mid); letter-spacing: 0.04em; }
.footer-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
}
.footer-link {
    display: block;
    font-size: 12px;
    color: var(--navy-mid);
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-link:hover { color: #fff; text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: 11px; color: var(--navy-mid); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 11px; color: var(--navy-mid); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--orange); }

/* -- Responsive -------------------------------------------- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-btn { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 24px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
}