@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap');
/* Base styles for header remain unchanged */
:root {
    --red: #e81a2e;
    --darkRed: #ae0e1e;
    --primary-color-red: #e30202;
    --primary-color-blue: #5c1685;
    --light-blue:#ace6b9;
    --text-dark: #000000;
    --text-light: #767268;
    --myturquoise:#17a2b8;
    --mypurple: #a78bfa;
    --buttonprimary: #0f172a;
    --max-width: 1200px;
    --default-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    /* font-family: 'Poppins', sans-serif; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f9;
}
.container_home {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
    font-size: xx-large;
}

/* ul {
    list-style-type: none;
    padding: 0;
}
li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.roles-list {
    margin-left: 300px;
    margin-right: 50px;
    text-align: center;
} */

.container_home h1 {
    text-align: left; /* Centers the heading */
    font-size: 2.5em;   /* Increases the font size for a large heading */
    font-weight: bold;  /* Makes the heading bold */
    color: black;        /* Optional: Change the color for contrast */
    margin-bottom: 20px; /* Adds space below the heading */
    
    
}
.container_home_h2{
    text-align: center; /* Centers the heading */
    font-size: 2.0em;   /* Increases the font size for a large heading */
    font-weight: 500; 
    color: #000000;        /* Optional: Change the color for contrast */
    margin-bottom: 20px; /* Adds space below the heading */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
hr.rounded {
    border-top: 8px solid #ace6b9;
    border-radius: 5px;
    align-content: center;
    width: 10%;
  }

.container_home p{
    font-size: 1.25rem;
    color: #000000;
    padding-top: 2rem;
}
.nav__menu__btn {
    font-size: 1.5rem;
    color: black;
    cursor: pointer;
  }
img{
    max-width: 100%;
}

/* Css for Registration info in home page */
.info-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: #f4f4f9;
    color: #fff;
}

.info-container {
    display: flex;
    flex-direction: row;
    background-color: #ace6b9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    width: 80%;
    max-width: 1200px;
}

.info-text_a {
    flex: 1;
    margin-right: 10px;
    text-align: center;
    margin-top: 100px;
}


.info-text_a h2{
    text-align: center;
    font-size: 36px;
    color: black;
}
.info-text_a p{
    font-size: 1.25rem;
    color: black;
}


a.cta-home-page-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: var(--buttonprimary);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;

}

a.cta-home-page-button:hover {
    /* background-color: var(--buttonprimary); */
    transform: scale(0.95);
}

.info-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/*End of CSS info in home page */

.info-text_b{
    flex: 1;
    margin-right: 10px;
    text-align: center;
    margin-top: 100px;
}
.info-text_b h2{
    text-align: center;
    font-size: 36px;
    color: black;
}
.info-text_b p{
    font-size: 1.25rem;
    color: black;
    padding-right: 150px;
    padding-left: 150px;
}


header { 
    position: sticky;
    top: 0;
    background-color: #ffffff;
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* Flexbox layout for the navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo img {
    height: 60px; /* Slightly larger height for better visibility */
    width: auto;  /* Ensures the image scales proportionally */
    display: block; /* Ensures there's no extra space around the image */
}

/* Flexbox for navigation links */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: bold;
}

.nav-links a:hover {
    color: #e50102;
}

/* CTA buttons */
.cta-home-page .button, .Profilebtn {
    text-decoration: none;
    color: white;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-home-page .button {
    background-color: var(--buttonprimary);
}

.cta-home-page .button:hover {
    /* background-color: var(--buttonprimary); */
    transform: scale(0.95);
}

.Profilebtn {
    background-color: #0b8600;
}

.Profilebtn:hover {
    background-color: #087a00;
}

#hello_msg { 
    color: Black;
  }

#hello_msg_sidebar{
    color: white;
    margin-bottom: 10px;
  }
  .sidebar_logo{
    background-color: white;
  }

/* --- Responsive Design --- */

/* For tablets and smaller screens */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack logo and navigation vertically */
        align-items: flex-start;
        padding: 0 10px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%; /* Ensure the links fill the available space */
        align-items: flex-start;
    }

    .nav-links li {
        margin: 10px 0; /* Space out links vertically */
    }

    .cta-home-page {
        width: 100%;
        display: flex;
        justify-content: space-between; /* Spread out CTA buttons */
        margin-top: 10px;
    }

    .cta-home-page .button, .Profilebtn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px; /* Space out buttons on mobile */
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    .logo img {
        height: 40px; /* Reduce logo size for smaller screens */
    }

    .nav-links a {
        font-size: 14px; /* Slightly smaller font size */
    }

    .cta-home-page .button, .Profilebtn {
        padding: 10px;
        font-size: 14px;
    }

    .navbar {
        padding: 0 5px;
    }
}