/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a2e; /* Deep charcoal/dark blue */
    color: #e0e0e0; /* Light grey for primary text */
    direction: rtl; /* Right-to-left for Arabic */
    text-align: right; /* Default text alignment for Arabic */
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff; /* White for headings */
    text-align: right; /* Ensure headings are right-aligned */
}

p {
    text-align: right; /* Ensure paragraphs are right-aligned */
}

a {
    color: #00bbf9; /* Teal for links */
    text-decoration: none;
}

a:hover {
    color: #4cc9f0; /* Lighter blue on hover */
    text-decoration: underline;
}

.text-primary {
    color: #00bbf9 !important; /* Teal for primary accents */
}

.text-info {
    color: #4cc9f0 !important; /* Electric blue for info/secondary accents */
}

.text-muted {
    color: #b0b0b0 !important; /* Slightly darker grey for muted text */
}

.bg-dark-overlay {
    background-color: rgba(22, 22, 37, 0.9); /* Darker background for header/footer */
}

.bg-dark-card {
    background-color: #2a2a4a; /* Slightly lighter dark for cards */
}

.btn-primary {
    background-color: #6a0572; /* Deep purple for primary buttons */
    border-color: #6a0572;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #8e0797; /* Lighter purple on hover */
    border-color: #8e0797;
}

.btn-secondary {
    background-color: #4a4a6a; /* Darker grey for secondary buttons */
    border-color: #4a4a6a;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background-color: #5a5a7a;
    border-color: #5a5a7a;
}

.btn-outline-info {
    color: #4cc9f0;
    border-color: #4cc9f0;
}

.btn-outline-info:hover {
    background-color: #4cc9f0;
    color: #1a1a2e;
}

/* Navbar */
.navbar-brand .logo-img {
    height: 40px; /* Adjust logo size */
    width: auto;
}

.navbar-nav .nav-link {
    color: #e0e0e0;
    padding-left: 1rem; /* Adjust for RTL */
    padding-right: 0.5rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #00bbf9;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    color: #ffffff;
    overflow: hidden; /* Ensure overlay doesn't spill */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.7); /* Dark overlay for background image */
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto; /* Center text for RTL */
    margin-right: auto;
}

.hero-card {
    background-color: rgba(42, 42, 74, 0.8); /* Semi-transparent dark card */
    border: 1px solid rgba(76, 201, 240, 0.2); /* Subtle border */
    backdrop-filter: blur(5px); /* Glassmorphism effect */
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card .card-title {
    color: #ffffff;
}

/* About Section */
.about-section {
    background-color: #161625; /* Slightly different dark shade */
}

/* Services Section */
.services-section .service-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.services-section .service-card:hover {
    transform: translateY(-5px);
}

.services-section .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.7); /* Dark overlay */
    z-index: 0;
    border-radius: 0.75rem;
}

.services-section .service-card h5 {
    color: #ffffff;
}

.services-section .service-card p {
    color: #b0b0b0;
}

/* Features Section */
.features-section .nav-tabs {
    border-bottom: 1px solid #4a4a6a;
}

.features-section .nav-tabs .nav-link {
    color: #b0b0b0;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px; /* Overlap border */
    background-color: transparent;
    transition: all 0.3s ease;
}

.features-section .nav-tabs .nav-link.active {
    color: #00bbf9;
    background-color: transparent;
    border-color: #00bbf9;
    font-weight: bold;
}

.features-section .nav-tabs .nav-link:hover:not(.active) {
    color: #4cc9f0;
    border-color: #4cc9f0;
}

.features-section .tab-pane {
    padding: 2rem 0;
}

.features-section img {
    border: 2px solid #6a0572; /* Purple border for images */
}

/* Team Section */
.team-section {
    background-color: #161625;
}

.timeline-container {
    position: relative;
    padding-bottom: 30px; /* Space for the line */
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #4a4a6a; /* Dark grey line */
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-scroll {
    position: relative;
    z-index: 1;
    padding-top: 20px; /* Offset for line */
    padding-bottom: 20px; /* Offset for line */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #6a0572 #2a2a4a; /* thumb and track color */
}

/* Webkit scrollbar styles */
.timeline-scroll::-webkit-scrollbar {
    height: 8px;
}

.timeline-scroll::-webkit-scrollbar-track {
    background: #2a2a4a;
    border-radius: 10px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
    background-color: #6a0572;
    border-radius: 10px;
    border: 2px solid #2a2a4a;
}


.timeline-item {
    background-color: #2a2a4a; /* Dark card background */
    border-radius: 0.75rem;
    padding: 1.5rem;
    width: 220px; /* Fixed width for items */
    margin: 0 1rem;
    position: relative;
    border: 1px solid rgba(76, 201, 240, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #00bbf9; /* Blue border for avatars */
}

/* Industries Section */
.industries-section {
    background-color: #1a1a2e;
}

.industry-item {
    background-color: #2a2a4a;
    border: 1px solid rgba(76, 201, 240, 0.2);
    transition: all 0.3s ease;
    cursor: default;
    height: 150px; /* Fixed height for consistent grid */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: #00bbf9;
}

.industry-item .industry-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(106, 5, 114, 0.95); /* Purple overlay on hover */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: center;
}

.industry-item:hover .industry-hover-info {
    opacity: 1;
    visibility: visible;
}

.industry-item i {
    transition: transform 0.3s ease;
}

.industry-item:hover i {
    transform: scale(0); /* Hide icon on hover */
}

.industry-item h6 {
    transition: opacity 0.3s ease;
}

.industry-item:hover h6 {
    opacity: 0; /* Hide title on hover */
}

/* FAQ Section */
.faq-section {
    background-color: #161625;
}

.faq-section .card {
    background-color: #2a2a4a;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-section .form-check-label {
    color: #e0e0e0;
}

.faq-section .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #4a4a6a;
}

.faq-section .accordion-button {
    background-color: #2a2a4a;
    color: #e0e0e0;
    font-weight: bold;
    border-radius: 0;
    text-align: right; /* Ensure button text is right-aligned */
    gap: 10px;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: #3a3a5a; /* Slightly lighter when open */
    color: #00bbf9;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-body {
    background-color: #20203a; /* Even darker for body */
    color: #b0b0b0;
    text-align: right; /* Ensure body text is right-aligned */
}

.accordion-button::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 011.414 0L8 9.586l4.94-4.94a.5.5 0 111.415.707l-5.647 5.646a.5.5 0 01-.708 0L1.646 5.353a.5.5 0 010-.707z'/%3E%3C/svg%3E") !important;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #1a1a2e;
}

.contact-form-section .form-label {
    color: #e0e0e0;
    text-align: right;
    width: 100%;
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    background-color: #20203a;
    border: 1px solid #4a4a6a;
    color: #e0e0e0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: right; /* Ensure input text is right-aligned */
}

.contact-form-section .form-control::placeholder {
    color: #b0b0b0;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    background-color: #252540;
    border-color: #00bbf9;
    box-shadow: 0 0 0 0.25rem rgba(0, 187, 249, 0.25);
    color: #e0e0e0;
}

.contact-form-section .form-text {
    text-align: right;
    width: 100%;
}

.contact-form-section .invalid-feedback {
    text-align: right;
    width: 100%;
}

/* Footer Section */
.footer-section {
    background-color: #161625;
    color: #e0e0e0;
}

.footer-section .navbar-brand .logo-img {
    height: 30px;
}

.footer-section .list-unstyled li a {
    color: #b0b0b0;
}

.footer-section .list-unstyled li a:hover {
    color: #00bbf9;
    text-decoration: none;
}

.footer-section .social-icons a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-section .social-icons a:hover {
    color: #00bbf9;
}

.footer-section .text-muted a {
    color: #b0b0b0 !important;
}

.footer-section .text-muted a:hover {
    color: #00bbf9 !important;
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    background-color: #2a2a4a;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#cookieConsentModal .modal-header {
    border-bottom: 1px solid #4a4a6a;
}

#cookieConsentModal .modal-title {
    color: #ffffff;
}

#cookieConsentModal .form-check-label {
    color: #e0e0e0;
}

#cookieConsentModal .form-check-input:checked {
    background-color: #00bbf9;
    border-color: #00bbf9;
}

#cookieConsentModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 187, 249, 0.25);
}

#cookieConsentModal .text-info {
    color: #4cc9f0 !important;
}

#cookieConsentModal .text-info:hover {
    color: #00bbf9 !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .timeline-scroll {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .timeline-item {
        margin: 0 0.5rem;
        width: 180px;
    }

    .footer-section .col-md-4 {
        text-align: center !important;
    }

    .footer-section .navbar-brand {
        justify-content: center !important;
    }

    .footer-section .list-unstyled {
        justify-content: center !important;
    }
}/* Styles for content within .dataClauseFrame */
.dataClauseFrame {
    padding-top: 3rem; /* Top padding for the content block */
    padding-left: 1.5rem; /* Left padding for the content block */
    padding-right: 1.5rem; /* Right padding for the content block */
    padding-bottom: 3rem; /* Bottom padding for the content block */
    background-color: #1a1a2e; /* Inherit or define a background if needed, matching body */
    color: #e0e0e0; /* Inherit or define a default text color */
}

.dataClauseFrame h1 {
    font-size: 2.2rem; /* Moderate font size for H1 */
    margin-top: 1.8rem; /* Top margin for H1 */
    margin-bottom: 1rem; /* Bottom margin for H1 */
    line-height: 1.2; /* Line height for H1 */
    color: #ffffff; /* White color for headings */
    text-align: right; /* Ensure right alignment for RTL */
}

.dataClauseFrame h2 {
    font-size: 1.8rem; /* Moderate font size for H2 */
    margin-top: 1.6rem; /* Top margin for H2 */
    margin-bottom: 0.9rem; /* Bottom margin for H2 */
    line-height: 1.3; /* Line height for H2 */
    color: #ffffff; /* White color for headings */
    text-align: right; /* Ensure right alignment for RTL */
}

.dataClauseFrame h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    margin-top: 1.4rem; /* Top margin for H3 */
    margin-bottom: 0.8rem; /* Bottom margin for H3 */
    line-height: 1.4; /* Line height for H3 */
    color: #ffffff; /* White color for headings */
    text-align: right; /* Ensure right alignment for RTL */
}

.dataClauseFrame h4 {
    font-size: 1.25rem; /* Moderate font size for H4 */
    margin-top: 1.2rem; /* Top margin for H4 */
    margin-bottom: 0.7rem; /* Bottom margin for H4 */
    line-height: 1.5; /* Line height for H4 */
    color: #ffffff; /* White color for headings */
    text-align: right; /* Ensure right alignment for RTL */
}

.dataClauseFrame h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    margin-top: 1rem; /* Top margin for H5 */
    margin-bottom: 0.6rem; /* Bottom margin for H5 */
    line-height: 1.6; /* Line height for H5 */
    color: #ffffff; /* White color for headings */
    text-align: right; /* Ensure right alignment for RTL */
}

.dataClauseFrame p {
    font-size: 1rem; /* Base font size for paragraphs */
    margin-bottom: 1rem; /* Bottom margin for paragraphs */
    line-height: 1.7; /* Line height for readability */
    color: #e0e0e0; /* Light grey for primary text */
    text-align: right; /* Ensure right alignment for RTL */
}

.dataClauseFrame ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem; /* Top margin for unordered lists */
    margin-bottom: 1rem; /* Bottom margin for unordered lists */
    padding-right: 20px; /* Padding for bullet points on the right (RTL) */
    color: #e0e0e0; /* Inherit text color */
    text-align: right; /* Ensure right alignment for RTL */
}

.dataClauseFrame li {
    font-size: 1rem; /* Font size for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Line height for readability */
    color: #e0e0e0; /* Light grey for primary text */
    text-align: right; /* Ensure right alignment for RTL */
}

.navbar-brand{
    gap: 7px;
}

.navbar-brand span{
    direction: ltr;
}



@media(max-width: 786px){
    .nav-tabs{
        flex-direction: column;
    }
}

@media(max-width: 420px){
    .navbar{
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .navbar-brand{
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}