:root {
    /* Color Palette */
    --halo-gold: #d4af37;           /* Radiant Soft Gold */
    --halo-gold-hover: #b89628;
    --halo-blue: #004b87;           /* Celestial Deep Blue */
    
    /* Background Image & Overlay Controls */
    --bg-overlay: rgba(255, 255, 255, 0.80);
    --glass-card: rgba(255, 255, 255, 0.75);
    --glass-card-hover: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(212, 175, 55, 0.25);
    
    /* Text Colors */
    --text-dark: #1e293b;
    --text-muted: #64748b;

    /* Global Typography - Calibri Light */
    --font-primary: 'Calibri Light', 'Calibri', 'Segoe UI', sans-serif;
    --font-secondary: 'Calibri Light', 'Calibri', 'Segoe UI', sans-serif;

    /* Layout & Animation Variables */
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary) !important;
}

body {
    font-family: var(--font-primary) !important;
    font-weight: 300;
    color: var(--text-dark);
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)), 
                url('images/index-background.png') center/cover no-repeat fixed;
    min-height: 100vh;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary) !important;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    font-family: var(--font-primary);
}

/* Header & Navigation */
.site-header {
    position: relative;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
    width: 100%;
}

.logo img {
    max-height: 55px;
    width: auto;
}

/* Base Toggle Style (Hidden on Desktop) */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--halo-blue, #0d2c40);
    margin-left: auto;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-primary) !important;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--halo-gold);
}

/* Hero Section */
.hero {
    padding: 7rem 2rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 300;
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--halo-blue);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #b89628 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-primary) !important;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

/* Main Container */
.container {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: var(--halo-blue);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background: var(--halo-gold);
    margin: 0.8rem auto 0;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Glassmorphism Cards & Grid */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    background: var(--glass-card-hover);
    transform: translateY(-6px);
    border-color: var(--halo-gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

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

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

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

.card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h3 {
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    color: var(--halo-blue);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    font-size: 0.85rem;
    font-family: var(--font-primary) !important;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--halo-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-card:hover .card-link {
    color: var(--halo-blue);
    gap: 0.8rem;
}

/* Process Flow Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--glass-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2rem 1.2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.step-card:hover {
    border-color: var(--halo-gold);
    transform: translateY(-4px);
    background: var(--glass-card-hover);
}

.step-number {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--halo-gold);
    margin-bottom: 0.5rem;
}

.step-card h4 {
    font-size: 1.1rem;
    color: var(--halo-blue);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Legal Card Styling */
.legal-card {
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.legal-card h2 {
    font-family: var(--font-primary) !important;
    color: var(--halo-gold, #c5a059);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: center;
}

.legal-card h3 {
    font-family: var(--font-primary) !important;
    color: var(--halo-gold, #c5a059);
    font-size: 1.35rem;
    font-weight: 300;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-card p {
    font-family: var(--font-primary) !important;
    font-size: 1rem;
    color: var(--text-muted, #a0a0a0);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.legal-card ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto 2rem auto;
    padding-left: 1.5rem;
}

.legal-card ul li ,
.step-card ul li {
    font-family: var(--font-primary) !important;
    font-size: 1rem;
    color: var(--text-muted, #a0a0a0);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

ol {
    display: block;
    text-align: left;
    margin: 0 auto 1.5rem auto;
    padding-left: 2rem; /* Guarantees enough space so list numbers aren't cut off */
    color: var(--halo-blue);
    font-weight: 400;
}

ol li {
    font-family: var(--font-primary) !important;
    font-size: 1rem;
    color: var(--text-muted, #a0a0a0);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-card a {
    color: var(--halo-gold, #c5a059);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-card a:hover {
    color: var(--halo-gold-hover, #d4af37);
}

/* Tables */
.halo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.halo-table th, 
.halo-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.halo-table th {
    color: var(--halo-blue);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.halo-table td {
    color: var(--text-muted, #a0a0a0);
    font-weight: 300;
    font-size: 0.95rem;
}

.formula-box {
    background: rgba(255, 255, 255, 0.5);
    border-left: 3px solid var(--halo-gold);
    padding: 1rem 1.5rem;
    margin: 1.5rem auto;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--halo-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Footer Section */
.site-footer {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.footer-form input,
.footer-form textarea,
.footer-form label,
.footer-form button {
    font-family: var(--font-primary) !important;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    font-weight: 300;
    transition: var(--transition);
}

.footer-form input:focus,
.footer-form textarea:focus {
    outline: none;
    border-color: var(--halo-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.footer-form button {
    background: var(--halo-blue);
    color: #ffffff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    transition: var(--transition);
}

.footer-form button:hover {
    background: var(--halo-gold);
}

.footer-links a:hover {
    color: var(--halo-gold) !important;
    transition: color 0.2s ease;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    color: var(--halo-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--halo-gold);
    color: #ffffff;
    border-color: var(--halo-gold);
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media screen and (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto;
    }

    .mobile-nav-toggle {
        display: block !important;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--halo-blue);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 1.5rem 0;
        gap: 1.2rem;
        text-align: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        z-index: 9999;
    }

    .nav-links.nav-open {
        display: flex !important;
    }

    .legal-card {
        padding: 1.5rem;
    }
    
    .legal-card h2 {
        font-size: 1.6rem;
    }

    .legal-card h3 {
        font-size: 1.2rem;
    }
}

.blog-source {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.blog-source a {
    color: var(--halo-gold);
    text-decoration: underline;
    transition: var(--transition);
}

.blog-source a:hover {
    color: var(--halo-blue);
}