/* General Styles */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
}

footer {
    background-color: #f1f1f1;
}

footer a {
    color: #333;
}

footer a:hover {
    color: #007bff;
    text-decoration: underline;
}


/* Navbar styling */


.navbar-light .navbar-nav .nav-link:hover {
    color: #1159a5;
}

.navbar {
    background-color: #e9e1e1;
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    color: #1e1e1e !important;
}

.navbar-nav .nav-link {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.3rem 1rem;
    transition: color 0.3s ease;
}


.navbar .dropdown-menu {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navbar .dropdown-item:hover {
    background-color: #dfe4e9;
}

.dropdown-menu {
    background-color: #f8f9fa;
}

/* Index.html styles */

h2, h5 {
    font-weight: bold;
}

/* Hero Section */
.hero-header {
    background-image: url('/static/images/hero-background.jpg');
    background-color: #000;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
}

.hero-header h1 {
    font-size: 4rem;
    font-weight: 700;
}

.hero-header p {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Program Cards */
.card {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Call to Action Section */
.cta-section {
    background: #f57c00;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.cta-section .btn {
    font-size: 1.2rem;
    border-radius: 30px;
}

/* Section Titles */
h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.blockquote-footer {
    font-size: 1rem;
    font-style: italic;
    color: #6c757d;
    margin-top: 7px;
    padding-top: 7px;
}

.blockquote {
    background-color: #f8f9fa;
    height: 180px;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Section Backgrounds */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Icons */
.fas {
    transition: color 0.3s ease;
}

.fas:hover {
    color: #f57c00;
}

.carousel-image-wrapper {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    overflow: hidden;
}

.carousel-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* View details page styling */
img {
    object-fit: cover;
    max-height: 300px;
}

.card {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.rounded-circle {
    margin-top: 50px;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Reviews section styles */
.reviews-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reviews-section h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Review card styles */
.review-card {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-card strong {
    font-size: 16px;
    color: #333;
}

.review-card p {
    font-size: 14px;
    color: #555;
}

.review-card .rating {
    font-size: 18px;
    color: #ffb400;
}

.review-card .actions {
    margin-top: 10px;
}


.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

.star-rating input:checked ~ label {
    color: gold;
}

.star-rating input:hover ~ label {
    color: #ffcc00;
}

/* Button styles */
.btn-review {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.btn-review:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Edit/Delete button styles */
.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-warning {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}

.btn-warning:hover {
    background-color: #ec971f;
}

.btn-danger {
    background-color: #d9534f;
    border-color: #d9534f;
}

.btn-danger:hover {
    background-color: #c9302c;
}

/* Leave a Review / Edit Review Button */
.btn-outline-primary {
    color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary:hover {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
}

/* General container padding */
.container {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Instructor list: card layout */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Instructor list image styling */
.card-img-top {
    height: 300px;
    object-fit: fill;
    background-color: #f8f9fa;
}

/* Instructor detail image */
.img-fluid.rounded-circle {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid #f0f0f0;
}

/* Stars (FontAwesome) */
.fa-star,
.fa-star-o {
    color: #f5c518;
    font-size: 1.2rem;
    margin-right: 2px;
}

/* Dashboard Page */
.card {
    transition: transform 0.2s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}
.dashboard-icon {
    font-size: 2.5rem;
}

/* Pricing Page */
.card.pricing-card {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease-in-out;
}
.card.pricing-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.featured-plan {
    border-color: #ffc107;
    background-color: #fff9e6;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Error messages */
.text-danger {
    font-size: 0.9rem;
    margin-top: 5px;
    color: #d9534f;
}

/* Submit button */
.btn-primary {
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Success alert */
.alert-success {
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Account Profile */
.profile-details p {
    font-size: 1rem;
    margin: 10px 0;
    padding: 10px;
    border-left: 4px solid #007bff;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.profile-details strong {
    display: inline-block;
    width: 180px;
    color: #333;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.actions .btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.actions .btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.actions .btn-primary:hover {
    background-color: #0056b3;
}

.actions .btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
}

.actions .btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive */
@media (max-width: 767px) {
    .img-fluid.rounded-circle {
        margin: 0 auto;
        display: block;
    }
}
