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

    :root {
        --primary-navy: #0a2d5a;
        --accent-gold: #c1993b;
        --text-dark: #333333;
        --white: #ffffff;
        --light-gray: #f5f5f5;
        --border-light: #e0e0e0;
    }

    body {
        font-family: 'Cairo', sans-serif;
        line-height: 1.6;
        color: var(--text-dark);
        /* direction: rtl; */
        /* text-align: right; */
    }

    body.ltr {
        direction: ltr;
        text-align: left;
    }

    /* Header */
    .header {
        background: var(--white);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .nav-container {
        max-width: 1350px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }

    .logo {
        display: flex;
        align-items: center;
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-navy);
    }

    .logo img {
        width: 60px;
        height: 60px;
        margin-left: 1rem;
        border-radius: 8px;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        gap: 2rem;
        align-items: center;
    }

    .nav-menu a {
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
        padding: 0.5rem 0;
    }

    .nav-menu a:hover {
        color: var(--accent-gold);
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        right: 0;
        background: var(--accent-gold);
        transition: width 0.3s ease;
    }

    .nav-menu a:hover::after {
        width: 100%;
    }

    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        gap: 1rem;
        z-index: 999;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .auth-buttons {
        display: flex;
        gap: 0.5rem;
    }

    .auth-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: transparent;
        border: 1px solid var(--border-light);
        border-radius: 25px;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        color: var(--text-dark);
        font-family: 'Cairo', sans-serif;
    }

    .auth-btn:hover {
        background: var(--accent-gold);
        color: var(--white);
        border-color: var(--accent-gold);
    }

    .login-btn:hover {
        background: var(--primary-navy);
        border-color: var(--primary-navy);
    }

    .language-switcher {
        display: flex;
        gap: 0.5rem;
    }

    .visitor-counter {
        position: fixed;
        bottom: 20px;
        left: 20px;
        background: var(--primary-navy);
        color: var(--white);
        padding: 0.8rem 1.2rem;
        border-radius: 25px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .visitor-counter i {
        color: var(--accent-gold);
    }

    .lang-select {
        padding: 0.5rem 1rem;
        background: var(--white);
        border: 1px solid var(--border-light);
        border-radius: 20px;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        color: var(--text-dark);
        font-family: 'Cairo', sans-serif;
        max-width: 110px;
    }

    .lang-select:hover {
        border-color: var(--accent-gold);
    }

    .lang-select:focus {
        outline: none;
        border-color: var(--accent-gold);
        box-shadow: 0 0 0 2px rgba(193, 153, 59, 0.2);
    }

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-navy);
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(10, 45, 90, 0.7), rgba(10, 45, 90, 0.7)),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f5f5f5" width="1200" height="600"/><rect fill="%230a2d5a" x="0" y="0" width="400" height="200" opacity="0.1"/><rect fill="%23c1993b" x="800" y="400" width="400" height="200" opacity="0.1"/><circle fill="%230a2d5a" cx="600" cy="300" r="100" opacity="0.05"/><rect fill="%23c1993b" x="200" y="150" width="800" height="300" opacity="0.03"/></svg>');
        background-size: cover;
        background-position: center;
        color: var(--white);
        padding: 150px 0 100px;
        position: relative;
        min-height: 80vh;
        display: flex;
        align-items: center;
    }

    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero .subtitle {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: var(--accent-gold);
        font-weight: 600;
    }

    .hero .tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2.5rem;
        background: var(--accent-gold);
        color: var(--white);
        text-decoration: none;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(193, 153, 59, 0.3);
    }

    .cta-button:hover {
        background: #a67f2f;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(193, 153, 59, 0.4);
    }

    /* Section Styles */
    .section {
        padding: 80px 0;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary-navy);
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.1rem;
        color: var(--text-dark);
        max-width: 600px;
        margin: 0 auto;
        opacity: 0.8;
    }

    /* Intro Section */
    .intro {
        background: var(--white);
    }

    .intro-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .intro-text h3 {
        font-size: 2rem;
        color: var(--primary-navy);
        margin-bottom: 1.5rem;
    }

    .intro-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    /* Services Section */
    .services {
        background: var(--light-gray);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    .service-category {
        background: var(--white);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .service-category:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    }

    .service-header {
        background: linear-gradient(135deg, var(--primary-navy), var(--accent-gold));
        color: var(--white);
        padding: 2rem;
        text-align: center;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 2rem;
    }

    .service-header h3 {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .service-content {
        padding: 2rem;
    }

    .service-list {
        list-style: none;
    }

    .service-list li {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-light);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s ease;
    }

    .service-list li:hover {
        color: var(--accent-gold);
    }

    .service-list li:last-child {
        border-bottom: none;
    }

    .service-list li i {
        color: var(--accent-gold);
        width: 20px;
    }

    /* BET Types Section */
    .bet-types {
        background: var(--white);
    }

    .bet-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .bet-card {
        background: var(--light-gray);
        padding: 1.5rem;
        border-radius: 10px;
        border-right: 4px solid var(--accent-gold);
        transition: all 0.3s ease;
    }

    .bet-card:hover {
        background: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-5px);
    }

    .bet-card h4 {
        color: var(--primary-navy);
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .bet-card p {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    /* About Section */
    .about {
        background: var(--light-gray);
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
        align-items: start;
    }

    .leader-profile {
        text-align: center;
        background: var(--white);
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 120px;
    }

    .leader-avatar {
        width: 120px;
        height: 120px;
        background: var(--primary-navy);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 3rem;
        color: var(--white);
    }

    .leader-profile h3 {
        color: var(--primary-navy);
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .leader-profile .title {
        color: var(--accent-gold);
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .team-section h3 {
        color: var(--primary-navy);
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .qualifications-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .qualification-item {
        background: var(--white);
        padding: 1.5rem;
        border-radius: 10px;
        border-right: 4px solid var(--accent-gold);
    }

    .qualification-item h4 {
        color: var(--primary-navy);
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    /* Contact Section */
    .contact {
        background: var(--primary-navy);
        color: var(--white);
    }

    .contact-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-location {
        background: rgba(255, 255, 255, 0.1);
        padding: 2rem;
        border-radius: 15px;
        border-right: 4px solid var(--accent-gold);
    }

    .contact-location h4 {
        color: var(--accent-gold);
        font-weight: 600;
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .contact-item i {
        width: 35px;
        height: 35px;
        background: var(--accent-gold);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .contact-form {
        background: var(--white);
        padding: 2.5rem;
        border-radius: 15px;
        color: var(--text-dark);
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

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

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 1rem;
        border: 2px solid var(--border-light);
        border-radius: 8px;
        font-size: 1rem;
        font-family: 'Cairo', sans-serif;
        transition: border-color 0.3s ease;
    }

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

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

    .submit-btn {
        width: 100%;
        padding: 1rem 2rem;
        background: var(--accent-gold);
        color: var(--white);
        border: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Cairo', sans-serif;
    }

    .submit-btn:hover {
        background: #a67f2f;
        transform: translateY(-2px);
    }

    /* Footer */
    .footer {
        background: #051a2e;
        color: var(--white);
        padding: 3rem 0 1rem;
    }

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

    .footer-logo {
        display: flex;
        align-items: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .footer-logo img {
        width: 50px;
        height: 50px;
        margin-left: 1rem;
        border-radius: 8px;
    }

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

    .footer-section p,
    .footer-section a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        line-height: 1.8;
        font-size: 0.9rem;
    }

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

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }

    /* Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
    }

    .modal-content {
        background-color: var(--white);
        margin: 5% auto;
        padding: 0;
        border-radius: 15px;
        width: 90%;
        max-width: 450px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        animation: modalSlideIn 0.3s ease;
    }

    .modal-header {
        background: linear-gradient(135deg, var(--primary-navy), var(--accent-gold));
        color: var(--white);
        padding: 2rem;
        text-align: center;
        position: relative;
    }

    .modal-header h2 {
        margin: 0;
        font-size: 1.8rem;
        font-weight: 600;
    }

    .close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        color: var(--white);
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
    }

    .close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .modal-body {
        padding: 2rem;
    }

    .modal-form .form-group {
        margin-bottom: 1.5rem;
    }

    .modal-form label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--primary-navy);
    }

    .modal-form input {
        width: 100%;
        padding: 1rem;
        border: 2px solid var(--border-light);
        border-radius: 8px;
        font-size: 1rem;
        font-family: 'Cairo', sans-serif;
        transition: border-color 0.3s ease;
    }

    .modal-form input:focus {
        outline: none;
        border-color: var(--accent-gold);
    }

    .modal-submit-btn {
        width: 100%;
        padding: 1rem 2rem;
        background: var(--accent-gold);
        color: var(--white);
        border: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Cairo', sans-serif;
    }

    .modal-submit-btn:hover {
        background: #a67f2f;
        transform: translateY(-2px);
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }

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

    /* Gallery Styles */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .gallery-item {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .gallery-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }

    .gallery-image {
        width: 100%;
        height: 200px;
        background: var(--light-gray);
    }

    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 45, 90, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay i {
        font-size: 2rem;
        color: var(--white);
    }

    /* Map Styles */
    .map-container {
        width: 100%;
        height: 400px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        margin-top: 2rem;
    }

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    /* Study Request Styles */
    .study-request-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .study-info {
        background: var(--white);
        padding: 2.5rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 120px;
    }

    .study-features {
        list-style: none;
        margin: 2rem 0;
    }

    .study-features li {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-light);
    }

    .study-features li:last-child {
        border-bottom: none;
    }

    .study-features i {
        color: var(--accent-gold);
        width: 20px;
    }

    .pricing {
        background: var(--light-gray);
        padding: 2rem;
        border-radius: 10px;
        text-align: center;
        margin: 2rem 0;
    }

    .pricing h4 {
        color: var(--primary-navy);
        margin-bottom: 1rem;
    }

    .price {
        font-size: 2rem;
        font-weight: 700;
        color: var(--accent-gold);
    }

    .download-btn {
        width: 100%;
        padding: 1rem 2rem;
        background: var(--primary-navy);
        color: var(--white);
        border: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Cairo', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .download-btn:hover {
        background: #083a6b;
        transform: translateY(-2px);
    }

    .study-request-form {
        background: var(--white);
        padding: 2.5rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .payment-section {
        margin: 2rem 0;
        padding: 1.5rem;
        background: var(--light-gray);
        border-radius: 10px;
    }

    .payment-section h4 {
        color: var(--primary-navy);
        margin-bottom: 1rem;
    }

    .payment-methods {
        display: flex;
        gap: 1rem;
    }

    .payment-method {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
        background: var(--white);
        border: 2px solid var(--border-light);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .payment-method:hover {
        border-color: var(--accent-gold);
    }

    .payment-method input[type="radio"] {
        display: none;
    }

    .payment-method input[type="radio"]:checked+i {
        color: var(--accent-gold);
    }

    .payment-method:has(input[type="radio"]:checked) {
        border-color: var(--accent-gold);
        background: rgba(193, 153, 59, 0.1);
    }

    .study-submit-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        background: var(--accent-gold);
        color: var(--white);
        border: none;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Cairo', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .study-submit-btn:hover {
        background: #a67f2f;
        transform: translateY(-2px);
    }

    /* Chat Widget Styles */
    .chat-widget {
        position: fixed;
        bottom: 80px;
        right: 20px;
        z-index: 10000;
    }

    .chat-toggle {
        width: 60px;
        height: 60px;
        background: var(--accent-gold);
        border: none;
        border-radius: 50%;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(193, 153, 59, 0.3);
        transition: all 0.3s ease;
    }

    .chat-toggle:hover {
        background: #a67f2f;
        transform: scale(1.1);
    }

    .chat-window {
        position: absolute;
        bottom: 70px;
        right: 0;
        width: 350px;
        height: 450px;
        background: var(--white);
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        display: none;
        flex-direction: column;
        overflow: hidden;
    }

    .chat-header {
        background: var(--primary-navy);
        color: var(--white);
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .chat-messages {
        flex: 1;
        padding: 1rem;
        overflow-y: auto;
        background: var(--light-gray);
    }

    .chat-input-container {
        padding: 1rem;
        border-top: 1px solid var(--border-light);
        display: flex;
        gap: 0.5rem;
    }

    .chat-input {
        flex: 1;
        padding: 0.8rem;
        border: 1px solid var(--border-light);
        border-radius: 20px;
        font-family: 'Cairo', sans-serif;
    }

    .chat-send {
        padding: 0.8rem 1rem;
        background: var(--accent-gold);
        color: var(--white);
        border: none;
        border-radius: 20px;
        cursor: pointer;
    }

    .message {
        margin-bottom: 1rem;
        padding: 0.8rem 1rem;
        border-radius: 15px;
        max-width: 80%;
    }

    .message.user {
        background: var(--accent-gold);
        color: var(--white);
        margin-left: auto;
    }

    .message.bot {
        background: var(--white);
        color: var(--text-dark);
    }

    /* DjilWEB Credit */
    .djilweb-credit {
        position: fixed;
        bottom: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.8);
        color: var(--white);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        z-index: 9999;
    }

    .djilweb-credit a {
        color: var(--accent-gold);
        text-decoration: none;
    }

    .djilweb-credit a:hover {
        text-decoration: underline;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .mobile-menu-btn {
            display: block;
        }

        .nav-menu {
            display: none;
        }

        .auth-buttons {
            display: none;
        }

        .hero h1 {
            font-size: 2.5rem;
        }

        .intro-content,
        .about-content,
        .contact-container {
            grid-template-columns: 1fr;
        }

        .services-grid,
        .bet-grid,
        .qualifications-grid {
            grid-template-columns: 1fr;
        }

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

        .header-actions {
            flex-direction: column;
            gap: 0.5rem;
        }

        .language-switcher {
            margin: 0;
        }

        .visitor-counter {
            bottom: 10px;
            left: 10px;
            padding: 0.6rem 1rem;
            font-size: 0.8rem;
        }

        .study-request-container {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .study-info {
            position: static;
        }

        .payment-methods {
            flex-direction: column;
        }

        .gallery-grid {
            grid-template-columns: 1fr;
        }

        .chat-window {
            width: 300px;
            height: 400px;
        }

        .djilweb-credit {
            display: none;
        }
    }

    /* Hidden content for different languages */
    .content-ar,
    .content-fr,
    .content-en {
        display: none;
    }

    .content-ar.active,
    .content-fr.active,
    .content-en.active {
        display: block;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

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

    .fade-in-up {
        animation: fadeInUp 0.6s ease forwards;
    }


    /* Container */
    .captcha-container {
        width: 210px;
        margin: 1rem auto;
        text-align: center;
    }

    /* Flex row for reload + image */
    .captcha-row {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    /* Button container */
    .captcha-button-container {
        flex: 0 0 25%;
        display: flex;
        justify-content: center;
        padding: 0.5rem;
    }

    /* Reload button styling */
    .reload-button {
        background-color: #dc3545;
        /* Bootstrap "danger" red */
        color: white;
        border: none;
        padding: 0.5rem 0.7rem;
        font-size: 1.2rem;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

    .reload-button:hover {
        background-color: #bb2d3b;
    }

    /* CAPTCHA image container */
    .captcha-image-container {
        flex: 0 0 75%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* CAPTCHA heading */
    .captcha-heading {
        font-size: 1rem;
    }

    /* Input container */
    .captcha-input-container {
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Input field */
    .captcha-input {
        width: 50%;
        padding: 0.5rem;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    /* Error styles (optional for server-side validation) */
    .is-invalid {
        border-color: red;
    }

    /* Feedback message */
    .alert_captcha {
        margin-top: 0.3rem;
        color: red;
        font-size: 0.9rem;
        text-align: center;
    }

    .invalid-feedback {
        margin-top: 0.3rem;
        color: red;
        font-size: 0.9rem;
    }

    .placeholder {
        display: inline-block;
        height: 0.75rem;
        background-color: #e0e0e0;
        border-radius: 0.5rem;
    }