/* ===================================================================
   Legal Resolution Guidance - Shared Stylesheet
   Used across all pages: index, about, service, newsletter,
   unsubscribe, contact, privacy-policy, terms-conditions
   =================================================================== */

:root {
    --primary: #d48a5d; /* Sophisticated Pink/Rose Gold */
    --primary-dark: #d17341;
    --secondary: #1a1e29;
    --dark: #0f1219;
    --light: #f8f9fa;
    --text-gray: #a0a5b1;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-text: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --gradient-accent: linear-gradient(135deg, #f15a1e 0%, #f1b78e 100%);
}

/* Base Styles & Scrollbar */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Bubble Background */
#bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle, rgba(212, 154, 158, 0.15) 0%, rgba(212, 154, 158, 0) 70%);
    border-radius: 50%;
    animation: rise linear infinite;
}
@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-padding { padding: 120px 0; position: relative; z-index: 1; }

/* Buttons */
.btn-custom {
    background: var(--gradient-accent);
    color: var(--dark);
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 154, 158, 0.3);
    color: var(--dark);
}
.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 20px 0;
    z-index: 1030;
}
.navbar.scrolled {
    background: rgba(15, 18, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav-link {
    color: var(--light) !important;
    font-weight: 500;
    position: relative;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Hero Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 80px;
    background: radial-gradient(circle at center, rgba(212, 154, 158, 0.05) 0%, transparent 60%);
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Page Header (for subpages) */
.page-header {
    padding: 160px 0 80px;
    position: relative;
    z-index: 1;
    text-align: center;
    background: radial-gradient(circle at center, rgba(212, 154, 158, 0.05) 0%, transparent 60%);
}
.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.page-header p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Animated Abstract Icon Composition */
.hero-animation-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.center-emblem {
    font-size: 7rem;
    color: var(--primary);
    filter: drop-shadow(0 0 30px rgba(212, 154, 158, 0.4));
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 2;
}
.floating-element {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.float-1 { width: 80px; height: 80px; font-size: 1.8rem; top: 10%; left: 15%; animation: float-multi 7s ease-in-out infinite; }
.float-2 { width: 60px; height: 60px; font-size: 1.2rem; top: 20%; right: 10%; animation: float-multi 5s ease-in-out infinite 1s; }
.float-3 { width: 100px; height: 100px; font-size: 2.2rem; bottom: 15%; left: 20%; animation: float-multi 8s ease-in-out infinite 2s; color: var(--primary); }
.float-4 { width: 70px; height: 70px; font-size: 1.5rem; bottom: 25%; right: 15%; animation: float-multi 6s ease-in-out infinite 0.5s; }

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(212, 154, 158, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 50px rgba(212, 154, 158, 0.7)); }
}
@keyframes float-multi {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(15px, -25px) rotate(5deg); }
    66% { transform: translate(-10px, 15px) rotate(-5deg); }
}

/* About Section */
.about-text-content {
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    margin-bottom: 2rem;
}
.value-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(212,154,158,0.05) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}
.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Services Section (Horizontal Layout) */
.service-horizontal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-horizontal-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 154, 158, 0.1), transparent);
    transition: 0.5s;
}
.service-horizontal-card:hover::after {
    left: 100%;
}
.service-horizontal-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 154, 158, 0.4);
    transform: scale(1.02);
}
.service-icon-lg {
    width: 70px; height: 70px;
    min-width: 70px;
    border-radius: 12px;
    background: rgba(212, 154, 158, 0.1);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}
.service-horizontal-card:hover .service-icon-lg {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 20px rgba(212, 154, 158, 0.4);
}

/* Service Detail Block (used on service.html) */
.service-detail-block {
    padding: 50px 0;
    border-bottom: 1px solid var(--glass-border);
}
.service-detail-block:last-child { border-bottom: none; }
.service-detail-block h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.service-detail-block .icon-wrap {
    width: 90px; height: 90px;
    border-radius: 16px;
    background: rgba(212, 154, 158, 0.1);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
}
.service-feature-list li {
    color: var(--text-gray);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    list-style: none;
}
.service-feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 0.25rem;
}

/* Why Us Hover Cards */
.hover-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.hover-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.icon-box {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(212, 154, 158, 0.1);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
    transition: all 0.3s ease;
}
.hover-card:hover .icon-box { background: var(--primary); color: var(--dark); }

/* FAQ Accordion */
.accordion-item {
    background: transparent;
    border: 1px solid var(--glass-border);
    margin-bottom: 15px;
    border-radius: 8px !important;
    overflow: hidden;
}
.accordion-button {
    background: var(--glass-bg);
    color: var(--light);
    font-weight: 500;
    box-shadow: none !important;
    padding: 20px;
    transition: all 0.3s;
}
.accordion-button:not(.collapsed) {
    background: rgba(212, 154, 158, 0.1);
    color: var(--primary);
}
.accordion-button::after { filter: invert(1); }
.accordion-button:not(.collapsed)::after { filter: invert(60%) sepia(35%) saturate(300%) hue-rotate(300deg); }
.accordion-body { background: rgba(0,0,0,0.2); color: var(--text-gray); }

/* Testimonials */
.testimonial-card { padding: 40px; position: relative; }
.quote-icon {
    font-size: 4rem; position: absolute;
    top: 20px; right: 20px;
    color: rgba(212, 154, 158, 0.1); z-index: 0;
}
.testimonial-content { position: relative; z-index: 1; font-style: italic; color: var(--text-gray); }

/* Forms */
.form-control, .form-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--light); padding: 12px 20px;
}
.form-control:focus, .form-select:focus {
    background: rgba(255,255,255,0.08); border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(212, 154, 158, 0.25); color: var(--light);
}
.form-control::placeholder { color: rgba(255,255,255,0.3); }
.form-label { color: var(--primary); font-weight: 500; font-size: 0.9rem;}

/* Footer */
footer {
    background: #0a0d14; border-top: 1px solid var(--glass-border); padding-top: 80px;
}
.footer-link {
    color: var(--text-gray); text-decoration: none;
    transition: color 0.3s; display: block; margin-bottom: 10px;
}
.footer-link:hover { color: var(--primary); }
.social-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--light); text-decoration: none;
    transition: all 0.3s; margin-right: 10px;
}
.social-icon:hover { background: var(--primary); color: var(--dark); transform: translateY(-3px); }

/* Toasts */
.toast-container { z-index: 1060; }
.custom-toast { background: rgba(15, 18, 25, 0.95); border-left: 4px solid var(--primary); color: white; }
.btn-spinner { display: none; width: 1rem; height: 1rem; border-width: 0.15em; margin-right: 8px;}
.loading .btn-spinner { display: inline-block; }
.loading .btn-text { display: none; }

/* Legal / Policy Page Content */
.legal-content h2 {
    color: var(--light);
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}
.legal-content ul {
    color: var(--text-gray);
    line-height: 1.8;
    padding-left: 1.5rem;
}

@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .page-header h1 { font-size: 2.5rem; }
    .hero-animation-wrapper { height: 350px; margin-top: 2rem; }
    .center-emblem { font-size: 5rem; }
    .section-padding { padding: 80px 0; }
}