
/* Light Theme Default Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-background-color);
}

:root {
    --primary-text-color: #333333;
    --primary-background-color: #f4f4f4;
    --primary-header-color: #8A2BE2;
    --primary-dark-header-color: #6900b4;
    --secondary-header-color: #4B0082;
    --secondary-text-color: #21bb88;
    --secondary-dark-text-color: #008272;
    --third-text-color: #007BFF;
    --third-dark-text-color: #006aff;
}


body.dark {
    --primary-text-color: #f4f4f4;
    --primary-background-color: #121212;
    --primary-header-color: #bb86fc;
    --primary-dark-header-color: #3700b3;
    --secondary-header-color: #03dac6;
    --secondary-text-color: #03dac6;
    --secondary-dark-text-color: #018786;
    --third-text-color: #bb86fc;
    --third-dark-text-color: #6200ee;
    background-color: var(--primary-background-color);
    color: var(--primary-text-color);
}
body.dark .nav-title{
    color: var(--primary-text-color);
}
/* Global Styles */
body {
    position: relative;
    overflow-x: hidden;
    background-color: var(--primary-background-color);
    color: var(--primary-text-color);
}

html {
    scroll-behavior: smooth;
}

/* Other styles remain unchanged... */

/* Nav Bar Styling */
.nav-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: var(--primary-background-color);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999; /* Ensure navbar is on top */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed; /* Keep it fixed to avoid scrolling */
    top: 115px; /* Adjust placement */
    right: 15px; /* Adjust placement */
    padding: 7px;
    border: none;
    border-radius: 20px;
    background-color: var(--primary-header-color);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 998; /* Lower than navbar's z-index */
}


.theme-toggle:hover {
    background-color: var(--primary-dark-header-color);
}
/* Dark Mode Adjustments for Key Elements */
body.dark .nav-bar-container {
    background-color: var(--primary-background-color);
}

body.dark .nav-bar-content a {
    color: var(--primary-text-color);
}

body.dark .register-container {
    background-color: var(--primary-background-color);
    border: 1px solid var(--primary-header-color);
}

body.dark .popup-content {
    background-color: var(--primary-background-color);
    color: var(--primary-text-color);
}

/* Responsive Styles (Unchanged)... */
.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: var(--primary-background-color);
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-background-color);
    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-container:hover .dropdown {
    display: flex;
    color: var(--primary-header-color);
}
.nav-bar-register {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-bar-button:hover {
    background-color: var(--secondary-dark-text-color);
    transform: translateY(-2px);
}

.contact-us-button {
    background-color: var(--third-text-color);
}

.contact-us-button:hover {
    background-color: var(--third-dark-text-color);
}
.hamburger {
    display: none;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--primary-background-color);
    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: var(--primary-text-color);
    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: var(--primary-text-color);
}

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


/*main container-styling*/

.register-container {
    width: 100%;
    padding: 40px; /* Use padding to separate content from edges */
    background-color: #f4f4f4; /* Retain background color */
    border-radius: 0; /* Remove rounded corners */
    box-shadow: none; /* Remove shadow for a flat look */
}
.header {
    font-size: 2.5rem;
    color: var(--primary-dark-header-color);
    margin-bottom: 20px;
    text-align: center; /* Center the header */
}

.register-form label {
    font-size: 1.2rem;
    color: var(--primary-text-color);
    margin-top: 10px;
}

.register-form input,
.register-form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.register-button {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    color: white;
    background-color: var(--secondary-text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-button:hover {
    background-color: var(--secondary-dark-text-color);
}

.whatsapp-info {
    margin-top: 20px; /* Space above the WhatsApp info */
    font-size: 1rem; /* Font size for the text */
    color: var(--primary-text-color); /* Text color */
    text-align: center; /* Center the text */
}

.whatsapp-info a {
    color: var(--secondary-text-color); /* Color for the link */
    text-decoration: underline; /* Underline the link */
}

.popup {
    display: none; /* Initially hidden */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    z-index: 1000; /* Ensure it's above other content */
}

.popup-content {
    background-color: #f4f4f4; /* White background for the popup */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    max-width: 600px; /* Max width for the popup */
    width: 80%; /* Width of the popup */
    position: relative; /* Allow absolute positioning of close button */
}

.popup h2 {
    color: var(--secondary-text-color); /* Header color in the popup */
    margin-bottom: 10px; /* Space below the header */
}
.popup h3 {
    color: var(--primary-header-color); /* Header color in the popup */
    margin-bottom: 10px; /* Space below the header */
}

.popup p {
    color: var(--primary-text-color); /* Text color in the popup */
    margin: 5px 0; /* Space around paragraphs */
}

.close {
    cursor: pointer; /* Change cursor on hover */
    font-size: 1.5rem; /* Size of close button */
    color: var(--third-text-color); /* Color of close button */
    position: absolute; /* Position relative to popup */
    right: 20px; /* Right margin */
    top: 20px; /* Top margin */
}


/*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;
    }
    body.dark .hamburger span{
        background-color: var(--primary-text-color);
    }
    .theme-toggle {
        position: fixed; /* Keep it fixed to avoid scrolling */
        top: 100px; /* Adjust placement */
        right: 10px; /* Adjust placement */
        padding: 7px;
        border: none;
        border-radius: 20px;
        background-color: var(--primary-header-color);
        color: white;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
        z-index: 998; /* Lower than navbar's z-index */
    }
    .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);
}
/* Add fade and visible classes */
.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.visible {
    opacity: 1;
    transform: translateY(0);
}



/*responsive da frnds */
/* Default (Desktop) styles are as provided */

@media (max-width: 1200px) {
    /* Large Tablets and Small Desktops */
    .nav-title {
        font-size: 1.8rem;
    }

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

    .nav-bar-content a {
        font-size: 1.1rem;
    }

    .register-container {
        padding: 30px;
    }

    .header {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    /* Tablets and Medium Devices */
    .nav-title {
        font-size: 1.5rem;
    }

    .nav-subtitle {
        font-size: 1rem;
    }

    .nav-bar-content a {
        font-size: 1rem;
        padding: 8px 10px;
    }

    .register-container {
        padding: 20px;
    }

    .header {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

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

    .footer-social div {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Small Tablets and Large Mobiles */
    .nav-bar-content,
    .nav-bar-register {
        display: none;
    }

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

    .nav-title {
        font-size: 1.2rem;
    }

    .nav-subtitle {
        font-size: 1rem;
    }

    .register-container {
        padding: 15px;
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .header {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

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

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

@media (max-width: 576px) {
    /* Small Mobile Devices */
    .nav-title {
        font-size: 1rem;
    }

    .nav-subtitle {
        font-size: 0.8rem;
    }

    .sidebar {
        width: 200px;
        padding: 50px 15px;
    }

    .register-container {
        padding: 10px;
    }

    .header {
        font-size: 1.2rem;
    }

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

    .footer-social a img {
        width: 1.2rem;
        height: 1.2rem;
    }

    .footer-bottom {
        padding: 0.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    /* Extra Small Mobile Devices */
    .nav-title {
        font-size: 0.9rem;
    }

    .nav-subtitle {
        font-size: 0.7rem;
    }

    .nav-bar-container {
        padding: 8px 20px;
    }

    .register-container {
        padding: 5px;
    }

    .header {
        font-size: 1rem;
    }

    .footer-content {
        padding: 10px;
    }

    .footer-info h4, .footer-links h4, .footer-social h4 {
        font-size: 1.2rem;
    }

    .footer-info p, .footer-links ul li, .footer-social a {
        font-size: 0.9rem;
    }

    .footer-social a img {
        width: 1rem;
        height: 1rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }
}



/* Updated Dark Theme Navbar and Footer Styles */

body.dark .nav-bar-container {
    background-color: var(--primary-background-color);
}

body.dark .nav-bar-content a {
    color: var(--primary-text-color);
}

