/* Custom styles to complement Tailwind */
.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Custom button styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form input focus styles */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Responsive iframe for videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#whatsapp-options.show {
    display: block;
    transform: scale(1);
    opacity: 1;
  }
  
  #whatsapp-widget:hover #whatsapp-notification {
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  
  #whatsapp-toggle {
    animation: pulse 2s infinite;
  }
  
  #whatsapp-widget:hover #whatsapp-toggle {
    animation: none;
  }

  
  @keyframes rainbow {
    0% {
      background-position: 0%;
    }
    100% {
      background-position: 200%;
    }
  }
  .animateRainbow {
    animation: rainbow 2s linear infinite;
  }
  .rainbow-btn::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    z-index: 0;
    height: 20%;
    width: 60%;
    transform: translateX(-50%);
    animation: rainbow 2s linear infinite;
    filter: blur(calc(0.8*1rem));
    background: linear-gradient(90deg,hsl(0,100%,63%),hsl(90,100%,63%),hsl(210,100%,63%),hsl(195,100%,63%),hsl(270,100%,63%));
    background-size: 200%;
  }
/* .rtl-overlay {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
} */
.rtl-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%, rgba(0, 0, 0, 0.2) 100%, transparent 100%);
}

.bg-navy{
    background-color: #010e2e;
}
.bg-secondary{
    background-color: #011d69;
}
nav{
    position: sticky;
    top: 0;
    z-index: 999;
}
.text-primary{
    color: #011d69;
}
.border-primary{
    border-color: #011d69;
}
.text-secondary{
    color: #badeff;
}

.bg-primary{
    background-color: #badeff;
}
.index-module_editable__R1JUu {
    position: relative;
}

@keyframes gradient {
    0% {
    background-position: 0% 50%;
    }

    50% {
    background-position: 100% 50%;
    }

    100% {
    background-position: 0% 50%;
    }
}
.dashed {
    height: 1px;
    background-image: linear-gradient(to right,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.15) 33.33%,
        transparent 33.33%,
        transparent 100%);
    background-repeat: repeat-x;
    background-size: 6px 2px;
    border-radius: 1px;
    }

    .solid {
    border-style: solid;
    border-top-width: 1px;
    }

    .dotted {
    height: 1px;
    background-image: linear-gradient(to right,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 100%);
    background-repeat: repeat-x;
    background-size: 5px 1px;
    }
    .community-btn:hover{
        background-color: #011d69 !important;
        color: #fff !important;
    }

    
    .demo-content {
        max-width: 800px;
        margin: 0 auto;
        background: white;
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        margin-bottom: 100px;
    }

    /* Cookie Consent Banner */
    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #011d69;
        color: white;
        padding: 20px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        z-index: 1000;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cookie-banner.show {
        transform: translateY(0);
    }

    .cookie-banner-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .cookie-banner-text {
        flex: 1;
        min-width: 300px;
    }

    .cookie-banner h3 {
        margin-bottom: 8px;
        font-size: 18px;
        font-weight: 600;
    }

    .cookie-banner p {
        opacity: 0.9;
        font-size: 14px;
    }

    .cookie-banner-buttons {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .btn {
        padding: 12px 24px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.2s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }

    .btn-primary {
        background: white;
        color: #011d69;
    }

    .btn-primary:hover {
        background: #f8f9ff;
        transform: translateY(-1px);
    }

    .btn-secondary {
        background: transparent;
        color: white;
        border: 1px solid rgba(255,255,255,0.3);
    }

    .btn-secondary:hover {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.5);
    }

    .btn-text {
        background: transparent;
        color: rgba(255,255,255,0.8);
        padding: 12px 16px;
    }

    .btn-text:hover {
        color: white;
    }

    /* Cookie Preferences Modal */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .modal {
        background: white;
        border-radius: 16px;
        max-width: 600px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        transform: scale(0.9);
        transition: transform 0.3s ease;
    }

    .modal-overlay.show .modal {
        transform: scale(1);
    }

    .modal-header {
        padding: 24px 24px 0;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 24px;
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
    }

    .modal-header h2 {
        font-size: 24px;
        color: #1f2937;
        margin-bottom: 8px;
    }

    .modal-header p {
        color: #6b7280;
        font-size: 14px;
        margin-bottom: 16px;
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #6b7280;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .modal-close:hover {
        background: #f3f4f6;
        color: #1f2937;
    }

    .modal-body {
        padding: 0 24px 24px;
    }

    .cookie-category {
        margin-bottom: 24px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.2s ease;
    }

    .cookie-category:hover {
        border-color: #d1d5db;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .category-header {
        padding: 20px;
        background: #f9fafb;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .category-info h3 {
        font-size: 16px;
        color: #1f2937;
        margin-bottom: 4px;
    }

    .category-info p {
        font-size: 14px;
        color: #6b7280;
    }

    .toggle-switch {
        position: relative;
        width: 48px;
        height: 24px;
    }

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #d1d5db;
        transition: 0.3s;
        border-radius: 24px;
    }

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    input:checked + .toggle-slider {
        background-color: #011d69;
    }

    input:checked + .toggle-slider:before {
        transform: translateX(24px);
    }

    input:disabled + .toggle-slider {
        background-color: #9ca3af;
        cursor: not-allowed;
    }

    .category-details {
        padding: 0 20px 20px;
        color: #4b5563;
        font-size: 14px;
        line-height: 1.5;
        border-top: 1px solid #e5e7eb;
        background: white;
    }

    .modal-footer {
        padding: 20px 24px;
        border-top: 1px solid #e5e7eb;
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        position: sticky;
        bottom: 0;
        background: white;
    }

    .manage-cookies-btn {
        position: fixed;
        bottom: 20px;
        left: 20px;
        background: #011d69;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        transition: all 0.2s ease;
        z-index: 999;
    }

    .manage-cookies-btn:hover {
        background: #011d69;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    @media (max-width: 768px) {
        .cookie-banner-content {
            flex-direction: column;
            text-align: center;
        }

        .cookie-banner-buttons {
            justify-content: center;
            width: 100%;
        }

        .modal {
            width: 95%;
            margin: 20px;
        }

        .modal-footer {
            flex-direction: column;
        }
    }

    /* Service Card Hover Effects */
    .group .absolute.inset-0.bg-black {
        transition: opacity 0.3s ease-in-out;
    }

    .group:hover .absolute.inset-0.bg-black {
        opacity: 0.7 !important; /* Override inline style */
    }

    .group .absolute.inset-0 span {
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    }

    .group:hover .absolute.inset-0 span {
        opacity: 1 !important; /* Override inline style */
        filter: blur(0) !important; /* Override inline style */
        transform: translateY(0) translateZ(0) !important; /* Override inline style */
    }
.services-section .TEXT-LINK{
    cursor: none !important;
}

.bg-hover{
    background-color: #010e2e !important;
}

.aspect-phone{
    max-height: 600px;
    height: 100%
}