/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #004d99;
    color: white;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: url(../img/R\ \(2\).jpg) no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #031e38;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #005bb5;
}

/* Section Styling */
section {
    padding: 3rem 1rem;
}

.container {
    width: 80%;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Courses */
.courses .course-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.course-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 30%;
    text-align: center;
    margin-bottom: 1rem;
}

.course-item h3 {
    margin-bottom: 1rem;
}

/* Resources */
.resources ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.resources li {
    margin-bottom: 10px;
}

.resources a {
    text-decoration: none;
    color: #0073e6;
}

.resources a:hover {
    text-decoration: underline;
}

/* Community */
.community {
    background-color: #e0f7fa;
    text-align: center;
}

/* Blog */
.blog .blog-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.blog-item {
    width: 45%;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Contact */
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    background-color: #0073e6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

.contact button:hover {
    background-color: #005bb5;
}

/* Footer */
footer {
    background-color: #004d99;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply Animation to Sections */
section {
    animation: fadeIn 1.5s ease-out;
}

/* Navbar Hover Animation */
.nav-links a:hover {
    text-decoration: underline;
    animation: bounce 0.5s;
}

/* Hero Button Animation */
.cta-button {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    background-color: #005bb5;
}

/* Course Items Animation */
.course-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Item Hover Effect */
.blog-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

header {
    background: linear-gradient(to bottom right, #0073e6, #004d99);
    color: white;
}

h1, h2 {
    font-weight: bold;
}

/* Courses Section */
#course-container .card {
    margin: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

#course-container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Blog Section */
#blog-container .card {
    margin: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

#blog-container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
#courses {
    background-color: #f8f9fa;
}

/* Card Styling */
.course-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 20px;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.course-icon {
    font-size: 3rem;
    color: #0073e6;
    margin-bottom: 10px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.course-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.course-link {
    color: white;
    background-color: #0073e6;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.course-link:hover {
    background-color: #005bb5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}



/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
}

/* Section Styling */
#admission {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
}

#admission h2 {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 20px;
}

#admission a.btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 8px;
    text-decoration: none;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    #admission {
        padding: 15px;
        text-align: center;
    }

    #admission h2 {
        font-size: 1.5rem;
    }

    #admission a.btn {
        font-size: 1rem;
        padding: 10px 20px;
        width: 100%; /* Full-width button */
        display: inline-block;
    }
}

@media (max-width: 576px) {
    #admission {
        margin: 10px;
    }

    #admission h2 {
        font-size: 1.2rem;
    }

    #admission a.btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    color: #6c757d;
}

.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.course-icon {
    font-size: 3rem;
    color: #007bff;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.card-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #6c757d;
}

.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* General Body Styling */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f7fa;
}

/* Courses Section */
#courses {
    background-color: #ffffff;
    padding: 50px 0;
}

#courses h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

/* Course Card Styles */
.card {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card Body Styles */
.card-body {
    padding: 2rem;
    text-align: center;
}

/* Course Icon */
.course-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 15px;
}

/* Card Title */
.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
}

/* Card Text */
.card-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 20px;
}

/* Button Styles */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .card {
        margin-bottom: 30px;
    }

    .card-body {
        padding: 1.5rem;
    }

    .course-icon {
        font-size: 2.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #3b82f6, #0066ff); 
    border-radius: 6px;
    border: 2px solid #000000; 
    transition: background 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #60a5fa, #5588f7);
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
    
}

body::-webkit-scrollbar {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body:hover::-webkit-scrollbar {
    opacity: 1;
}

.lol {
    color: #96d3fc;
    text-decoration: none;
}
.lol :hover{
    color: #00376e;
    transition: 0.3s ease;
}

/* Style for navbar and hamburger button */
.navbar-toggler {
    border: none;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Initial state of the hamburger icon (three bars) */
.navbar-toggler-icon {
    position: relative;
    width: 30px;
    height: 25px;
}



/* Top bar */
.navbar-toggler-icon::before {
    top: 0;
}

/* Middle bar */
.navbar-toggler-icon span {
    top: 10px;
}

/* Bottom bar */
.navbar-toggler-icon::after {
    bottom: 0;
}

/* When the navbar is toggled (clicked) and the menu is open */
.navbar-toggler.collapsed .navbar-toggler-icon::before {
    top: 10px;
    transform: rotate(45deg);
}

.navbar-toggler.collapsed .navbar-toggler-icon span {
    opacity: 0;
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
    bottom: 10px;
    transform: rotate(-45deg);
}

.lol1{
    color: #96d3fc;
    text-decoration: none;
}

.lol2{
    color: #96d3fc;
    text-decoration: none;
}