:root {
    --primary-color: #f5f5f5;
    --secondary-color: #e6b46c;
    --accent-color: #D4AF37;
    --dark-text: #333333;
    --light-text: #ffffff;
    --background-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --border-radius: 10px;
}

.content-display {
    padding: 20px;
	padding-top:0px;
    margin-top: 0px;
    background-color: #e9e9e9;
    border-radius: 0px;
    min-height: 200px;
    font-family: Arial, sans-serif;
}

       .tabs {
            display: flex;
            justify-content: center;
            margin: 0px 0;
			margin-top:10px;
			
            
        }

        .tab {
            margin: 0 10px;
            padding: 10px 20px;
            cursor: pointer;
            border: none;
            background: none;
            border-bottom: 2px solid transparent;
            font-size: 22px;
            transition: border-color 0.3s ease, color 0.3s ease;
        }

   .tab:hover,
        .tab.active {
    border-bottom: 3px solid #006633;
    color: #006633;

}
		


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all var(--transition-speed);
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--dark-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

body.rtl {
    direction: rtl;
    font-family: 'Amiri', serif;
}

header {
    padding: 15px;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.header:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.20);
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    width: auto;
    height: 85px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.logo:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.language-selection {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    gap: 10px;
    font-size: 14px;
    z-index: 1001; 
}

.language-selection a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: var(--border-radius);
}

.language-selection a.active {
    background-color: #006633;
    color: var(--light-text);
}

.language-selection a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out; 
}

.banner {
    position: relative;
    overflow: hidden;
    height: 505px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    margin-top: 135px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.mySlides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
    z-index: 1; 
}

.mySlides.active {
    opacity: 1; 
    z-index: 2; 
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.3s ease, transform 0.3s ease;
    user-select: none;
    z-index: 10;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    transform: translateY(-50%) scale(1.1);
}

.social-media {
    text-align: center;
    padding: 10px;
    background: linear-gradient(90deg, #006633, black, red);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 5px;
}

.social-icon img {
    width: 30px;
    height: 30px;
    filter: grayscale(100%); 
    transition: transform var(--transition-speed), filter 0.3s ease; 
	margin: 5px 0; 
}

.social-icon img:hover {
    transform: scale(1.2); 
    filter: grayscale(0%);
}


.social-media .social-text p {
    font-size: 1.3rem;
    color: var(--light-text);
    margin: 5px 0;
    text-align: center;
}

.button-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #dbdbdb;
	
}

.custom-button {
    padding: 10px 20px;
	text-decoration:none;
    font-size: 20px;
    background-color: #006633;
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

.custom-button:hover {
    transform: translateY(-5px);
}

.footer {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 2px solid #087718;
    box-shadow: 0 -4px 8px var(--shadow-color);
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--highlight-color) 10%, transparent 10%);
    background-size: 30px 30px;
    top: -50%;
    left: -50%;
    opacity: 0.1;
}

.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .header,
.rtl .tabs,
.rtl .social-media,
.rtl .banner,
.rtl .content-display,
.rtl .footer {
    direction: rtl;
}

.rtl .logo-container,
.rtl .social-links,
.rtl .tabs button {
    margin-left: auto;
    margin-right: 0;
}

.rtl .prev {
    direction: rtl;
}

.rtl .next {
    direction: rtl;
}

.rtl .tabs {
    direction: rtl; 
}

.rtl .tabs button {
    float: right;
    text-align: right; 
}

@media (max-width: 1200px) {

    .tabs {
        flex-wrap: wrap;
        margin: 10px 0;
    }

    .tab {
        font-size: 18px;
        margin: 5px;
    }

    .mySlides {
    display: flex; /* Enables flexbox */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    height: 100%; /* Ensures the container takes up the intended height */
	margin-top:0px;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Updated from "fit" (not valid) to "contain" */
}

    .logo {
        height: 65px;
    }
	
	    .social-links {
        gap: 20px; 
    }

    .social-icon img {
        width: 25px; 
        height: 25px;
    }

    .social-media .social-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
	
    .tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab {
        padding: 8px 16px;
        font-size: 16px;
    }

    .content-display {
        padding: 10px;
        min-height: 150px;
    }

  .mySlides {
    display: flex; /* Enables flexbox */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    height: 100%; /* Ensures the container takes up the intended height */
	margin-top:0px;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Updated from "fit" (not valid) to "contain" */
}

    .logo {
        height: 55px;
    }

    .language-selection {
        top: 5px;
        right: 5px;
        font-size: 10px;
    }

    header {
        padding: 10px;
    }

    .prev, .next {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
	
	    .social-links {
        flex-wrap: wrap; 
        gap: 15px; 
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }

    .social-media .social-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .tabs {
        margin: 5px 0;
    }

    .tab {
        font-size: 14px;
        padding: 5px 10px;
    }

    .content-display {
        padding: 8px;
        min-height: 100px;
    }

    .banner {
        height: 200px;
    }

.mySlides {
    display: flex; /* Enables flexbox */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    height: 100%; /* Ensures the container takes up the intended height */
	margin-top:0px;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Updated from "fit" (not valid) to "contain" */
}

    .logo {
        height: 45px;
    }

 .language-selection {
        top: 5px;
        right: 0px;
        font-size: 9px;
    }
    header {
        padding: 8px;
        font-size: 0.9rem;
    }

    .prev, .next {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
	
	   .social-links {
        flex-direction: wrap; /* Stack icons vertically */
        align-items: center;
        gap: 10px; /* Smaller spacing */
    }

    .social-icon img {
        width: 16px;
        height: 16px;
    }

    .social-media .social-text p {
        font-size: 0.9rem; /* Adjust font size for small screens */
        margin: 3px 0; /* Reduce margin */
    }
}

