/* =====================================================================
   HELPMEWAKA — pages.css
   Page-specific styles beyond the global style.css
   ===================================================================== */

/* ─── Countries Bar ──────────────────────────────────────────────── */
.countries-bar {
    background: linear-gradient(90deg, #07111f 0%, #0d1e35 50%, #07111f 100%);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(14, 181, 226, 0.15);
    display: block !important;
    visibility: visible !important;
}

.countries-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.country-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.country-badge img {
    width: 22px;
    height: auto;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ─── Instagram Section ──────────────────────────────────────────── */
.instagram-section {
    background: linear-gradient(135deg, #0d0d1f 0%, #1a0826 60%, #0d1a2e 100%);
    position: relative;
    overflow: hidden;
}

.instagram-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 60%, rgba(193, 53, 132, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 20%, rgba(14, 181, 226, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

.instagram-section .sec-tag {
    background: rgba(193, 53, 132, 0.15);
    border: 1px solid rgba(193, 53, 132, 0.35);
    color: #e1306c;
}

.instagram-section .sec-title {
    color: #fff;
}

.instagram-section .sec-sub {
    color: rgba(255, 255, 255, 0.55);
}

.instagram-widget-wrap {
    position: relative;
    z-index: 1;
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.25rem;
    min-height: 200px;
}

.instagram-cta {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    text-align: center;
}

.btn-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 39, 67, 0.4);
    color: #fff;
}

/* ─── Page Hero Banner ───────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #07111f 0%, #0d2040 60%, #0a1525 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(14, 181, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(85, 194, 195, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.page-hero h1 span {
    color: var(--clr-primary);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-lg);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
}

.page-breadcrumb a {
    color: var(--clr-primary);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-breadcrumb i {
    font-size: 0.65rem;
}

/* ─── Form Styles ────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.45rem;
}

.form-label .req {
    color: var(--clr-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--clr-bg);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--r-md);
    font-size: 0.95rem;
    color: var(--clr-text);
    font-family: var(--font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(14, 181, 226, 0.12);
}

.form-control::placeholder {
    color: var(--clr-text-light);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-hint {
    font-size: 0.76rem;
    color: var(--clr-text-muted);
    margin-top: 0.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--grad-primary-teal);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-head);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 181, 226, 0.35);
}

.form-submit:active {
    transform: translateY(0);
}

/* ─── Auth Pages (Login / Register) ─────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.auth-left {
    width: 42%;
    background: linear-gradient(160deg, #07111f 0%, #0d2a4a 50%, #07111f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(14, 181, 226, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(85, 194, 195, 0.1) 0%, transparent 45%);
    pointer-events: none;
}

.auth-left-content {
    position: relative;
    z-index: 1;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.auth-brand img {
    height: 44px;
}

.auth-tagline {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.auth-tagline span {
    color: var(--clr-primary);
}

.auth-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.auth-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.auth-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.auth-highlights li svg {
    flex-shrink: 0;
}

.auth-right {
    flex: 1;
    background: var(--clr-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem;
}

.auth-form-wrap {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 0.4rem;
}

.auth-form-sub {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
    font-size: 0.8rem;
    color: var(--clr-text-light);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--clr-border);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-footer-link {
    text-align: center;
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    margin-top: 1.5rem;
}

.auth-footer-link a {
    color: var(--clr-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

.pass-wrapper {
    position: relative;
}

.pass-toggle {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.forgot-link {
    font-size: 0.82rem;
    color: var(--clr-primary);
    text-decoration: none;
    float: right;
    margin-top: -0.2rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Customer auth redesign (split minimal + glass) */
.auth-page.auth-customer {
    background: radial-gradient(1200px 700px at 15% 30%, rgba(14, 181, 226, 0.10), transparent 55%),
        radial-gradient(900px 520px at 70% 20%, rgba(85, 194, 195, 0.10), transparent 55%),
        linear-gradient(180deg, #f7fafb 0%, #f2f7fb 100%);
}

.auth-page.auth-customer .auth-left {
    width: 48%;
    background: linear-gradient(135deg, rgba(7, 17, 31, 0.96) 0%, rgba(13, 42, 74, 0.94) 55%, rgba(7, 17, 31, 0.98) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-page.auth-customer .auth-left::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 40% 40%, rgba(14, 181, 226, 0.18), transparent 55%),
        radial-gradient(circle at 70% 55%, rgba(85, 194, 195, 0.14), transparent 52%);
    filter: blur(10px);
    opacity: 0.9;
    pointer-events: none;
}

.auth-page.auth-customer .auth-right {
    background: transparent;
    padding: 3.25rem;
}

.auth-page.auth-customer .auth-form-wrap {
    max-width: 520px;
}

.auth-page.auth-customer .auth-form-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.10);
    border-radius: 1.25rem;
    padding: 2rem 2rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.auth-page.auth-customer .auth-form-title {
    font-size: 1.9rem;
    letter-spacing: -0.02em;
}

.auth-page.auth-customer .auth-form-sub {
    font-size: 0.95rem;
}

.auth-page.auth-customer .form-control {
    background: rgba(248, 250, 252, 0.9);
}

.auth-page.auth-customer .auth-mini-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.86rem;
    color: var(--clr-text-muted);
}

.auth-page.auth-customer .auth-badge-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.auth-page.auth-customer .auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    white-space: nowrap;
}

.auth-page.auth-customer .auth-illustration {
    margin-top: 2.25rem;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16/10;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 30% 35%, rgba(14, 181, 226, 0.22), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(85, 194, 195, 0.16), transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    overflow: hidden;
    position: relative;
}

.auth-page.auth-customer .auth-illustration::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%),
        radial-gradient(circle at 20% 80%, rgba(14, 181, 226, 0.24), transparent 55%);
    pointer-events: none;
}

@media (max-width: 900px) {
    .auth-page.auth-customer .auth-left {
        width: 100%;
    }

    .auth-page.auth-customer .auth-form-card {
        padding: 1.6rem 1.25rem;
        border-radius: 1rem;
    }

    .auth-page.auth-customer .auth-right {
        padding: 2rem 1.25rem;
    }
}

/* Customer vs Contractor auth accents */
.auth-page.auth-contractor .auth-tagline span {
    color: var(--clr-secondary) !important;
}

.auth-page.auth-contractor .forgot-link,
.auth-page.auth-contractor .auth-footer-link a {
    color: var(--clr-secondary);
}

.auth-page.auth-contractor .form-submit {
    background: linear-gradient(135deg, var(--clr-secondary) 0%, #7c1233 100%);
}

.auth-page.auth-contractor .form-submit:hover {
    box-shadow: 0 8px 24px rgba(237, 22, 89, 0.35);
}

@media (max-width: 900px) {
    .auth-page {
        flex-direction: column;
    }

    .auth-left {
        width: 100%;
        padding: 3rem 2rem;
    }

    .auth-right {
        padding: 2.5rem 1.5rem;
    }
}

/* ─── Services Page ──────────────────────────────────────────────── */
.services-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .services-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .services-hero-grid {
        grid-template-columns: 1fr;
    }
}

.svc-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: 2rem 1.75rem;
    transition: var(--t-bounce);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary-teal);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.svc-card:hover::after {
    transform: scaleX(1);
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14, 181, 226, 0.12);
    border-color: rgba(14, 181, 226, 0.25);
}

.svc-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 181, 226, 0.08);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.25s ease;
}

.svc-card:hover .svc-card-icon {
    background: var(--clr-primary);
}

.svc-card:hover .svc-card-icon svg {
    filter: brightness(0) invert(1);
}

.svc-card-icon svg {
    width: 30px;
    height: 30px;
}

.svc-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}

.svc-card p {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.svc-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.svc-badge-popular {
    background: rgba(237, 22, 89, 0.1);
    color: var(--clr-secondary);
    border: 1px solid rgba(237, 22, 89, 0.25);
}

.svc-badge-new {
    background: rgba(85, 194, 195, 0.1);
    color: var(--clr-teal);
    border: 1px solid rgba(85, 194, 195, 0.25);
}

.svc-arrow {
    margin-top: 1.25rem;
    color: var(--clr-primary);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ─── About Page ─────────────────────────────────────────────────── */
.about-story {
    background: var(--clr-bg);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-story-img {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-xl);
}

.about-story-img img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 700px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

.mv-card {
    padding: 2.5rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
}

.mv-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.mv-card p {
    color: var(--clr-text-muted);
    line-height: 1.7;
}

.mv-card-mission {
    border-top: 4px solid var(--clr-primary);
}

.mv-card-vision {
    border-top: 4px solid var(--clr-secondary);
}

/* ─── Contact Page ───────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    padding: 1.5rem;
    background: var(--clr-surface);
    border-radius: var(--r-md);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--t-normal);
}

.contact-card:hover {
    border-color: var(--clr-primary);
    box-shadow: 0 4px 20px rgba(14, 181, 226, 0.1);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: rgba(14, 181, 226, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--clr-primary);
    font-size: 1.2rem;
}

.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
}

.contact-card p,
.contact-card a {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    text-decoration: none;
    line-height: 1.5;
}

.contact-card a:hover {
    color: var(--clr-primary);
}

.contact-form-card {
    background: var(--clr-surface);
    border-radius: var(--r-xl);
    border: 1px solid var(--clr-border);
    padding: 2.5rem;
    box-shadow: var(--sh-md);
}