body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


#app {
    position: relative;

}


link[rel="icon"] {
    border-radius: 50%;
}

.homestyle{
    height: 80vh;
}

.rounded-circle {
    width: 50px; /* Adjust the size as needed */
    height: 50px; /* Adjust the size as needed */
    border-radius: 50%;
    object-fit: cover; /* Ensures the image fits within the circular frame */
}

/* Ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.btn:active::after {
    width: 200%;
    height: 200%;
    opacity: 1;
    transition: 0s;
}

/* Hover effect */
.btn:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}

/* Default text size for larger screens */
.table {
    font-size: 1rem; /* Default font size */
}

.brand-text {

    color: rgb(255, 255, 255);
    font-size: 2.5rem; /* Default font size for brand text */
}
/* Medium screens (tablets) */
@media (max-width: 768px) {
    .table {
        font-size: 0.9rem; /* Slightly smaller font size */
    }
    .brand-text {
        font-size: 1.8rem; /* Slightly smaller font size */
    }
}

/* Small screens (mobile devices) */
@media (max-width: 576px) {
    .table {
        font-size: 0.7rem; /* Smaller font size for mobile */
    }
    .brand-text {
        font-size: 1.6rem; /* Smaller font size for mobile */
    }
    .btn {
        font-size: 12px; /* Smaller font size for buttons */
    }
    .homestyle {
        height: 74vh; /* Adjust height for mobile screens */
    }
}

@media (max-width:370px) {
    .brand-text {
        font-size: 1.4rem; /* Smaller font size for brand text on very small screens */
    }
    .homestyle {
        height: 74vh;
        /* Adjust height for mobile screens */
    }
}

@media (min-width: 577px) {
    .btn {
        font-size: 14px; /* Default font size for buttons */
    }
}


.router-link-active {
  color: rgb(179, 254, 18) !important; /* Highlight active link in yellow */
  font-weight: bold; /* Make the active link bold */
  animation: jump 0.5s ease-in-out; /* Add jumping animation */
}

/* Define the jumping animation */
@keyframes jump {
  0%, 100% {
    transform: translateY(0); /* Start and end at the original position */
    scale: 1; /* Ensure the scale is normal at start and end */
  }
  50% {
    transform: translateY(-5px); /* Move up slightly */
    scale: 1.05; /* Slightly increase the size at the peak of the jump */
  }
}


/* Updated styles for the Available Courses section */
.courses-section {
    background-color: rgba(240, 243, 245, 0.85);
    padding: 60px 20px;
    color: #f6f7f9;
    text-align: center;
}

.courses-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.courses-section .card {
    background: linear-gradient(145deg, #ffffff, #436891);
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background: #f6f7f9;
}

.courses-section .card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #f6f7f9;
}

.courses-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.courses-section ul li {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffd700;
    font-weight: bold;
}

.courses-section ul li span {
    color: #f6f7f9;
    font-weight: normal;
}