@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Colors */
    --bg-dark: #0e121b;
    /* Deep Navy from reference */
    --bg-light: #faf9f6;
    /* Off-white for sections */
    --bg-card: #ffffff;

    --primary-gold: #b08d55;
    /* Metallic Gold */
    --primary-gold-dark: #8e6e3e;
    --primary-gold-light: #d4b075;

    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #f7fafc;
    --text-muted: #a0aec0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-display: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 90px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    color: #fff;
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(176, 141, 85, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(176, 141, 85, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.15);
}

/* Header */
.main-header {
    background-color: rgba(14, 18, 27, 0.85);
    /* Semi-transparent */
    backdrop-filter: blur(20px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(20px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    height: 60px;
    /* Slightly larger for new logo */
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.main-nav a:not(.btn-login-menu):hover {
    opacity: 1;
    color: var(--primary-gold);
}

.main-nav a:not(.btn-login-menu)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.main-nav a:not(.btn-login-menu):hover::after {
    width: 100%;
}

.btn-login-menu {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem !important;
    transition: all 0.3s ease;
}

.btn-login-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold) !important;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login-mobile {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login-mobile:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.05);
}

.btn-header {
    background: var(--primary-gold-dark);
    color: #fff;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-header:hover {
    background: var(--primary-gold);
    transform: scale(1.02);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 850px;
    /* Taller hero */
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/library_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Darken the background significantly */
    z-index: 1;
}

/* Gradient overlay for readability */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0e121b 30%, rgba(14, 18, 27, 0.9) 60%, rgba(14, 18, 27, 0.2) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-top: 40px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    right: -50px;
    /* Slight overlap */
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0e121b 0%, transparent 50%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

.hero-team-img {
    max-height: 90%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMWgydjJIMUMxeiIgZmlsbD0iI2QwZDBkMCIgZmlsbC1vcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
    /* Subtle texture */
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lawyer-card {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px;
    /* Rounded corners */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.lawyer-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.lawyer-img {
    height: 320px;
    overflow: hidden;
}

.lawyer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

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

.lawyer-info {
    padding: 20px;
    text-align: center;
    background: #fff;
    position: relative;
}

/* Elegant line above name */
.lawyer-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-gold);
}

.lawyer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.lawyer-info p {
    font-size: 0.85rem;
    color: var(--primary-gold-dark);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: var(--bg-light);
    transition: all 0.4s ease;
    text-align: center;
    border-radius: 24px;
    /* Rounded corners */
}

.feature-item:hover {
    border-color: var(--primary-gold);
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.feature-item:hover .feature-icon img {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-image: url('assets/library_bg.png');
    /* Use library bg again but lighter or overlayed */
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

/* Light overlay for text readability */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 249, 246, 0.9);
}

.testimonial-card {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    padding: 0;
    border-radius: 24px;
    /* Rounded corners */
    overflow: hidden;
}

.client-photo {
    width: 300px;
    height: 350px;
    flex-shrink: 0;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 40px 60px;
}

.testimonial-content blockquote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
}

.client-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-gold-dark);
}

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

.stars {
    color: var(--primary-gold);
    margin-top: 5px;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(14, 18, 27, 0.95), rgba(14, 18, 27, 0.9)), url('assets/library_bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn-large {
    padding: 20px 54px;
    font-size: 1.1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-large:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* Footer */
.main-footer {
    background-color: #080a0f;
    /* Even darker */
    color: var(--text-muted);
    padding: 80px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center vertically line */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 60px;
    margin-bottom: 30px;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-logo img {
    height: 60px;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    color: var(--text-muted);
    margin-right: 20px;
    font-size: 0.85rem;
}

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

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .lawyers-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex-direction: column;
    }

    .client-photo {
        width: 100%;
        height: 250px;
    }

    .main-nav {
        display: none;
    }

    .btn-login-mobile {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 16px;
    }

    .header-logo {
        height: 42px;
    }

    .btn-header {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    .hero-section {
        height: auto;
        min-height: 85vh;
        padding: 40px 0;
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding-top: 20px;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-image-container {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 10px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 14px 24px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .lawyers-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* Very small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header-logo {
        height: 36px;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .hero-content h1 {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}

/* =========================================
   Login Page Styles
   ========================================= */

/* =========================================
   Login Page Styles - Refined
   ========================================= */

.login-page {
    background-image: url('assets/library_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Fix background for better scroll experience */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
    /* Prevent body scroll if possible, let container scroll */
}

/* Dark overlay */
.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 18, 27, 0.85);
    backdrop-filter: blur(8px);
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    /* Fixed height for desktop */
    max-height: 800px;
    /* Max height cap */
    min-height: 600px;
    /* Min height to prevent crushing */
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Left Side - Dark with Image */
.login-left {
    flex: 1;
    background-color: #0e121b;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 60px;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(14, 18, 27, 0.4) 0%, rgba(14, 18, 27, 0.95) 100%);
    z-index: 1;
}

.login-left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-left h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    /* Lighter weight for elegance */
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.login-left p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 300;
}

.login-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-scales-img {
    max-width: 80%;
    /* Reduced slightly to fit better */
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Right Side - Form Container */
.login-right {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    /* Balanced padding */
    position: relative;
    overflow-y: auto;
    /* Handle overflow for tall forms (signup) */
    /* Custom Scrollbar for Webkit */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

/* Custom Scrollbar */
.login-right::-webkit-scrollbar {
    width: 6px;
}

.login-right::-webkit-scrollbar-track {
    background: #f7fafc;
}

.login-right::-webkit-scrollbar-thumb {
    background-color: #cbd5e0;
    border-radius: 10px;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.login-logo {
    height: 40px;
    width: auto;
}

.back-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--primary-gold);
    opacity: 1;
}

.login-form-wrapper {
    max-width: 420px;
    /* Slightly wider */
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
    /* Allow to take available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center form vertically */
    padding: 20px 0;
}

.login-form-wrapper h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    /* Adjusted for better fit */
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-align: center;
}

.login-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Input Styles */
.input-group {
    margin-bottom: 1.25rem;
}

/* Ensure labels are consistent if we decide to show them, 
   or keep visually hidden if preferred. 
   Let's make them visible but small and above input for clarity on Sign Up */
.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    /* Modern rounded corners */
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
    background-color: #f8fafc;
    /* Slight grey background */
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(176, 141, 85, 0.1);
}

.password-wrapper {
    position: relative;
}

.view-password-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e0;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.view-password-icon:hover {
    color: var(--primary-gold);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    margin-top: 5px;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--primary-gold-dark);
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* Buttons */
.btn-google-login {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.btn-google-login:hover {
    background-color: #f8fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.btn-google-login img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    /* Add some spacing if gap isn't enough */
}

.btn-login-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(176, 141, 85, 0.25);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(176, 141, 85, 0.35);
    filter: brightness(1.1);
}

/* Switch Form Link */
.switch-form {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.switch-form a {
    color: var(--primary-gold-dark);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.switch-form a:hover {
    color: var(--primary-gold);
}

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

.switch-form a:hover::after {
    width: 100%;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider::before {
    margin-right: 15px;
}

.divider::after {
    margin-left: 15px;
}


.login-footer {
    display: flex;
    flex-direction: column;
    /* Force column layout for cleaner look */
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: #a0aec0;
    /* slightly darker for better readability */
    margin-top: 60px;
    /* Further increased margin */
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
    text-align: center;
    gap: 12px;
}

.footer-links a {
    margin: 0 12px;
    color: #a0aec0;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.login-form {
    animation: fadeIn 0.4s ease-out;
}

/* Responsive Login */
@media (max-width: 900px) {
    .login-page {
        padding: 0;
        align-items: flex-start;
        background: var(--bg-dark);
    }

    .login-page::before {
        background: rgba(14, 18, 27, 0.95);
    }

    .login-container {
        flex-direction: column;
        height: 100vh;
        max-height: none;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        background: var(--bg-dark);
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 40px 24px;
        height: 100%;
        overflow-y: auto;
        background: var(--bg-dark);
        color: #fff;
    }

    .login-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .login-logo {
        height: 50px;
    }

    .back-link {
        color: var(--text-muted) !important;
    }

    .login-form-wrapper {
        padding: 20px 0;
        justify-content: flex-start;
    }

    .login-form-wrapper h1 {
        color: #fff;
        font-size: 1.6rem;
    }

    .login-subtext {
        color: var(--text-muted) !important;
    }

    .input-group label {
        color: #cbd5e0 !important;
    }

    .input-group input {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
    }

    .input-group input::placeholder {
        color: #64748b !important;
    }

    .input-group input:focus {
        border-color: var(--primary-gold) !important;
    }

    .divider span {
        color: var(--text-muted) !important;
        background: var(--bg-dark) !important;
    }

    .divider::before,
    .divider::after {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .btn-google-login {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        color: #e2e8f0 !important;
    }

    .btn-google-login:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .login-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: auto;
        border-top: none;
        padding-bottom: 40px;
    }

    .login-footer,
    .login-footer a,
    .login-footer span {
        color: var(--text-muted) !important;
    }

    .login-footer a:hover {
        color: var(--primary-gold) !important;
    }

    .forgot-link {
        color: var(--primary-gold) !important;
    }

    .register-link {
        color: var(--primary-gold) !important;
    }
}

@media (max-width: 480px) {
    .login-right {
        padding: 30px 16px;
    }

    .login-form-wrapper h1 {
        font-size: 1.4rem;
    }

    .login-logo {
        height: 42px;
    }

    .btn-google-login {
        font-size: 0.85rem !important;
        padding: 12px !important;
    }
}

#clerk-captcha {
    min-height: 65px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* DataJud Page Styles */
.search-section .card {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-main);
}

.search-box button {
    padding: 12px 24px;
    white-space: nowrap;
}

.hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Process Header */
.process-header-card {
    border-left: 4px solid var(--primary-gold);
    margin-bottom: 2rem;
}

.process-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.process-title-row h2 {
    font-size: 1.5rem;
    color: var(--text-main);
}

.process-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item .value {
    font-weight: 500;
    color: var(--text-main);
}

/* Timeline */
.timeline-card h3 {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 25px;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -19px;
    /* Adjust based on padding line width */
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--card-bg);
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-title {
    margin: 5px 0;
    font-size: 1rem;
    color: var(--primary-color);
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Page Layout */
.page-content {
    padding-bottom: 40px;
}

/* Enhanced Dark Mode Styles for DataJud */
.search-section .card {
    background: linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%);
    border: 1px solid var(--border-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.search-box input:focus {
    border-color: var(--primary-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.timeline-item:hover .timeline-marker {
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
}

/* Logo Fix */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Sidebar Logo override if needed */
.sidebar .logo {
    margin-bottom: 24px;
    justify-content: flex-start;
    padding-left: 16px;
}

.sidebar .logo img {
    height: 50px;
    /* Slightly smaller in sidebar */
    width: auto;
}

/* =========================================
   PHASE MANAGEMENT (Admin)
   ========================================= */

.phases-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    overflow: hidden;
}

.phases-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.phases-toolbar h3 {
    font-size: 1.1rem;
    color: var(--text-main);
}

.btn-add-phase {
    background: linear-gradient(135deg, var(--primary-gold), #c4a030);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-add-phase:hover {
    transform: translateY(-2px);
}

.phases-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
}

.phase-card {
    display: grid;
    grid-template-columns: 24px 40px 1fr auto;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s;
}

.phase-card:hover {
    border-color: var(--primary-gold);
    transform: translateX(4px);
}

.phase-card.phase-hidden {
    opacity: 0.6;
    background: var(--bg-darker);
    border-style: dashed;
}

.phase-drag-handle {
    color: var(--text-muted);
    cursor: grab;
    display: flex;
    justify-content: center;
}

.phase-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.phase-uid {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.phase-actions {
    display: flex;
    gap: 8px;
}

.phase-actions button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.phase-actions button:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.phase-actions button.delete:hover {
    color: #ef4444;
    border-color: #ef4444;
}

.phases-help-panel {
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
}

.help-card {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.help-card i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
    display: block;
}

.help-card h4 {
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.help-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Modal Icon Selector */
.icon-selector {
    display: flex;
    gap: 12px;
}

.icon-selector input {
    flex: 1;
}

.icon-preview {
    width: 42px;
    height: 42px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Add Column Button (Processos) */
.kanban-add-column {
    min-width: 300px;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
    min-height: 200px;
}

.kanban-add-column:hover {
    border-color: var(--primary-gold);
    background: rgba(245, 158, 11, 0.05);
    color: var(--primary-gold);
}

.kanban-add-column-content {
    text-align: center;
    color: var(--text-muted);
}

.kanban-add-column-content i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.kanban-add-column-content span {
    font-weight: 500;
}

/* =========================================
   INDEX PAGE - NEW SECTIONS & IMPROVEMENTS
   ========================================= */

/* Section Tags */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.section-tag.light {
    color: var(--primary-gold-light);
}

/* Hero Tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-gold-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(176, 141, 85, 0.3);
    border-radius: 50px;
    background: rgba(176, 141, 85, 0.08);
}

.hero-tag i {
    font-size: 0.85rem;
}

/* Header scroll effect */
.main-header.header-scrolled {
    background-color: rgba(14, 18, 27, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #141b2d 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-gold);
    display: inline;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ========== NEW FEATURE ICONS ========== */
.feature-icon-new {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(176, 141, 85, 0.1) 0%, rgba(176, 141, 85, 0.05) 100%);
    border: 1px solid rgba(176, 141, 85, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.feature-icon-new i {
    font-size: 2rem;
    color: var(--primary-gold);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon-new {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-color: var(--primary-gold);
    transform: scale(1.1);
}

.feature-item:hover .feature-icon-new i {
    color: #fff;
}

/* ========== LAWYER CARD OVERLAY ========== */
.lawyer-img {
    position: relative;
}

.lawyer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(transparent, rgba(14, 18, 27, 0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    transition: height 0.4s ease;
    overflow: hidden;
}

.lawyer-card:hover .lawyer-overlay {
    height: 100%;
}

.lawyer-social {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.lawyer-card:hover .lawyer-social {
    opacity: 1;
    transform: translateY(0);
}

.lawyer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lawyer-social a:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.lawyer-specialty {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 400;
}

/* ========== DIFFERENTIALS SECTION ========== */
.differentials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #141b2d 100%);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.differential-item {
    text-align: center;
    padding: 50px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.differential-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(176, 141, 85, 0.3);
    transform: translateY(-8px);
}

.differential-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.differential-icon i {
    font-size: 1.6rem;
    color: #fff;
}

.differential-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 12px;
}

.differential-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== TESTIMONIALS - NEW GRID ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card-new {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--primary-gold-light);
    margin-bottom: 16px;
    opacity: 0.6;
}

.testimonial-card-new blockquote {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    color: #fff;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

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

.author-info .stars {
    font-size: 0.85rem;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #141b2d 100%);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(176, 141, 85, 0.3);
    transform: translateX(5px);
}

.contact-method.whatsapp:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.08);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(176, 141, 85, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon i {
    font-size: 1.2rem;
    color: var(--primary-gold);
}

.contact-method.whatsapp .contact-method-icon {
    background: rgba(37, 211, 102, 0.12);
}

.contact-method.whatsapp .contact-method-icon i {
    color: #25d366;
}

.contact-method strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 2px;
}

.contact-method span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 28px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.contact-form select option {
    background: #1a1f2e;
    color: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(176, 141, 85, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ========== NEW FOOTER ========== */
.main-footer {
    background-color: #080a0f;
    color: var(--text-muted);
    padding: 0;
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo-img {
    height: 55px;
    opacity: 0.85;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 10px;
}

.footer-links-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-col a:hover {
    color: var(--primary-gold);
    transform: translateX(4px);
}

.footer-contact-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact-col i {
    color: var(--primary-gold);
    width: 16px;
    text-align: center;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom-bar a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 1.8rem;
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========== RESPONSIVE - NEW SECTIONS ========== */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(14, 18, 27, 0.98);
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        z-index: 999;
    }

    .main-nav.mobile-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav a {
        display: block;
        padding: 14px 10px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

    .footer-contact-col p {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float i {
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .differentials-section {
        padding: 60px 0;
    }

    .contact-section {
        padding: 60px 0;
    }

    .hero-buttons .btn-primary i,
    .hero-buttons .btn-secondary i {
        display: none;
    }
}

@media (max-width: 480px) {
    .stat-item {
        padding: 10px 0;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-icon {
        font-size: 1.4rem;
    }
}