/* ───────────────────────────────────────────
   Think Higher — Custom Styles
   Burgundy + Blush | Fresh & Airy
   ─────────────────────────────────────────── */

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: #8B1A4D;
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf0f4;
}
::-webkit-scrollbar-thumb {
    background: #f4a0b8;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d44068;
}

/* ── Header / Navbar ── */
#site-header {
    background: rgba(254, 253, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(139, 26, 77, 0.08);
    transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
    box-shadow: 0 4px 30px rgba(139, 26, 77, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8B1A4D;
    border-radius: 9999px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 60%;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8B1A4D 0%, #a82060 100%);
    color: #fff;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 15px rgba(139, 26, 77, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 26, 77, 0.35);
    background: linear-gradient(135deg, #701540 0%, #8B1A4D 100%);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #8B1A4D;
    border: 2px solid rgba(139, 26, 77, 0.25);
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(139, 26, 77, 0.06);
    border-color: #8B1A4D;
    color: #8B1A4D;
}

/* ── CTA Buttons ── */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    color: #8B1A4D;
    font-weight: 700;
    border-radius: 9999px;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover,
.btn-cta-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    color: #8B1A4D;
    text-decoration: none;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-cta-secondary:hover,
.btn-cta-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    text-decoration: none;
}

/* ── Section Padding ── */
.section-padding {
    padding: 6rem 0;
}

@media (max-width: 640px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* ── Hero Section ── */
.hero-section {
    background: linear-gradient(135deg, #fef7f9 0%, #fdf0f4 40%, #fdeef3 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(139, 26, 77, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    animation: heroFadeIn 0.8s ease forwards;
}

.hero-image {
    animation: heroImageIn 0.8s ease 0.2s both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroImageIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(139, 26, 77, 0.15);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fce4ec, #f9c4d6);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

.hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: -16px;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 40px rgba(139, 26, 77, 0.12);
    z-index: 2;
}

@media (max-width: 1023px) {
    .hero-floating-card {
        left: 16px;
        bottom: 16px;
    }
}

/* ── Service Cards ── */
.service-card {
    background: #fff;
    border: 1px solid rgba(139, 26, 77, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(139, 26, 77, 0.1);
    border-color: rgba(139, 26, 77, 0.15);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fdf0f4, #fce4ec);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, #fce4ec, #f9c4d6);
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    color: #8B1A4D;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #8B1A4D;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.service-card-link:hover {
    gap: 0.5rem;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* ── About Section ── */
.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(139, 26, 77, 0.12);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -24px;
    right: -16px;
    width: 55%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 26, 77, 0.15);
    border: 6px solid #fdf8f2;
}

.about-secondary-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -16px;
    right: 40px;
    background: #8B1A4D;
    color: #fff;
    border-radius: 1.25rem;
    padding: 1rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 26, 77, 0.3);
}

.about-experience-badge p:first-child {
    line-height: 1;
}

/* ── Approach Section ── */
.approach-step {
    position: relative;
}

.approach-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.75rem;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: rgba(244, 160, 184, 0.4);
    display: none;
}

@media (min-width: 1024px) {
    .approach-step:not(:last-child)::after {
        display: block;
    }
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, #4a0e2b 0%, #8B1A4D 50%, #a82060 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 40%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ── Badge Chips ── */
.badge-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #fdf0f4;
    border: 1px solid #f9c4d6;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #8B1A4D;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.badge-chip:hover {
    background: #fce4ec;
    border-color: #f4a0b8;
}

/* ── Community Image ── */
.community-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 20px 50px rgba(139, 26, 77, 0.12);
}

/* ── Form Inputs ── */
.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(139, 26, 77, 0.15);
    border-radius: 0.75rem;
    background: #fefdfb;
    color: #4a0e2b;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
}

.input-field::placeholder {
    color: #c45a7b;
    opacity: 0.5;
}

.input-field:hover {
    border-color: rgba(139, 26, 77, 0.3);
    background: #fff;
}

.input-field:focus {
    border-color: #8B1A4D;
    box-shadow: 0 0 0 4px rgba(139, 26, 77, 0.08);
    background: #fff;
}

.input-field:invalid:not(:placeholder-shown) {
    border-color: #d44068;
}

select.input-field {
    background-color: #fefdfb;
    cursor: pointer;
}

select.input-field option {
    color: #4a0e2b;
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #8B1A4D;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(139, 26, 77, 0.3);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 8px 25px rgba(139, 26, 77, 0.4);
    background: #701540;
}

/* ── Mobile Menu ── */
.mobile-nav-link {
    display: block;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ── Focus Visible ── */
:focus-visible {
    outline: 2px solid #8B1A4D;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Print ── */
@media print {
    #site-header, .back-to-top, .cta-banner {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
