body{
     font-family: 'Segoe UI', sans-serif;
}


#backToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #ffc107; /* Bootstrap warning color */
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#backToTopBtn:hover {
    background-color: #e0a800;
}


/* Custom Navbar Styles */
.navbar {
    background: rgba(0, 0, 0, 0.8);
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}
.nav-link {
    color: white !important;
    margin-right: 10px;
}
.nav-link:hover {
    color: #ffcc00 !important;
}
.btn-join {
    background-color: #ffcc00;
    color: black;
    font-weight: bold;
}
.btn-join:hover {
    background-color: #e6b800;
}

body.dark-mode {
    background-color: #121212 !important;
    color: #ffffff !important;
}

body.dark-mode .card {
    background-color: #1f1f1f;
    color: #ffffff;
    border: 1px solid #333;
}

body.dark-mode .navbar,
body.dark-mode .footer {
    background-color: #1a1a1a !important;
}

body.dark-mode .btn-outline-light {
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .btn-outline-light:hover {
    background-color: #ffffff;
    color: #000;
}



/* HERO SECTION */
.custom_hero{
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.custom_hero h1{
    font-size: 2.5rem;
    font-weight: bold;
}



.hero-img img{
    width: 100%;
}


/* Study tool SEC  */
.features , h2, .p{
    color: white;
}
.col-md-4 .card img{
    margin-left: 30%;
    width: 100px;
}

/*  */
.p{
    color: white;
}






/* FOOTER SECTION */

.footer h5 {
    font-weight: bold;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease-in-out;
}

.footer ul li a:hover {
    color: #f8b400;
}

.social-icon {
    display: inline-block;
    font-size: 24px;
    margin: 10px 8px;
    color: #ccc;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.social-icon:hover {
    color: #f8b400;
    transform: scale(1.2);
}


