/* ============================================
   LuxeHarmony - Premium Matchmaking Website
   ============================================ */

:root {
    --primary: #E63973;
    --primary-hover: #C2185B;
    --secondary: #1F3C88;
    --accent: #F7C948;
    --bg: #FFFFFF;
    --bg-light: #F8F9FC;
    --text: #2C2C2C;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --dark: #0F1729;
    --footer-bg: #0A1628;
    --shadow-sm: 0 2px 8px rgba(31, 60, 136, 0.08);
    --shadow-md: 0 8px 30px rgba(31, 60, 136, 0.12);
    --shadow-lg: 0 20px 60px rgba(31, 60, 136, 0.15);
    --shadow-glow: 0 0 40px rgba(230, 57, 115, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--primary-hover); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    content-visibility: auto;
}

/* ========== Buttons ========== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #D42A6A 100%);
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 57, 115, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #A01550 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background: var(--secondary);
    border: none;
    color: var(--white);
}

.btn-secondary-custom:hover {
    background: #162d6e;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #E5B83D 100%);
    border: none;
    color: var(--secondary);
    font-weight: 700;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #E5B83D 0%, #D4A82E 100%);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 201, 72, 0.4);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* ========== Section Utilities ========== */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

.bg-light-section {
    background-color: var(--bg-light);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* ========== Header ========== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 1rem 0;
    transition: var(--transition);
}

#main-header.header-transparent {
    background: transparent;
}

#main-header.header-transparent .nav-link {
    color: var(--white);
}

#main-header.header-transparent .navbar-brand img {
    filter: none;
}

#main-header.header-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 0;
}

#main-header.header-scrolled .nav-link {
    color: var(--text);
}

#main-header.header-scrolled .navbar-brand img {
    filter: none;
}

#main-header.header-scrolled .navbar-toggler {
    border-color: var(--secondary);
}

#main-header.header-scrolled .navbar-toggler-icon {
    filter: invert(0.3);
}

#main-header .navbar {
    padding: 0;
}

#main-header .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem !important;
    position: relative;
    transition: var(--transition);
}

#main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
    transform: translateX(-50%);
}

#main-header .nav-link:hover::after,
#main-header .nav-link.active::after {
    width: 60%;
}

#main-header.header-scrolled .nav-link:hover,
#main-header.header-scrolled .nav-link.active {
    color: var(--primary);
}

#main-header.header-transparent .nav-link:hover {
    color: var(--accent);
}

.btn-cta {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

@media (max-width: 991.98px) {
    #main-header .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }

    #main-header .navbar-collapse .nav-link {
        color: var(--text) !important;
        padding: 0.75rem 0 !important;
    }

    #main-header .header-cta {
        margin-top: 1rem;
    }
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 60, 136, 0.82) 0%, rgba(230, 57, 115, 0.72) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(247, 201, 72, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 140px 0 100px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-content .hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 300;
    opacity: 0.95;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-feature i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.floating-heart-1 {
    top: 20%;
    right: 10%;
    font-size: 4rem;
    color: var(--accent);
    animation: float 6s ease-in-out infinite;
}

.floating-heart-2 {
    bottom: 25%;
    left: 8%;
    font-size: 3rem;
    color: var(--primary);
    animation: float 8s ease-in-out infinite reverse;
}

.floating-ring {
    top: 35%;
    right: 25%;
    font-size: 2.5rem;
    color: var(--accent);
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========== Trust Section ========== */
.trust-section {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid rgba(31, 60, 136, 0.08);
}

.trust-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.trust-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 57, 115, 0.1) 0%, rgba(31, 60, 136, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.trust-item:hover .trust-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ========== About Section ========== */
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #2a4fa0 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    z-index: 2;
}

.about-badge .badge-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.about-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.about-content h3 {
    margin-bottom: 1.25rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.about-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ========== How It Works ========== */
.process-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(31, 60, 136, 0.06);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.process-card:hover .process-icon {
    transform: scale(1.15);
    color: var(--secondary);
}

.process-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========== Why Choose Us ========== */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(31, 60, 136, 0.06);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 57, 115, 0.2);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(230, 57, 115, 0.1) 0%, rgba(31, 60, 136, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========== Success Stories ========== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin: 1rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(230, 57, 115, 0.15);
    position: absolute;
    top: 10px;
    left: 25px;
    line-height: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.testimonial-info h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
    color: var(--secondary);
}

.testimonial-info .couple-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.3;
    border: none;
}

.carousel-indicators .active {
    opacity: 1;
}

/* ========== Dating Advice ========== */
.advice-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(31, 60, 136, 0.06);
}

.advice-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.advice-card-img {
    height: 200px;
    overflow: hidden;
}

.advice-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.advice-card:hover .advice-card-img img {
    transform: scale(1.05);
}

.advice-card-body {
    padding: 1.5rem;
}

.advice-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.advice-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.advice-card:hover h4 {
    color: var(--primary);
}

.advice-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.advice-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.advice-read-more:hover {
    color: var(--primary);
    gap: 0.7rem;
}

/* ========== FAQ Section ========== */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary);
    background: var(--white);
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(230, 57, 115, 0.05) 0%, rgba(31, 60, 136, 0.05) 100%);
    color: var(--primary);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E63973'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========== Contact Section ========== */
.contact-info-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #2a4fa0 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-info-item a {
    color: var(--white);
}

.contact-info-item a:hover {
    color: var(--accent);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid rgba(31, 60, 136, 0.15);
    border-radius: var(--radius);
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 115, 0.15);
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

/* ========== Final CTA ========== */
.final-cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #2a4fa0 50%, var(--primary) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.final-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.final-cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ========== Footer ========== */
.site-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-brand img {
    margin-bottom: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.copyright, .footer-tagline {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== Legal Pages ========== */
.legal-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2a4fa0 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.legal-hero h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.legal-hero p {
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 60px 0 80px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(230, 57, 115, 0.2);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-content ul, .legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1040;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ========== Alert Messages ========== */
.alert-custom {
    border-radius: var(--radius);
    border: none;
    padding: 1rem 1.25rem;
}

/* ========== Responsive ========== */
@media (max-width: 767.98px) {
    .section-padding { padding: 70px 0; }
    .hero-content { padding: 120px 0 80px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; text-align: center; }
    .about-image-wrapper img { height: 300px; }
    .about-badge { right: 10px; bottom: -15px; padding: 1rem; }
    .testimonial-card { padding: 1.75rem; }
    .contact-info-card, .contact-form-card { padding: 1.75rem; }
    .final-cta-section { padding: 70px 0; }
}

@media (max-width: 575.98px) {
    .trust-number { font-size: 1.75rem; }
    .hero-features { flex-direction: column; gap: 0.75rem; }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
