/* =====================================================
   ROYALTY TAX LLC - MODERN THEME
   ===================================================== */

:root {
    --royal-purple: #5B2D8C;
    --royal-purple-dark: #3D1B61;
    --royal-purple-light: #7B4DB3;
    --gold: #D4A84B;
    --gold-light: #E5C77A;
    --gold-dark: #B8923D;
    --cream: #FAF8F5;
    --charcoal: #2C2C2C;
    --slate: #5A5A5A;
    --light-gray: #F5F5F7;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--charcoal);
    line-height: 1.7;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== TOP BAR ===================== */
.top-bar {
    background: linear-gradient(135deg, var(--royal-purple-dark) 0%, var(--royal-purple) 100%);
    padding: 12px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
    color: rgba(255,255,255,0.9);
}

.top-bar-left a {
    color: var(--gold-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.top-bar-left a:hover {
    color: var(--gold);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.8);
}

.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===================== HEADER / NAV ===================== */
.header {
    background: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-menu a:hover {
    background: var(--cream);
    color: var(--royal-purple);
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-menu .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    border-radius: 0;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: var(--cream);
}

/* Nav Button Styles */
.nav-menu .btn-primary {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--royal-purple-dark) 100%);
}

.nav-menu .btn-primary:hover {
    background: linear-gradient(135deg, var(--royal-purple-light) 0%, var(--royal-purple) 100%);
    color: var(--white) !important;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--royal-purple-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(91, 45, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(91, 45, 140, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--royal-purple);
    border: 2px solid var(--royal-purple);
}

.btn-secondary:hover {
    background: var(--royal-purple);
    color: var(--white);
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--charcoal);
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 75, 0.4);
    color: var(--charcoal);
    text-decoration: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--royal-purple);
    cursor: pointer;
}

/* ===================== HERO SECTION ===================== */
.hero {
    background: linear-gradient(160deg, var(--royal-purple-dark) 0%, var(--royal-purple) 50%, var(--royal-purple-light) 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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");
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--gold-light);
}

.hero-badge i {
    color: var(--gold);
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--white);
}

.hero h1 span {
    color: var(--gold-light);
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    position: relative;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--light-gray);
}

.hero-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--royal-purple-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.hero-card h3 {
    font-size: 20px;
    color: var(--charcoal);
}

.hero-card h3 span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--slate);
    font-family: 'DM Sans', sans-serif;
    margin-top: 4px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-gray);
}

.hero-stat:last-child {
    border-bottom: none;
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-purple);
}

.hero-stat-text h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
}

.hero-stat-text span {
    font-size: 13px;
    color: var(--slate);
}

.hero-floating {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--charcoal);
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(212, 168, 75, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===================== TRUST INDICATORS ===================== */
.trust-section {
    padding: 60px 0;
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.trust-item {
    padding: 20px;
}

.trust-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--royal-purple);
    margin-bottom: 8px;
}

.trust-number span {
    color: var(--gold);
}

.trust-label {
    font-size: 15px;
    color: var(--slate);
}

/* ===================== SECTION STYLES ===================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--royal-purple);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.section-header h2 {
    font-size: 42px;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--slate);
    font-size: 17px;
}

/* ===================== SERVICES SECTION ===================== */
.services-section {
    padding: 100px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(91, 45, 140, 0.8) 0%, transparent 50%);
}

.service-icon {
    position: absolute;
    bottom: 16px;
    left: 24px;
    width: 52px;
    height: 52px;
    background: var(--gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(212, 168, 75, 0.4);
}

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-content p {
    color: var(--slate);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-link {
    color: var(--royal-purple);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    text-decoration: none;
}

/* ===================== WHY CHOOSE US ===================== */
.why-section {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content h2 {
    font-size: 42px;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.why-content > p {
    color: var(--slate);
    font-size: 17px;
    margin-bottom: 40px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--royal-purple-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.why-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.why-item p {
    color: var(--slate);
    font-size: 15px;
}

.why-visual {
    position: relative;
}

.why-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.why-image img {
    width: 100%;
    display: block;
}

.why-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--royal-purple);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(91, 45, 140, 0.3);
}

.why-badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-light);
}

.why-badge-text {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
    background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a1a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-text {
    color: var(--white);
}

.cta-text h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--white);
}

.cta-text h2 span {
    color: var(--gold-light);
}

.cta-text p {
    opacity: 0.8;
    font-size: 17px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===================== CONTACT / CALLBACK SECTION ===================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--royal-purple-dark) 0%, var(--royal-purple) 100%);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

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

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--white);
}

.contact-info > p {
    opacity: 0.85;
    font-size: 17px;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
}

.contact-item p, .contact-item a {
    font-size: 15px;
    opacity: 0.85;
    color: var(--white);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--gold-light);
}

.contact-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.contact-form-card h3 {
    font-size: 28px;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--slate);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--charcoal);
    padding: 80px 0 0;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--royal-purple);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--gold-light);
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-hours p {
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 8px;
}

.footer-hours strong {
    color: var(--gold-light);
}

.footer-map {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.footer-map iframe {
    width: 100%;
    height: 150px;
    border: none;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
    margin: 0;
}

/* ===================== PAGE CONTENT STYLES ===================== */
.page-header {
    background: linear-gradient(160deg, var(--royal-purple-dark) 0%, var(--royal-purple) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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");
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    color: var(--royal-purple);
    margin-bottom: 20px;
}

.page-content p {
    color: var(--slate);
    margin-bottom: 16px;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.page-badge i {
    color: var(--gold-light);
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.content-main {
    color: var(--slate);
    line-height: 1.8;
}

.content-main p {
    margin-bottom: 20px;
}

.content-main h3 {
    color: var(--royal-purple);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 40px 0 20px;
}

.content-main h4 {
    color: var(--charcoal);
    font-size: 18px;
    margin-bottom: 12px;
}

.content-main ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-main ul li {
    margin-bottom: 12px;
    position: relative;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    background: var(--cream);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid var(--royal-purple);
}

.feature-list li strong {
    color: var(--royal-purple);
    font-size: 17px;
}

.service-option {
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
    border: 1px solid rgba(106, 61, 154, 0.1);
}

.service-option h4 {
    color: var(--royal-purple);
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-option h4 i {
    color: var(--gold);
}

.service-option ul {
    margin-top: 16px;
}

.service-option ul li {
    margin-bottom: 10px;
    padding-left: 8px;
}

.pricing-info {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--royal-purple-dark) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
}

.pricing-info h3 {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
}

.pricing-info h3 i {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pricing-info p {
    opacity: 0.9;
}

.pricing-info a {
    color: var(--gold-light);
    font-weight: 600;
}

.pricing-info a:hover {
    color: var(--gold);
}

/* Content Sidebar */
.content-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(106, 61, 154, 0.1);
}

.sidebar-card h3 {
    color: var(--royal-purple);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cream);
}

.sidebar-contact-item:last-child {
    border-bottom: none;
}

.sidebar-contact-item i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--royal-purple-light) 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-contact-item div {
    flex: 1;
}

.sidebar-contact-item span {
    display: block;
    font-size: 13px;
    color: var(--slate);
    margin-bottom: 4px;
}

.sidebar-contact-item strong {
    color: var(--charcoal);
    font-size: 15px;
}

.sidebar-contact-item a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
}

.sidebar-contact-item a:hover {
    color: var(--royal-purple);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 44px;
    }

    .hero-content,
    .why-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-badge {
        position: relative;
        bottom: 0;
        left: 0;
        display: inline-block;
        margin-top: 24px;
    }

    .hero-visual {
        order: -1;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-header h2,
    .why-content h2,
    .contact-info h2 {
        font-size: 32px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .trust-number {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .content-section {
        padding: 50px 0;
    }

    .content-main h3 {
        font-size: 24px;
    }

    .service-option {
        padding: 20px;
    }

    .pricing-info {
        padding: 30px;
    }
}

/* ===================== LEGACY PAGE SUPPORT ===================== */
/* These styles support old service pages until they are fully redesigned */

.header-display {
    background: linear-gradient(160deg, var(--royal-purple-dark) 0%, var(--royal-purple) 100%);
    color: var(--white);
    position: relative;
}

.header-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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");
}

.header-display h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    position: relative;
    z-index: 1;
}

.header-bg {
    position: relative;
    z-index: 1;
}

section.content {
    padding: 60px 0;
    background: var(--white);
}

section.content p {
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 16px;
}

section.content h2 {
    color: var(--royal-purple);
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

section.content ul {
    color: var(--slate);
    line-height: 1.8;
}

section.content ul li {
    margin-bottom: 10px;
}

section.content a {
    color: var(--royal-purple);
}

section.content a:hover {
    color: var(--royal-purple-dark);
}

/* Legacy Newsletter/Contact Section */
.footer-image {
    background: linear-gradient(160deg, var(--charcoal) 0%, #1a1a1a 100%);
    position: relative;
}

.success-overlay {
    padding: 60px 0;
}

.call-back {
    color: var(--white);
}

.call-back h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 16px;
}

.call-back p {
    opacity: 0.85;
    margin-bottom: 24px;
}

.input-call-back {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 14px 18px;
    border-radius: 8px;
}

.input-call-back::placeholder {
    color: rgba(255,255,255,0.6);
}

.input-call-back:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--gold);
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.input-call-button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--charcoal);
    font-weight: 600;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Legacy Form Styles */
.form-control {
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--royal-purple);
    box-shadow: 0 0 0 3px rgba(106, 61, 154, 0.1);
    outline: none;
}

/* Content Right Sidebar styling */
.content-right {
    background: var(--cream);
    padding: 30px;
    border-radius: 16px;
}

/* Ensure Bootstrap grid works well with new design */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.col-12, .col-lg-7, .col-lg-5, .col-lg-3, .col-md-6, .col-sm-6 {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

/* Padding/Margin utilities */
.p-2 { padding: 0.5rem !important; }
.p-5 { padding: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

.text-center { text-align: center !important; }
.border { border: 1px solid #dee2e6 !important; }
