/* Sigal Medical Center Custom Styles */

/* Rich Content Styles - for formatted text from admin */
.rich-content {
    line-height: 1.8;
}
.rich-content p {
    margin-bottom: 0.8em;
}
.rich-content p:last-child {
    margin-bottom: 0;
}
.rich-content ul, .rich-content ol {
    padding-right: 25px;
    padding-left: 0;
    margin-bottom: 0.8em;
}
.rich-content li {
    margin-bottom: 0.4em;
}
.rich-content strong, .rich-content b {
    font-weight: 700;
    color: #213e7b;
}
.rich-content em, .rich-content i:not(.fas):not(.far):not(.fab) {
    font-style: italic;
}
.rich-content u {
    text-decoration: underline;
}
.rich-content s {
    text-decoration: line-through;
}
.rich-content .ql-align-center {
    text-align: center;
}
.rich-content .ql-align-right {
    text-align: right;
}
.rich-content .ql-align-left {
    text-align: left;
}
.rich-content .ql-align-justify {
    text-align: justify;
}

/* Arabic Font Import */
@font-face {
    font-family: 'Bahij TheSansArabic';
    src: url('../fonts/Bahij_TheSansArabic-Plain.ttf') format('truetype');
    font-weight: 400;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bahij TheSansArabic';
    src: url('../fonts/Bahij_TheSansArabic-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bahij TheSansArabic';
    src: url('../fonts/Bahij_TheSansArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Root Variables - Brand Colors */
:root {
    /* Primary Colors */
    --sigal-primary-dark: #213e7b;
    --sigal-primary-cyan: #00afdd;
    
    /* Secondary Colors */
    --sigal-gray: #6c7b7c;
    --sigal-green: #00afdd;
    --sigal-teal: #009ba6;
    --sigal-blue: #166589;
    --sigal-purple: #aa95c7;
    --sigal-light-teal: #60a2aa;
    
    /* Text Colors */
    --sigal-text-dark: #2c3e50;
    --sigal-text-light: #6c757d;
    
    /* Background */
    --sigal-bg-light: #f8f9fa;
}

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

body {
    font-family: 'Bahij TheSansArabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--sigal-text-dark);
}

/* RTL Support */
body[dir="rtl"] {
    text-align: right;
}

body[dir="ltr"] {
    text-align: left;
}

/* Smooth Transitions */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.language-switcher button {
    background: var(--sigal-primary-cyan);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Bahij TheSansArabic', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 175, 221, 0.3);
}

.language-switcher button:hover {
    background: var(--sigal-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 62, 123, 0.4);
}

/* Navbar */
.navbar-sigal {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Sigal Logo in Navbar - Mobile First */
.sigal-logo {
    height: 85px;
    width: auto;
    transition: all 0.3s ease;
    /* Remove white filter for white navbar */
    filter: none;
}

@media (min-width: 768px) {
    .sigal-logo {
        height: 100px;
    }
}

.sigal-logo:hover {
    transform: scale(1.05);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--sigal-primary-dark) !important;
}

/* Mobile First - Nav Links */
.navbar-nav .nav-link {
    color: var(--sigal-primary-dark) !important;
    font-weight: 500;
    margin: 0;
    padding: 12px 15px;
    transition: all 0.3s ease;
    display: block;
    /* Touch-friendly */
    min-height: 44px;
    min-width: 44px;
}

/* Mobile Menu Background */
@media (max-width: 991px) {
    .navbar-collapse {
        background: linear-gradient(135deg, #213e7b 0%, #1a3260 100%);
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav .nav-link {
        color: white !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        background: rgba(0, 175, 221, 0.3);
        color: white !important;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link.btn-appointment {
        background: linear-gradient(135deg, #00afdd 0%, #00c6ff 100%) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .navbar-nav .nav-link.language-toggle {
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
    }
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        margin: 0 10px;
        padding: 8px 15px;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--sigal-primary-cyan) !important;
    transform: translateY(-2px);
    background: rgba(0, 175, 221, 0.05);
    border-radius: 8px;
}

/* Hero Section */
/* Mobile First */
.hero-section {
    background: linear-gradient(135deg, var(--sigal-primary-dark) 0%, var(--sigal-blue) 50%, var(--sigal-teal) 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Mobile First - Default (Mobile) */
.hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease;
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile First */
.btn-sigal-primary {
    background: var(--sigal-primary-cyan);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 175, 221, 0.3);
    width: 100%;
    margin-bottom: 10px;
}

/* Tablet and up */
@media (min-width: 768px) {
    .btn-sigal-primary {
        padding: 12px 35px;
        font-size: 1.1rem;
        width: auto;
        margin-bottom: 0;
    }
}

.btn-sigal-primary:hover {
    background: var(--sigal-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 175, 221, 0.4);
    color: white;
}

.btn-sigal-secondary {
    background: transparent;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    border: 2px solid white;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

/* Services Section - Mobile First */
.services-section {
    padding: 50px 0;
    background: var(--sigal-bg-light);
}

@media (min-width: 768px) {
    .services-section {
        padding: 80px 0;
    }
}

.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--sigal-primary-dark);
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--sigal-primary-cyan), var(--sigal-green));
    border-radius: 2px;
}

/* Mobile First - Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 2px solid transparent;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .service-card {
        padding: 40px 30px;
        margin-bottom: 0;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--sigal-primary-cyan);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card.card-1 .service-icon {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
}

.service-card.card-2 .service-icon {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
}

.service-card.card-3 .service-icon {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
}

.service-card.card-4 .service-icon {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
}

.service-card h3 {
    color: var(--sigal-primary-dark);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--sigal-text-light);
    line-height: 1.8;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 80px 0;
    background: white;
}

.vision-mission-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--sigal-primary-cyan), var(--sigal-green));
    transition: height 0.4s ease;
}

.vision-mission-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.vision-card {
    border-color: rgba(0, 175, 221, 0.3);
}

.vision-card:hover {
    border-color: var(--sigal-primary-cyan);
}

.mission-card {
    border-color: rgba(60, 184, 116, 0.3);
}

.mission-card:hover {
    border-color: var(--sigal-green);
}

.vision-mission-card .icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.vision-card .icon-wrapper {
    background: linear-gradient(135deg, var(--sigal-primary-cyan), var(--sigal-teal));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 175, 221, 0.3);
}

.mission-card .icon-wrapper {
    background: linear-gradient(135deg, var(--sigal-green), var(--sigal-teal));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 175, 221, 0.3);
}

.vision-mission-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

.vision-mission-card h3 {
    color: var(--sigal-primary-dark);
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.vision-mission-card p {
    color: var(--sigal-text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* About Section - Mobile First */
.about-section {
    padding: 50px 0;
    background: var(--sigal-bg-light);
}

@media (min-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.about-content h2 {
    color: var(--sigal-primary-dark);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--sigal-text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    color: var(--sigal-text-dark);
    font-weight: 500;
}

.feature-list li i {
    color: var(--sigal-green);
    margin-left: 10px;
    font-size: 1.2rem;
}

[dir="ltr"] .feature-list li i {
    margin-left: 0;
    margin-right: 10px;
}

/* Contact Section - Mobile First */
.contact-section {
    padding: 50px 0;
    background: white;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 80px 0;
        background: linear-gradient(135deg, var(--sigal-bg-light) 0%, white 100%);
    }
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 20px;
    font-family: 'Bahij TheSansArabic', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--sigal-primary-cyan);
    box-shadow: 0 0 0 0.2rem rgba(0, 175, 221, 0.15);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--sigal-primary-dark), var(--sigal-blue));
    color: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Phone Links Styling */
.contact-info-card a[href^="tel:"],
a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info-card a[href^="tel:"]:hover {
    color: var(--sigal-primary-cyan);
    transform: translateX(-3px);
}

a[href^="tel:"]:hover {
    color: var(--sigal-primary-cyan);
    text-decoration: underline;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--sigal-primary-cyan);
    margin-bottom: 10px;
}

.contact-info-item h4 {
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info-item p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Social Media Section */
.social-media-section {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.social-media-section h3 {
    color: var(--sigal-primary-dark);
    font-weight: bold;
    font-size: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.social-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4, #5851DB);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.social-icon.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877F2, #0d65d9);
}

/* Tablet and up */
@media (min-width: 768px) {
    .social-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .social-icons {
        gap: 15px;
    }
}

/* Branches Section */
.branches-section {
    padding: 80px 0;
    background: var(--sigal-bg-light);
}

.branch-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--sigal-primary-cyan);
}

.branch-header {
    flex-direction: column;
    text-align: center;
}

.branch-actions {
    flex-direction: column;
    gap: 10px;
}

.branch-actions .btn {
    width: 100%;
    margin: 0;
}

/* Tablet and up */
@media (min-width: 768px) {
    .branch-header {
        flex-direction: row;
        text-align: right;
    }
    
    .branch-actions {
        flex-direction: row;
        gap: 15px;
    }
    
    .branch-actions .btn {
        width: auto;
    }
}

.branch-name {
    font-size: 1.5rem;
    color: var(--sigal-primary-dark);
    margin: 0;
    font-weight: bold;
}

.branch-name .name-en {
    font-size: 0.9rem;
    margin-top: 5px;
}

.branch-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.detail-item:hover {
    background: var(--sigal-bg-light);
}

.detail-item i {
    width: 30px;
    font-size: 1.2rem;
    color: var(--sigal-primary-cyan);
    margin-left: 10px;
    flex-shrink: 0;
}

[dir="ltr"] .detail-item i {
    margin-left: 0;
    margin-right: 10px;
}

.detail-item a {
    color: var(--sigal-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--sigal-primary-cyan);
}

/* Google Maps Container */
.map-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#branchesMap {
    width: 100%;
    height: 400px;
    border-radius: 20px;
}

/* Tablet and up */
@media (min-width: 768px) {
    #branchesMap {
        height: 500px;
    }
}

/* Footer */
.footer {
    background: var(--sigal-primary-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer a[href^="tel:"] {
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer a[href^="tel:"]:hover {
    color: var(--sigal-primary-cyan);
    transform: translateX(-3px);
}

[dir="ltr"] .footer a[href^="tel:"]:hover {
    transform: translateX(3px);
}

/* Footer Logo */
.footer-logo {
    height: auto;
    width: 100%;
    max-width: 390px;
    margin-right: 20px;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--sigal-primary-cyan);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--sigal-primary-cyan);
    transform: translateY(-3px);
}

/* Responsive Design */
/* Already handled with Mobile First approach above */

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
/* Mobile First - Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--sigal-primary-cyan);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 175, 221, 0.3);
    /* Touch-friendly */
    min-width: 44px;
    min-height: 44px;
}

@media (min-width: 768px) {
    .scroll-to-top {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
    }
}

.scroll-to-top:hover {
    background: var(--sigal-primary-dark);
    transform: translateY(-5px);
}

.scroll-to-top.show {
    display: flex;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 998;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    color: white;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

/* Mobile - Adjust position */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

/* RTL Support */
[dir="ltr"] .whatsapp-float {
    right: auto;
    left: 20px;
}

[dir="ltr"] .whatsapp-float:hover {
    transform: scale(1.1) rotate(-5deg);
}

[dir="rtl"] .whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* ==============================================
   Modern Footer Styles V2 - Professional Layout
   ============================================== */

.footer-modern {
    position: relative;
    background: white;
    color: var(--sigal-primary-dark);
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* CTA Cards */
.footer-cta-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.footer-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 175, 221, 0.2);
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.cta-icon.call {
    background: linear-gradient(135deg, #00afdd 0%, #00c6ff 100%);
    color: white;
}

.cta-icon.email {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.cta-icon.location {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.footer-cta-card h5 {
    color: #213e7b;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cta-link {
    color: #213e7b;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #00afdd;
}

.cta-subtitle {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

/* Brand Section */
.footer-brand-section {
    padding: 20px 0;
}

.footer-logo-center {
    max-width: 220px;
    filter: none;
    margin: 0 auto;
}

.footer-slogan-center {
    display: inline-block;
    background: linear-gradient(135deg, rgba(33, 62, 123, 0.05) 0%, rgba(0, 175, 221, 0.05) 100%);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 175, 221, 0.2);
}

.footer-slogan-center span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sigal-primary-dark);
}

.footer-brand-description {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section Titles */
.footer-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--sigal-primary-dark);
    position: relative;
    padding-bottom: 10px;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00afdd 0%, transparent 100%);
    border-radius: 2px;
}

/* Links List */
.footer-links-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-list li a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    transition: all 0.3s ease;
}

.footer-links-list li a i {
    font-size: 0.7rem;
    opacity: 0.7;
    color: var(--sigal-primary-cyan);
}

.footer-links-list li a:hover {
    color: var(--sigal-primary-cyan);
    padding-right: 5px;
}

/* Contact List */
.footer-contact-list li {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.footer-contact-list li i {
    color: #00afdd;
    font-size: 1rem;
    width: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-list li a,
.footer-contact-list li span {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* Social Compact */
.footer-social-compact {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon.twitter {
    background: rgba(29, 161, 242, 0.2);
    color: #1DA1F2;
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.social-icon.instagram {
    background: rgba(225, 48, 108, 0.2);
    color: #E1306C;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.snapchat {
    background: rgba(255, 252, 0, 0.2);
    color: #FFFC00;
}

.social-icon.snapchat:hover {
    background: #FFFC00;
    color: black;
}

.social-icon.whatsapp {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
}

.social-icon.whatsapp:hover {
    background: #25D366;
    color: white;
}

/* Wave Divider */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    display: none;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: white;
}

/* Footer Content */
.footer-content {
    position: relative;
    padding: 60px 0 30px;
    background: white;
}

/* Footer Logo */
.footer-logo-new {
    max-width: 200px;
    filter: none;
    transition: transform 0.3s ease;
}

.footer-logo-new:hover {
    transform: scale(1.05);
}

/* Footer About */
.footer-about {
    animation: fadeInUp 0.6s ease;
}

.footer-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-slogan {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 175, 221, 0.05);
    padding: 12px 18px;
    border-radius: 10px;
    border-right: 4px solid var(--sigal-primary-cyan);
}

.footer-slogan i {
    font-size: 1.3rem;
    color: var(--sigal-primary-cyan);
}

.footer-slogan span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sigal-primary-dark);
}

/* Footer Titles */
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    color: var(--sigal-primary-dark);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--sigal-primary-cyan) 0%, transparent 100%);
    border-radius: 2px;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.footer-menu li:hover {
    transform: translateX(-5px);
}

.footer-menu li a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-menu li a i {
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-menu li:hover a {
    color: var(--sigal-primary-cyan);
    padding-right: 8px;
}

.footer-menu li:hover a i {
    opacity: 1;
}

/* Contact Info */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.contact-info li:hover {
    transform: translateX(-5px);
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info li:hover .contact-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(5deg);
}

.contact-icon i {
    color: white;
    font-size: 1rem;
}

.contact-text {
    color: #6c757d;
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-text a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--sigal-primary-cyan);
}

.contact-text a:hover {
    color: var(--sigal-primary-cyan);
}

/* Footer CTA Button */
.footer-cta-btn {
    display: inline-block;
    background: white;
    color: var(--sigal-primary-dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-cta-btn:hover {
    background: var(--sigal-primary-cyan);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 175, 221, 0.4);
}

/* Social Links */
.footer-social h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link.twitter {
    background: rgba(29, 161, 242, 0.2);
    color: #1DA1F2;
}

.social-link.twitter:hover {
    background: #1DA1F2;
    color: white;
    transform: translateY(-5px) rotate(5deg);
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.2);
    color: #E1306C;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    transform: translateY(-5px) rotate(-5deg);
}

.social-link.snapchat {
    background: rgba(255, 252, 0, 0.2);
    color: #FFFC00;
}

.social-link.snapchat:hover {
    background: #FFFC00;
    color: black;
    transform: translateY(-5px) rotate(5deg);
}

.social-link.whatsapp {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
}

.social-link.whatsapp:hover {
    background: #25D366;
    color: white;
    transform: translateY(-5px) rotate(-5deg);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-bottom p {
    color: #6c757d;
    font-size: 0.85rem;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links-bottom a:hover {
    color: var(--sigal-primary-cyan);
}

.footer-links-bottom .separator {
    color: rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links-bottom a:hover {
    color: white;
}

.footer-links-bottom .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-content {
        padding: 50px 0 25px;
    }
    
    .footer-cta-card {
        margin-bottom: 20px;
    }
    
    .footer-section-title {
        font-size: 1.05rem;
    }
    
    .footer-wave svg {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 20px;
    }
    
    .footer-cta-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer-cta-card h5 {
        font-size: 1rem;
    }
    
    .cta-link {
        font-size: 0.95rem;
    }
    
    .footer-divider {
        margin: 30px 0;
    }
    
    .footer-logo-center {
        max-width: 180px;
    }
    
    .footer-slogan-center {
        padding: 8px 20px;
    }
    
    .footer-slogan-center span {
        font-size: 0.85rem;
    }
    
    .footer-brand-description {
        font-size: 0.85rem;
    }
    
    .footer-brand-section {
        margin-bottom: 30px !important;
    }
    
    .footer-section-title {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-section-title::after {
        right: 50%;
        transform: translateX(50%);
        width: 35px;
    }
    
    .footer-links-list,
    .footer-contact-list {
        text-align: center;
    }
    
    .footer-links-list li a {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .footer-contact-list li {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .footer-social-compact {
        justify-content: center;
        gap: 8px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-links-bottom {
        gap: 10px;
    }
    
    .footer-links-bottom a {
        font-size: 0.8rem;
    }
    
    .footer-wave svg {
        height: 30px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
