* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

    
}

html {
    scroll-behavior: smooth;
    font-size: 52.6%;
    overflow-x: hidden; /* Prevent horizontal scrolling */

}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.register-btn {
    background: #3a67ad;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    animation: shadow-pulse 1.5s infinite;
}

@keyframes shadow-pulse
{
  0% {
    box-shadow: 0 0 0 0px rgba(0, 112, 244, 0.4);
  }
  100% {
    box-shadow: 0 0 7px 25px rgba(0, 112, 244, 0);
  }
}

.register-btn:hover {
    background: #b8aeec;
    color: #4e85db;
}

#logo {
    width: 150px;
}

#section1 {
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
    position: relative;
    background-image: url("imgs/rustaq.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}


#section1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay with 40% opacity */
    z-index: 1; /* Ensure the overlay is above the background but below the text */
}

#section1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 400px; /* The gradient effect will be within this height */
    background: linear-gradient(to top, #545c8b 0%, rgba(30, 136, 229, 0) 100%);
    z-index: 2; /* Ensure it's above the dark overlay */
}



#section1 .content {
    position: relative;
    z-index: 34;
    opacity: 1; /* Make the content visible immediately */
    transform: translateY(0);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

#logoc {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    max-width: 310px; /* Maximum width */
    height: auto; /* Keeps the aspect ratio intact */
    z-index: 34;
}

#section2 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
    background: linear-gradient(to bottom, 
    #545c8b 0%,  /* Top color 1 */
    #b67998 100% /* Bottom color 2 */
);    color: white;
}

#intro {
    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}



.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-out-up {
    opacity: 0 !important;
    transform: translateY(-30px) !important;
}

.introt {
    
    font-size: 20px;

}

@media (min-width: 600px) {
    .introt {
        font-size: 24px; /* Increase font size for screens wider than 600px */
        padding: 0px 100px 0px 100px;;

    }

}

@media (min-width: 1000px) {
    .introt {
        padding: 0px 300px 0px 300px;;

        font-size: 30px; /* Increase font size for screens wider than 1000px */
    }
}

#section3 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
    background: linear-gradient(to bottom, 
    #b67998 0%,  /* Top color 1 */
    #ff7171fc 100% /* Bottom color 2 */
); 
    color: white;
}

#Program {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-out-up {
    opacity: 0 !important;
    transform: translateY(-30px) !important;
}



#container {
    height: 416px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 23px;
}

#right {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    border-radius: 14px;
    height: 225px;
    width: 331px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1), 
                0 6px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px); /* Glass effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */

    

}


#left {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    border-radius: 14px;
    height: 225px;
    width: 331px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1), 
                0 6px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px); /* Glass effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */

}


#section4 {
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
    background: linear-gradient(to bottom, 
    #a47dffff 0%,  /* Top color 1 */
    #1f809eff 100% /* Bottom color 2 */
);     color: white;
    
}

#abstract {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-out-up {
    opacity: 0 !important;
    transform: translateY(-30px) !important;
}



#section5 {
    background-color: #2f3741fe;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 4px;
}

.contain {
    max-width: 440px;
     height: 100%;
      display: flex;
    align-items: center;
    justify-content: center;

}
.left {
    width: 15%;
}

.right {
    font-size: 2px !important;
    flex: 1;
    margin-right: 10px;
    margin-left: 10px;
}
.far {
    width: 50%; 
    height: 90px; 
    margin-right: 0px;
    align-items: center;
    justify-content: space-between;
}

#ico {
    width: 55px;
}

table {
    text-align: left;
    border-collapse: collapse;
    width: 60%;
}
td {
    padding: 1px;
}

.social-links a {
    justify-content: left;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    background: #fff;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1000;
    width: 464px;
    text-align: center;
    transition:
        transform 0.3s ease-out,
        opacity 0.3s ease-out;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}
.close-btn {
    background: transparent;
    color: #333;
    border: none;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}
.open-btn {
    padding: 12px 24px;
    background: #f4f9ff;
    color:rgb(62, 52, 78);
        border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */

    font-weight: 900; 
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 16px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}
.open-btn:hover {
    background: #0056b3;
    color: wheat;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}


/* Progress Bar Container */
.progress-container {
    width: 50%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

/* Progress Bar */
.progress-bar {
    width: 0%;
    height: 10px;
    background: #f39c12;
    transition: width 0.3s ease-in-out;
}

/* Hide loader */
.hide-loader {
    opacity: 0;
    pointer-events: none;
}

/* Page Entrance Animation */
.fade-in {
    opacity: 1;   /* inable from herer  */
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}


.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.load {
    text-align: center;
    color: aliceblue;
}

body {
  background:#111;
}

.arrow {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: rotate(180deg);
    cursor: pointer;
    z-index: 9999; 
}

.arrow span {
    display: block;
    width: 20px; 
    height: 20px;
    border-bottom: 5px solid #ffffff;
    border-right: 5px solid #ffffff;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}




.single {
    padding-top: 20px;
    height: 230px;
    width: 100%;
  }
  
  .slick-slide {
    display: flex !important;  /* Ensures Slick does not override it */
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    width: 200px;
  }
  
  .sp {
    max-width: 140px;
    margin-bottom: 10px;
  }
  .slick-prev, .slick-next {
    display: none !important;
}

.acc {
    font-size: 10px;
    position: absolute;
    right: 20px;
    top: 80px;
    background-color: white;
    z-index: 99;
    color: #111;
    width: 130px;
    border-radius: 20px;
    padding: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.acc2 {
    position: absolute;
    left: 30px;
    top: 80px;
    z-index: 99;
    width: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
}