/**
 * شركة القصد للمحاماة والاستشارات القانونية
 * Main Stylesheet - Light Legal Theme
 */

/* ===== Custom Font ===== */
@font-face {
    font-family: 'Brando';
    src: url('../fonts/brando.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    --charcoal: #252525;
    --brown-dark: #403C34;
    --beige: #C4BCAF;
    --cream: #E7E5E1;
    --white: #FFFFFF;

    --bg-primary: #FAFAF8;
    --bg-section: #F5F4F1;
    --bg-card: #FFFFFF;
    --bg-dark: #252525;

    --text-dark: #252525;
    --text-body: #403C34;
    --text-muted: #8A847C;
    --text-light: #C4BCAF;
    --text-on-dark: #E7E5E1;

    --accent: #C4BCAF;
    --accent-dark: #A89E91;
    --border: rgba(196, 188, 175, 0.4);
    --border-dark: rgba(37, 37, 37, 0.1);

    --shadow: 0 10px 40px rgba(37, 37, 37, 0.08);
    --shadow-lg: 0 25px 60px rgba(37, 37, 37, 0.12);
    --shadow-hover: 0 20px 50px rgba(37, 37, 37, 0.15);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s ease;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'IBM Plex Sans Arabic', 'Brando', sans-serif;
    background: var(--bg-primary);
    color: var(--text-body);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
}

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

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

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Brando', 'IBM Plex Sans Arabic', sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.section-badge::before,
.section-badge::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--charcoal), var(--accent));
    margin-top: 1rem;
    margin-right: 0;
    border-radius: 2px;
}

.section-title.centered::after {
    margin: 1rem auto 0;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 160px;
    height: auto;
    margin-bottom: 2rem;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, var(--charcoal), var(--accent));
    animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes preloaderSlide {
    0% {
        transform: translateX(200%);
    }

    100% {
        transform: translateX(-200%);
    }
}

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 1.5rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 4%;
    box-shadow: 0 4px 20px rgba(37, 37, 37, 0.05);
}

.nav-logo-img {
    height: 130px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

nav.scrolled .nav-logo-img {
    height: 110px;
    filter: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding-bottom: 4px;
}

nav.scrolled .nav-links a {
    color: var(--text-body);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--charcoal) !important;
    color: var(--white) !important;
    padding: 10px 28px !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    border: 1px solid transparent;
    transition: var(--transition) !important;
}

nav.scrolled .nav-cta {
    background: var(--charcoal) !important;
    color: var(--white) !important;
}

.nav-cta:hover {
    background: var(--brown-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 37, 37, 0.25);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

nav.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 37, 37, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    margin-bottom: 2rem;
}

.mobile-menu a {
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
    display: block;
}

.mobile-menu a:hover {
    color: var(--charcoal);
    padding-right: 10px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(37, 37, 37, 0.6) 0%,
            rgba(37, 37, 37, 0.4) 50%,
            rgba(37, 37, 37, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding: 8px 24px;
    border: 1px solid rgba(196, 188, 175, 0.4);
    border-radius: 50px;
}

.hero-title {
    font-family: 'Brando', 'IBM Plex Sans Arabic', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-divider span {
    width: 60px;
    height: 1px;
    background: var(--accent);
}

.hero-divider i {
    color: var(--accent);
    font-size: 0.7rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--charcoal);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: var(--accent);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Section Spacing ===== */
.section {
    padding: 7rem 0;
}

.section-alt {
    background: var(--bg-section);
}

/* ===== Section Divider ===== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.section-divider-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-divider-icon {
    padding: 0 1.5rem;
    color: var(--accent);
    font-size: 0.9rem;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.about-image-frame {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.about-license {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-section);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-top: 1.5rem;
}

.about-license i {
    color: var(--charcoal);
    font-size: 1.2rem;
}

.about-license span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
}

/* ===== Vision / Mission / Values Row ===== */
.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.vmv-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vmv-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--charcoal), var(--accent));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: right;
}

.vmv-card:hover::before {
    transform: scaleX(1);
}

.vmv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.vmv-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--charcoal);
    transition: var(--transition);
}

.vmv-card:hover .vmv-icon {
    background: var(--charcoal);
    color: var(--white);
}

.vmv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.vmv-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* Values List */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: right;
}

.values-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.values-list li i {
    color: var(--accent-dark);
    font-size: 0.6rem;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

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

.service-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    background: linear-gradient(135deg, var(--charcoal), var(--brown-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(37, 37, 37, 0.25);
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.service-number {
    font-family: 'Brando', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--cream);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    opacity: 0.5;
    line-height: 1;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-top: 1rem;
}

.contact-info h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-info>p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--charcoal);
    transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
    background: var(--charcoal);
    color: var(--white);
}

.contact-item-content h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-item-content a,
.contact-item-content span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item-content a:hover {
    color: var(--accent-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-section);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    direction: rtl;
}

.contact-form .form-control::placeholder {
    color: var(--text-light);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--charcoal);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 37, 37, 0.06);
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 37, 37, 0.3);
}

.form-message {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Contact Map */
.contact-map {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* ===== Footer ===== */
footer {
    background: var(--charcoal);
    color: var(--text-on-dark);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    height: 95px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-text {
    text-align: center;
}

.footer-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-text a {
    color: var(--accent);
    transition: var(--transition-fast);
}

.footer-text a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(231, 229, 225, 0.4);
}

/* Footer Contact Icons */
.footer-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.footer-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-icons a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Address Sub-line */
.contact-address {
    display: block;
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
    margin-top: 2px;
}

/* ===== Animations (GSAP helper classes) ===== */
[data-gsap] {
    will-change: transform, opacity;
}

/* ===== Grain Overlay ===== */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 45px;
    height: 45px;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(37, 37, 37, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brown-dark);
    transform: translateY(-3px);
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #20bd5a;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float:active {
    transform: translateY(-1px) scale(1.02);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--charcoal);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4),
                    0 0 0 12px rgba(37, 211, 102, 0.12);
    }
}