/* info                     */
/* info                     */




:root {
    --bg-color: #ccc;
    --text-color: hsl(0, 0%, 20%);
    --text-color-h2:  #fcd00b;
    --text-shadow-color-h2: #75663067;
    --button-bg-color: #ccc;
    --button-bg-color-slider: #ccc;
    --button-text-color: #ffffff;
    --border-color: #fcd00b;
    --border-color2: #b6b2b2;
    --gradient: linear-gradient(135deg, #d1d5d8, #f7f7f7);
    --gradient2: linear-gradient(260deg, #d1d5d8, #f7f7f7b4);
    --header-bg-color: #ffffff;
    --hero-bg-color: #f4f4f4;
    --dropdown-bg-color: #ffffff;
    --dropdown-shadow: 0px 12px 24px rgba(0,0,0,0.3);
    --primary-hover-color: #fcd00b;
    --shadow-color: #f7f0f0;
    --shadow-color2: #DAA520;
    --button-hover-bg-color: #fcd00b ;
    --button-hover-text-color: #3b3b3b;
    --footertext:#d4d0d0;
    --footerbg: var(--gradient2); 
    --BGaboutUScard: #f9f9f9;
    --BGaboutUScard: #e9e9e9de;
    --toggle-bg-light: #f0f0f0;
    --toggle-bg-dark: #192c3b;
}


.dark-mode {
    --bg-color: #1e272e;
    --text-color: #f5f6fa;
    --text-color-h2: #fcd00b;
    --text-shadow-color-h2: #75663067;
    --button-bg-color: #fcd00bd0;
    --button-bg-color-slider: #ccc;
    --button-text-color: #f5f6fa;
    --border-color: #31587c;
    --border-color2: #487eb071;
    --gradient: linear-gradient(135deg, #192a56, #2c3e50);
    --gradient2: linear-gradient(135deg, #192a56, #2c3e50);
    --header-bg-color: #1e272e;
    --hero-bg-color: #2c3e50;
    --dropdown-bg-color: #22425a;
    --dropdown-shadow: 0px 12px 24px rgba(0,0,0,0.5);
    --primary-hover-color: #fcd00bf8;
    --shadow-color: #e0b3002f;
    --shadow-color2: #DAA520;
    --button-hover-bg-color: #487eb071;
    --button-hover-text-color: #e6e4de;
    --footertext: #1e272e;
    --footerbg: #192c3b; 
}

/* Base Styles */
body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
    direction: rtl;
}
html[lang="en"] body {
    direction: ltr;
}


/* Hero Section */
.hero {
    padding: 50px;
    background-color: var(--hero-bg-color);
    text-align: center;
}

.hero h1 {
    margin: 0;
    font-size: 36px;
}

.hero p {
    margin-top: 10px;
    font-size: 18px;
}

/* Welcome Card */
.containter {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.3);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.BG-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    animation: fade 7.5s ease-in-out infinite alternate;
}

.BG-img:nth-of-type(1) {
    animation-delay: 0s;
}

.BG-img:nth-of-type(2) {
    animation-delay: 2.5s;
}

.BG-img:nth-of-type(3) {
    animation-delay: 5s;
}

.heading {
    font-size: 50px;
    color: var(--text-color-h2);
    text-shadow: 0 0 10px var(--text-color-h2);
    font-family: 'Cairo', sans-serif;
    text-align: center;
}

.heading-description {
    font-size: 20px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    margin-top: 10px;
    text-align: center;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    width: 80%;
}

/* Keyframes */
@keyframes blur {
    0% { filter: blur(0); opacity: 1; }
    33%, 67% { filter: blur(5px); opacity: 0; }
    100% { filter: blur(0); opacity: 1; }
}

@keyframes fade {
    0% { opacity: 1; }
    33% { opacity: 0; }
    67% { opacity: 0; }
    100% { opacity: 1; }
}

/* Light/Dark Mode Switch Styles */
.dark-mode-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

label {
    font-size: 18px;
    color: var(--text-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Card 16 */
.container16 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.card-16 {
    width: 100%;
    max-width: 900px;
    background: var(--gradient);
    border-bottom: 5px solid var(--border-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

h2 {
    color: var(--text-color-h2);
    text-shadow: 0 0 7px var(--text-shadow-color-h2);
    font-size: 2.3rem;
    margin-bottom: 10px;
    text-align: center;
}

p {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.button-class {
    padding: 10px 20px;

    background-color: var(--button-hover-bg-color);
    color: var(--button-hover-text-color);
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.15rem;
}

.button-class:hover {
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
}

hr {
    border: none; /* Remove default border */
    border-top: 1px solid var(--text-color); /* Custom border */
    margin: 35px auto; /* Center horizontally with vertical spacing */
    width: 90%; /* Full width */
    max-width: 930px; /* Ensures it doesn't exceed the container's width */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    padding: 0px 20px 0px;
    box-shadow: 0 0 1px var(--text-color-h2); /* Red shadow with 50% opacity */
}



@media (min-width: 1024px) {
    hr {
        max-width: 980px !important; /* Ensure hr doesn't exceed screen width */
        width: 100% !important; /* Adjust width for smaller screens */

    }
}



.about-us-image {
    display: block; /* Center the image */
    margin: 0 auto; /* Center the image horizontally */
    width: 300px !important; /* Increase width to enhance glow visibility */
    height: auto; /* Maintain aspect ratio */
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8)); /* Initial glow */
    animation: neonGlow 3.5s ease-out infinite; /* Add animation */
}

/* Define the glow animation */
@keyframes neonGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Starting and ending glow */
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1)); /* Stronger glow in the middle */
    }
}


.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: none; /* No background */
    border: none; /* Remove borders */
    padding: 0; /* Remove any default padding */
    display: block;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    transform: scale(1);
}

.scroll-to-top img {
    width: 45px; /* Set image size */
    height: 45px;
    display: block; /* Ensure it's block-level */
}

.scroll-to-top.show:hover {
    transform: scale(0.9); /* Slightly scale down on hover */
}



/* background-color: #ff4081; */



@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }
}



