* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 @font-face{
             font-family: Poppins;
             src: url('../fonts/Poppins-Light.ttf');
}
@font-face{
             font-family: Inter_M;
             src: url('../fonts/Inter-Medium.otf');
}
 @font-face{
             font-family: Inter_l;
             src: url('../fonts/Inter-Light-BETA.otf');
}
@font-face{
             font-family: Inter_Bolder;
             src: url('../fonts/Inter-ExtraBold.otf');
}
@font-face{
             font-family: Inter_Bold;
             src: url('../fonts/Inter-Bold.otf');
        
}
@font-face{
             font-family: Inter_Italic;
             src: url('../fonts/Inter-LightItalic-BETA.otf');
}

body {
    
    font-family: Arial, sans-serif;
    line-height: 1.6;
}


  /* Your existing styles */
         .header {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            background-color: #399cbd;   
            padding: 10px;
             width: 100%;
             
        }

        .logo {
            position: absolute;
            padding: .5em;
            width: 10%;
            left: 5px;
            top: 0px;
            z-index: 2;
        }

        .logo img {
            width: 100%;
            padding: .3em;
        }

        .nav {
           
            display: flex;
            align-items: center;
        }

        .nav ul {
            text-align: center;
            list-style: none;
        }

        .nav ul li {
            display: inline;
            margin: 0 15px;
        }

        .nav ul li a {
            color: #fff;
            text-decoration: none;
        }

        .log-in {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .log-in a {
            padding: .2em .5em;
            border: 0px;
            margin: .2em;
            background-color: aliceblue;
            text-decoration: none;
            color: black;
            font-size: .8em;
        }

        .log-in a:hover {
            color: #29378E;
            font-size: bold;
            cursor: pointer;
            border-radius: .5em;
        }

        a:hover {
            border-bottom: 3px solid #fff;   
        }

        /* New styles for responsive menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .hamburger .bar {
            height: 3px;
            width: 25px;
            background-color: white;
            margin: 4px 0;
            transition: 0.4s;
        }

      
    

.hero {
    position: relative;
    
    overflow: hidden;
}

/* Slider Styles */
        .slider {
            position: relative;
            width: 100%;
            max-width: 90%;
            height: 500px;
            overflow: hidden;
            margin: auto;
        }
.slider img{
    border: 1px solid black;
    }
    

        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out; /* Smooth fade transition */
        }

        .active {
            opacity: 1; /* Show active slide */
        }

        /* Circle indicator styles */
        .indicators {
            text-align: center;
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
        }

        .indicators .dot {
            display: inline-block;
            height: 15px;
            width: 15px;
            margin: 0 5px;
            background-color: #bbb;
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.6s ease;
        }

        .active-dot {
            background-color: #717171;
        }

        /* Hero Section */
        .hero-text {
            display: grid;
            grid-template-columns: 1fr 1fr;
            width: 80%;
            position: absolute;
            top: 30%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: black;
        }
.e-text{
    padding: 1em;
}
.e-text h1{
    text-shadow: 8px 8px 8px black;
    font-size: 3em;
}
.about {
    display: grid;
   
    width: 100%;
    padding: 2em;
     
}

.services {
    display: grid;
   
    width: 100%;
    padding: 2em;
     
}
.about-home{
     display: flex;
    justify-content: space-between;
    align-items: stretch;
    justify-items: center;
    width: 100%;
    
     background-color: #E8ECFF;
    border-radius: 1em;
    
    
}
.about-us, .F-aboutus{
    padding: 1em 3em .3em 3em;
    text-align: justify;
    display: flex;
    flex-direction: column;
    
   
    
    
}
.notif{
    display: flex;
    justify-self: center;
    justify-content: center;
    width: 20%;
    
}
.notif a{
    background-color: #399cbd; 
    color: white;
    padding: .5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}
.read-more{
    
    padding-top: 1rem;
    margin-bottom: auto;
}
.read-more a{
    background-color: #399cbd; 
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
   
    
}
.F-aboutus{
    font-size: 1.1em;
    text-align: justify;
    direction: rtl;
    
    
}
.F-aboutus h2{
   
    
}
    
    
 .contact {
    padding: 20px;
    text-align: center;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
.contactUS_background{
     width: 100%;
    display: grid;
    grid-template-columns: 100%;
    background-color: #E8ECFF;
    margin-top: -1em;
    
    
    
}
.padin{
    padding-bottom: 15em;
    background: linear-gradient(180deg, #19298C 0%, #080D2C 100%);
}
.form_wapper{
    width: 70%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-self: center;
    background-color: #399cbd;
    border-radius: 1em;
    margin-top: -15%;
     margin-bottom: 5%;
    
   
    
}
.left_side_form{
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
      border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    background-color: #399cbd;
    align-content: flex-start;
}
.contant_car_Text{
    text-align: center;
   margin-top: 1em;
    color: #fff;
    }
    
.Contact_Information{
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    padding: 1em;
    color: #fff;
    font-family: Inter_l;
}
.main_contact_form{
    width: 100%;
    display: grid;
    background-color: #fff;
    border-radius: 1em;
    padding: 1em;
    
}
.contact_us_address{
    margin-left: 1em;
    display: grid;
    align-items: flex-start;
    justify-self: center;
    width: 85%;
    border: 1px solid #fff;
    border-radius: 1em;
}
.info_wappers_contact{
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    color: #fff;
}
.contact_links_us{
    width: 100%;
    display: grid;
    grid-template-columns: 15% 80%;
    align-items: center;
    padding: 1em 0;
    margin-left: -8%;
    font-family: Inter_l;
}
.contact_links_us img{
    width: 100%;
    border-radius: 50%;
}
.contact_links_us p{
    padding-left: 1.5em;
}
.contant_media_wapper{
    display: grid;
    width: 100%;
    grid-template-columns: 50% 50%;
    
}
.contant_media{
    display: grid;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 1em;
    padding: 1.5em;
    
}
.contant_media img{
    width: 100%;
     background-color: #29378E;
}
.contant_media_img{
    width: 100%;
    display: grid;
    padding-top: 1.4em;
   
    
    
}

.contant_media_img img{
    width: 100%;
    
    
    
}
.form_inputs{
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 1em;
    grid-gap: .5em;
   align-self: start;
}
.form_inputs input{
    width: 100%;
    padding: 1em;
    margin-top: .5em;
    margin-bottom: .7em;
    background-color: transparent;
    border: 0px;
    border-radius: 3px;
    border: 1px solid black;
}
.form_inputs label{
    font-family: Inter_Bold;
    font-size: 1em;
    margin-bottom: .7em;
   
    
}

.input_textArea{
    width: 100%;
    display: grid;
    grid-column: 1/3;
}

.input_textArea textarea{
     width: 100%;
     border-radius: .5em;
    resize: vertical;
    
}
.register{
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    justify-items: flex-end;
    grid-column: 1/3;
    color: #fff;
    font-family: Inter_Bold;
     
    
}
.msg_button{
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
}
.register button,.msg_button button{
    background-color: #117FFF;
    padding: 1em;
    color: #fff;
    font-family: Inter_Bold;
    font-size: 1em;
    border: 0px;
    border-radius: .5em;
}

.members-wapper h1{
    padding: 0em 1em;
}
.member-contant{
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
   justify-items: center;
    padding: 1em;
    
    
}
.color-bule{
    color: #29378E;
    font-weight: bold;
}
.members{
    display: flex;
    padding: 1em;
    width: 100%;
     background-color:#E8ECFF;
    border-radius: 1em;
    
    
}
.members img{
    width: 35%;
    padding-left: .5em;
    padding-right: .5em;
    border-radius: 3em;
}
.members p{
    
    padding:  0em .5em;
    text-align: justify;
}
/* login code*/
.login_form_background{
    width: 100%;
    display: grid;
    grid-template-columns: 60% 40%;
    justify-content: flex-end;
    background-image: url('img/Designer.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}
.car_imglogin{
    width: 100%;
    padding-top: 10em;
    display: grid;
    z-index: 1;
}
.car_imglogin img{
    width: 80%;
        
}

.Login_form_div{
    width: 80%;
     display: grid;
    grid-template-columns: 100%;
    
    margin-top: 3em;
    background-color: aliceblue;
    border-radius: 1em;
}
.Login_form_div img{
    width: 30%;
    display: grid;
    padding-top: 1em;
    padding-left: 1em;
   
    z-index: 1;
}
.form_inputs{
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 1em;
    grid-gap: .5em;
   align-self: start;
}
.form_inputs input{
    width: 100%;
    padding: 1em;
    margin-top: .5em;
    margin-bottom: .7em;
    background-color: transparent;
    border: 0px;
    border-radius: 3px;
    border: 1px solid black;
}
.form_inputs label{
    font-family: Inter_Bold;
    font-size: 1em;
    margin-bottom: .7em;
   
    
}
.Login_input{
    display: grid;
    grid-template-columns: 100%;
    
    z-index: 2;
}
.Login_input input{
    background-color: #fff;
}
.this_label{
    padding-bottom: .4em;
    font-family: Inter_l;
}
.msg_button{
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
}
.msg_button button{
    background-color: #117FFF;
    padding: 1em;
    color: #fff;
    font-family: Inter_Bold;
    font-size: 1em;
    border: 0px;
    border-radius: .5em;
    cursor: pointer;
}
.admin-header{
    display: flex;
    width: 100%;
    padding: .5em;
    background-color: #B7E2F0;
    align-items: center;
}
.welcome{
    display: flex;
    width: 50%;
    align-items: center;
    
}
.welcome img{
    width: 5%;
    padding-left: 1em;
}
.notification{
    display: flex;
    width: 25%;
    align-items: center;
    
    
    
}
.notification img{
    width: 10%;
    padding-left: 1em;
}
.logout {
    display: flex;
    width: 25%;
    align-items: center;
    justify-content: flex-end;
}
.logout img{
    width:  10%;
    padding-left: 1em;
}

/* admin design*/
.admin_dashboard_wapper{
    width: 100%;
    display: grid;
    grid-template-columns: 15% 85%;
}
.admin_op_categorize_wapper{
    width: 100%;
     grid-template-columns: 100%;
    background-color: #160E6C;
    padding: 6em 0;
    
}
.admin_op_categoriz_mob{
    display: none;
}
.admin_op_categorize{
    widows: 100%;
    display: grid;
    align-items: flex-start;
    align-self: flex-start;
    grid-template-columns: 100%;
    
    grid-gap: .5em;
    padding: 1em;
}
.admin_option{
    width: 100%;
    display: grid;
}
.admin_option button{
    width: 100%;
    border: 0px;
    background-color: transparent;
    padding: 1em;
    border-radius: .5em;
    color: #fff;
    
    
}
.admin_option button:hover{
    background-color: #fff;
    color: black;
}

/* show messges*/

  .table-container {
            width: 100%;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
        }
        .contact-table {
            width: 100%;
            border-collapse: collapse;
        }
.contact-table th{
     padding: .5em 2em;
     text-align: center;
}
     .contact-table td {
            padding: .5em;
            text-align: left;
        }
        .table-header {
           background-color: #399cbd;  
            color: white;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .table-row:nth-child(even) {
            background-color: #f2f2f2;
        }
        .table-row:hover {
            cursor: pointer;
        }
        .table-cell {
            border-bottom: 1px solid #ddd;
        }
        .table-cell2 {
            border-bottom: 1px solid #ddd;
             background-color: #f2f2f2;
        }
        .table-cell.message {
            word-wrap: break-word;
        }
        .show-messgeas{
            padding: 1em;
        }
/* user add form*/


        /* Form Styles */
        .form-container {
            background-color: #fff;
            width: 100%;
            padding: 20px 30px;
            margin: 20px auto;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            max-width: 500px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: #555;
        }
        .form-group input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .form-group input:focus {
            border-color: #4CAF50;
            outline: none;
        }
        .btn-add {
           background-color: #399cbd; 
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .btn-add:hover {
            background-color: #45a049;
        }

        /* Table Styles */
      
      
       
        .action-btn {
            padding: 6px 12px;
            margin-right: 5px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            color: white;
        }
        .btn-edit {
            background-color: #2196F3;
        }
        .btn-edit:hover {
            background-color: #0b7dda;
        }
        .btn-delete {
            background-color: #f44336;
        }
        .btn-delete:hover {
            background-color: #da190b;
        }

        /* Responsive Design */
        @media (max-width: 600px) {
            .form-container, .table-container {
                padding: 15px;
                margin: 10px;
            }
            th, td {
                padding: 10px;
            }
            .action-btn {
                padding: 5px 10px;
                margin-right: 3px;
            }
        }
/*footer main*/
.footer-main{
    display: flex;
    padding: 1em;
    background-color: #413839;
}
.footer-img{
        display: grid;
        width: 25%;
        grid-template-columns: 1fr;
        padding: .5em;
    
    
    }
.footer-img img{
        width: 75%;
    justify-self: center;
    
     }
.soial-media{
    display: flex;
    color: white;
    justify-content: center;
    
    
    
    }
.soial-media img{
        width: 30%;
    padding-left: 2em;
    padding-right: 2em;
    cursor: pointer;
   
    }
    
    
.foter-text{
    display: grid;
    width: 50%;
    grid-template-columns: 1fr;
    color: #fff;
    align-content: flex-start;
    padding: 1em;
}
.Quick-links{
    display: grid;
    grid-template-columns: 1fr;
    align-content: flex-start;
    width: 25%;
    color: #fff;
    justify-items: center;
    
}
.Quick-links-a{
    display: grid;
    grid-template-columns: 1fr;
    padding: 1em;
    color: #fff;
    
    justify-items:start;
    
    
}
.Quick-links-a a{
    text-decoration: none;
    color: #fff;
    padding:.5em;
    
}
.Quick-links-a a:hover{
    border-bottom: 2px solid #fff;
}
.content {
            display: none;
        }
        .active {
            display: grid;
        }
.edite-user{
    display: grid;
    grid-template-columns: 1fr;
 justify-items: center;
    width: 100%;
    padding: 1em;
}
    

    
/* Slideshow container */
.news-slideshow-container {
    margin: auto;
    overflow: hidden;
    width: 80%;
}

/* Individual slide */
.news-slide {
    display: none;
    text-align: center;
    width: 100%;
    background: #fff; /* Ensure a solid background */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Image inside each slide */
.news-image-container {
    width: 100%;
    height: 500px; /* Set fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the space properly */
}

/* News title and content - Now below the image */
.news-text-container {
    padding: 20px;
    background-color: #f9f9f9; /* Solid background */
    border-top: 2px solid #ddd; /* Adds separation from the image */
    text-align: center;
}

/* News title styling */
.news-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* News content text - Changed to black */
.news-content {
    font-size: 16px;
    color: #000; /* Black text */
}

/* Navigation buttons */
.news-prev, .news-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    transform: translateY(-50%);
}

.news-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.news-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.news-prev:hover, .news-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots */
.news-dots-container {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
}

.news-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.news-active, .news-dot:hover {
    background-color: #717171;
}

/* about us */
.aboutus-main{
    display: flex;
    width: 100%;
    
    
    background-image:url(img/Designer.png);
    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
    
}
.about-us-bg{
  padding: 9em;  
    
}

.aboutus-maincontant{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1em;
    background-color: #62b4cf;
    border-radius: 1em;
    margin:1em;
}
.aboutus-maincontant img{
    justify-self: center;
    width: 50%;
    border-radius: 1em;
}

.team-section {
            text-align: center;
            padding: 50px 0;
            display: grid;
            background-color: #E8ECFF;
        }
        .team-section h1 {
           
            font-size: 36px;
            margin-bottom: 20px;
            text-align: center;
            color:  #0f3262;
           
            
            
            
        }
        .team-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .team-member {
            background-color: white;
            border-radius: 10px;
            margin: 20px;
            padding: 20px;
            width: 250px;
            text-align: center;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        .team-member:hover {
            transform: translateY(-10px);
        }
        .team-member img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
        }
        .team-member h3 {
            margin: 15px 0 5px;
            font-size: 18px;
        }
        .team-member span {
            display: block;
            color: #777;
            margin-bottom: 15px;
        }
        .team-member p {
            font-size: 14px;
            color: #777;
        }
.member-section{
    text-align: center;
    padding: 5em;
}
.join_us_wapper{
            display: grid;
            grid-template-columns: .7fr .3fr;
            background-color: #E8ECFF;
           
           padding: 2em;
        }
        .join-us-img{
            display: grid;
            width: 100%;
            padding: 1em;
            justify-content: center;
            align-items: center;
        }
        .join-us-img img{
            width: 100%;
            border-radius: 1em;
        }

.form-container-join {
    display: grid;
    width: 100%;
    background-color: #fff;
    padding: 3em;;
    border-radius: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      
    
}

.form-container-join h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0f3262;
}

.join_us_inputs label {
    display: block;
    margin-bottom: 5px;
    color: #0f3262;
}

.join_us_inputs input[type="text"], .join_us_inputs input[type="number"], .join_us_inputs input[type="range"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #59abe3;
    border-radius: 4px;
}

.join_us_inputs input[type="radio"] {
    margin-right: 10px;
}

.radio-group {
    display: flex;
    align-content: space-between;
    margin-bottom: 15px;
}

.join_us_form button {
    width: 100%;
    padding: 10px;
    background-color: #117fff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.join_us_form button:hover {
    background-color: #0f3262;
}
       
        .join_us_form{
            display: grid;
            grid-template-columns: 1fr 1fr;
           
            align-items: flex-start;
            border-left: 20px solid #399cbd;
            
        }
        .join_us_inputs{
            padding: 1em;
        }
.table-responsive1 {
        overflow-x: auto;
    }
.slideshow-slide {
    display: none;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth fade effect */
}

.slideshow-slide.slideshow-active {
    display: block;
    opacity: 3;
}




/* services.php */

.services-bg{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1em;
    background-color: #E8ECFF;
    justify-items: center;
    align-items: center;
}
.services-bg img{
    width: 50%;
    border-radius: 2em;
}
.slideshow-container {
            position: relative;
            width: 80%;
            margin: auto;
            text-align: center;
        }

        .slideshow-slide {
            width: 100%
            display: none;
            position: relative;
        }

        .slideshow-slide img {
            width: 80%;
            height: auto;
        }

        .slideshow-description {
            margin-top: 10px;
            font-size: 16px;
            color: #555;
        }

        .slideshow-prev, .slideshow-next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -22px;
            color: white;
            font-weight: bold;
            font-size: 20px;
            transition: 0.3s;
            user-select: none;
        }

        .slideshow-prev {
            left: 0;
        }

        .slideshow-next {
            right: 0;
        }

        .slideshow-prev:hover, .slideshow-next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }
.pdf-viwe-contanor{
    display: grid;
    width: 100%;
  
}
.pdf-viewer {
      width: 600px;
      height: 800px;
      border: 1px solid #ddd;
    }
.pdf-viwe-contanor img{
    width: 90%;
    justify-self: center;
}
.news-container {
    width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #f4f4f4;
}

.news-header {
    text-align: center;
    color: #333;
}

.news-item-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #62b4cf;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.news-text-section {
    width: 60%;
}

.news-title {
    font-size: 1.5em;
    font-weight: bold;
}

.news-content {
    font-size: 1em;
    color: #000;
}

.news-image-section {
    width: 35%;
}

.news-photo {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.no-photo {
    font-style: italic;
    color: #fff;
}


/* responsiv style*/

     @media (max-width: 1041px) {
            .join_us_form{
                grid-template-columns: 1fr;
            }
        }


      
  
  @media screen and (max-width: 768px) {
            .nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 23%;
                left: -2%;
                width: 50%;
                background-color: #399cbd;
                padding: 10px 0;
                z-index: 1;
            }

            .nav ul.active {
                display: flex;
            }

            .nav ul li {
                display: block;
                margin: 10px 0;
                text-align: center;
            }

            .log-in {
                display: grid;
                grid-template-columns: 1fr 1fr;
                width: 80%;
                text-align: center;
                margin-top: 15px;
            }

            .log-in a {
                display: inline-block;
                margin: 5px 0;
                width: 80%;
                text-align: center;
            }

            .hamburger {
                display: flex;
            }
            /* home */
            .about-home {
                display: grid;
                grid-template-columns:1fr;
            }
      .footer-main {
          display: grid;
          grid-template-columns: 1fr;
          
      }
      .read-more{
          width: 100%;
      }
      .foter-text {
          width: 100%;
      }
      .Quick-links{
          padding-left: .5em;
          width: 40%;
      }
      .nav{
          width: 0%;
      }
      .logo {
         width: 20%;
          
      }
      .header {
          padding: .5em;
      }
      .footer-img img {
    width: 100%;
      }
      .soial-media img {
    width: 45%;
      }
      .aboutus-maincontant {
  
    grid-template-columns: 1fr;
      }
      .about-us-bg {
    padding: 2em;
      }
      .members {
    display: grid;
    grid-template-columns: 1fr;
          margin-bottom: 2em;
   
      }
      
      .members img {
    width: 100%;
      }
      .about-us {
    padding: 1em;
      }
      .F-aboutus{
    padding: 1em; 
          direction: rtl;
      }
      .login_form_background {
    grid-template-columns: 5% 95%;
      }
      .Login_form_div {
    width: 95%;
      }
      .table-responsive {
        overflow-x: auto;
    }
      .admin_dashboard_wapper {
    grid-template-columns: 1fr;
      }
      .admin_op_categorize_wapper {
 
    padding:0%;
      }
      .padin {
    padding-bottom: 5em;
      }
      .form_wapper {
    width: 95%;
    grid-template-columns: 1fr;
      }
      .left_side_form {
   
    border-radius: 1em;
      }
        .team-container {
                flex-direction: column;
                align-items: center;
            }
            .team-member {
                width: 80%;
            }
      .join_us_wapper {
  
    grid-template-columns: 1fr;
          padding: 1em;
      }
      .slideshow-container {
   
    width: 100%;
      }
      .news-text-section{
          width: 100%;
      }
      
}
    
   
    @media (max-width: 600px) {
    .form-container {
        padding: 15px;
    }

    input, button {
        font-size: 14px;
    }
        .form-container-join {
   
    padding: 1em;
        }
        .services-bg {
    
    grid-template-columns: 1fr;
        }
         .news-item-box {
                flex-direction: column;
                align-items: flex-start;
            }
            .news-title {
                order: 1;
                font-size: 1.2em;
            }
            .news-image-section {
                order: 2;
                width: 100%;
                text-align: center;
            }
            .news-photo {
                width: 80%;
            }
            .news-content {
                order: 3;
            }
        /* Slideshow container */
.news-slideshow-container {
    margin: auto;
    overflow: hidden;
}

/* Individual slide */
.news-slide {
    display: none;
    text-align: center;
    width: 100%;
   
    
}

/* Image inside each slide */
.news-image-container {
    width: 100%;
     height: 50%;
     object-position: center;
}

.news-image {
    width: 100%;
   
    object-position: center;
    
}

/* News title and content */
.news-text-container {
    padding: 20px;
    background-color: rgba(249, 249, 249, 0.3); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 10px; /* Optional: rounded corners for better appearance */
    z-index: 2;
}


.news-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-content {
    font-size: 16px;
}

/* Navigation buttons */
.news-prev, .news-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0,0,0,0.5);
    user-select: none;
}

.news-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.news-prev:hover, .news-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots */
.news-dots-container {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
}

.news-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.news-active, .news-dot:hover {
    background-color: #717171;
}
        
}