/* ================================================= */
/* 1. Variables*/
/* ================================================= */
:root {
    --color-primary: #0A3D62;
    --color-primary-light: #1565A8;
    --color-primary-dark: #072C46;

    --color-secondary: #2B9DA3;
    --color-secondary-light: #4DB8BD;
    --color-secondary-dark: #1F7B7F;

    --color-accent: #C5A572;
    --color-accent-light: #D6BC8F;
    --color-accent-dark: #A88C5C;

    --color-bg-main: #FFFFFF;
    --color-bg-surface: #F7F9FB;
    --color-bg-soft: #EEF3F7;

    --color-text-main: #1A2332;
    --color-text-muted: #6B7280;
    --color-text-light: #9AA5B1;

    --color-border: #D9E2EC;
    --color-border-soft: #E6EDF3;

    --color-success: #2E7D6B;
    --color-warning: #F2A541;
    --color-danger: #D64545;
    --color-info: #3182CE;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.10);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    --font-latin: 'Inter', sans-serif;
    --font-arabic: 'Noto Kufi Arabic', sans-serif;


}


/* ================================================= */
/* 2. Reset & Base                */
/* ================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-latin);
    line-height: 1.7;
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    -webkit-font-smoothing: antialiased;
}

/* Arabic overrides */
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
    font-family: var(--font-arabic);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-main);
}

p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}


/* ================================================= */
/* 3. Scrollbar                                      */
/* ================================================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

::selection {
    background: var(--color-secondary);
    color: #fff;
}


/* ================================================= */
/* 4. Bootstrap Overrides                            */
/* ================================================= */
.container {
    max-width: 1280px;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all var(--transition-base);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    box-shadow: 0 4px 12px rgba(10, 61, 98, 0.3);
}

.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all var(--transition-base);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    box-shadow: 0 4px 12px rgba(43, 157, 163, 0.3);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all var(--transition-base);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(10, 61, 98, 0.2);
}


/* ================================================= */
/* 5. Utilities                                      */
/* ================================================= */
.text-primary-custom {
    color: var(--color-primary) !important;
}

.text-secondary-custom {
    color: var(--color-secondary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-muted-custom {
    color: var(--color-text-muted) !important;
}

.bg-primary-custom {
    background-color: var(--color-primary) !important;
}

.bg-secondary-custom {
    background-color: var(--color-secondary) !important;
}

.bg-surface {
    background-color: var(--color-bg-surface) !important;
}

.bg-soft {
    background-color: var(--color-bg-soft) !important;
}

.shadow-custom-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-custom-md {
    box-shadow: var(--shadow-md);
}

.shadow-custom-lg {
    box-shadow: var(--shadow-lg);
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}


/* ================================================= */
/* 6. Scroll Reveal Animation                        */
/* ================================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ================================================= */
/* 7. Responsive                */
/* ================================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}


/* ================================================= */
/* 🎯 FLOATING NAVIGATION BAR                        */
/* ================================================= */
.floating-nav {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(10, 61, 98, 0.12),
    0 2px 8px rgba(10, 61, 98, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-left {
    display: flex;
    gap: 8px;
}

.nav-pill,
.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--color-text-main);
    background: transparent;
    border: none;
}

.nav-pill:hover {
    background: rgba(43, 157, 163, 0.1);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.lang-pill {
    background: linear-gradient(135deg, rgba(43, 157, 163, 0.1), rgba(10, 61, 98, 0.08));
    color: var(--color-primary);
    cursor: pointer;
}

.lang-pill:hover {
    background: linear-gradient(135deg, rgba(43, 157, 163, 0.15), rgba(10, 61, 98, 0.12));
    transform: translateY(-2px);
}

.lang-divider {
    opacity: 0.3;
    margin: 0 -4px;
}


/* ================================================= */
/* 💎 CLINIC HERO SECTION                            */
/* ================================================= */
.clinic-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

/* Animated Background Layers */
.hero-bg-animated {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-gradient-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    #f0f9ff 0%,
    #e0f2fe 25%,
    #dbeafe 50%,
    #e0e7ff 75%,
    #f3e8ff 100%);
    opacity: 0.9;
}

.bg-pattern-layer {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(43, 157, 163, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(10, 61, 98, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(197, 165, 114, 0.05) 0%, transparent 50%);
    opacity: 0.6;
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2B9DA3, #4DB8BD);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #0A3D62, #1565A8);
    bottom: -80px;
    right: -80px;
    animation-delay: 7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #C5A572, #D6BC8F);
    top: 50%;
    right: 10%;
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
    opacity: 0.4;
    animation: drift 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: var(--color-primary);
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 3s;
    background: var(--color-secondary);
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 6s;
    background: var(--color-accent);
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 9s;
    background: var(--color-primary-light);
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 12s;
    background: var(--color-secondary-light);
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(40px, -40px) scale(1.5);
        opacity: 0.1;
    }
}


/* ================================================= */
/* 🖼️ CLINIC IMAGE WRAPPER                          */
/* ================================================= */
.clinic-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: var(--radius-xl);
    opacity: 0.15;
    filter: blur(30px);
    z-index: 0;
}

.clinic-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(10, 61, 98, 0.2);
}

.image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(10, 61, 98, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

html[dir="rtl"] .image-badge {
    left: auto;
    right: 24px;
}


/* ================================================= */
/* 📝 CLINIC CONTENT                                 */
/* ================================================= */
.clinic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(43, 157, 163, 0.12), rgba(10, 61, 98, 0.1));
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(43, 157, 163, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-secondary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.clinic-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clinic-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    max-width: 560px;
}


/* ================================================= */
/* 📊 META CARDS                                     */
/* ================================================= */
.meta-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(10, 61, 98, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all var(--transition-base);
}

.meta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 61, 98, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.meta-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(43, 157, 163, 0.15), rgba(10, 61, 98, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.meta-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 3px;
    font-weight: 500;
}


/* ================================================= */
/* 🌊 HERO WAVE BOTTOM                               */
/* ================================================= */
.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave-bottom svg {
    width: 100%;
    height: 60px;
}


/* ================================================= */
/* 📱 RESPONSIVE                                     */
/* ================================================= */
@media (max-width: 991px) {
    .clinic-hero {
        padding-top: 140px;
        text-align: center;
    }

    .clinic-description {
        max-width: 100%;
    }

    .clinic-image {
        height: 380px;
    }

    .image-badge {
        left: 50%;
        transform: translateX(-50%);
    }

    html[dir="rtl"] .image-badge {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .floating-nav {
        width: calc(100% - 24px);
        top: 12px;
        padding: 10px 14px;
    }

    .nav-pill,
    .lang-pill {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .clinic-image {
        height: 280px;
    }
}


/* ================================================= */
/* 🌐 RTL SUPPORT                                    */
/* ================================================= */
html[dir="rtl"] .clinic-badge {
    letter-spacing: 0;
}

html[dir="rtl"] .meta-card {
    flex-direction: row-reverse;
    text-align: right;
}


/* ================================================= */
/* 👨‍⚕️ DOCTORS SECTION                                */
/* ================================================= */
.doctors-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg,
    rgba(43, 157, 163, 0.01) 0%,
    rgba(197, 165, 114, 0.05) 30%,
    rgba(255, 255, 255, 0.95) 70%,
    #ffffff 100%);
    position: relative;

}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Display Control */
.display-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.control-label {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.doctor-count-select {
    padding: 10px 20px;
    border: 2px solid rgba(43, 157, 163, 0.2);
    border-radius: var(--radius-lg);
    background: white;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    outline: none;
}

.doctor-count-select:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(43, 157, 163, 0.15);
}

.doctor-count-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(43, 157, 163, 0.1);
}

/* Doctors Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

/* Doctor Card */
.doctor-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 61, 98, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(43, 157, 163, 0.1);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 61, 98, 0.15);
    border-color: rgba(43, 157, 163, 0.3);
}

.doctor-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: linear-gradient(135deg, rgba(43, 157, 163, 0.1), rgba(197, 165, 114, 0.1));
}

.doctor-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
    transparent 0%,
    transparent 60%,
    rgba(10, 61, 98, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-card:hover .image-overlay {
    opacity: 1;
}

.doctor-info {
    padding: 24px 20px;
    text-align: center;
}

.doctor-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.doctor-card:hover .doctor-name {
    color: var(--color-secondary);
}

.doctor-specialty {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .doctors-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 24px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .doctors-section {
        padding: 60px 0 80px;
    }

    .doctors-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .doctor-info {
        padding: 18px 16px;
    }

    .doctor-name {
        font-size: 1.05rem;
    }

    .doctor-specialty {
        font-size: 0.85rem;
    }
}


/* ================================================= */
/* 🌊 WAVE DIVIDER                                   */
/* ================================================= */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: -1px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

@media (max-width: 768px) {
    .wave-divider {
        height: 50px;
    }

    .wave-divider svg {
        height: 50px;
    }
}


/* ================================================= */
/* 🌟 LUXURY UNIQUE FOOTER                         */
/* ================================================= */

.footer-lux {
    background: linear-gradient(135deg, #061121 0%, #0d284a 50%, #081e3a 100%);
    color: #cbd5e1;
    overflow: hidden;
    position: relative;
}

/* --- 🌊 Top SVG Wave --- */
.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-1px);
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-top .shape-fill {
    fill: #f8fafc;
}

/* --- 🎇 Footer Glowing Orbs --- */
.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.glow-left {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: -50px;
    left: -100px;
}

.glow-right {
    width: 400px;
    height: 400px;
    background: #0ea5e9;
    bottom: -150px;
    right: -150px;
}

/* --- Typography & Elements --- */
.footer-text {
    color: #94a3b8;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-logo-icon {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Social Buttons (Glassmorphism) --- */
.social-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.4);
}

/* --- Footer Links with Hover Animation --- */
.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-weight: 500;
}

.footer-links a::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: #38bdf8;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -12px;
}

/* --- Separator Line --- */
.border-bottom-lux {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* --- 👑 Davinci Signature --- */
.davinci-signature {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.davinci-signature::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #38bdf8, #c084fc);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.davinci-signature:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ================================================= */
/* 🌐 RTL SUPPORT FOR FOOTER                       */
/* ================================================= */
html[dir="rtl"] .custom-shape-divider-top {
    transform: rotateY(180deg) translateY(-1px);
}

html[dir="rtl"] .footer-logo-icon {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

html[dir="rtl"] .davinci-signature {
    margin-left: 0 !important;
    margin-right: 0.25rem !important;
}

html[dir="rtl"] .footer-links a:hover {
    transform: translateX(-8px);
}

html[dir="rtl"] .footer-links a::before {
    left: auto;
    right: -15px;
}

html[dir="rtl"] .footer-links a:hover::before {
    right: -12px;
    left: auto;
}