/* =======================
   Global Styles
   ======================= */
   body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* =======================
   Header and Navbar
   ======================= */




.logo img {
    max-width: 100px;
    height: auto;
    background-color: white;
    padding: 5px;
    border-radius: 50%;
}


/* =======================
   Navbar Styles
   ======================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333; /* Default background color */
    padding: 2px; /* Initial padding */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease; /* Smooth transition */
}

.navbar.scrolled {
    background-color: transparent; /* Make navbar transparent when scrolled */
    padding: 10px 20px; /* Reduce the size when scrolled */
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar  li {
    margin: 0 10px;
}

.navbar a {
    color: white; /* Default text color */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease; /* Add transition for color */
}

.navbar.scrolled {
    background-color: #00000099; /* Make navbar transparent when scrolled */
    padding: 10px 20px; /* Reduce the size when scrolled */
}

.navbar a:hover {
    background-color: #45a049;
    padding: 2px;
    
}

/* =======================
   Mobile Hamburger Menu
   ======================= */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
}

@media (max-width: 830px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        background-color: #333;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 10px 0;
    }

    .navbar ul.active {
        display: contents;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .navbar ul li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
    
}
@media (min-width: 830px) and (max-width: 940px) {
    .heading {
        display: none;
    }  
    
}


/* =======================
   Main Content Styles
   ======================= */
main {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}
#youtube-channel {
    text-align: center; /* Center the text in the section */
    margin: 40px 0; /* Add some margin for spacing */
}

.youtube-embed-container {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center the iframe horizontally */
    align-items: center; /* Center the iframe vertically (if needed) */
}

.youtube-embed-container iframe {
    max-width: 100%; /* Ensure the iframe is responsive */
    height: 300px; /* Set a fixed height for better visibility */
    border: none; /* Remove border */
}

/* About Section */
#about {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 8px;
}

#about h2 {
    font-size: 36px;
    color: #333;
}

#about p {
    font-size: 18px;
    color: #555;
    margin: 10px 0;
}

#about .logo img {
    max-width: 150px;
    margin: 20px auto;
}

/* =======================
   Social Media Links in About Section
   ======================= */
#about ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#about ul li {
    display: inline-block;
    margin: 0 15px;
}

#about ul li a {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

#about ul li a:hover {
    color: #4CAF50;
}

/* =======================
   Slider Styles
   ======================= */
.slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots-container {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* =======================
   Referral Program Styles
   ======================= */
#referral-program {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
    margin-top: 40px;
}

#referral-program h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#referral-program p {
    font-size: 18px;
    color: #555;
    margin: 10px 0;
}

#referral-program a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

#referral-program a:hover {
    background-color: #45a049;
}

/* =======================
   Success Stories Section
   ======================= */
.success-stories {
    text-align: center;
    margin: 20px 0;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    height: 50px;
}

.marquee p {
    display: inline-block;
    animation: scroll 30s linear infinite;
    margin: 0;
    position: absolute;
    left: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* =======================
   Timer Styles
   ======================= */
/* Timer Styles */
#timer {
    font-size: 24px;
    text-align: center;
    margin-bottom: 4px;
    color: #d9534f;
    display: none; /* Initially hidden, will be shown when the test starts */
}


/* =======================
   Footer Styles
   ======================= */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: white;
    margin-top: 20px;
}

/* =======================
   Additional Styles
   ======================= */
h1, h2 {
    margin: 0;
    text-align: center;
    color: white;
}

h2 {
    color: rgb(0, 0, 0);
}
/* Favicon with white background */
link[rel="icon"] {
    background-color: white;  /* Setting the background to white */
}
/* =======================
   Test Details Styles
   ======================= */
#Testdeatils {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#Testdeatils h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

#Testdeatils p {
    font-size: 18px;
    color: #555;
    margin: 10px 0 30px;
}

#Testdeatils ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#Testdeatils li {
    margin: 10px 0;
    font-size: 18px;
}

#Testdeatils a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#Testdeatils a:hover {
    background-color: #45a049;
    transform: scale(1.05);
}
/* =======================
   Free Classes Section
   ======================= */
body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            text-align: center;
        }
        #free-classes {
            padding: 20px;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            max-width: 600px;
            margin: 20px auto;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        #free-classes img {
            max-width: 100%;
            height: auto;
        }
        /* =======================
   Free Classes Button Styles
   ======================= */
#free-classes-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4CAF50; /* Button background color */
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for the button */
}

#free-classes-button:hover {
    background-color: #45a049; /* Slightly darker green on hover */
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Slightly deeper shadow on hover */
}

#free-classes-button:active {
    background-color: #3e8e41; /* Even darker green when clicked */
    transform: scale(0.98); /* Slight press effect */
}

a {
    text-decoration: none;
    color: white;

}

.footer a:hover{
    background-color: #45a049;
}
