:root {
    --primary: #0e50ed;
    --secondary: #176e6e;
    --black: #000000;
    --white: #ffffff;
}

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

html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Anta', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    box-sizing: border-box;
}

@font-face {
    font-family: "DroidKufi";
    src: url("Fonts/Droid/ArbFONTS-DroidKufi-Regular.ttf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] label,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] li,

[dir="rtl"] div:not(.service-icon):not(.contact-card-icon):not(.social-icon):not(.language-switch) {
    font-family: 'DroidKufi', sans-serif;
}

.primary-color {
    color: var(--primary);
}

.secondary-color {
    color: var(--secondary);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

/* Navbar */
.navbar {
    background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(14, 80, 237, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(14, 80, 237, 0.1);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: all 0.4s ease;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    width: 100%;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.4s ease;
}

.navbar:not(.scrolled) .navbar-logo {
    color: var(--white);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    padding-right: 0;
}

.navbar-menu li:last-child {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
}

.navbar-menu a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    position: relative;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

.navbar:not(.scrolled) .navbar-menu a {
    color: #000000;
}

.navbar-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    z-index: 1;
}

.navbar-menu a:hover {
    color: var(--primary) !important;
}

.navbar-menu a:hover::before {
    transform: scaleX(1);
}

.language-switch {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    font-family: 'DroidKufi', sans-serif;
}

.language-switch:hover {
    background: #0a3fa0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 80, 237, 0.3);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--white);
}

.carousel-slide {
    display: flex;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 5;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.carousel-image-full {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    position: relative;
}

.hero1 {
    background: url("Carousel/Slide-1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero2 {
    background: url("Carousel/Slide-2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero3 {
    background: url("Carousel/Slide-3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-image-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-text-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.carousel-text-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.carousel-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
}

.carousel-slide.active .carousel-text-content h1 {
    animation: slideInDown 0.6s ease-out !important;
}

.carousel-slide.active .carousel-text-content p {
    animation: slideInUp 0.6s ease-out 0.15s both !important;
}

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    width: 32px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

/* Section Styling */
.section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--black);
    letter-spacing: -0.3px;
}

.section-title .primary-color {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    border: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.about-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-cards-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    padding: 2rem;
    background: var(--white);
    border: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(14, 80, 237, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 80, 237, 0.02) 0%, rgba(23, 110, 110, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover {
    box-shadow: 0 16px 48px rgba(14, 80, 237, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: inherit;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    color: var(--secondary);
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    padding-bottom: 1rem;
    border-bottom: 3px solid transparent;
    background: linear-gradient(to right, var(--primary) 0%, var(--secondary) 100%);
    background-position: 0 100%;
    background-size: 100% 3px;
    background-repeat: no-repeat;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    flex-grow: 1;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

/* Data & Analytics */
.data-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 3rem;
}

.data-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.data-section p,
.data-section li {
    font-size: 1rem;
    line-height: 1.8;
}

.data-section ul {
    list-style-position: inside;
    margin-top: 1rem;
}

.data-section li {
    margin-bottom: 0.5rem;
}

/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.client-logo {
    height: 180px;
    width: 220px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85rem;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(14, 80, 237, 0.03) 100%); */
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.client-logo:hover {
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
}

.client-logo:hover::before {
    opacity: 1;
}

/* Projects Section */
.projects-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.projects-grid {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    animation: scroll-projects 40s linear infinite;
    min-width: 200%;
}

[dir="rtl"] .projects-grid {
    animation: scroll-projects-rtl 40s linear infinite !important;
}

@keyframes scroll-projects {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-carousel-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

[dir="rtl"] .clients-carousel {
    animation: scroll-carousel-rtl 30s linear infinite !important;
}

.project-card {
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    flex-shrink: 0;
    width: 320px;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 320px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    border-radius: 0;
    border: none;
    transition: all 0.3s;
    flex-shrink: 0;
}

.project-info {
    padding: 2rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.project-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.project-clients {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: auto;
}

.project-clients-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.project-clients-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.project-client-tag {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    color: #666;
    padding: 0.15rem 0;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
}

.project-client-tag::before {
    content: '•';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #999;
    flex-shrink: 0;
    line-height: 1;
}

.client-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #0a3fa0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 80, 237, 0.3);
}

.contact-info {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item-label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item-text {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.contact-card {
    padding: 2rem;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(14, 80, 237, 0.15);
    transform: translateY(-5px);
}

.contact-card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: inherit;
}

.contact-card-label {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card-text {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 2rem 0;
    border-top: 2px solid #e5e7eb;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-section p,
.footer-section a {
    font-size: 0.9rem;
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 1.5rem 0;
    text-align: center;
    background: var(--black);
    color: var(--white);
    font-size: 0.9rem;
}

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

[dir="rtl"] .navbar-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .navbar-logo {
    order: 2;
}

[dir="rtl"] .navbar-menu {
    order: 1;
    margin-right: auto;
}

[dir="rtl"] .carousel-controls {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .about-grid {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

[dir="rtl"] .contact-container {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

[dir="rtl"] .services-grid {
    direction: rtl;
}

[dir="rtl"] .clients-grid {
    direction: rtl;
}

[dir="rtl"] .footer-content {
    direction: rtl;
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .footer-section p i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .social-icons {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .service-card,
[dir="rtl"] .project-card,
[dir="rtl"] .contact-card {
    direction: rtl;
}

[dir="rtl"] .about-image {
    direction: rtl;
}

[dir="rtl"] input,
[dir="rtl"] textarea {
    direction: rtl;
    text-align: right;
}

@keyframes scroll-projects-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

[dir="rtl"] .projects-grid {
    animation: scroll-projects-rtl 50s linear infinite !important;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-carousel-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

[dir="rtl"] .clients-carousel {
    animation: scroll-carousel-rtl 30s linear infinite !important;
}

.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    transition: color 0.4s ease;
    margin-right: 1.5rem;
}

[dir="rtl"] .hamburger-menu {
    margin-right: 0;
    margin-left: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-cards-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hamburger-menu {
        display: flex;
        align-items: center;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid var(--primary);
        z-index: 1000;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .navbar-menu li a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-menu li:last-child {
        margin: 0.5rem auto;
    }

    .navbar-menu a {
        color: var(--black) !important;
    }

    .navbar:not(.scrolled) .navbar-menu a {
        color: var(--black);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-text-content h1 {
        font-size: 1.8rem;
    }

    [dir="rtl"] .about-grid,
    [dir="rtl"] .contact-container,
    [dir="rtl"] .footer-content {
        grid-template-columns: 1fr;
    }
}

.input-error {
    border-color: #ef4444 !important;
    background-color: #fee2e2 !important; /* Opaque light red */
    color: #991b1b !important; /* Dark red for text visibility */
}
