/*
 * MeriScholarship - Main Stylesheet
 * This file contains all the base styling for the MeriScholarship e-learning platform
 */

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: #212529;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #212529;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--bs-primary-dark);
    text-decoration: none;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header .navbar {
    padding: 15px 0;
}

.logo {
    max-height: 40px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #333;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--bs-primary);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mega Menu */
.has-megamenu {
    position: static !important;
}

.megamenu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-radius: 0;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.col-megamenu {
    padding-bottom: 1rem;
}

.megamenu-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.submenu-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.75rem 0 0.5rem;
    color: #333;
}

.megamenu ul li {
    margin-bottom: 0.25rem;
}

.megamenu ul li a {
    color: #666;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.megamenu ul li a:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

/* User dropdown */
.avatar-sm {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.user-dropdown .dropdown-toggle {
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
}

.user-dropdown .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.user-dropdown .dropdown-menu {
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.user-dropdown .dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.user-dropdown .dropdown-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

/*--------------------------------------------------------------
# Top Notification Bar
--------------------------------------------------------------*/
.top-notification {
    font-size: 0.9rem;
}

.top-notification p {
    margin-bottom: 0;
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-cta .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.hero-image {
    animation: float 3s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-20px);
    }
}

.hero-stats {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
}

.stat-item {
    margin-right: 2.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #555;
}

.video-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.4);
}

.video-play-btn:hover {
    background-color: var(--bs-primary-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    font-size: 24px;
}

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--bs-primary);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.courses-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.course-category {
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-category.active,
.course-category:hover {
    background-color: var(--bs-primary);
    color: #fff;
}

.course-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.course-card .card-body {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.course-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.course-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.course-info-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.course-info-item i {
    margin-right: 0.25rem;
    color: var(--bs-primary);
}

.course-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.rating-stars {
    color: #ffc107;
    margin-right: 0.5rem;
}

.rating-count {
    font-size: 0.85rem;
    color: #666;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0;
}

.course-price .original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: 400;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.instructor-info {
    display: flex;
    align-items: center;
}

.instructor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
}

.instructor-name {
    font-size: 0.85rem;
    color: #666;
}

.student-count {
    font-size: 0.85rem;
    color: #666;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 1;
}

.badge-featured {
    background-color: var(--bs-primary);
    color: #fff;
}

.badge-discount {
    background-color: #dc3545;
    color: #fff;
}

.badge-new {
    background-color: #28a745;
    color: #fff;
}

.subject-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Course Card Carousel */
.course-carousel .carousel-control-prev,
.course-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
}

.course-carousel .carousel-control-prev {
    left: -20px;
}

.course-carousel .carousel-control-next {
    right: -20px;
}

.course-carousel .carousel-control-prev-icon,
.course-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.course-carousel .carousel-indicators {
    bottom: -40px;
}

.course-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    opacity: 0.5;
    margin: 0 5px;
}

.course-carousel .carousel-indicators button.active {
    opacity: 1;
}

/* Course Tabs */
.courses-tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.courses-tab-nav .nav-link {
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    background-color: #f5f5f5;
    color: #333;
}

.courses-tab-nav .nav-link.active,
.courses-tab-nav .nav-link:hover {
    background-color: var(--bs-primary);
    color: #fff;
}

/*--------------------------------------------------------------
# Pricing Blocks
--------------------------------------------------------------*/
.pricing-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    background-color: #f9f9f9;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    vertical-align: super;
}

.pricing-period {
    font-size: 0.9rem;
    color: #666;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-feature {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.pricing-feature i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--bs-primary);
}

.pricing-feature.disabled {
    color: #999;
    text-decoration: line-through;
}

.pricing-feature.disabled i {
    color: #dc3545;
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background-color: var(--bs-primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 0 10px 10px;
    z-index: 1;
}

.pricing-saved {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.25rem;
    color: var(--bs-primary);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #666;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.testimonial-rating .rating-stars {
    color: #ffc107;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.testimonial-rating .rating-date {
    font-size: 0.8rem;
    color: #999;
}

/* Testimonial Carousel */
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-carousel .carousel-control-prev {
    left: -20px;
}

.testimonial-carousel .carousel-control-next {
    right: -20px;
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.testimonial-carousel .carousel-indicators {
    bottom: -40px;
}

.testimonial-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    opacity: 0.5;
    margin: 0 5px;
}

.testimonial-carousel .carousel-indicators button.active {
    opacity: 1;
}

/*--------------------------------------------------------------
# Call to Action
--------------------------------------------------------------*/
.cta-section {
    padding: 80px 0;
    background-color: var(--bs-primary);
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
}

.cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #212529;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 20px;
}

.footer-logo {
    max-height: 40px;
    margin-bottom: 1.5rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--bs-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--bs-primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--bs-primary);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(var(--bs-primary-rgb), 0.3);
}

.newsletter-form .form-control {
    height: 48px;
    border-radius: 5px;
    border: none;
}

.newsletter-form .btn {
    height: 48px;
    padding: 0 1.5rem;
    border-radius: 5px;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: #fff;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--bs-primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

/*--------------------------------------------------------------
# About Page
--------------------------------------------------------------*/
.page-header {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: #eee;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -50px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    z-index: 1;
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.values-item {
    text-align: center;
    margin-bottom: 40px;
}

.values-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.values-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.values-description {
    font-size: 0.9rem;
    color: #666;
}

.team-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-card .card-img-top {
    height: 300px;
    object-fit: cover;
}

.team-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-title {
    font-size: 0.9rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-bio {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
}

.team-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.team-social-icon:hover {
    background-color: var(--bs-primary);
    color: #fff;
    transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact-info-card {
    text-align: center;
    margin-bottom: 30px;
    padding: 2rem;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info-content {
    font-size: 0.9rem;
    color: #666;
}

.contact-form {
    padding: 2rem;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
    font-weight: 500;
    color: #333;
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.contact-form .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.contact-map {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/*--------------------------------------------------------------
# Scholarship Page
--------------------------------------------------------------*/
.step-item {
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #eee;
    z-index: 0;
}

.step-item:last-child::after {
    display: none;
}

.step-item.active .step-circle {
    background-color: var(--bs-primary);
    color: #fff;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: center;
}

.scholarship-form .form-label {
    font-weight: 500;
    color: #333;
}

.scholarship-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.scholarship-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.otp-inputs {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    margin: 0 5px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.otp-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.resend-timer {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
}

.review-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-section {
    font-size: 0.85rem;
    color: var(--bs-primary);
    cursor: pointer;
}

.edit-section:hover {
    text-decoration: underline;
}

.review-item {
    margin-bottom: 0.75rem;
}

.review-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.review-value {
    font-size: 0.9rem;
    color: #333;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/*--------------------------------------------------------------
# Authentication Pages (Login & Signup)
--------------------------------------------------------------*/
.auth-wrapper {
    padding: 80px 0;
    background-color: #f5f7fa;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.auth-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.auth-header {
    background-color: var(--bs-primary);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.auth-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.auth-body {
    padding: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    font-weight: 500;
    color: #333;
}

.auth-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.auth-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.auth-form .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    width: 100%;
}

.auth-form .link-primary {
    color: var(--bs-primary);
    text-decoration: none;
}

.auth-form .link-primary:hover {
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #eee;
}

.auth-divider-text {
    position: relative;
    background-color: #fff;
    padding: 0 1rem;
    z-index: 1;
    font-size: 0.9rem;
    color: #666;
}

.social-auth-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.social-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin: 0 0.5rem;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    color: #333;
    transition: all 0.3s ease;
}

.social-auth-button:hover {
    background-color: #eee;
    transform: translateY(-3px);
}

.demo-credentials {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.demo-credentials-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.demo-credentials-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.demo-credentials-label {
    color: #666;
}

.demo-credentials-value {
    background-color: #eee;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: monospace;
}

.demo-credentials-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

/*--------------------------------------------------------------
# Utilities and Helper Classes
--------------------------------------------------------------*/
/* Background Colors */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
}

.bg-secondary-gradient {
    background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-secondary-dark) 100%);
}

.bg-light-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bg-light-blue {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

/* Text Colors */
.text-primary {
    color: var(--bs-primary) !important;
}

.text-secondary {
    color: var(--bs-secondary) !important;
}

/* Spacing */
.section-padding {
    padding: 80px 0;
}

.section-margin {
    margin: 80px 0;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
}

.shadow-md {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Borders */
.rounded-lg {
    border-radius: 10px !important;
}

.rounded-xl {
    border-radius: 15px !important;
}

/* Animations */
.animate-float {
    animation: float 3s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-20px);
    }
}

/* AOS Custom Animations */
[data-aos="fade-up-sm"] {
    transform: translate3d(0, 20px, 0);
}

[data-aos="fade-down-sm"] {
    transform: translate3d(0, -20px, 0);
}

[data-aos="fade-right-sm"] {
    transform: translate3d(-20px, 0, 0);
}

[data-aos="fade-left-sm"] {
    transform: translate3d(20px, 0, 0);
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.4);
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--bs-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.4);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--bs-secondary-dark);
    border-color: var(--bs-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--bs-secondary-rgb), 0.4);
}

.btn-outline-secondary {
    color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background-color: var(--bs-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--bs-secondary-rgb), 0.4);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i, .btn-icon svg {
    margin-right: 0.5rem;
}

.btn-icon-only {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-rounded {
    border-radius: 50px;
}

.btn-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

/* Forms */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--bs-primary);
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    border-color: var(--bs-primary);
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Lists */
.list-style-check {
    list-style: none;
    padding-left: 1.5rem;
}

.list-style-check li {
    position: relative;
    margin-bottom: 0.5rem;
}

.list-style-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: -1.5rem;
    top: 0.2rem;
    color: var(--bs-primary);
}

.list-style-arrow {
    list-style: none;
    padding-left: 1.5rem;
}

.list-style-arrow li {
    position: relative;
    margin-bottom: 0.5rem;
}

.list-style-arrow li::before {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: -1.5rem;
    top: 0.2rem;
    color: var(--bs-primary);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 50px;
}

.badge-primary {
    background-color: var(--bs-primary);
    color: #fff;
}

.badge-secondary {
    background-color: var(--bs-secondary);
    color: #fff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-state-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}