body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}











/* Styles for the first section (Home) */
.home-section header {
    background-color: white;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.home-section .logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.home-section .logo img {
    height: 60px;
    width: auto;
}
.home-section nav a, .home-section .dropdown > a {
    margin: 0 1rem;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    
    padding: 10px 15px;
    position: relative;
    transition: color 0.3s ease;
}

.home-section nav a::after, .home-section .dropdown > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #81589a;
    transition: all 0.3s ease;
}

.home-section nav a:hover::after, .home-section .dropdown > a:hover::after {
    width: 100%;
    left: 0;
}

.home-section nav a:hover, .home-section .dropdown > a:hover {
    color: #81589a;
}
.home-section nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.home-section .dropdown {
    position: relative;
    display: inline-block;
   
}
.home-section .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    
}
.home-section .dropdown:hover .dropdown-content {
    display: block;
     
}




.home-section .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: normal;
    font-size: 15px;
   
}
.home-section nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
}
.home-section nav a, .home-section .dropdown > a {
    margin: 0 1rem;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.home-section nav a:hover, .home-section .dropdown > a:hover {
    color: #81589a;
}
.home-section .dropdown {
    position: relative;
    display: inline-block;
}

.home-section .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
}
.home-section .dropdown:hover .dropdown-content {
    display: block;
}
.home-section .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: normal;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
}
.home-section .dropdown-content a:hover {
    background-color: #81589a;
    color: #81589a;
}

.home-section .dropdown-content a:hover {
    background-color: lightgray;
}
.home-section .auth-buttons {
    display: flex;
    gap: 1rem;
}
.home-section .hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5rem;
    overflow: hidden;
}

.home-section .hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.home-section .hero-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    max-height: 400px;
}
.home-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0rem;
}
.home-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.home-section .cta-button {
    background-color: #81589a;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}
.home-section .login-button {
    background-color: rgb(233, 233, 233);  
    color: #81589a;
}
.home-section .partners {
    text-align: center;
    padding: 2rem;
    background-color: #f4f4f4;
}
.home-section .partner-logos img {
    height: 30px;
    margin: 0 1rem;
    opacity: 0.6;
}

/* Styles for the second section (About Us) */
.about-section .about-header {
    background-color: #81589a;
    color: white;
    padding: 1rem;
    text-align: center;
}
.about-section .about-nav {
    background-color: #f8f9fa;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.about-section .about-nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
.about-section .about-nav ul li {
    margin: 0 15px;
}
.about-section .about-nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.about-section .container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 2rem 0;
}
.about-section .section {
    margin-bottom: 3rem;
}
.about-section .section h2 {
    color: #81589a;
    border-bottom: 2px solid #81589a;
    padding-bottom: 10px;
}
.about-section .section-content {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.about-section .section-content.right {
    flex-direction: row-reverse;
}
.about-section .section-text {
    flex: 1;
    padding: 0 20px;
}
.about-section .section-image {
    flex: 1;
    text-align: center;
}
.about-section .section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.about-section .team-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.about-section .team-member {
    text-align: center;
    margin: 1rem;
}
.about-section .team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}
.about-section .faq-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}
.about-section .faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.about-section .faq-question {
    background-color: #fff;
    color: #81589a;
    padding: 15px;
    cursor: pointer;
    position: relative;
}
.about-section .faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
.about-section .faq-answer {
    display: none;
    padding: 15px;
    background-color: #f8f9fa;
}
.about-section .cta-button {
    display: inline-block;
    background-color: #81589a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
footer {
    background-color: #81589a;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
footer p {
    margin: 0.5rem 0;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    padding-right: 50px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #4a4a4a;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #333333;
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.popup-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.popup-content .cta-button {
    background-color: #81589a;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.popup-content .cta-button:hover {
    background-color: #6e4c82;
}






