/* ============================================
   ADVOCATE VIKRAM RATHORE - PREMIUM REDESIGN
   Inspired by Igual Theme Style
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Marcellus&display=swap');

/* CSS Variables */
:root {
    --primary-color: #0E1519;
    --accent-color: #C19A83;
    --background-light: #F9F9F9;
    --text-color: #555555;
    --heading-color: #0E1519;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 100px;
}

/* ===== Igual About Section (Relocated for Diagnostic) ===== */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.section-label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(193, 154, 131, 0.1);
    padding: 8px 24px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 30px;
}

.section-label-text {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    color: var(--accent-color);
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
}

.section-label-icon {
    color: var(--accent-color);
    font-size: 14px;
    opacity: 0.7;
}

.about-grid-igual {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 100px;
    align-items: flex-start;
}

.about-img-col {
    position: relative;
}

.about-portrait-wrap {
    position: relative;
    width: 100%;
}

.about-portrait {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 200px 0 200px 0;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.about-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.about-quote-wrap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 35px;
}

.about-quote-icon {
    font-size: 56px;
    color: var(--accent-color);
    opacity: 0.15;
    margin-top: -10px;
    flex-shrink: 0;
}

.about-quote-text {
    font-size: 18px;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin: 0;
    position: relative;
}

.about-quote-icon-end {
    font-size: 24px;
    color: var(--accent-color);
    opacity: 0.15;
    margin-left: 10px;
    vertical-align: baseline;
}

.about-heading {
    font-size: 54px;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 35px;
    font-family: 'Marcellus', serif;
}

.about-divider {
    width: 60px;
    height: 2px;
    background: var(--accent-color);
    margin-bottom: 35px;
}

.about-desc {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 45px;
}

.about-link {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 500;
}

.about-team-block {
    position: relative;
    margin-top: 70px;
    padding-bottom: 100px;
}

.about-team-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 0 20px 0 20px;
}

.ask-lawyer-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: var(--white);
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-radius: 0 20px 0 20px;
    text-align: center;
    z-index: 5;
}

.ask-lawyer-overlay h4 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'Marcellus', serif;
}

.ask-lawyer-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-ask-dark {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 20px 0 20px 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-ask-gold {
    background: var(--accent-color);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 0 20px 0 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Marcellus', serif;
    color: var(--heading-color);
    font-weight: normal;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Utilities */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--background-light);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-accent {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 35px;
    font-family: 'Marcellus', serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-premium:hover::before {
    width: 100%;
}

.btn-premium.with-plus::after {
    content: '+';
    margin-left: 10px;
    font-size: 18px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(193, 154, 131, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
}

.header-top-info {
    display: flex;
    gap: 30px;
}

.header-top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-info i {
    color: var(--accent-color);
}

.header-main {
    padding: 25px 0;
    transition: var(--transition);
}

header.scrolled {
    position: fixed;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled .header-top {
    display: none;
}

header.scrolled .header-main {
    padding: 15px 0;
}

header.scrolled .nav-link {
    color: var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Logo Swap for Hero and Sticky Header */
.logo-sticky {
    display: none !important;
}

header.scrolled .logo-hero {
    display: none !important;
}

header.scrolled .logo-sticky {
    display: block !important;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Marcellus', serif;
    font-size: 15px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.header-btns {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Hero Decorative Elements */
.hero-badge {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
    height: 130px;
    z-index: 5;
}

.badge-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(184, 150, 126, 0.12);
    backdrop-filter: blur(6px);
    position: relative;
    box-shadow: 0 0 0 1.5px rgba(184, 150, 126, 0.6),
        0 0 25px rgba(184, 150, 126, 0.2),
        inset 0 0 25px rgba(184, 150, 126, 0.08);
}

.badge-circle::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1.5px dashed rgba(184, 150, 126, 0.7);
    border-radius: 50%;
    animation: rotateSlow 20s linear infinite;
}

.hero-badge-arrow {
    position: absolute;
    left: 118px;
    top: calc(50% + 80px);
    z-index: 5;
    animation: bounceY 2s infinite;
}

@keyframes bounceY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.badge-circle span {
    font-family: 'Marcellus', serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(184, 150, 126, 0.8),
        0 0 40px rgba(184, 150, 126, 0.3);
}

.badge-circle p {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 6px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'DM Sans', sans-serif;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-vertical-text {
    position: absolute;
    left: 112px;
    top: calc(50% + 150px);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--accent-color);
    font-family: 'Marcellus', serif;
    font-weight: 900;
    -webkit-text-stroke: 0.5px var(--accent-color);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 5;
    opacity: 1;
    text-shadow: 0 0 12px rgba(184, 150, 126, 0.6);
}

.hero-vertical-text::after {
    content: '';
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    opacity: 1;
    box-shadow: 0 0 8px rgba(184, 150, 126, 0.5);
}

.hero-right-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 90%;
    z-index: 2;
    pointer-events: none;
}

.hero-right-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.contact-phone {
    color: var(--white);
    font-family: 'Marcellus', serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

header.scrolled .contact-phone {
    color: var(--primary-color);
}

.contact-phone i {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

header.scrolled .mobile-menu-toggle span {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(14, 21, 25, 0.6), rgba(14, 21, 25, 0.6)), url('images/law-slider-3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-family: 'Marcellus', serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 5px 0;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(193, 154, 131, 0.1);
    border-radius: 50% 20% 50% 20%;
    z-index: -1;
}

.hero-title {
    font-size: 85px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-phone-call {
    color: var(--accent-color);
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 550px;
    opacity: 0.8;
    position: relative;
}

.hero-description::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0.5;
}

.hero-curly-arrow {
    position: absolute;
    bottom: -25px;
    left: 272px;
    width: 110px;
    z-index: 5;
    transform: rotate(10deg);
    opacity: 0.75;
    animation: arrowSwing 3s ease-in-out infinite;
}

@keyframes arrowSwing {

    0%,
    100% {
        transform: rotate(10deg) translate(0, 0);
    }

    50% {
        transform: rotate(5deg) translate(0px, 4px);
    }
}

@keyframes heroArrowRefSwing {

    0%,
    100% {
        transform: rotate(-10deg) scaleX(1) translate(0, 0);
    }

    50% {
        transform: rotate(-5deg) scaleX(1) translate(5px, -5px);
    }
}

.hero-corner-leaf {
    position: absolute;
    left: 40px;
    bottom: 40px;
    width: 180px;
    opacity: 0.3;
    z-index: 1;
}

/* Redundant old sections removed for clarity and to fix syntax errors */



/* Right content column */

/* Practice Areas */
.practice-areas {
    padding: 120px 0;
    background-color: var(--background-light);
}

.practice-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 50px;
    max-width: 750px;
    margin-left: 0;
}

.practice-card {
    background-color: var(--white);
    padding: 20px 15px 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
}

.practice-card i {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.practice-card h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.practice-card p {
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 12px;
}

.practice-card-img {
    height: 150px;
    margin: 0 -15px;
    overflow: hidden;
}

.practice-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.practice-card:hover .practice-card-img img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 30px;
}

.footer-about {
    margin-bottom: 30px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer-title {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

.footer-contact li,
.footer-links li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    color: var(--white);
    outline: none;
}

.newsletter-form button {
    background-color: var(--accent-color);
    border: none;
    padding: 0 20px;
    color: var(--white);
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

/* Page Banner (Secondary Pages) */
.page-banner {
    background-color: var(--primary-color);
    padding: 180px 0 100px;
    /* Account for fixed header */
    text-align: center;
    background-image: linear-gradient(rgba(14, 21, 25, 0.8), rgba(14, 21, 25, 0.8)), url('images/law-slider-3.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-bottom: 0px;
}

.page-banner h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 15px;
}

.page-banner p {
    font-family: 'Marcellus', serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* Feature List (Biography/About) */
.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.features-list li::before {
    content: '+';
    color: var(--accent-color);
    font-size: 20px;
}

/* Service Detail Styles */
.service-detail {
    padding: 100px 0;
}

.service-icon-large {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.service-list {
    margin: 25px 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.service-list i {
    color: var(--accent-color);
    font-size: 14px;
}

/* Reversed Grid for Alternating Layouts */
.service-grid.reverse {
    direction: rtl;
}

.service-grid.reverse .service-content {
    direction: ltr;
    text-align: left;
}

.practice-header .btn-premium {
    margin-right: 180px;
}

/* Team & Testimonials Placeholder (If needed) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {

    .nav-menu,
    .header-btns {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .practice-areas {
        grid-template-columns: 1fr;
    }

    .practice-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .ask-lawyer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Resources Section styles */
.resources-section {
    padding: 100px 0 60px;
    background-color: var(--white);
}

.resources-heading {
    font-size: 54px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.resource-item {
    padding: 60px 40px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.resource-item:nth-child(3n) {
    border-right: none;
}

.resource-item:nth-child(n+4) {
    border-bottom: none;
}

.resource-number {
    font-family: 'Marcellus', serif;
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1;
}

.resource-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.resource-item:hover {
    background-color: rgba(193, 154, 131, 0.03);
}

/* Responsive adjustment for resources */
@media (max-width: 991px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resource-item:nth-child(3n) {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .resource-item:nth-child(2n) {
        border-right: none;
    }

    .resource-item:nth-child(n+3):not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .resource-item:nth-child(4) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 767px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-item {
        border-right: none !important;
    }

    .resource-item:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .resources-heading {
        font-size: 36px;
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced Practice Areas Section */
.practice-advanced {
    display: flex;
    min-height: 850px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.practice-visual-column {
    width: 32%;
    flex-shrink: 0;
    position: relative;
    background-color: var(--primary-color);
}

.practice-wavy-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 100%;
    background-image: url('images/overlay-g-1.png');
    background-repeat: repeat-y;
    background-position: right center;
    background-size: 45px 42px;
    z-index: 2;
}

.practice-statue {
    position: absolute;
    left: 0%;
    bottom: 5%;
    height: 98%;
    width: auto;
    z-index: 1;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.05);
}

.practice-content-column {
    flex: 1;
    padding: 30px 80px 280px 60px;
    background-color: var(--white);
    z-index: 5;
    position: relative;
}

.practice-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.practice-title {
    font-size: 52px;
    color: var(--primary-color);
    line-height: 1.1;
    margin: 10px 0 0;
}

.practice-slider-wrapper {
    position: relative;
    margin-top: 65px;
    /* Increased top margin for better spacing */
    transform: translateY(0);
    /* Removed negative transform to move cards down */
    margin-left: -250px;
    /* Strong overlap into the statue area */
    padding-bottom: 70px;
    z-index: 15;
}

.practice-slider-overflow {
    overflow: hidden;
    width: 100%;
}

.practice-cards-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.practice-adv-card {
    flex: 0 0 calc((100% / 3) - 14px);
    width: calc((100% / 3) - 14px);
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.card-content-wrap {
    padding: 30px 25px 25px;
    position: relative;
    flex-grow: 1;
    min-height: 180px;
    background: var(--white);
    z-index: 2;
}

/* Top right soft cream pill/oval accent - matches Igual reference */
.card-content-wrap::after {
    content: '';
    position: absolute;
    top: -40px;
    right: 20px;
    width: 58px;
    height: 135px;
    background-color: #f7efe9;
    opacity: 0.95;
    border-radius: 60px;
    z-index: -1;
    transform: rotate(0deg);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 54px;
    color: var(--accent-color);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: sepia(30%) saturate(60%) hue-rotate(5deg) opacity(0.75);
}

.practice-adv-card h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: 'Marcellus', serif;
    font-weight: 400;
    line-height: 1.2;
}

.practice-adv-card p {
    font-size: 14px;
    color: #888;
    margin-bottom: 0;
    line-height: 1.8;
}

.card-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    flex-basis: 200px;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.practice-adv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.practice-adv-card:hover .card-img-box img {
    transform: scale(1.08);
}

/* Practice slider navigation - matches Igual beige square buttons */
.practice-nav {
    display: none;
}

.practice-slider-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 20;
}

.practice-nav-btn {
    width: 52px;
    height: 52px;
    background-color: var(--accent-color);
    border: none;
    color: var(--white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
    outline: none;
}

.practice-nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.practice-nav-btn:focus {
    outline: none;
}

/* Responsive adjustment */
@media (max-width: 1400px) {
    .practice-content-column {
        padding-left: 100px;
    }
}

@media (max-width: 1200px) {
    .practice-adv-card {
        flex: 0 0 calc((100% / 3) - 14px);
        width: calc((100% / 3) - 14px);
    }

    .practice-visual-column {
        width: 35%;
    }

    .practice-content-column {
        width: 65%;
        padding: 100px 40px;
    }

    .practice-title {
        font-size: 42px;
    }
}

@media (max-width: 1100px) {
    .practice-adv-card {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
    }
}

@media (max-width: 991px) {
    .practice-advanced {
        flex-direction: column;
    }

    .practice-visual-column {
        width: 100%;
        height: 500px;
    }

    .practice-statue {
        height: 100%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .practice-content-column {
        width: 100%;
        padding: 50px 20px 80px;
    }

    .practice-slider-wrapper {
        transform: translateY(0);
        margin-top: 30px;
        margin-left: 0;
        padding-bottom: 70px;
    }

    .practice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .practice-wavy-bg {
        display: none;
    }
}

@media (max-width: 767px) {
    .practice-adv-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .practice-slider-wrapper {
        transform: translateY(-60px);
    }

    .practice-title {
        font-size: 32px;
    }
}

/* Premium Testimonials Section */
.testimonials-premium-section {
    padding: 60px 0 140px;
    margin-top: -13%;
    background-color: #f7f7f7;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.testi-statue-bg {
    position: absolute;
    right: -8%;
    bottom: -33%;
    width: 28%;
    opacity: 1.0;
    /* Faded/transparent effect */
    z-index: 1;
    pointer-events: none;
    filter: none;
}

.testi-statue-bg img {
    width: 100%;
    height: auto;
}

.testimonials-content-flex {
    margin-top: 60px;
    position: relative;
    z-index: 2;
    /* Wrapper for slider and nav buttons */
}

/* Slider container with overflow hidden */
.testi-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Horizontal track for sliding effect */
.testi-slider-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.testi-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
    opacity: 1;
    /* Always visible in track, container clips it */
    visibility: visible;
}

/* Manual Navigation Buttons */
.testi-nav-btns {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Let clicks pass through to content if not on buttons */
    z-index: 10;
}

.testi-nav-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    margin: 0 -25px;
    /* Offset to sit on the edges */
}

.testi-nav-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.testi-nav-btn.prev {
    margin-left: -25px;
}

.testi-nav-btn.next {
    margin-right: -25px;
}

/* Left: Client Visual */
.testi-client-visual {
    flex: 0 0 350px;
}

.client-img-outer {
    position: relative;
    width: 270px;
    height: 270px;
    margin: 0 auto;
}

.client-dotted-border {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px dotted var(--accent-color);
    border-radius: 50%;
    z-index: 1;
}

.client-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.rating-stars-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffcc00;
    /* Gold/Yellow stars */
    padding: 10px 20px;
    border-radius: 2px;
    display: flex;
    gap: 5px;
    font-size: 14px;
    z-index: 3;
}

/* Right: Quote Content */
.testi-quote-content {
    flex: 1;
}

.testi-text {
    font-size: 21px;
    line-height: 1.6;
    color: #555;
    font-style: normal;
    margin-bottom: 30px;
    position: relative;
}

.testi-author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

.author-name {
    font-family: 'Marcellus', serif;
    font-size: 25px;
    color: var(--accent-color);
    margin: 0 0 5px;
}

.author-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
}

.testi-quote-icon {
    width: 60px;
    opacity: 0.2;
}

.testi-quote-icon img {
    width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .testimonials-content-flex {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .testi-author-info {
        flex-direction: column;
        gap: 20px;
    }

    .testi-text {
        font-size: 20px;
    }
}

/* Property Issues CTA Banner */
.cta-banner-advanced {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    /* Overlap with testimonials */
}

.container-cta {
    max-width: 1200px;
}

.cta-banner-wrapper {
    background-color: #0b1a2e;
    /* Dark Navy Background */
    display: flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-text-side {
    flex: 1;
    padding: 70px 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-badge-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.cta-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 1px;
    display: inline-block;
}

.cta-badge-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
}

.cta-banner-title {
    font-family: 'Marcellus', serif;
    font-size: 42px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 25px;
}

.cta-trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 10px;
}

.trust-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.trust-stars {
    color: #ffcc00;
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.cta-image-side {
    flex: 0 0 450px;
    display: flex;
    align-items: flex-end;
    background-color: #1a2a40;
    /* Slightly lighter navy for the image area contrast */
}

.cta-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* The image itself has diagonal transparency, so we just let it sit */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .cta-banner-wrapper {
        flex-direction: column;
    }

    .cta-image-side {
        flex: 0 0 auto;
        height: 350px;
    }

    .cta-banner-title {
        font-size: 32px;
    }

    .cta-text-side {
        padding: 50px 30px;
    }

    .cta-banner-advanced {
        margin-top: -50px;
        padding-bottom: 50px;
    }
}

/* Our Lawyers Section */
.lawyers-section-advanced {
    padding: 100px 0 120px;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.lawyer-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.lawyer-card {
    text-align: center;
    position: relative;
    padding-top: 20px;
    z-index: 1;
}

.lawyer-info-top {
    margin-bottom: 25px;
}

.lawyer-name {
    font-family: 'Marcellus', serif;
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 500;
}

.lawyer-designation {
    display: block;
    font-size: 13px;
    color: #B99C7A;
    /* Gold color */
    letter-spacing: 1px;
    text-transform: capitalize;
}

.lawyer-visual-box {
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
    z-index: 1;
}

.pillow-shape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 290px;
    height: 380px;
    background-color: #F1ECE5;
    /* Light beige matching reference */
    border-radius: 140px 140px 80px 80px;
    z-index: -1;
}

.lawyer-img-circle {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 6px;
    border: 2px solid #B99C7A;
    /* Gold border */
    z-index: 2;
}

.lawyer-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lawyer-socials {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 3;
    margin-top: 15px;
}

.lawyer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #B99C7A;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lawyer-socials a:hover {
    background-color: #0b1a2e;
    /* Dark navy on hover */
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .lawyer-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .lawyer-cards-grid {
        grid-template-columns: 1fr;
    }

    .pillow-shape {
        width: 260px;
        height: 340px;
        border-radius: 120px 120px 60px 60px;
    }

    .lawyer-img-circle {
        width: 220px;
        height: 220px;
    }
}

/* Help From Lawyer CTA Section */
.help-action-section {
    padding: 80px 0;
}

.help-action-wrapper {
    display: flex;
    background-color: #0b1a2e;
    /* Dark Navy Background */
    position: relative;
    overflow: hidden;
    align-items: stretch;
    border-radius: 4px;
}

.help-img-side {
    position: relative;
    z-index: 2;
    flex: 0 0 45%;
    padding-right: 20px;
}

.help-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Drop shadow creates the identical bronze border that matches the PNG's alpha mask exactly */
    filter: drop-shadow(20px 0px 0px #B99C7A);
    /* For browser compatibility */
    -webkit-filter: drop-shadow(20px 0px 0px #B99C7A);
}

.help-content-side {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 80px 50px 80px 70px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.help-leaf-overlay {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 120%;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.15;
    /* Subtle leaf pattern overlay */
    z-index: -1;
}

.help-content-inner {
    position: relative;
    z-index: 3;
}

.help-subtitle {
    display: block;
    color: #B99C7A;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.help-title {
    font-family: 'Marcellus', serif;
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 0;
    color: #fff;
}

.help-btn-wrap {
    margin-top: 35px;
}

.btn-help-contact {
    display: inline-flex;
    align-items: stretch;
    /* Change to stretch to make inner boxes full height */
    background-color: #c19a83;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 30px 0 30px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon-box {
    background-color: #fff;
    color: #0b1a2e;
    padding: 0 25px;
    /* Vertical padding removed to let stretch work */
    display: flex;
    /* Changed from inline-flex to flex */
    align-items: center;
    justify-content: center;
    min-height: 55px;
    /* Ensure a consistent base height */
}

.btn-help-contact .btn-text {
    padding: 18px 30px;
    text-transform: uppercase;
}

.btn-help-contact:hover {
    background-color: #a47e5b;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .help-action-wrapper {
        flex-direction: column;
    }

    .help-img-side {
        flex: 0 0 auto;
        padding-right: 0;
    }

    .help-img-side img {
        /* On mobile, stack layout means drop shadow on the right might not look great, maybe place it bottom */
        filter: drop-shadow(0px -15px 0px #B99C7A);
    }

    .help-content-side {
        padding: 50px 30px;
    }

    .help-title {
        font-size: 32px;
    }
}

/* Footer CTA Section */
.footer-cta-advanced {
    position: relative;
    padding: 0px 0 100px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator before footer widgets */
    background-color: #0b1a2e;
    /* Match the footer background securely */
    z-index: 1;
    /* relative to footer */
}

/* Make sure the main footer has the expected background */
.footer {
    background-color: #0b1a2e;
    overflow: hidden;
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-cta-text {
    flex: 1;
}

.footer-cta-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-cta-badge .badge-line {
    width: 30px;
    height: 2px;
    background-color: #B99C7A;
}

.footer-cta-badge .badge-text {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #0b1a2e;
    background-color: #B99C7A;
    padding: 8px 20px;
    border-radius: 4px;
    text-transform: uppercase;
}

.footer-cta-title {
    font-family: 'Marcellus', serif;
    font-size: 48px;
    line-height: 1.2;
    color: #fff;
    margin: 10px 0 0;
}

.footer-cta-contact {
    background: linear-gradient(135deg, #B99C7A 0%, #1a2a40 100%);
    padding: 45px 60px;
    border-radius: 40px 10px 40px 10px;
    text-align: center;
    min-width: 450px;
}

.footer-phone {
    font-family: 'Marcellus', serif;
    font-size: 48px;
    color: #fff;
    margin-bottom: 8px;
}

.footer-phone-sub {
    display: block;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-cta-badge {
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-cta-bronze-shape {
        width: 100%;
        height: 50%;
        transform: skewY(-10deg);
        z-index: 0;
    }
}

@media (max-width: 767px) {
    .footer-cta-contact {
        min-width: unset;
        width: 100%;
        padding: 25px 20px;
    }

    .footer-phone {
        font-size: 28px;
    }

    .footer-cta-title {
        font-size: 26px;
    }
}

/* ===== Hero LEARN MORE Button ===== */
.btn-hero-learn {
    display: inline-block;
    background-color: #B99C7A;
    color: #fff !important;
    padding: 15px 35px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.btn-hero-learn:hover {
    background-color: #a47e5b;
    color: #fff !important;
    text-decoration: none;
}

/* Hero text left align */
.hero-content {
    text-align: left !important;
}

/* Hero reference layout styles */
.hero-subtitle {
    display: inline-block;
    color: #B99C7A;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title-main {
    font-family: 'Marcellus', serif;
    font-size: 80px;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 0 0;
}

.hero-last-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 0;
    width: 100%;
}

.hero-title-away {
    font-family: 'Marcellus', serif;
    font-size: 80px;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
    border-left: 2px solid #B99C7A;
    padding-left: 20px;
    flex: 1;
    max-width: 500px;
    font-weight: 700;
    word-wrap: break-word;
}

.btn-hero-learn {
    display: inline-flex;
    align-items: stretch;
    background-color: #c19a83;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 30px 0 30px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-learn .btn-icon-box {
    background-color: #fff;
    color: #0b1a2e;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
}

.btn-hero-learn .btn-text {
    padding: 0 35px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.btn-hero-learn:hover {
    background-color: #a47e5b;
}

.hero-curly-arrow-ref {
    position: absolute;
    width: 114px;
    opacity: 0.95;
    left: calc(280px + 10vw);
    bottom: calc(50px - 1vh);
    transform: rotate(-10deg) scaleX(1);
    z-index: 3;
    pointer-events: none;
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(185, 156, 122, 0.3));
    animation: heroArrowRefSwing 3s ease-in-out infinite;
}

@media (max-width: 767px) {

    .hero-title-main,
    .hero-title-away {
        font-size: 38px !important;
    }

    .hero-last-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-description {
        border-left: none;
        padding-left: 0;
    }
}

/* ============================================
   PREMIUM CONTACT US SECTION (Igual Style)
   ============================================ */
.contact-hero {
    padding: 120px 0;
    background: linear-gradient(rgba(14, 21, 25, 0.8), rgba(14, 21, 25, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.contact-hero h1 {
    font-family: 'Marcellus', serif;
    font-size: 56px;
    margin-bottom: 20px;
}

.breadcrumbs {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: none;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 100px 0;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card-igual {
    background: var(--white);
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    transition: var(--transition);
}

.contact-card-igual:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.info-icon-box {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 28px;
}

.contact-card-igual h4 {
    font-family: 'Marcellus', serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card-igual p {
    color: #888;
    font-size: 16px;
    line-height: 1.6;
}

.trust-reward-banner {
    background: #fdfaf7;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-family: 'DM Sans', sans-serif;
    color: #666;
    font-size: 15px;
}

.stars-rating {
    color: #ffb400;
    font-size: 14px;
}

/* Form Styles */
.contact-form-premium h2 {
    font-family: 'Marcellus', serif;
    font-size: 42px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.form-row-igual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group-igual {
    margin-bottom: 30px;
}

.input-underline {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    background: transparent;
    outline: none;
    transition: var(--transition);
}

.input-underline:focus {
    border-bottom-color: var(--accent-color);
}

.btn-send-now {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 18px 45px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-send-now:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Map Section */
.fullscreen-map-section {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.fullscreen-map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%);
}

@media (max-width: 1100px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .contact-info-cards-row {
        grid-template-columns: 1fr;
    }

    .form-row-igual {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 38px;
    }
}

/* Services Page Advance Grid */
.services-advance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.services-advance-grid .practice-adv-card {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .services-advance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-advance-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================= */
/* DARK FEATURES & CTA (About Us Page)       */
/* ========================================= */
.dark-features-cta {
    background-color: var(--primary-color);
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.features-cta-grid-igual {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-grid-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item-igual {
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-icon-igual {
    font-size: 38px;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.feature-text-igual h3 {
    font-family: 'Marcellus', serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-text-igual p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

.cta-message-column {
    position: relative;
    padding-left: 40px;
}

.cta-watermark-icon {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    font-size: 350px;
    color: rgba(255, 255, 255, 0.04);
    z-index: 0;
    pointer-events: none;
}

.cta-content-inner {
    position: relative;
    z-index: 1;
}

.cta-label {
    display: block;
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-heading {
    font-family: 'Marcellus', serif;
    font-size: 52px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
}

.cta-trust {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.cta-stars {
    color: #f7b733;
    /* Gold stars */
    font-size: 18px;
    margin-bottom: 45px;
}

.cta-stars i {
    margin-right: 5px;
}

.cta-btn-box {
    display: inline-block;
}

.btn-split-premium {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
}

.btn-split-icon {
    width: 65px;
    height: 65px;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 4px 0 0 4px;
}

.btn-split-text-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    padding: 0 40px;
    background: var(--accent-color);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 15px;
    text-decoration: none;
    border-radius: 0 4px 4px 0;
    transition: var(--transition);
}

.btn-split-text-link:hover {
    background: #a9836d;
    color: var(--white);
}

/* Responsive */
@media (max-width: 1200px) {
    .features-cta-grid-igual {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .cta-message-column {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .features-grid-column {
        grid-template-columns: 1fr;
    }

    .cta-heading {
        font-size: 38px;
    }
}

/* ========================================= */
/* TEAM PROFILE (About Us Page)              */
/* ========================================= */
.team-profile {
    background-color: var(--background-light);
}

.profile-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

.profile-img-col {
    background: #eef1f3;
    /* Light subtle backdrop */
}

.profile-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-info-col {
    background-color: #B58C73;
    /* Match the screenshot premium brown */
    padding: 70px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.profile-watermark {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 220px;
    color: rgba(255, 255, 255, 0.08);
    z-index: 0;
    pointer-events: none;
}

.profile-name {
    font-family: 'Marcellus', serif;
    font-size: 42px;
    color: var(--white);
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.profile-role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 45px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.profile-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    /* Soft rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B58C73;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.contact-text a,
.contact-text span:not(.contact-label) {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.contact-text a:hover {
    opacity: 0.8;
}

.profile-socials {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.profile-socials a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    color: var(--white);
    transition: var(--transition);
}

.profile-socials a:hover {
    background: var(--white);
    color: #B58C73;
}

/* Biography text below card */
.biography-introduce {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    /* Keep left alignment to match professional doc style */
}

.bio-heading {
    font-family: 'Marcellus', serif;
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.bio-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Responsive Team Profile */
@media (max-width: 1024px) {
    .profile-card {
        grid-template-columns: 1fr;
    }

    .profile-img-col {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .profile-info-col {
        padding: 40px;
    }

    .profile-contact-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
    }
}

/* ========================================= */
/* PREMIUM ABOUT SECTIONS                    */
/* ========================================= */

/* ========================================= */
/* PREMIUM ABOUT SECTIONS                    */
/* ========================================= */

.section-label-premium {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}

.label-marker {
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.premium-heading {
    font-family: 'Marcellus', serif;
    font-size: 52px;
    color: var(--primary-color);
    margin-bottom: 35px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* Foundation Section */
.foundation-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 0;
    position: relative;
}

.foundation-img-col {
    position: relative;
    z-index: 1;
}

.foundation-img-wrapper {
    height: 600px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 30px 30px 0px rgba(181, 140, 115, 0.05);
    position: relative;
}

.foundation-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.foundation-img-wrapper:hover img {
    transform: scale(1.08);
}

.foundation-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: var(--white);
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 5;
    border-radius: 2px;
}

.foundation-badge i {
    font-size: 28px;
    color: var(--accent-color);
}

.foundation-badge span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.foundation-text-col {
    position: relative;
    z-index: 2;
}

.foundation-text-card {
    background: var(--white);
    padding: 80px 70px;
    border-radius: 4px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.06);
    margin-left: -120px;
    /* Overlap effect */
    position: relative;
}

/* Decorative corner for foundation card */
.foundation-text-card::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-top: 2px solid rgba(181, 140, 115, 0.2);
    border-right: 2px solid rgba(181, 140, 115, 0.2);
}

.foundation-content p {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Career Section */
.career-grid-premium {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.career-desc {
    font-size: 18px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 50px;
    font-weight: 500;
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--accent-color);
}

.association-list-wrap {
    margin-top: 60px;
}

.association-title {
    font-family: 'Marcellus', serif;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: capitalize;
}

.premium-checkmark-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.premium-checkmark-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.premium-checkmark-list li:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.check-icon {
    width: 45px;
    height: 45px;
    background: #f7f3f0;
    color: var(--accent-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.premium-checkmark-list li:hover .check-icon {
    background: var(--accent-color);
    color: var(--white);
}

.li-content strong {
    display: block;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-family: 'Marcellus', serif;
}

.li-content span {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Focus Card */
.premium-focus-card {
    background: var(--primary-color);
    padding: 70px 60px;
    border-radius: 4px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
}

.focus-card-header {
    margin-bottom: 35px;
}

.focus-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.focus-card-watermark {
    position: absolute;
    bottom: -40px;
    right: -40px;
    font-size: 280px;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
}

.focus-card-title {
    font-family: 'Marcellus', serif;
    font-size: 36px;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.focus-card-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.btn-focus-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-focus-card:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive Premium Sections */
@media (max-width: 1400px) {
    .foundation-text-card {
        margin-left: -80px;
        padding: 60px 50px;
    }
}

@media (max-width: 1200px) {
    .premium-heading {
        font-size: 42px;
    }

    .career-grid-premium {
        gap: 60px;
    }
}

@media (max-width: 991px) {
    .foundation-split-grid {
        grid-template-columns: 1fr;
    }

    .foundation-text-card {
        margin-left: 0;
        margin-top: -80px;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .foundation-badge {
        bottom: auto !important;
        top: 20px;
        left: 20px;
    }

    .career-grid-premium {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .foundation-img-wrapper {
        height: 450px;
    }

    .premium-checkmark-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .premium-heading {
        font-size: 34px;
    }

    .foundation-text-card {
        padding: 40px 30px;
        width: 100%;
    }

    .foundation-badge {
        padding: 15px 25px;
        top: 20px;
        bottom: auto;
        left: 20px;
    }

    .premium-focus-card {
        padding: 50px 30px;
    }
}

/* ============================================
   UNIFIED RESPONSIVE DESIGN SYSTEM
   ============================================ */

/* 0. Global Reset & Body Overflow */
html,
body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

/* 1. Base Typography Scaling */
@media (max-width: 1200px) {
    .hero-title-main {
        font-size: 64px !important;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0 !important;
    }

    .about-heading,
    .resources-heading,
    .practice-title,
    .premium-heading,
    .testi-title {
        font-size: 38px !important;
        line-height: 1.2 !important;
    }

    .hero-title-main {
        font-size: 52px !important;
    }

    .page-banner {
        padding: 140px 0 60px !important;
    }

    .page-banner h1 {
        font-size: 42px !important;
    }
}

@media (max-width: 767px) {

    .about-heading,
    .resources-heading,
    .practice-title,
    .premium-heading {
        font-size: 32px !important;
    }

    .hero-title-main {
        font-size: 38px !important;
    }

    .page-banner h1 {
        font-size: 34px !important;
    }

    .hero-subtitle {
        margin-bottom: 20px;
        font-size: 13px;
        letter-spacing: 2px;
    }
}

/* 2. Header & Desktop-to-Mobile Menu */
@media (max-width: 991px) {
    .header-top {
        display: none !important;
    }

    .header-main {
        padding: 20px 0 !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #0E1519 !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 9999 !important;
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 30px !important;
        padding: 0;
        display: flex !important;
    }

    .nav-link {
        font-size: 24px !important;
        color: #ffffff !important;
        display: block;
        padding: 10px 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        z-index: 10000;
        cursor: pointer;
        position: relative;
    }

    .mobile-menu-toggle span {
        width: 30px;
        height: 2px;
        background: #ffffff !important;
        transition: all 0.4s ease;
        display: block;
    }

    header.scrolled .mobile-menu-toggle span {
        background: #0E1519 !important;
    }

    .mobile-menu-toggle.active span {
        background: #ffffff !important;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-btns {
        display: none !important;
    }
}

/* 3. Hero Section Responsive */
@media (max-width: 991px) {
    .hero {
        height: auto !important;
        min-height: 100vh;
        padding: 140px 0 100px;
        background: linear-gradient(rgba(14, 21, 25, 0.15), rgba(14, 21, 25, 0.15)), url('images/law-slider-3.jpg') !important;
        background-size: cover !important;
        background-position: 65% center !important;
        background-attachment: scroll;
    }

    .hero-content {
        margin-left: 0 !important;
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .hero-badge,
    .hero-vertical-text,
    .hero-curly-arrow,
    .hero-curly-arrow-ref,
    .hero-corner-leaf {
        display: none !important;
    }

    .hero-last-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-title-away {
        display: block;
        margin-top: 10px;
    }

    .hero-description {
        padding-left: 0 !important;
        margin: 25px auto !important;
        font-size: 16px;
        width: 100%;
        opacity: 0.9;
    }

    .hero-description::before {
        display: none;
    }

    .hero-btns {
        justify-content: center;
        margin-top: 30px !important;
    }
}

/* 4. Grid Stacking - Index & Global */
@media (max-width: 991px) {
    .about-grid-igual {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
    }

    .about-portrait {
        border-radius: 100px 0 100px 0 !important;
        height: auto !important;
        max-height: 500px;
    }

    .about-team-block {
        margin-top: 40px;
        padding-bottom: 150px !important;
    }

    .ask-lawyer-overlay {
        width: 95% !important;
        padding: 25px !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .ask-lawyer-overlay h4 {
        font-size: 26px !important;
    }

    .ask-lawyer-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn-ask-dark,
    .btn-ask-gold {
        width: 100% !important;
        border-radius: 0 !important;
    }
}

/* Resources & Testimonials */
@media (max-width: 991px) {
    .resources-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .resource-item {
        padding: 40px 20px !important;
        border-right: none !important;
    }

    .resource-number {
        font-size: 48px !important;
    }

    .testi-slide {
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .testi-client-visual {
        flex: 0 0 auto !important;
        margin: 0 auto;
    }

    .testi-author-info {
        flex-direction: column !important;
        gap: 15px;
    }

    .testi-nav-btns {
        position: relative !important;
        transform: none !important;
        margin: 40px auto 0;
        justify-content: center !important;
        gap: 20px;
        display: flex !important;
    }

    .testi-nav-btn {
        margin: 0 !important;
        position: static !important;
    }
}

@media (max-width: 575px) {
    .resources-grid {
        grid-template-columns: 1fr !important;
    }

    .cta-banner-title {
        font-size: 32px !important;
    }
}

/* 5. Practice & Sections */
@media (max-width: 991px) {
    .practice-advanced {
        flex-direction: column !important;
        min-height: auto !important;
    }

    .practice-visual-column {
        display: none;
    }

    .practice-content-column {
        padding: 80px 15px !important;
        width: 100% !important;
    }

    .practice-slider-wrapper {
        margin-left: 0 !important;
        transform: none !important;
        margin-top: 30px !important;
    }

    .practice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .practice-header .btn-premium {
        margin: 10px auto 0 !important;
        width: auto !important;
        padding: 10px 25px !important;
        font-size: 12px !important;
        text-align: center;
    }

    .cta-banner-wrapper {
        flex-direction: column !important;
    }

    .cta-text-side {
        padding: 40px 20px !important;
        text-align: center;
    }

    .cta-badge-wrap {
        justify-content: center;
    }

    .cta-image-side {
        display: none;
    }

    .lawyer-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    .help-action-wrapper {
        flex-direction: column !important;
        padding: 40px 15px !important;
    }

    .help-img-side {
        display: none;
    }

    .help-content-side {
        width: 100% !important;
        padding: 0 !important;
        text-align: center;
    }

    .help-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 600px) {
    .lawyer-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 6. Page Specific Responsive - About & Profiles */
@media (max-width: 991px) {
    .profile-card-premium {
        flex-direction: column !important;
        padding: 30px 15px !important;
    }

    .profile-photo-wrap {
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto 30px !important;
    }

    .profile-info-side {
        padding-left: 0 !important;
        text-align: center;
    }

    .profile-contact-grid {
        grid-template-columns: 1fr !important;
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }

    .foundation-split-grid {
        grid-template-columns: 1fr !important;
    }

    .foundation-text-card {
        margin-left: 0 !important;
        margin-top: -60px !important;
        width: 100% !important;
        position: static !important;
    }

    .political-journey-section .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
}

/* Contact Page Form Fix */
@media (max-width: 767px) {
    .form-row-igual {
        display: block !important;
    }

    .form-row-igual .form-group-igual {
        margin-bottom: 20px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 7. Footer Responsiveness */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li,
    .footer-links li {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   FINAL MOBILE LINK & INTERACTION FIXES
   ============================================ */
@media (max-width: 991px) {
    .header-btns {
        display: flex !important;
        margin-right: 15px !important;
    }

    .header-btns .btn-premium {
        padding: 6px 10px !important;
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
        border-radius: 4px;
    }

    .header-btns .btn-premium::after {
        display: none !important;
    }

    .contact-phone {
        display: none !important;
    }

    .menu-overlay {
        pointer-events: none !important;
    }

    .menu-overlay.active {
        pointer-events: auto !important;
    }

    .btn-hero-learn {
        border-radius: 20px 0 20px 0 !important;
    }

    .btn-hero-learn .btn-icon-box {
        min-height: 44px !important;
        padding: 0 15px !important;
    }

    .btn-hero-learn .btn-text {
        padding: 0 15px !important;
        font-size: 11px !important;
    }
}


/* ============================================
   MOBILE SPACING & SECTION GAP FIXES
   ============================================ */
@media (max-width: 991px) {
    .section-padding {
        padding: 40px 0 !important;
    }

    .resources-section {
        padding: 40px 0 !important;
    }

    .lawyers-section-advanced {
        padding: 40px 0 60px !important;
    }

    .resources-grid {
        margin-top: 30px !important;
    }

    .lawyer-cards-grid {
        margin-top: 30px !important;
    }

    .practice-header {
        margin-bottom: 25px !important;
    }

    .about-team-block {
        margin-top: 20px !important;
        padding-bottom: 80px !important;
    }

    .testimonials-premium-section {
        padding: 40px 0 !important;
        margin-top: 0 !important;
    }

    .cta-banner-advanced {
        padding: 40px 0 !important;
    }

    .footer-cta-advanced {
        padding-bottom: 40px !important;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 30px 0 !important;
    }

    .resources-section {
        padding: 30px 0 !important;
    }

    .lawyers-section-advanced {
        padding: 30px 0 50px !important;
    }

    .resources-grid,
    .lawyer-cards-grid {
        margin-top: 20px !important;
    }

    .resource-item {
        padding: 30px 15px !important;
    }
}


/* Consolidated Mobile Spacing Final Polish */
@media (max-width: 991px) {
    .section-padding {
        padding: 40px 0 !important;
    }

    .about-team-block {
        margin-top: 15px !important;
        padding-bottom: 60px !important;
    }

    .practice-header {
        margin-bottom: 20px !important;
    }

    .lawyers-section-advanced {
        padding: 40px 0 50px !important;
    }

    .testimonials-premium-section {
        padding: 40px 0 !important;
    }

    .footer-cta-advanced {
        padding-bottom: 30px !important;
    }

    .resources-grid {
        margin-top: 20px !important;
    }
}


/* --- CUSTOM LAPTOP SCREENS FIX --- */
/* Target exact widths of Laptop with HiDPI, Laptop with MDPI, Laptop with touch in DevTools */
@media screen and (width: 1440px),
screen and (width: 1280px),
screen and (width: 1200px) {

    .hero-badge,
    .hero-vertical-text {
        display: none !important;
    }

    .hero-content {
        margin-left: -30% !important;
    }

    .hero-title-main {
        font-size: 68px !important;
        line-height: 1.1 !important;
    }

    .hero-title-away {
        font-size: 68px !important;
    }

    .hero-last-row {
        gap: 15px !important;
    }

    .hero-description::before {
        display: none !important;
    }

    .hero-curly-arrow-ref {
        left: 382px !important;
        bottom: 34px !important;
        width: 114px !important;
    }
}

/* Tablet screens hide testimonials bg statue */
@media screen and (max-width: 991px) {
    .testi-statue-bg {
        display: none !important;
    }
}
/* Gallery Page & Preview Styles */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-preview-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(147, 108, 62, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-preview-overlay i {
    color: #fff;
    font-size: 30px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.1);
}

.gallery-preview-item:hover .gallery-preview-overlay {
    opacity: 1;
}

.gallery-preview-item:hover .gallery-preview-overlay i {
    transform: translateY(0);
}

/* Gallery Full Section (Masonry) */
.gallery-full-section {
    padding: 100px 0;
    background: #fdfdfd;
}

.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    margin-bottom: 0;
}

.gallery-item-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    aspect-ratio: 4/3;
}

.gallery-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-zoom-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item-inner:hover img {
    transform: scale(1.05);
}

.gallery-item-inner:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-inner:hover .gallery-zoom-btn {
    transform: scale(1);
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}

.lightbox-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--accent-color);
}

.lightbox-counter {
    color: #fff;
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 2px;
}

@media (max-width: 1200px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 991px) {
    .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-masonry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .gallery-preview-grid { grid-template-columns: 1fr; }
    .gallery-masonry-grid { grid-template-columns: 1fr; }
    .lightbox-container { height: auto; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; top: auto; bottom: -60px; }
    .lightbox-prev { left: 30%; transform: none; }
    .lightbox-next { right: 30%; transform: none; }
}


/* Gallery Slider Styles */
.gallery-slider-wrapper {
    position: relative;
    /* overflow: hidden moved to mask */
    margin-top: 25px;
    padding: 0 40px; /* Space for larger arrows */
}

.gallery-slider-mask {
    overflow: hidden;
    width: 100%;
}

.gallery-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
}

.gallery-nav-btns {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.gallery-nav-btn {
    width: 65px;
    height: 65px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    margin: 0 -32px; /* Pull them outside the mask */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 22px;
}

.gallery-nav-btn:hover {
    background-color: #0b1a2e;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .gallery-nav-btn {
        margin: 0 10px;
    }
}

.gallery-mobile-slider {
    display: none;
}

.gallery-desktop-slider {
    display: block;
}

@media (max-width: 767px) {
    .gallery-mobile-slider {
        display: block;
    }
    .gallery-desktop-slider {
        display: none;
    }
    .gallery-preview-item.single {
        aspect-ratio: 1/1;
        width: 100%;
    }
    .gallery-preview-item.single img {
        height: 100%;
        object-fit: cover;
    }
    .gallery-slider-wrapper {
        padding: 0 15px;
    }
    .gallery-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin: 0 -15px;
    }
}


