:root {
    --lime: #A6C400;
    --lime-dark: #849D00;
    --gold: #D4AF37;
    --charcoal: #222222;
    --muted: #666666;
    --white: #FFFFFF;
    --off-white: #F7F7F4;
    --black: #111111;
    --border: rgba(0, 0, 0, 0.08);
    --font-primary: 'Jost', sans-serif;
    --font-serif: "Garamond", "Times New Roman", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

/* Navbar */
.navbar {
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4%;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.favicon img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 400;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--lime);
}

.nav-links a.active::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 88vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.612);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: min(1200px, 90%);
    margin: 0 auto;
}

.hero-text {
    max-width: 700px;
    animation: heroReveal 0.8s ease-out both;
}

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.super-tag {
    color: var(--lime);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -2px;
    margin-bottom: 22px;
    color: var(--white);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 30px;
}

/* Buttons */
.hero-btns {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--lime);
    color: var(--black);
}

.btn-primary:hover {
    background: #b6d400;
    transform: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--lime);
    color: var(--lime);
}

/* General Sections */
section {
    padding: 90px 5%;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--lime);
}

.section-title p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Services */
.section-bg {
    background-color: var(--white);
}

.services-swiper {
    padding-bottom: 40px;
}

.service-slide {
    background: var(--white);
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-align: left;
    min-height: 260px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-slide:hover {
    transform: translateY(-3px);
    border-color: rgba(166, 196, 0, 0.5);
}

.service-icon {
    color: var(--lime);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.service-slide h3 {
    color: #A6C400;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.service-slide p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Section */
.about-section {
    padding: 90px 5%;
    background: var(--off-white);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-text {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.about-text h3 {
    font-family: var(--font-serif);
    color: var(--charcoal);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text .btn-primary {
    margin-top: 10px;
}

/* Stats */
.about-stats {
    max-width: 900px;
    margin: 60px auto 0;
    padding-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
}

.stat-label {
    margin-top: 5px;
    color: #777;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 5% 25px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-favicon img {
    width: 180px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-links h3, 
.footer-contact h3 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a, 
.contact-items {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--lime);
}

.contact-items {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-items i {
    color: var(--lime);
    margin-right: 12px;
    margin-top: 5px;
}

.contact-items a {
    color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    color: var(--lime);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}


/* Swiper */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--lime);
}

/* Page Header for other pages */
.page-header {
    background-color: var(--black);
    color: var(--white);
    padding: 120px 5% 80px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--lime);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--black);
        flex-direction: column;
        padding: 20px 5%;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links li {
        margin: 0;
    }
    .hero {
        min-height: 80vh;
        padding: 0 5%;
    }
    .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* A NOTE FROM THE ADVOCATE */
.advocate-note {
    padding: 90px 5%;
    background: var(--off-white);
}

.advocate-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.advocate-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
     /* Editorial, premium look */
    transition: filter 0.3s ease;
}

.advocate-image:hover img {
    filter: grayscale(0%);
}

.advocate-text .eyebrow {
    color: var(--lime);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.advocate-text h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.advocate-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.advocate-text .signature {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold); /* Very subtle gold accent */
    margin-top: 20px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lime);
    font-weight: 500;
    margin-top: 10px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.text-link:hover {
    border-bottom-color: var(--lime);
}

/* REPRESENTATIVE MATTERS */
.matters-section {
    padding: 90px 5%;
    background: var(--white);
}

.matters-list {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

.matter-item {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.3s ease;
}

.matter-item:hover {
    padding-left: 10px;
}

.matter-number {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold); /* Restrained gold accent */
}

.matter-content h4 {
    color: var(--charcoal);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.matter-content p {
    color: var(--muted);
    font-size: 0.95rem;
}

.matter-item .arrow {
    color: var(--lime);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.matter-item:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* FAQ SECTION */
.faq-section {
    padding: 90px 5%;
    background: var(--off-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--charcoal);
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-icon {
    color: var(--lime);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if needed */
    padding-bottom: 20px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .advocate-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .matter-item {
        grid-template-columns: 40px 1fr;
        gap: 15px;
    }
    .matter-item .arrow {
        display: none;
    }
}
/* TRUST STRIP */
.trust-strip {
    background: var(--black);
    padding: 20px 5%;
}

.trust-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
}

.trust-content span {
    border-left: 2px solid var(--lime);
    padding-left: 15px;
}

/* WHY CHOOSE US */
.why-section {
    background: var(--white);
}

.why-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.why-number {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.why-item h4 {
    color: var(--charcoal);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.why-item p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* OUR APPROACH */
.approach-section {
    background: var(--off-white);
}

.approach-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.approach-step {
    text-align: center;
    padding: 0 20px;
}

.step-number {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--lime);
    margin-bottom: 15px;
}

.approach-step h4 {
    color: var(--charcoal);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.approach-step p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* LEGAL INSIGHTS */
.insights-section {
    background: var(--white);
}

.insights-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.insight-card {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 30px;
    background: var(--white);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.insight-card:hover {
    border-color: rgba(166, 196, 0, 0.5);
    transform: translateY(-3px);
}

.insight-category {
    color: var(--lime);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.insight-card h4 {
    color: var(--charcoal);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* CONSULTATION CTA */
.cta-section {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 90px 5%;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cta-phone {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.cta-phone:hover {
    color: var(--lime);
    border-bottom-color: var(--lime);
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .approach-grid, 
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .approach-step {
        text-align: left;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .trust-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .trust-content span {
        border-left: none;
        border-top: 2px solid var(--lime);
        padding-top: 10px;
        padding-left: 0;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .cta-btns {
        flex-direction: column;
    }
    .cta-phone {
        margin-top: 10px;
    }
}

/* WhatsApp Float (Updated Pill Style) */
/* WhatsApp Float - Premium Friendly Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px; /* Moved up slightly on desktop */
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); /* Friendly Green Gradient */
    color: #fff;
    padding: 15px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); /* Soft green glow */
    z-index: 1000;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whatsapp-float i {
    font-size: 1.6rem;
    animation: pulseIcon 2s infinite;
}

/* Gentle pulse to make it feel inviting */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.whatsapp-float span {
    color: #ffffff;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #2be06f 0%, #14a085 100%);
}

/* Mobile Responsive - Moved up significantly to avoid footer credits */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 50px; /* Lifts it well above the copyright text */
        right: 20px;
        padding: 12px 22px;
        font-size: 0.9rem;
    }
    .whatsapp-float i {
        font-size: 1.4rem;
    }
}

/* Service Images (Premium Grayscale) */
.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Matches the premium black/white theme */
    transition: filter 0.5s ease, transform 0.5s ease;
}

.service-slide:hover .service-image img {
    filter: grayscale(0%); /* Brings color on hover */
    transform: scale(1.05);
}

/* Hero Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the whole hero without stretching */
    display: block;
}

/* Hero Tagline / Firm Name */
.super-tag {
    display: flex;
    align-items: baseline; /* Aligns both text parts on the same baseline */
    gap: 8px; /* Tighter gap for a cohesive look */
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.firm-name {
    font-family: var(--font-premium); /* Cormorant Garamond */
    font-size: 1.25rem; /* Noticeably larger, but not huge */
    font-weight: 600;
    color: var(--lime);
    line-height: 1.2;
    letter-spacing: 1px;
}

.firm-type {
    font-family: var(--font-primary); /* Jost */
    font-size: 0.8rem; /* Clearly smaller */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8); /* Soft, premium white */
    text-transform: lowercase; /* The requested lowercase */
    letter-spacing: 1.5px;
    line-height: 1.2;
}

/* Mobile & Small Devices: Show Full Image */
@media (max-width: 768px) {
    .about-image img {
        height: auto;         /* Removes the fixed 420px height so the image scales naturally */
        object-fit: contain;  /* Ensures absolutely nothing is cropped out */
        max-height: 600px;    /* Optional: Prevents it from becoming too tall on small screens */
    }
}