/* =========================
   BLUE POOL ADVISORS
   COMPLETE HOMEPAGE STYLE
   ========================= */

:root {
    --bg-dark: #0b1520;
    --bg-darker: #071018;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --text: #1d2833;
    --text-soft: #566372;
    --line: #d9e1e8;
    --accent: #c7a86b;
    --accent-dark: #b39154;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --container: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 16, 24, 0.78);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 1rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(to right, rgba(7,16,24,0.82) 0%, rgba(7,16,24,0.65) 42%, rgba(7,16,24,0.42) 100%),
        linear-gradient(to bottom, rgba(7,16,24,0.24), rgba(7,16,24,0.52)),
        url("BPA-WS2026/assets/img/HERO-IMG/buiding%20facade.jpg") center center / cover no-repeat;
    color: var(--white);
    padding-top: 82px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0.22));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 120px 0 90px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.9rem);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    max-width: 700px;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.96rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #101820;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.32);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

/* SECTIONS */
.section {
    padding: 100px 0;
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 14px;
    font-weight: 700;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 50px;
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.intro-left h2,
.difference-left h2,
.contact-intro h2 {
    font-size: clamp(1.9rem, 3vw, 3.1rem);
    line-height: 1.18;
    margin-bottom: 18px;
    color: var(--bg-dark);
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 780px;
    margin: 0 auto;
}

/* INTRO */
.intro {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.intro-right p {
    font-size: 1.04rem;
    color: var(--text-soft);
    margin-bottom: 18px;
}

/* SERVICES */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: var(--card);
    border: 1px solid #e7edf2;
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-size: 1.22rem;
    margin-bottom: 14px;
    color: var(--bg-dark);
}

.service-card p {
    color: var(--text-soft);
    font-size: 0.98rem;
}

/* DIFFERENCE SECTION */
.difference-section {
    background: linear-gradient(180deg, #0b1520 0%, #0f1d2c 100%);
    color: var(--white);
}

.difference-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.difference-left h2,
.difference-left p {
    color: var(--white);
}

.difference-left p {
    color: rgba(255,255,255,0.78);
    font-size: 1.04rem;
}

.difference-right {
    display: grid;
    gap: 22px;
}

.difference-card,
.difference-note {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px;
}

.difference-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: var(--white);
}

.difference-card p,
.difference-note p {
    color: rgba(255,255,255,0.82);
    font-size: 0.98rem;
}

.text-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent);
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

/* CLIENTS */
.clients-section {
    background: var(--white);
}

.client-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.client-item {
    background: var(--bg-light);
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    padding: 22px 20px;
    font-weight: 500;
    color: var(--bg-dark);
}

/* CONTACT */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-intro p {
    color: var(--text-soft);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.contact-note {
    padding: 16px 18px;
    background: rgba(199,168,107,0.12);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid #e6edf2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--bg-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #ccd6df;
    border-radius: 10px;
    padding: 14px 15px;
    font-size: 0.97rem;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(199,168,107,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.form-check input {
    margin-top: 5px;
    transform: scale(1.05);
}

.form-check label {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.form-button {
    margin-top: 10px;
    align-self: flex-start;
    min-width: 240px;
}

/* FOOTER */
.site-footer {
    background: var(--bg-darker);
    color: rgba(255,255,255,0.78);
    padding: 34px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.footer-copy {
    font-size: 0.94rem;
}

.footer-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255,255,255,0.82);
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .intro-grid,
    .difference-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .services-grid,
    .client-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        max-width: 820px;
    }
}

@media (max-width: 820px) {
    .site-header {
        position: relative;
        background: var(--bg-darker);
    }

    .header-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        gap: 14px 18px;
    }

    .hero {
        min-height: auto;
        padding-top: 0;
    }

    .hero-content {
        padding: 90px 0 70px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.3rem);
    }

    .hero-subtitle {
        font-size: 1.02rem;
        line-height: 1.7;
    }

    .services-grid,
    .client-list,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .section {
        padding: 78px 0;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(94%, var(--container));
    }

    .logo {
        font-size: 0.88rem;
        letter-spacing: 0.14em;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .btn {
        width: 100%;
    }

    .form-button {
        min-width: 100%;
    }

    .section-heading h2,
    .intro-left h2,
    .difference-left h2,
    .contact-intro h2 {
        font-size: 1.75rem;
    }
}