* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #EFF6FF;
    font-size: 14px;
}

/* Entire scrollbar */
::-webkit-scrollbar {
  width: 12px;       /* Width of vertical scrollbar */
  height: 12px;      /* Height of horizontal scrollbar */
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 6px;
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
  border: 3px solid #f0f0f0; /* gives padding effect */
}

/* Scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}



.main-navbar {
    width: 100%;
    background-color: #0066ff;
    position: sticky;
    top: 0;
    z-index: 999;

    /* Animation */
    animation: slideDown 0.6s ease-out;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header {
    display: flex;
    padding-left: 50px;
}

/* Slide-down animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Shadow effect on scroll */
.main-navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}



.header img {
    padding: 3px 10px;
    width: 120px;
}

.logo,
.navbar {
    width: 50%;
    margin: auto;
}

.navbar ul {
    display: flex;
    margin: auto;
    justify-content: center;
    justify-items: center;
}

.navbar ul li {
    padding: 0px 20px;
    list-style: none;
    justify-content: center;
    justify-items: center;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;

}

/* ticker */
.news-ticker {
    display: flex;
    align-items: center;
    padding: 4px 20px;
    background-color: #fff;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
}

.news-ticker .label {
    background: rgb(0, 102, 255);
    color: #fff;
    padding: 6px 12px;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 15px;
    font-size: 12px;
}

.ticker-wrapper {
    overflow: hidden;
    width: 100%;
}

.ticker {
    display: inline-flex;
    gap: 40px;
    white-space: nowrap;

    /* UX Friendly Animation */
    animation: scroll 60s linear infinite;
    animation-delay: 1s;
    /* ⏱ start after 1 sec */
    will-change: transform;
}

/* ⏸ Pause on hover */
.ticker-wrapper:hover .ticker {
    animation-play-state: paused;
}

/* Links */
.ticker a {
    color: rgb(0, 123, 255);
    text-decoration: none;
    font-size: 14px;
}

.ticker a:hover {
    text-decoration: underline;
}

/* Smooth animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
        /* 👀 visible on load */
    }

    100% {
        transform: translateX(-100%);
    }
}

.main {
    width: 100%;
    max-width: 1200px;
    padding: 50px 20px;
    margin: auto;
}

/* hero */
section {
    margin-bottom: 25px;
}

section h3 {
    font-size: 27px;
    color: #191c24;
    margin-bottom: .5rem;
    font-weight: 700;
}

.hero {
    margin: auto;
    text-align: center;
}

.hero h1 {
    font-size: 45px;
}

.hero h2 {
    font-size: 21px;
}

.hero .btn-primary {
    margin: 10px 0px;
    background: #f07;
    border: none;
    padding: 12px 25px;
    color: #fff;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
}

.services-inline {
    font-weight: 600;
    margin: 10px;
}

.service-cards {
    display: flex;
}

.card {
    box-shadow: -1px 0px 20px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: -1px 0px 20px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 0px 20px 0px rgba(0, 0, 0, 0.75);
    margin: 20px;
    padding: 30px 20px;
    border-radius: 12px;
    width: 25%;
}

.card h4 {
    padding-bottom: 10px;
    font-size: 19px;
}

.card p {
    font-size: 13px;
    color: rgb(53, 53, 53);
}

/* ----student-corner---- */
.student-corner {
    display: flex;
}

.corner {
    padding: 20px;
    text-align: center;
}

.corner h4 {
    font-size: 20px;
}

.course {
    display: flex;
}

.course .img,
.course .text {
    padding: 20px;
    width: 50%;
}

.course .text p {
    font-size: 13px;
}

.course .text ul {
    padding: 20px 0px;
}

.course .text ul li::marker {
    color: #007bff;
    font-size: 18px;
}

.course .text {
    justify-content: center;
}

.course .img img {
    width: 100%;
    border-radius: 10px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #06c;
    color: #fff;
    border-radius: 6px;
    border: none;
    text-decoration: none;
}



.faq-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0d6efd;
    font-size: 28px;
}

.faq-item {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 0 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item summary {
    cursor: pointer;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* + icon */
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 22px;
    color: #0d6efd;
    transition: transform 0.3s ease;
}

/* When open */
.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-item p {
    padding-bottom: 18px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Hover effect */
.faq-item:hover {
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 600px) {
    .faq-section h2 {
        font-size: 22px;
    }
}


footer {
    padding: 40px 40px;
    background-color: #0066ff;
    color: #fff;
}

.f-main {
    display: flex;
}

.f-card {
    width: 25%;
    padding: 10px 0px;
}

.f-card h4 {
    font-size: 17px;
}

.f-card a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding: 15px 0px;
}

#copyright {
    padding-top: 10px;
    text-align: center;
}

/* ============= Responseve Home Page ================== */
@media (min-width: 300px) and (max-width: 700px) {
    /* home page */
    .hero-img {
        width: 100%;
    }

    .header {
        padding-left: 0px;
    }

    .logo {
        width: 20%;
    }

    .navbar {
        padding-left: 105px;
        font-size: 13px;
        width: 80%;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .navbar ul li {
        padding: 0px 10px 0px 0px;
    }
    
    .navbar ul li a{
        padding: 10px;
    }

    .news-ticker {
        padding: 2px 5px;
    }

    .news-ticker .label {
        margin-right: 2px;
        padding: 3px 6px;
    }

    .hero h1 {
        font-size: 20px;
    }

    .hero h2 {
        font-size: 15px;
    }

    .services-inline {
        font-size: 11px;
    }

    section h3 {
        font-size: 18px;
    }

    .service-cards {
        display: block;
    }

    .service-cards .card {
        width: 100%;
        margin: 20px auto;
        background-color: #fff;
    }

    .student-corner,
    .course {
        display: block;
         flex-direction: column-reverse;
    }

    .course .img,.course  .text {
        width: 100%;
    }

    .faq-section h2{
        font-size: 20px;
    }
   .faq-section summary{
    font-size: 15px;
   }

   .f-main{
    display: block;
   }
   .f-main .f-card{
    width: 100%;
   }
}



/* =============================================================== */


.g-recaptcha {
    margin: 10px 0 15px;
}
