*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color:#f4f4f4 ;
    text-transform: capitalize;
}
body{
    position: relative;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

.nav-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #f4f4f4;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-bar-logo img {
    height: 50px;
}

.nav-bar-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}

.nav-title {
    font-size: 2rem;
    font-weight: 700;
    color: black;
}

.nav-subtitle {
    font-size: 1.5rem;
    color: #8A2BE2;
    cursor: pointer;
    font-weight: 600;
}

.nav-subtitle span {
    transition: all 0.3s ease;
}

.nav-subtitle span:hover {
    font-size: 1.2rem;
}

.nav-bar-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-bar-content a {
    font-size: 1.3rem;
    color: black;
    text-decoration: none; /* Remove default underline */
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative; /* Allows adding pseudo-elements */
}

/* Hover Effect with Underline */
.nav-bar-content a:hover {
    color: #8A2BE2; /* Change text color */
    font-size: 1.2rem;
}

.nav-bar-content a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjust for spacing */
    width: 0;
    height: 2px;
    background-color: #8A2BE2;
    transition: width 0.3s ease;
}

/* Underline animation on hover */
.nav-bar-content a:hover::after {
    width: 100%;
}

.home-icon-nav::after{
    width: 100%;
}

/* Active State Styling */
.nav-link.active {
    color: #4B0082;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-link.active::after {
    width: 100%;
}

.dropdown-container {
    background-color: #f4f4f4;
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f4f4f4;
    width: 200px;
    padding: 10px 0;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown a:hover {
    background-color: #f1f1f1;
}

.dropdown-container:hover .dropdown {
    display: flex;
}

.nav-bar-register {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-bar-button {
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    background-color: #00BFA5;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-bar-button:hover {
    background-color: #008272;
    transform: translateY(-2px);
}

.contact-us-button {
    background-color: #007BFF;
}

.contact-us-button:hover {
    background-color: #006aff;
}

.hamburger {
    display: none;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    gap: 15px;
    transition: left 0.3s;
    z-index: 1000;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    padding: 10px;
    transition: background-color 0.3s ease;
    border-radius: 12px;
}

.sidebar a:hover {
    background-color: #f1f1f1;
}

/* Sticky Header */
.nav-bar-container.sticky {
    background-color: rgba(244, 244, 244, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Close Button Styling */
.close-btn {
    align-self: flex-end;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    color: black;
}

@media(max-width:768px){
    .nav-title{
        font-size: 1.2rem;
    }
    .nav-subtitle{
        font-size: 1rem;
    }
    
}



/*main container-styling*/
/* Container styling for content and canvas */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 40px;
    flex-wrap: wrap; 
}
/* Content container styling */
.main-container-content {
    width: 90%;
    margin: 20px;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: solid black 1px;
}
/* Content hover effect */
.main-container-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/*main- container - content styling*/
.short-note-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}


.short-note-container div{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.short-note-container .intro-text-header{
    text-align: center;
}
.short-note-container .intro-text-header{
    margin: 0;
}
.short-note-container ul {
    margin: 5px 0px;
    margin-right: 20px;
    width: 100%;
}
.short-note-container  ul li{
   list-style-type: none;
   text-align: center;
   font-size: 1.3rem;
}
/* General styling */
.header {
    color: purple;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
}

.intro-text-header {
    width: 100%;
    font-size: 2rem;
    font-weight: 500;
    text-align: left;
    margin: 10px 0;
    color: #333;
}

.intro-text {
    width: 100%;
    margin: 5px 0;
    font-size: 1.2rem;
    text-align: left;
    line-height: 1.5;
    color: #555;
}

/* Unordered list styling */
ul {
    padding-left: 20px;
    margin: 10px 0;
}

ul li {
    margin: 8px 0;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    list-style-type: disc;
    text-align: left;
}

ul li strong {
    font-weight: 500;
    font-size: 1.3rem;
}
.last-text{
    font-weight: none; 
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .main-container {
        margin: 0;
        padding: 10px;
    }

    .main-container-content {
        width: 100%;
        padding: 20px;
        margin: 0;
    }

    /* Header Adjustments */
    .header {
        font-size: 2.5rem;
    }

    .intro-text-header {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    /* List Adjustments */
    ul {
        padding-left: 15px;
    }

    ul li {
        font-size: 1rem;
    }

    /* Short Note Container Adjustments */
    .short-note-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .short-note-container div {
        width: 100%;
    }

    .short-note-container .intro-text-header {
        text-align: left;
    }

    .short-note-container div ul li {
        text-align: left;
        font-size: 1rem;
    }
    ul li strong{
        font-size: 1.1rem;
    }
    .last-text{
        font-weight: none; 
        font-size: 1rem;
        text-align: left;
    }

}
/*footer styling*/

footer {
    background-color: #1C1B29;
    color: #fff;
    padding: 4rem 1rem;
    text-align: left;
    position: relative;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    background-color: #1C1B29; /* Enables wrapping for responsiveness */
}

.footer-info, .footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
    margin: 1rem;
    background-color: #1C1B29;
}

.footer-info h4, .footer-links h4, .footer-social h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    background-color: #1C1B29;
}

.footer-info p, .footer-links ul li, .footer-social a {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #1C1B29;
}

.footer-info p a, .footer-links ul li a, .footer-social a {
    color: #00BFA5;
    text-decoration: none;
    background-color: #1C1B29;
}

.footer-info p a:hover, .footer-links ul li a:hover, .footer-social a:hover {
    text-decoration: underline;
    background-color: #1C1B29;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #1C1B29;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
    background-color: #1C1B29;
}

.footer-social {
    display: flex;
    flex-direction: column;
    background-color: #1C1B29;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    text-decoration: none;
    background-color: #1C1B29;
}

.footer-social a img {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #1C1B29;
}

.footer-bottom {
    background-color: #010101;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    background-color: #1C1B29;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #dcdcdc;
    background-color: #1C1B29;
}

.footer-bottom span {
    color: #00BFA5;
    background-color: #1C1B29;
}

.footer-social div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #1C1B29;
}

@media (max-width: 768px) {
    .nav-bar-content,
    .nav-bar-register {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: black;
        margin: 4px 0;
        transition: all 0.3s;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-info, .footer-links, .footer-social {
        text-align: center;
        margin: 1rem 0;
    }

    .footer-social {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-social a {
        margin-bottom: 0; /* Remove margin for inline display */
    }
    .footer-social div{
        flex-direction: column;
    }
}

.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* State when elements are visible (fade-in) */
.fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* State when elements are not visible (fade-out) */
.fade.hidden {
    opacity: 0;
    transform: translateY(20px);
}