:root {
    --primary: #0f172a;
    /* Deep Navy Blue - Professional & Trustworthy */
    --secondary: #d4af37;
    /* Metallic Gold - Premium & Authority */
    --secondary-hover: #b59020;
    --light-bg: #f8fafc;
    /* Cool Light Grey */
    --white: #ffffff;
    --text-dark: #334155;
    --text-light: #64748b;
    --success: #10b981;
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Typography Enhancements */
.display-4,
.display-5 {
    letter-spacing: -0.5px;
}

p.lead {
    font-weight: 300;
    color: var(--text-dark);
}

/* Custom Selection Color */
::selection {
    background-color: var(--secondary);
    color: var(--white);
}

/* Navigation */
.navbar {
    padding: 1.2rem 0;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--primary) !important;
    margin: 0 10px;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    /* More formal squared look for legal */
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2c3e50;
    /* Slightly lighter navy */
    border-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-light {
    border-width: 2px;
}

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

/* Hero Section */
.hero-slider {
    height: 85vh;
    /* Taller hero */
    min-height: 600px;
    position: relative;
    padding-top: 80px;
    /* Account for fixed header */
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 1;
    /* Increased from 0.9 */
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.hero-content .btn-group-hero {
    animation: fadeInUp 1.4s ease-out;
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Section Title Styling */
.section-title-wrapper {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.section-title-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--white);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card {
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary);
}

.service-card i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.testimonial-card {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    position: relative;
    border-left: 5px solid var(--secondary);
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: -10px;
    left: 20px;
}

/* Backgrounds */
.bg-light-custom {
    background-color: var(--light-bg);
}

.section-padding {
    padding: 100px 0;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: #cbd5e1;
    padding-top: 80px;
}

footer h4,
footer h5 {
    color: var(--white);
}

footer a {
    color: #cbd5e1;
}

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

.gold-accent {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Forms */
.form-control {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    border-color: var(--secondary);
}

.contact-info-card,
.appointment-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Floating Action Button (if needed) or Utility classes */
.text-gold {
    color: var(--secondary) !important;
}

.bg-gold {
    background-color: var(--secondary) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
    }
}

/* Page Hero for Inner Pages */
.page-hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 160px 0 80px;
    /* Top padding accounts for fixed header */
    margin-bottom: 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
}

.page-hero h1,
.page-hero .lead {
    color: var(--white) !important;
}

.page-hero .breadcrumb {
    background: transparent;
}