body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    cursor: none;
}
.top-nav a.icon {
    display: none;
}
/* For Custom Mouse */
.custom-mouse {
    position: fixed;
    pointer-events: none; /* Ensure the custom mouse doesn't interfere with clicks */
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.circle {
    width: 10px;
    height: 10px;
    background-color: #3498db;
    border-radius: 50%;
    transition: background-color 0.3s; /* Add transition for a smooth color change */
}

.small-circle {
    width: 15px;
    height: 15px;
    background-color: #e74c3c;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
input[type="checkbox"]:hover,
input[type="text"]:hover,
button:hover,
select:hover,
label:hover {
    cursor: none; 
}
/* For media screen */
@media screen and (max-width: 600px) {
    .top-nav a:not(.icon) {
        display: none;
    }

    .top-nav a.icon {
        float: right;
        display: block;
    }

    .top-nav.responsive {
        position: relative;
    }

    .top-nav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .top-nav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
/* For icon grid */
.material-symbols-outlined{
    display: grid;
    vertical-align: middle;
}
.text1{
    align-items: center;
    vertical-align: middle;
}

/* For navbar */
.top-nav{
    background-color: #333;
    overflow: hidden;
    position: fixed;
    box-shadow: black 0 0 8px;
    width: 100%;
    vertical-align: middle;
    z-index: 1;
}
.top-nav a{
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
/* For Hover */
.top-nav a:hover{
    background-color: #ddd;
    color: black;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 10px;
}
.top-nav .logo:hover{
    background-color: rgb(142, 210, 232);
    color: black;
}
/* For logo */
.logo img{
    height: 50px;
    width: auto;
    vertical-align: middle;
}
.top-nav .logo{
    display: block;
    float: left;
    padding: 2px 16px;
    font-size: 18px;
    text-decoration: none;
 
    color: #fff; /* Adjust text color based on the gradient */

    background: linear-gradient(to left, #1a237e, #64b5f6); /* Gradient background */
    border-radius: 10px;

    transition: background-color 0.3s, color 0.3s;
}

/* For Section */
.section {
    height: 100vh;
    scroll-snap-align: start;
    padding: 20px;
    margin: 20px;
    box-sizing: border-box;

    position: relative;
    overflow: hidden;
}



/* Your existing CSS styles */

/* For Login */
.login-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    margin: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);

    position: absolute;
    top: 14%;
    left: 60%;
    width: 400px;

    z-index: 1;
}

.login-box h2 {
    text-align: center;
    color: #333;
}

.user-box {
    position: relative;
    margin-bottom: 20px;
}

.user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    outline: none;
    transition: border-bottom 0.3s, color 0.3s; /* Added transition */
}

.user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #555;
    pointer-events: none;
    transition: 0.5s;
}

.user-box input:focus ~ label,
.user-box input:valid ~ label {
    top: -20px;
    left: 0;
    color: #3498db;
}

.course-box {
    margin-bottom: 20px;
    transition: border 0.3s; /* Added transition */
}

.course-box select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #333;
    border: 1px solid #ddd;
    background: transparent;
    outline: none;
    border-radius: 5px;
    transition: border 0.3s, color 0.3s; /* Added transition */
}

/* Your existing CSS styles */
.agreement{
    text-align: center;
    display: inline-flex;
    margin-top: 19px;
    margin-bottom: 29px;
  
}   
.agreement input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3498db; /* Border color for checkbox */
    border-radius: 5px;
    background-color: transparent;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    cursor: pointer;
}

.agreement input::before {
    content: "\2022"; /* Unicode character for a bullet (•) */
    font-size: 20px;
    color: #3498db; /* Dot color */
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.3s ease-in-out;
}

.agreement input:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.agreement label {
    font-size: 16px;
    color: black;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}
.center-buttons {
    text-align: center;
}

#loginButton,
#clearButton {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
    transition: background 0.3s, color 0.3s; /* Added transition */
}

#loginButton:hover,
#clearButton:hover {
    background: #2980b9;
}


  /* For autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: black !important;
}
/* img about */
.img-about{
    position: relative;
    top: 20%;
    flex: 1;
    z-index: -4;
}
/* For about */
h1{
    margin-top: 100px;
    font-size: 5vw;
}
.about_us{
    margin-right: 40%;
    margin-left: 10%;

    position: relative;
    left: 30%;
    bottom: 70%;

    font-size: 1.4vw;
    text-align: justify;

    z-index: -3;
}

/* For Courses_Offer */
/* For course img */
.course-img{
    position: relative;
    left: 50%;
    bottom: 20%;
    z-index: -3;
}
/* For Custom table */
.custom-course{
    position: relative;
    bottom: 80%;
}
.course-table{
    position: relative;
    width: 40%;
    left: 1%;
    z-index: -1;
}
/* For Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #333;
    color: white;
}

tr:hover {
    background-color: #f5f5f5;
}

/* Contacts */
.h1-custom {
    margin-left: 59%;
}
/* Contact images */
.contact-img{
    z-index: -4;
    position: relative;
    left: 10%;
    bottom: 20%;
}
/* For Custom table */
.custom-table{
/* Positon of the table */
    position: relative;
    bottom: 80%;
    left: 50%;

    width: 40%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    z-index: 0;
}
.custom-table th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* Footer */
/* Modern Footer Styles */
.modern-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-around;
}

.footer-section {
    max-width: 300px;
}

.footer-section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.footer-section p {
    margin: 5px 0;
}

.footer-section a {
    color: #007BFF;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    color: #999;
}

/* Animated BG */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.animated-gradient-background {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    border-radius: 30px;
    box-shadow: black 0 0 20px;
    background-image: linear-gradient(rgba(9, 5, 54, 0.3),rgba(5, 4, 46, 0.7)), url(images/SCAS\ bldg.jpg);
    background-size: cover;
}

/* Changing Font Color */
.color-container {
    text-align: left;
    padding: 50px;
}

.colored-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: white 0 0 7px;
}

/* For Href design */
/* Your existing CSS styles */

.modern-link-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid #3498db; /* Button border color */
    color: #3498db; /* Button text color */
    border-radius: 5px; /* Button border radius */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.modern-link-button:hover {
    background-color: #3498db; /* Button background color on hover */
    color: white; /* Button text color on hover */
}


