/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background-color: #1a1a1a;
    color: white;
}

.top-bar {
    padding: 1rem 0;
}

.logo img {
    max-height: 60px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
}

/* Hero section */
.hero {
    background-color: #f5f5f5;
    padding: 4rem 0;
    text-align: center;
}

/* News section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Events section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.event-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer styles */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    text-align: center;
}

/* Navigation styles */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-menu > li:hover > a {
    background-color: #333;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.submenu li a:hover {
    background-color: #333;
}

/* News detail page styles */
.news-detail {
    padding: 2rem 0;
}

.news-detail article {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail .news-image {
    margin-bottom: 2rem;
}

.news-detail .news-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.news-detail .meta {
    color: #666;
    margin-bottom: 2rem;
}

.news-detail .content {
    line-height: 1.8;
}

/* Page content styles */
.page-content {
    padding: 3rem 0;
}

.page-content article {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.page-content .content {
    line-height: 1.8;
    color: #444;
}

/* Error page styles */
.error-page {
    padding: 5rem 0;
    text-align: center;
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.error-page p {
    margin-bottom: 2rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #333;
}

/* Hero Carousel Styles */
.carousel-item {
    height: 600px;
    background-color: #000;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    opacity: 0.7;
}

.carousel-caption {
    bottom: 25%;
    text-align: center;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Quick Links Styles */
.quick-links .card {
    transition: transform 0.3s;
}

.quick-links .card:hover {
    transform: translateY(-5px);
}

/* News Cards Styles */
.news-section .card {
    transition: transform 0.3s;
}

.news-section .card:hover {
    transform: translateY(-5px);
}

.news-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Events Styles */
.event-date {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

/* Stats Section Styles */
.stats-section {
    background: linear-gradient(rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.1));
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.stat-card i {
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-item {
        height: 400px;
    }
}

/* Hero Section */
.hero-section {
    background: url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

/* Stats Section */
.stat-item {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Animations */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Top Header Styles */
.top-header {
    font-size: 0.9rem;
}

.top-header .social-links a {
    transition: color 0.3s ease;
}

.top-header .social-links a:hover {
    color: #0d6efd !important;
}

.auth-links a, .user-menu a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-links a:hover, .user-menu a:hover {
    color: #0d6efd !important;
}

/* Main Navigation Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-header .d-flex {
        flex-direction: column;
        align-items: center !important;
    }
    
    .top-header .social-links,
    .top-header .auth-links,
    .top-header .user-menu {
        margin-top: 0.5rem;
    }
    
    .top-header .me-4 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
}

/* Registration Form Styles */
.registration-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-label {
    font-weight: 500;
    color: #333;
}

.form-select, .form-control {
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.form-select:focus, .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.card {
    border-radius: 1rem;
    border: none;
}

.card-body {
    padding: 2rem;
}

.btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

/* Validation Styles */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #198754;
}

/* Authentication Links Styles */
.navbar-nav .btn {
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    border-radius: 5px;
}

.navbar-nav .btn-outline-primary {
    border: 1px solid #0d6efd;
}

.navbar-nav .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white !important;
}

.navbar-nav .btn-primary {
    border: 1px solid #0d6efd;
}

/* Dropdown Menu Styles */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-item i {
    width: 20px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item.text-danger:hover {
    background-color: #dc3545;
    color: white !important;
}

@media (min-width: 992px) {
    .navbar-nav .btn {
        margin: 0 0.25rem;
    }
}

/* Login Form Styles */
.input-group-text {
    border: 1px solid #ddd;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-color: #ddd;
    border-left: none;
}

.input-group .form-control:focus + .input-group-text {
    border-color: #ddd;
}

#togglePassword {
    border: 1px solid #ddd;
    border-left: none;
}

#togglePassword:hover {
    background-color: #f8f9fa;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Hero Section Enhancements */
.min-vh-80 {
    min-height: 80vh;
}

.hero-section {
    background: url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

/* Program Cards */
.program-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

/* News Cards */
.news-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    height: 200px;
    object-fit: cover;
}

.news-date {
    font-size: 0.875rem;
}

/* Stats Section */
.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

/* Location Selection Styles */
.location-section select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.location-section select:not(:disabled) {
    cursor: pointer;
}

.location-section select:not(:disabled):hover {
    border-color: #0d6efd;
}

.location-section .form-control:focus,
.location-section .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* News Card Enhancements */
.news-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-wrapper img {
    transform: scale(1.05);
}

.default-image .placeholder-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.default-image .placeholder-image i {
    font-size: 3rem;
}

.news-date {
    font-size: 0.875rem;
    color: #6c757d;
}

.news-card .btn-link {
    text-decoration: none;
    transition: padding-left 0.3s ease;
}

.news-card .btn-link:hover {
    padding-left: 0.5rem;
}

/* News Grid Responsive */
@media (max-width: 768px) {
    .news-card {
        margin-bottom: 1.5rem;
    }
    
    .news-image-wrapper {
        height: 180px;
    }
}

/* About Page Styles */
.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Quick Links */
.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #0d6efd;
}

.quick-link-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #0d6efd;
}

/* Success Stories */
.success-card {
    transition: all 0.3s ease;
}

.success-card:hover {
    transform: translateY(-5px);
}

.success-card img {
    height: 200px;
    object-fit: cover;
}

/* Virtual Tour */
.tour-preview {
    position: relative;
    cursor: pointer;
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.tour-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Event Cards */
.event-card .event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    background: #0d6efd;
    color: white;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.event-details {
    display: flex;
    gap: 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Virtual Tour Modal Styles */
.tour-tabs .nav-tabs {
    border: none;
    padding: 1rem 1rem 0;
    background: #f8f9fa;
}

.tour-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 1rem 1.5rem;
    border-radius: 0;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.tour-tabs .nav-link:hover {
    color: #0d6efd;
    background: #fff;
}

.tour-tabs .nav-link.active {
    color: #0d6efd;
    background: #fff;
    border-top: 3px solid #0d6efd;
}

.tour-tabs .tab-content {
    background: #fff;
}

.modal-xl {
    max-width: 1200px;
}

@media (max-width: 768px) {
    .tour-tabs .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 1rem 0.5rem 0;
    }
    
    .tour-tabs .nav-link {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }
}

/* Virtual Tour Modal Enhancements */
.tour-tabs .tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

.tour-tabs img {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.tour-tabs .list-unstyled li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.tour-tabs .list-unstyled li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tour View Styles */
.tour-options {
    position: sticky;
    top: 0;
    z-index: 1;
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.tour-view {
    transition: all 0.3s ease;
}

.tour-gallery img {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tour-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 360° Viewer Styles */
.pnlm-container {
    background: #f8f9fa;
}

.pnlm-compass {
    width: 40px;
    height: 40px;
    right: 10px;
    top: 10px;
}

/* Menu Page Styles */
.list-group-item-action {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem !important;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.list-group-item-action.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.page-content {
    line-height: 1.8;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.page-content h2, 
.page-content h3, 
.page-content h4 {
    margin: 1.5rem 0 1rem;
}

.page-content p {
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .list-group-item-action:hover {
        transform: none;
    }
}

/* Enhanced Menu Page Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0d6efd;
}

.submenu-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.submenu-item {
    background: #fff;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.submenu-link:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.submenu-link.active {
    background: #0d6efd;
    color: white;
}

.submenu-preview {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    border-top: 1px solid #eee;
}

.search-form .input-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.search-form .btn {
    padding: 0.75rem 1.5rem;
    border: none;
}

mark {
    background: #fff3cd;
    padding: 0.2em;
    border-radius: 0.25rem;
}

@media (max-width: 768px) {
    .content-header {
        text-align: center;
    }
    
    .search-form {
        margin-top: 1rem;
    }
    
    .submenu-link:hover {
        transform: none;
    }
}

/* Enhanced Quick Links */
.quick-links {
    position: relative;
    z-index: 1;
    margin-top: -50px;
}

.quick-link-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.card-icon i {
    font-size: 1.75rem;
    color: #0d6efd;
    transition: all 0.4s ease;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.card-content p {
    color: #636e72;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.card-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-content a .link-text {
    position: relative;
}

.card-content a .link-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease;
}

.card-content a i {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Hover Effects */
.quick-link-card:hover .card-icon {
    background: #0d6efd;
    transform: scale(1.1) rotate(-5deg);
}

.quick-link-card:hover .card-icon i {
    color: #fff;
}

.quick-link-card:hover .hover-overlay {
    opacity: 1;
}

.quick-link-card:hover .card-content a .link-text::after {
    width: 100%;
}

.quick-link-card:hover .card-content a i {
    transform: translateX(5px);
}

/* Animation on Load */
.quick-link-card {
    animation: fadeInUp 0.6s ease backwards;
}

.quick-link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.quick-link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.quick-link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.quick-link-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .quick-links {
        margin-top: 0;
    }
    
    .quick-link-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .quick-link-card {
        margin-bottom: 1rem;
    }
    
    .quick-link-card:hover {
        transform: translateY(-5px);
    }
}

/* Books Page Styles */
.books-header {
    background: linear-gradient(45deg, #f8f9fa 30%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
}

.search-filters .input-group {
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.book-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.book-cover {
    position: relative;
    padding-top: 140%;
    background: #f8f9fa;
}

.book-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.book-badge.in-stock {
    background: #d4edda;
    color: #155724;
}

.book-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.book-details {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3436;
}

.book-author {
    color: #636e72;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.book-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0d6efd;
}

.book-discount {
    margin-left: 1rem;
    padding: 0.25rem 0.5rem;
    background: #ffeaa7;
    color: #d35400;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.book-actions {
    display: flex;
    gap: 0.5rem;
}

/* Modal Styles */
.book-modal-image {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}

.book-modal-details {
    padding: 1rem;
}

.book-price-info {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .books-header {
        padding: 2rem;
        text-align: center;
    }
    
    .search-filters {
        margin-top: 1rem;
    }
    
    .book-card {
        margin-bottom: 1rem;
    }
}

/* Cart Styles */
.cart-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-control .qty-input {
    width: 60px;
    text-align: center;
}

.item-price {
    font-weight: 500;
    color: #0d6efd;
}

.summary-item {
    font-size: 1.1rem;
}

/* Cart Badge */
.cart-badge {
    position: relative;
    display: inline-block;
}

.cart-badge[data-count]:after {
    content: attr(data-count);
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    background: #dc3545;
    color: white;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown menu styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
    padding-left: 2rem;
}

/* Add arrow to dropdown toggle */
.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: 0.15em;
}

/* Hover effect for dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Book category and card styles */
.book-card {
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-card .card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.book-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.book-card .price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0d6efd;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Category card styles */
.category-card {
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card .card {
    border: none;
    border-radius: 1rem;
    height: 100%;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge.rounded-pill {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Book card styles in category view */
.book-card .card {
    height: 100%;
    transition: transform 0.3s ease;
}

.book-card .card:hover {
    transform: translateY(-5px);
}

.book-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.book-card .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d6efd;
}

/* Book Modal Styles */
.book-cover {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.book-title {
    font-weight: 600;
    color: #333;
}

.book-author {
    font-size: 1.1rem;
}

.book-description {
    line-height: 1.6;
    color: #666;
}

.book-details .row {
    margin-bottom: 1rem;
}

.book-details strong {
    color: #555;
    display: inline-block;
    width: 80px;
}

.book-price-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.quantity-input {
    width: 100px;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Program Page Styles */
.program-content {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto;
}

.success-stories img {
    object-fit: cover;
    width: 60px;
    height: 60px;
}

.table th {
    width: 200px;
    background-color: #f8f9fa;
}

.table ul {
    margin-bottom: 0;
}

.table ul li {
    margin-bottom: 0.5rem;
}

.table ul li:last-child {
    margin-bottom: 0;
}

/* Modal styles */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    margin-top: 60px;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Dropdown styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.navbar-nav .nav-link {
    padding: 0.8rem 1rem;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
    }
} 