/*
 * ==========================================================================
 * FERRAZ & MEDEIROS ADVOGADOS - STYLESHEET
 * ==========================================================================
 *
 * Índice:
 *   1. CSS Variables (Custom Properties)
 *   2. Reset & Base Styles
 *   3. Typography
 *   4. Buttons
 *   5. Layout & Container
 *   6. Navbar
 *   7. Hero Section
 *   8. Services Section
 *   9. About Section
 *  10. Methodology Section
 *  11. Testimonials / Reviews
 *  12. FAQ Section
 *  13. Footer
 *  14. WhatsApp Float Button
 *  15. Animations
 *  16. Media Queries (Responsive)
 *
 * ==========================================================================
 */

/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-color: #ffffff;
    --bg-gradient: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 100%);
    --card-bg: #ffffff;
    --card-border: rgba(148, 163, 184, 0.2);
    --card-hover-border: #c0a062;
    --primary-color: #0f172a;
    --accent-color: #b08d55;
    --accent-gradient: linear-gradient(135deg, #b08d55 0%, #967d4d 100%);
    --accent-glow: rgba(176, 141, 85, 0.4);
    --title-gradient: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    --text-primary: #1e293b;
    --text-secondary: #64748b;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Effects */
    --transition: all 0.3s ease;
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --section-spacing: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    background-image: none;
    /* Clean white/light gray look */
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    /* Reduced from 4rem */
    position: relative;
    z-index: 2;
}

.section-title span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
    background: linear-gradient(120deg, #0f172a 0%, #334155 50%, #0f172a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    /* Subtle glow/shadow effect - Reduced intensity */
    filter: drop-shadow(0 0 10px rgba(192, 160, 98, 0.15));
    animation: shine 8s linear infinite;
    /* Slower animation */
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn i {
    margin-right: 8px;
}

/* WhatsApp icon size in buttons */
.btn .fa-whatsapp,
.nav-button .fa-whatsapp {
    font-size: 1.2em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(192, 160, 98, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 160, 98, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-text-link {
    color: var(--accent-color);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.btn-text-link:hover {
    border-bottom-color: var(--accent-color);
    opacity: 0.8;
}

/* --- Container Fix --- */
.container {
    max-width: 1280px;
    /* Slightly wider container for modern feel */
    margin: 0 auto;
    padding: 0 40px;
    /* Increased side padding */
}

section {
    padding: var(--section-spacing) 0;
    /* Uniform vertical spacing */
}

/* --- Navbar --- */
.navbar {
    background: #0f172a;
    /* Navy Blue */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

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

.logo img {
    height: 48px;
    filter: brightness(0) invert(1);
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    color: #cbd5e1;
    /* Light gray text */
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: white;
}

.nav-button {
    padding: 12px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(197, 162, 101, 0.3);
}

.nav-button i {
    margin-right: 6px;
}

.nav-button:hover {
    background: var(--accent-gradient);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg-2k.jpg') center center/cover no-repeat;
    filter: brightness(0.9);
    z-index: -2;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #ffffff;
    /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); */
}

.hero .highlight {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
    /* Override gradient for accent word */
    filter: drop-shadow(0 0 8px rgba(197, 162, 101, 0.25));
    /* Reduced glow */
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: #e2e8f0;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* --- Services Section --- */
.services {
    background: #f8fafc;
    /* Very light gray to separate from white sections */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.icon-box {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    width: 65px;
    height: 65px;
    background: rgba(197, 162, 101, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--accent-color);
    color: white;
}

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

.service-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- About Section --- */
.about-container {
    display: flex;
    gap: 50px;
    align-items: stretch;
    position: relative;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    min-height: 400px;
}

.about-text {
    flex: 1;
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 63% top;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    color: var(--primary-color);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lawyers-names {
    margin: 20px 0;
    padding: 18px 20px;
    background: #f8fafc;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
}

.lawyers-names p {
    margin-bottom: 5px;
}

.lawyers-names p:last-child {
    margin-bottom: 0;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-text .btn {
    margin-top: 25px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* --- Methodology --- */
.methodology {
    background: var(--primary-color);
    /* Dark navy section override */
    color: white;
    padding: var(--section-spacing) 0;
}

.methodology .section-title h2 {
    color: white;
    background: linear-gradient(120deg, #ffffff 0%, #cbd5e1 50%, #ffffff 100%);
    /* Light gradient for dark bg */
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
    /* White glow */
    animation: shine 8s linear infinite;
}

.methodology .section-title h2::after {
    background: white;
    /* White underline */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.step-content h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.step-content p {
    color: #cbd5e1;
}

/* --- Testimonials --- */
.testimonials {
    overflow: hidden;
    /* prevents slider spillover */
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 20px 40px 20px;
    /* Add padding to prevent clipping shadow */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 350px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px;
    border-radius: 16px;
    scroll-snap-align: center;
    /* Center align helps on mobile */
    position: relative;
    box-shadow: var(--shadow-soft);
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.client-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- FAQ --- */
.faq {
    background: #f8fafc;
}

.accordion-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    padding: 25px;
    background: white;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-header i {
    color: var(--accent-color);
}

.accordion-content {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content p {
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
    background: #0f172a;
    padding-top: 60px;
    color: white;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-bottom: 30px;
    align-items: center;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo {
    height: auto;
    width: auto;
    max-width: 130px;
    /* Adjusted slightly smaller as requested */
    max-height: 130px;
    object-fit: contain;
}

.footer-col p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 400px;
}

.footer h3 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    /* Slightly larger targets */
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.contact-list li,
.footer-links li {
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #cbd5e1;
}

.contact-list i {
    color: var(--accent-color);
    margin-top: 5px;
    min-width: 20px;
    text-align: center;
}

.contact-list a {
    color: #cbd5e1;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-list a:hover {
    color: var(--accent-color);
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    background: #0b1120;
    /* Slightly darker bottom bar */
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Media Queries --- */
@media (max-width: 900px) {

    .container {
        padding: 0 20px;
    }

    section {
        padding: 40px 0;
        /* Reduced from 80px */
    }

    .section-title {
        margin-bottom: 2rem;
        /* Reduced from 3rem */
    }

    .navbar-container {
        padding: 0 20px;
        position: relative;
        justify-content: flex-end;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1001;
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 40px;
        /* Slightly smaller for mobile if needed, or keep 48px */
        width: auto;
        /* Vital to prevent squashing */
        max-width: none;
        /* Vital to prevent squashing */
    }

    html {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Reduced from 2.8rem */
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        min-height: 70vh !important;
        /* Slightly increased from 50vh */
        height: auto !important;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    /* Target the pseudo-element where the image actually lives */
    .hero::before {
        background-position: 80% center !important;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
    }

    .step-number {
        font-size: 4rem;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 20px;
    }

    .about-text {
        display: contents;
    }

    .about-text .section-title {
        order: 1;
        margin-bottom: 20px;
    }

    .about-image {
        order: 2;
        width: 100%;
        height: 350px;
        /* Fixed height for visual balance */
        margin-bottom: 20px;
    }

    .about-text .lawyers-names {
        order: 3;
    }

    .about-text p {
        order: 4;
    }

    .about-text .btn {
        order: 5;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    /* Mobile Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .brand-col {
        flex-direction: column;
        text-align: center;
    }

    .brand-info {
        align-items: center;
    }

    .social-links,
    .footer-links li {
        justify-content: center;
    }

    /* Fix Contact List Mobile */
    .contact-list li {
        flex-direction: row;
        /* Keep icon and text side-by-side */
        justify-content: center;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .contact-list a {
        justify-content: center;
        text-align: left;
        /* Keep address text readable */
    }

    .menu-toggle {
        display: block;
    }

    .bar {
        background: var(--primary-color);
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 0;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        transform: translateY(0);
    }
}

/* Footer Brand Layout - Desktop */
.brand-col {
    display: flex;
    align-items: center;
    gap: 25px;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    justify-content: center;
}

.brand-info p {
    margin-bottom: 0;
    text-align: left;
}

/* --- Manual Reviews Widget Styles --- */

.user-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* Override/Ensure specific styles for the manual slider to work */
.ti-reviews-container-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ti-reviews-container-wrapper::-webkit-scrollbar {
    display: none;
}

.ti-review-item {
    flex: 0 0 auto;
    width: 300px;
    max-width: 100%;
}

/* Navigation Buttons Cursor */
.ti-next,
.ti-prev {
    cursor: pointer;
}

/* Google Star Styles */
.ti-stars .ti-star {
    display: inline-block;
    width: 17px;
    height: 17px;
    background-size: contain;
    background-repeat: no-repeat;
}

.ti-stars .ti-star.f,
.ti-star.full-star {
    background-image: url("https://cdn.trustindex.io/assets/platform/Google/star/f.svg");
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ti-review-item {
        width: 85vw;
        /* Wider cards on mobile */
    }
}

/* ===================================
   REVIEWS SECTION - CLEAN IMPLEMENTATION
   =================================== */

/* Main layout container */
.reviews-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left side - Summary/Rating */
.reviews-summary {
    flex: 0 0 280px;
    width: 280px;
    text-align: center;
}

.reviews-summary .ti-rating-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.reviews-summary .ti-stars.star-lg {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

/* Override size for larger stars in summary section */
.reviews-summary .ti-star.full-star {
    width: 24px;
    height: 24px;
}

.reviews-summary .ti-rating-text {
    font-size: 0.95rem;
    margin: 10px 0;
    color: #333;
}

.reviews-summary .ti-large-logo img {
    max-width: 130px;
    height: auto;
    margin-top: 15px;
}

/* Right side - Carousel */
.reviews-carousel {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: visible;
    /* Changed from hidden to visible */
    padding: 0 50px;
    /* Add padding for buttons */
}

.reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

/* Carousel controls - positioned outside content */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    height: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.carousel-next,
.carousel-prev {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #333;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.carousel-next:hover,
.carousel-prev:hover {
    background-color: #333;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

/* Try Font Awesome first, fallback to text arrows */
.carousel-next::after {
    content: '→';
    display: block;
}

.carousel-prev::before {
    content: '←';
    display: block;
}

/* Position prev on left, next on right */
.carousel-prev {
    order: -1;
}

.carousel-next {
    order: 1;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .reviews-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .reviews-summary {
        width: 100%;
        flex: 0 0 auto;
    }

    .reviews-carousel {
        width: 100%;
    }

    .carousel-controls {
        width: 100%;
        left: 0;
    }

    .carousel-next,
    .carousel-prev {
        width: 35px;
        height: 35px;
    }
}

/* Remove default TrustIndex styles that might be interfering */
.ti-controls .dot {
    display: none;
}

.ti-reviews-container-wrapper {
    padding: 0 5px;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    height: 72px;
    width: 72px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 38px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
}

.whatsapp-text {
    opacity: 0;
    max-width: 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 0;
    transition: opacity 0.3s ease, margin-left 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.whatsapp-float:hover {
    width: 240px;
    background-color: #1ebe57;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    justify-content: center;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    margin-left: 10px;
    max-width: 200px;
}

@media (max-width: 900px) {
    .whatsapp-float {
        bottom: 50px;
        bottom: calc(50px + env(safe-area-inset-bottom));
        right: 25px;
        right: calc(25px + env(safe-area-inset-right));
        width: 58px;
        height: 58px;
        font-size: 28px;
        box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    }

    .whatsapp-float:hover {
        width: 58px;
        padding: 0;
        transform: none;
    }

    .whatsapp-text {
        display: none;
    }

    /* Footer Mixed Alignment (Mobile) */
    .footer-content {
        text-align: left !important;
    }

    /* Center Logo */
    .footer-logo {
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
    }

    /* Center Contact Title */
    .footer h3 {
        text-align: center !important;
    }

    /* Keep Text Left */
    .brand-col {
        align-items: flex-start !important;
    }

    .brand-info {
        align-items: flex-start !important;
    }

    .brand-info p {
        text-align: left !important;
    }

    .social-links {
        justify-content: center !important;
        width: 100%;
    }

    .contact-list li {
        justify-content: flex-start !important;
    }

    .contact-list a {
        justify-content: flex-start !important;
        text-align: left !important;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        max-width: 100%;
        width: auto;
    }

    .contact-list i {
        margin-top: 0 !important;
    }
}