* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a3a5f;
    --dark-blue: #0f2537;
    --light-blue: #2a5a8a;
    --accent-color: #4A90E2;
    --light-accent: #6BA3E8;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #cccccc;
    --dark-gray: #666666;
    --text-dark: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.2);
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
    /* Prevent horizontal scroll across the site while keeping vertical scrolling intact */
    overflow-x: hidden;
}


.nav-right{

    display: flex;
    align-items: center;
    justify-content: center;
}


nav {    
   
    z-index: 1000;
    background-color: var(--dark-blue);
    color: var(--white);
}

.top-nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px var(--shadow);
}

.nav-body{
    

    height: 90px;

    text-align: center;
    align-items: center;
    justify-content: center;


}



.logo {
    width: 80px;
    height: auto;


}

.logo img {
    width: 100%;
    height: auto;
}


.nav-center{
    height: 100%;
    


}


.main-menu{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.main-menu ul {
    padding: 0;
    margin-bottom: 0;
    display: flex;
    list-style: none;
    align-items: center;
    font-size: 16px;
}


.menu li {
    list-style: none;
}


.main-menu a:hover,
.main-menu .current-menu-item > a {
    color: var(--accent-color);
}

.menu li a {
    text-decoration: none;
    color: var(--white);
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
    text-align: center;
}


.language-changer
{
    width: 50px;
}

.language-changer img {
    border-radius: 10px;

    width: 100%;
    height: auto;
}

.language-changer img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.nav-btn {
    color: var(--white);
    padding: 7px 12px;
}


.btn-define {
    
    border: solid 2px var(--white);
    color: var(--white);  ;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-define:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* Define Presence Modal */
.define-presence-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.define-presence-modal-content {
    background-color: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.define-presence-modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.define-presence-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.define-presence-close {
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.define-presence-close:hover {
    transform: rotate(90deg);
}

.define-presence-modal-body {
    padding: 30px 25px;
}

.define-presence-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.define-presence-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.define-presence-option:hover {
    border-color: var(--primary-blue);
    background-color: rgba(26, 58, 95, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.option-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.option-icon i {
    font-size: 24px;
    color: var(--white);
}

.option-content {
    flex: 1;
}

.option-content h4 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--light-blue);
}

.option-content p {
    margin: 0;
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .define-presence-modal-content {
        width: 95%;
        margin: 20px;
    }

    .define-presence-modal-header {
        padding: 18px 20px;
    }

    .define-presence-modal-header h3 {
        font-size: 20px;
    }

    .define-presence-modal-body {
        padding: 25px 20px;
    }

    .define-presence-option {
        padding: 16px;
    }

    .option-icon {
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }

    .option-icon i {
        font-size: 20px;
    }

    .option-content h4 {
        font-size: 18px;
    }

    .option-content p {
        font-size: 13px;
    }
}


.sign-in {
    background-color: var(--accent-color);
    -webkit-margin-start: 8px;
    color: var(--white);
}


.sign-in:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* Sign In Dropdown */
.sign-in-dropdown {
    position: relative;
    
    display: inline-block;
}

.sign-in-toggle {
    display: flex;
    align-items: center;
}

.dropdown-chevron {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.sign-in-dropdown.active .dropdown-chevron {
    transform: rotate(180deg);
}

.sign-in-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.sign-in-dropdown.active .sign-in-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sign-in-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--light-gray);
}

.sign-in-option:last-child {
    border-bottom: none;
}

.sign-in-option:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.sign-in-option i {
    color: var(--primary-blue);
    font-size: 14px;
    width: 18px;
    text-align: center;
}

/* RTL Support */
[dir="rtl"] .sign-in-menu {
    right: auto;
    left: 0;
}

/* Mobile Nav: Dropdown opens upward */
.mobile-nav .sign-in-menu {
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateY(10px);
    z-index: 1061;
}

.mobile-nav .sign-in-dropdown.active .sign-in-menu {
    transform: translateY(0);
}

.mobile-nav [dir="rtl"] .sign-in-menu {
    right: auto;
    left: 0;
}



.mobile-menu ul {
    flex-direction: column;
    cursor: pointer;
}


.mobile-toggle {
    display: none;
    color: var(--white);
    background: none;
    border: 0;
    padding: 0;
}


.mobile-toggle:hover{
    color: var(--accent-color);
    cursor: pointer;
    transition: color 0.3s ease;
}


/* mobile nav*/


.mobile-nav{
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 100%; /* Start off-screen to the right */
    /* Semi-transparent background so the blur is visible through */
    background-color: rgba(15, 37, 55, .9);
    /* Backdrop blur (behind the nav). Safari needs the prefixed property */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 1050; /* keep above page content */
    /* Smooth transition for slide-in/slide-out */
    transition: left 0.4s ease;
}

.mobile-nav.active {
    left: 0; /* Slide in from right */
}

.mobile-logo {
    width: 100px;
    height: auto;
    -webkit-margin-start: 40px;
}




.mobile-language-changer {
    width: 100px;
    -webkit-margin-end: 40px;
}

.mobile-nav-title {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}


.mobile-nav-bottom {
    flex: 1;
}

.mobile-logo-container {
    width: 130px;
}

.mobile-nav-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-close{
    color: var(--white);
    background-color: transparent;
    border: none;
}
.close-button:hover {
    color: var(--accent-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Mobile Nav Responsive Styles */
@media (max-width: 768px) {
    .mobile-logo {
        width: 80px;
        -webkit-margin-start: 20px;
    }
    
    .mobile-language-changer {
        width: 80px;
        -webkit-margin-end: 20px;
    }
    
    .mobile-logo-container {
        width: 110px;
    }
    
    .mobile-nav-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    /* Stack buttons vertically with full width */
    .mobile-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
        width: 100%;
        padding: 0 20px;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-actions .btn-define,
    .mobile-actions .sign-in-dropdown {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto !important;
        display: block;
    }
    
    .mobile-actions .btn-define,
    .mobile-actions .sign-in {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 10px 16px;
        font-size: 0.95rem;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        width: 70px;
        -webkit-margin-start: 15px;
    }
    
    .mobile-language-changer {
        width: 70px;
        -webkit-margin-end: 15px;
    }
    
    .mobile-logo-container {
        width: 100px;
    }
    
    .mobile-nav-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .mobile-actions {
        padding: 0 15px;
    }
    
    .mobile-actions .btn-define,
    .mobile-actions .sign-in-dropdown {
        margin: 0 auto !important;
    }
    
    .mobile-actions .btn-define,
    .mobile-actions .sign-in {
        padding: 8px 14px;
        font-size: 0.85rem;
        width: 100% !important;
        margin: 0 auto !important;
    }
}
    
    
    















/* Footer */
.site-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-brand a {
    color: var(--white);
    text-decoration: none;
}
.site-footer .footer-brand a:hover {
    color: var(--accent-color);
}


.site-footer .footer-top {
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
}

.site-footer .footer-logo img {
    width: 44px;
    height: auto;
}

.site-footer .footer-logo span {
    font-size: 1rem;
}

.site-footer .footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
}

.site-footer .footer-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-menu .current-menu-item > a {
    color: var(--accent-color);
}

.site-footer .footer-actions {
    min-width: 0;
}

.site-footer .footer-action-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .get-in-touch{
    text-align: center;
}

.site-footer .footer-buttons .get-in-touch {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.9rem;
}

.site-footer .footer-buttons .get-in-touch:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--white);
}



.site-footer .footer-buttons .sign-in {
    min-width: 96px;
    padding: 7px 14px;
    font-size: 0.85rem;

}

.site-footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
    margin: 20px 0;
}

.site-footer .footer-copy {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-developer-credit {
    margin-top: 8px;
}

.site-footer .footer-developer-credit small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer .footer-developer-credit a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-developer-credit a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.site-footer .footer-to-top-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-to-top-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.site-footer .footer-bottom {
    text-align: center;
}

.site-footer .footer-bottom .footer-to-top-icon {
    margin: 0 auto;
}


@media (max-width: 1350px) {
    .nav-right{
        display: none;
    }
    .nav-center{
        flex: 1;
    }
    .mobile-toggle {
        
        display: flex;
    }
}


@media (max-width: 1100px){
    .nav-center , .language-changer-desktop{
        display: none;
    }

    

    
    
   
}

@media (max-width: 1200px) {
    .site-footer {
        text-align: center;
    }

    .site-footer .footer-buttons .get-in-touch, .footer-sign-in {
        margin:  5px 5px !important;
    }

}

@media (max-width: 767.98px) {
    .nav-btn {
        margin-top: 15px;
    }

}

/* WhatsApp Floating Action Container */
.whatsapp-floating-container {
    position: fixed;
    bottom: 60px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse; /* Reverse order so buttons appear above */
    align-items: center;
    gap: 12px;
}

/* Main WhatsApp Button (Trigger) */
.whatsapp-floating-action.whatsapp-main-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: whatsapp-pulse 2s infinite;
    overflow: hidden;
}

.whatsapp-floating-action.whatsapp-main-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-action.whatsapp-main-btn:active {
    transform: scale(0.95) rotate(90deg);
}

.whatsapp-floating-action.whatsapp-main-btn i {
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-floating-action.whatsapp-main-btn .whatsapp-close-icon {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-floating-container.active .whatsapp-main-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    animation: none;
}

.whatsapp-floating-container.active .whatsapp-main-btn i.fa-whatsapp {
    opacity: 0;
    transform: rotate(-90deg);
}

.whatsapp-floating-container.active .whatsapp-main-btn .whatsapp-close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Action Buttons (Chat and Call) */
.whatsapp-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(-20px) scale(0.5); /* Negative translateY to go UP */
    pointer-events: none;
    position: relative;
}

.whatsapp-floating-container.active .whatsapp-action-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.whatsapp-action-btn i {
    line-height: 1;
    transition: transform 0.3s ease;
}

/* WhatsApp Chat Button */
.whatsapp-chat-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    order: 2; /* Changed order for reverse column */
    transition-delay: 0.1s;
}

.whatsapp-chat-btn:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-chat-btn:hover i {
    transform: scale(1.2);
}

.whatsapp-floating-container.active .whatsapp-chat-btn {
    transition-delay: 0.1s;
}

/* Phone Call Button */
.whatsapp-call-btn {
    background: linear-gradient(135deg, #1a3a5f 0%, #2a5a8a 100%);
    order: 1; /* Changed order for reverse column */
    transition-delay: 0.2s;
}

.whatsapp-call-btn:hover {
    background: linear-gradient(135deg, #2a5a8a 0%, #3a6a9a 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 58, 95, 0.5);
}

.whatsapp-call-btn:hover i {
    transform: scale(1.2) rotate(15deg);
}

.whatsapp-floating-container.active .whatsapp-call-btn {
    transition-delay: 0.2s;
}

/* Tooltip on hover - Show on RIGHT side */
.whatsapp-action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px); /* Changed from right to left */
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

.whatsapp-action-btn::before {
    content: '';
    position: absolute;
    left: calc(100% + 6px); /* Changed from right to left */
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: rgba(0, 0, 0, 0.85); /* Changed from border-left to border-right */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-action-btn:hover::after,
.whatsapp-action-btn:hover::before {
    opacity: 1;
}

/* Pulse animation for main button */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* RTL Support - Position on right side for Arabic pages */
[dir="rtl"] .whatsapp-floating-container {
    left: auto;
    right: 20px;
}

[dir="rtl"] .whatsapp-action-btn::after {
    left: auto;
    right: calc(100% + 12px); /* RTL: show tooltip on left side */
}

[dir="rtl"] .whatsapp-action-btn::before {
    left: auto;
    right: calc(100% + 6px); /* RTL: show tooltip arrow on left side */
    border-right-color: transparent;
    border-left-color: rgba(0, 0, 0, 0.85);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-floating-container {
        bottom: 16px;
        left: 16px;
    }
    
    [dir="rtl"] .whatsapp-floating-container {
        left: auto;
        right: 16px;
    }
    
    .whatsapp-floating-action.whatsapp-main-btn {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    
    .whatsapp-action-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-floating-container {
        bottom: 12px;
        left: 12px;
    }
    
    [dir="rtl"] .whatsapp-floating-container {
        left: auto;
        right: 12px;
    }
    
    .whatsapp-floating-action.whatsapp-main-btn {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    
    .whatsapp-action-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
    .whatsapp-action-btn::after {
        font-size: 12px;
        padding: 6px 10px;
    }
}




.footer-map-wrapper {
    width: 100%;
    height: 350px; /* adjust height */
    margin-bottom: 0;
}

.footer-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

