:root {
    --primary-gold: #C9A354;
    --deep-navy: #0A1628;
    --charcoal: #1A2332;
    --slate: #2D3748;
    --cream: #FAF8F3;
    --white: #FFFFFF;
    --accent-burgundy: #8B2635;
    --text-gray: #4A5568;
    --light-gold: #E8D5A8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--charcoal) 100%);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a::before {
    content: '⚖';
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

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

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

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu span {
    width: 28px;
    height: 3px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--charcoal) 50%, var(--slate) 100%);
    color: var(--cream);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 163, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 38, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
    font-style: italic;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.15rem;
    max-width: 700px;
    margin-bottom: 40px;
    color: var(--cream);
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--deep-navy);
    box-shadow: 0 4px 15px rgba(201, 163, 84, 0.4);
}

.btn-primary:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 163, 84, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--deep-navy);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 100px 40px;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--deep-navy);
    position: relative;
    padding-bottom: 20px;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(201, 163, 84, 0.2);
    border-left-width: 8px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Why Choose Us */
.why-choose {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--charcoal) 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 163, 84, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(201, 163, 84, 0.3));
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.feature-item p {
    color: var(--cream);
    opacity: 0.9;
}

/* Statistics Section */
.stats-section {
    background: var(--cream);
    padding: 80px 40px;
}

.stats-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 163, 84, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Cormorant Garamond', serif;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    padding: 80px 40px;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: 40px;
}

.cta-section .btn-primary {
    background: var(--deep-navy);
    color: var(--cream);
}

.cta-section .btn-primary:hover {
    background: var(--charcoal);
}

.cta-section .btn-secondary {
    border-color: var(--deep-navy);
    color: var(--deep-navy);
}

.cta-section .btn-secondary:hover {
    background: var(--deep-navy);
    color: var(--cream);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--charcoal) 100%);
    color: var(--cream);
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-section p,
.footer-section a {
    color: var(--cream);
    opacity: 0.9;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.disclaimer {
    background: rgba(0,0,0,0.3);
    padding: 30px;
    margin-top: 40px;
    border-left: 4px solid var(--accent-burgundy);
    font-size: 0.9rem;
    line-height: 1.8;
}

.disclaimer strong {
    color: var(--primary-gold);
}

.disclaimer ul {
    margin-top: 15px;
    margin-left: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright a {
    color: var(--primary-gold);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--deep-navy);
        flex-direction: column;
        padding: 20px 40px;
        gap: 20px;
        display: none;
    }

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

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0 20px;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .service-card {
        padding: 30px 20px;
    }
}
