@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-fade-in.delay-200 {
    animation-delay: 0.2s;
}

#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.opacity-100 {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#mobile-menu.opacity-0 {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Fix scroll-animate/hover conflict: separate scroll-in transitions */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: none !important;
}

.scroll-animate.from-right {
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.in-view.from-right {
    transform: none;
}

.scroll-animate.from-left {
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.in-view.from-left {
    transform: none;
}

.scroll-animate.from-bottom {
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.in-view.from-bottom {
    transform: none;
}

body,
.font-sans {
    font-family: 'Cairo', 'Noto Kufi Arabic', Tahoma, Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', 'Noto Kufi Arabic', Tahoma, Arial, sans-serif !important;
}


.header {
    background-image: url(./images/background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.layer {
    background-color: rgba(0, 0, 0, 0.384);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    width: 100%;
    height: 100%;

}

.side-head::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #fde047;
    margin-top: 0.5rem !important;
    margin: 0 auto;
}

/* Enhanced footer contact block style */
.footer-contact-block {
    background: linear-gradient(135deg, #232946 80%, #1e293b 100%);
    box-shadow: 0 6px 32px 0 rgba(30, 41, 59, 0.18), 0 1.5px 6px 0 rgba(30, 41, 59, 0.10);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 768px) {
    .header {
        background-image: url(./images/real1.jpg);
    }
}

@media (min-width: 768px) {
    .footer-contact-block {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: right;
    }
}

.footer-contact-block .contact-title {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.footer-contact-block .contact-value {
    font-weight: bold;
    font-size: 1.25rem;
    color: #fff;
    transition: color 0.2s;
}

.footer-contact-block .contact-value a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-block .contact-value a:hover {
    color: #fde047;
}

.footer-contact-block .icon {
    background: #1e293b;
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Global hover text color for all links and interactive text */
a:hover,
.hover\:text-yellow-300:hover,
.hover\:text-yellow-400:hover,
.hover\:text-yellow-500:hover {
    color: #fde047 !important;
    /* Tailwind yellow-400 */
    transition: color 0.2s;
}

button:hover,
.hover\:text-yellow-300:hover,
.hover\:text-yellow-400:hover,
.hover\:text-yellow-500:hover {
    color: #fde047 !important;
}

/* ... existing code ... */
#testimonial-slider {
    /* Ensure flex children do not shrink and allow proper sliding */
    display: flex;
    flex-wrap: nowrap;
}

#testimonial-slider>div {
    flex-shrink: 0;
}

/* Optional: Hide scrollbar for slider */
#testimonial-slider::-webkit-scrollbar {
    display: none;
}

/* Enhance Flowbite carousel slider buttons */
#testimonial-carousel [data-carousel-prev],
#testimonial-carousel [data-carousel-next] {
    box-shadow: 0 4px 24px 0 rgba(30, 64, 175, 0.15);
    border: none;
    outline: none;
    transition: background 0.2s, transform 0.2s;
}

#testimonial-carousel [data-carousel-prev]:hover,
#testimonial-carousel [data-carousel-next]:hover {
    background: #1e40af !important;
    color: #fff !important;
    transform: scale(1.1);
}

#testimonial-carousel [data-carousel-prev]:focus,
#testimonial-carousel [data-carousel-next]:focus {
    box-shadow: 0 0 0 4px #60a5fa44;
}

/* General style polish */
body,
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

input,
textarea,
select,
button {
    font-family: inherit;
}

/* Floating Action Buttons (FAB) */
.fixed-action-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    background: #fff;
    transition: transform 0.15s, box-shadow 0.15s;
    border: none;
    cursor: pointer;
}

.fab-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.fab-call {
    background: #fde047;
    /* yellow-300 */
    color: #1e293b;
    border: 2px solid #fbbf24;
}

.fab-whatsapp {
    background: #25D366;
    color: #fff;
    border: 2px solid #22c55e;
}

.fab-top {
    position: fixed;
    left: 24px;
    bottom: 24px;
    background: #2563eb;
    color: #fff;
    border: 2px solid #1e40af;
    z-index: 9999;
}

.fab-top:hover {
    background: #1e40af;
    color: #fff;
}

.fab-btn img,
.fab-btn svg {
    width: 28px;
    height: 28px;
    display: block;
}

@media (max-width: 600px) {
    .fixed-action-buttons {
        bottom: 16px;
        right: 12px;
        gap: 12px;
    }

    .fab-btn {
        width: 44px;
        height: 44px;
    }

    .fab-btn img,
    .fab-btn svg {
        width: 22px;
        height: 22px;
    }

    .fab-top {
        left: 12px;
        bottom: 16px;
    }
}