body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */

.navbar-logo{
    width: 15%;
}
header {
    background-color: #ffffff;
    color: #fff;
    padding: 20px;
    display: flex;
    margin: 15px;
    justify-content: space-between;
    align-items: center; 
}
.nav {
    background-color: #ffffff;
    color: #fff;
    padding: 20px;
    display: flex;
   
    justify-content: space-between;
    align-items: center; 
}

.inline-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the gap between the two sections */
}

.categories-container {
    flex-basis: calc(50% - 10px); /* Adjust the width of the categories container */
    max-width: 50%;
}

.video-container {
    flex-basis: calc(50% - 10px); /* Adjust the width of the video container */
    max-width: 50%;
    margin-top: 3%;
}


header h1 {
    margin: 0;
}

/* Navigation Styles */
nav {
    display: inline-block;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #007bff; /* Change text color to blue */
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.1s;
}

/* Animated Underline Effect */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #007bff; /* Change underline color to blue */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

/* Apply the underline when the link is hovered */
nav ul li a:hover {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 15px; /* Adjust padding for the button */
    border-radius: 8px; /* Add rounded corners */
    transition: all 0.3s ease; /* Add a smooth transition effect */
    display: inline-block; /* Ensure the button expands properly */
}

/* Reset the styles when the mouse leaves the link */
nav ul li a:not(:hover) {
    background-color: transparent;
    color: #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.6s ease; /* Slightly slower transition */
    display: inline-block;
}

/* Login and Signup Link Styles */
.login-link, .signup-link {
    display: inline-block;
}

.login-link a, .signup-link a {
    color: #007bff;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 5px;
}

.login-link a:hover, .signup-link a:hover {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 15px; /* Adjust padding for the button */
    border-radius: 8px; /* Add rounded corners */
    transition: all 0.3s ease; /* Add a smooth transition effect */
    display: inline-block; /* Ensure the button expands properly */
}

.login-link a:not(:hover) {
    background-color: transparent;
    color: #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.6s ease; /* Slightly slower transition */
    display: inline-block;
}
/* ... (rest of the CSS) ... */


/* Hero Section Styles */
.hero {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 40px;
}

.hero h2 {
    margin: 0;
}

.hero p {
    font-size: 18px;
}

.button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 20px;
}

/* Features Section Styles */
.features {
    display: flex;
    justify-content: space-around;
}

.feature {
    flex-basis: 30%;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.modal-content button {
    display: block;
    background-color: #007bff;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #0056b3;
}

.modal-content p {
    margin-top: 10px;
    text-align: center;
}

.modal-content a {
    color: #007bff;
    text-decoration: none;
}

/* Login and Signup Page Styles */
.login-section, .signup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-content, .signup-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.login-content h2, .signup-content h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #007bff;
}

.login-content label, .signup-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.login-content input[type="text"],
.login-content input[type="password"],
.signup-content input[type="text"],
.login-content input[type="text"],
.login-content input[type="password"],
.signup-content input[type="text"],
.signup-content input[type="email"],
.signup-content input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.login-content button, .signup-content button {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-content button:hover, .signup-content button:hover {
    background-color: #0056b3;
}

.login-content p, .signup-content p {
    margin-top: 15px;
    text-align: center;
    color: #666;
}

.login-content a, .signup-content a {
    color: #007bff;
    text-decoration: none;
}

.login-content a:hover, .signup-content a:hover {
    text-decoration: underline;
}

/* Sign-up Page Styles */
.signup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.signup-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.signup-content h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #007bff;
}

.signup-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.signup-content input[type="text"],
.signup-content input[type="email"],
.signup-content input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.signup-content button {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.signup-content button:hover {
    background-color: #0056b3;
}

.signup-content p {
    margin-top: 15px;
    text-align: center;
    color: #666;
}

.signup-content a {
    color: #007bff;
    text-decoration: none;
}

.signup-content a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 50px;
    background-color: #333;
    color: #fff;
    
    margin-top: 30px; /* Push the footer to the bottom */
 
}


/* Info Section Styles */
.info {
    background-color: #f2f2f2;
    padding: 50px 50px; /* Added more padding */
    

}

.info .infotop{
    text-align: center;
}

.info h2 {
    margin-bottom: 40px; /* Increased margin */
    font-size: 30px;
}

.info p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 50px; /* Increased margin */
}

.info .info-lists {
    display: flex;
    text-align: left;
    justify-content: space-between; /* Changed spacing to between */
    margin-top: 30px;
    
  
}

.info .info-list {
    flex-basis: 45%;
    max-width: 450px;
  
}

.info .info-list header {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

.info .info-list li {
    font-size: 16px;
    margin-bottom: 9px;
    margin-left: 0;
    padding-left :5px; 
    list-style-position: inside;
}


.info .button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 25px 200px; /* Increased padding */
    text-decoration: none;
    margin-top: 40px; /* Increased margin */
    border-radius: 100px;
    transition: background-color 0.3s;
    font-size: 18px; /* Increased font size */
}

.info .button:hover {
    background-color: #0056b3;
}

ul .info-list {
    margin: 20px;
}



.indexlist {
    list-style-type: decimal; /* Use numbers as list markers */
    padding-left: 20px; /* Add left padding to the list */
  
    text-align: left;
}

/* Style for list items */
.indexlist li {
  margin-bottom: 10px; /* Add space between list items */
  text-align: left; /* Align the text to the left */
  
}
.advantageslist li{margin-bottom: 20px;
text-align: left;
}

.simcenter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh; /* Adjust the height as needed */
    margin-top: 5%; /* Add margin to separate from the navigation bar */
}

/* Style the iframe container */
.simcenter iframe {
    border: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    width: 80%; /* Adjust the width as needed */
    max-width: 800px; /* Limit the maximum width */
    height: 100%; /* Fill the container's height */
}


/* Media query for screens up to 768px width */
@media (max-width: 900px) {
    .nav ul li:not(.login-link):not(.signup-link) {
        display: none; /* Hide navigation links on mobile */
    }
    
    /* Optionally, adjust the styling for the login and signup links */
    .login-link, .signup-link {
        margin-top: 10px; /* Add space between login/signup link and navigation */
        display: block; /* Show login/signup links on mobile */
    }
}

.cont {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.twobar {
    width: calc(50% - 2%);
    margin: 1%;
    padding: 30px;
    height: 100%;
    min-height: 300px; /* Increase the height for taller boxes */
    box-sizing: border-box;
    font-size: 20px;
    background-color: #007bff;
    border-radius: 20px;
    color: white;
}



