/* Root Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2c2c2c;
    --accent-color: #d4af37;
    --accent-hover: #c19b2a;
    --light-gray: #f8f9fa;
    --medium-gray: #dee2e6;
    --dark-gray: #495057;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #212529;
    --text-light: #6c757d;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--medium-gray);
}

.lang-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 14px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lang-btn.active {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.lang-btn:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.lang-btn.active:hover {
    background: var(--accent-hover);
    color: var(--white);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 32px;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
    cursor: pointer;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section with Slider */
.hero {
    color: var(--white);
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    min-height: 650px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transform: translateX(100%);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(100%, 0, 0);
}

.hero-slide.active {
    transform: translate3d(0, 0, 0);
    z-index: 2;
}

.hero-slide.prev {
    transform: translate3d(-100%, 0, 0);
    z-index: 1;
}

.hero-slide.loading {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(44, 44, 44, 0.7) 0%, rgba(74, 74, 74, 0.65) 100%); */
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    pointer-events: all;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover {
    background: var(--accent-color);
    transform: scale3d(1.15, 1.15, 1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.slider-btn:active {
    transform: scale3d(1.05, 1.05, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.dot.active {
    background: var(--accent-color);
    width: 45px;
    border-radius: 8px;
    border-color: var(--accent-color);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale3d(1.2, 1.2, 1);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 300;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Buttons */
.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    will-change: transform;
    backface-visibility: hidden;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-primary:active {
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 14px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 80px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

/* Vision and Goals Section */
.vision-goals {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.vision-goals .section-header h2 {
    color: var(--primary-color);
}

.vision-goals .divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.vision-goals-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.vision-box,
.goals-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.vision-box:hover,
.goals-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.vision-box .icon-wrapper,
.goals-box .icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.vision-box h3,
.goals-box h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.vision-box p,
.goals-box p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .vision-goals-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vision-box,
    .goals-box {
        padding: 40px 30px;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
    backface-visibility: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    font-size: 42px;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--white);
    transform: scale3d(1.15, 1.15, 1) rotate(8deg);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.service-card h3 {
    font-size: 22px;
    padding: 25px 20px;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    background: var(--white);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover h3 {
    background: var(--accent-color);
    color: var(--white);
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

.service-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    opacity: 0;
    transform: translate(10px, 10px) scale(0.8);
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Attorneys Section */
.attorneys {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.attorney-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}

.attorney-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.attorney-image {
    width: 130px;
    height: 130px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 55px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.attorney-card:hover .attorney-image {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.attorney-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--white);
}

.attorney-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attorney-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 14px;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.info-item:hover {
    box-shadow: var(--shadow-md);
    transform: translate3d(0, -5px, 0);
    border-color: var(--accent-color);
}

.info-item i {
    font-size: 28px;
    color: var(--accent-color);
    min-width: 35px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    cursor: pointer;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-links a:active {
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--secondary-color);
    color: var(--medium-gray);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

/* Scroll to Top Button - Beautiful Golden Design */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 110px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: var(--primary-color);
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 
        0 6px 30px rgba(212, 175, 55, 0.5),
        0 0 0 0 rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px) scale(0.8);
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible;
    animation: none;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #f4d03f, #d4af37, #f4d03f);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease;
}

.scroll-to-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 50%);
    pointer-events: none;
}

.scroll-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    animation: 
        slideInUp 0.5s ease,
        goldenPulse 3s ease-in-out 0.5s infinite;
}

.scroll-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 12px 40px rgba(212, 175, 55, 0.7),
        0 0 60px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 50%, #f4d03f 100%);
}

.scroll-to-top:hover::before {
    opacity: 1;
}

.scroll-to-top:active {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(212, 175, 55, 0.6),
        0 0 40px rgba(212, 175, 55, 0.3);
}

.scroll-to-top i {
    position: relative;
    z-index: 1;
    font-weight: bold;
    animation: arrowBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes goldenPulse {
    0%, 100% {
        box-shadow: 
            0 6px 30px rgba(212, 175, 55, 0.5),
            0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 
            0 6px 30px rgba(212, 175, 55, 0.6),
            0 0 0 15px rgba(212, 175, 55, 0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
    z-index: 999;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--light-gray);
}

.bot-message,
.user-message {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    max-width: 80%;
    animation: fadeIn 0.3s ease;
}

.bot-message {
    background: var(--white);
    color: var(--text-dark);
    margin-right: auto;
}

.user-message {
    background: var(--primary-color);
    color: var(--white);
    margin-left: auto;
}

.chatbot-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: var(--white);
    border-top: 1px solid var(--medium-gray);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 25px;
    font-family: inherit;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 75px;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 25px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 14px 35px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item h3 {
        font-size: 40px;
    }

    .services-grid,
    .attorneys-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card,
    .attorney-card {
        padding: 35px 25px;
    }

    .chatbot-container {
        width: 90%;
        right: 5%;
        height: 450px;
    }

    .language-switcher {
        top: 85px;
        right: 15px;
    }

    .slider-nav {
        padding: 0 10px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 13px;
    }

    .service-icon,
    .attorney-image {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 25px;
        right: 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 25px;
        left: 20px;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
        left: 85px;
        bottom: 25px;
    }

    .language-switcher {
        top: 90px;
        right: 10px;
        padding: 6px;
        gap: 5px;
    }

    .lang-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .logo {
        font-size: 22px;
    }

    .logo i {
        font-size: 26px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stat-item h3 {
        font-size: 36px;
    }
}