/* Main Styles for Bar Exam Tutor Website */

/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #c0392b;
    --accent-color: #f1c40f;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Raleway', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark-color);
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #a93226;
    border-color: #a93226;
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 20px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-outline-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 20px;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.8rem;
}

.brand-text {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    margin: 0 5px;
}

.nav-link.active {
    color: var(--secondary-color) !important;
}

.book-now-btn {
    background-color: var(--secondary-color);
    color: white !important;
    border-radius: 4px;
}

.book-now-btn:hover {
    background-color: #a93226;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    background-color: var(--light-color);
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.hero-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

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

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: #fff;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

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

.benefit-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Exam Overview Section */
.exam-overview-section {
    padding: 80px 0;
    background-color: #fff;
}

.exam-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.exam-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.exam-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.exam-card ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.exam-card li {
    margin-bottom: 10px;
}

/* Booking Preview Section */
.booking-preview-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.booking-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.booking-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.booking-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

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

/* FAQ Preview Section */
.faq-preview-section {
    padding: 80px 0;
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    padding: 80px 0 40px;
    background-color: var(--dark-color);
    color: white;
}

.site-footer h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-legal {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-legal li {
    margin-left: 20px;
}

.footer-legal a {
    color: #bdc3c7;
}

.footer-legal a:hover {
    color: white;
}

.copyright-text {
    margin: 0;
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Booking Page Styles */
.booking-section {
    padding: 80px 0;
    background-color: #fff;
}

.booking-info {
    margin-bottom: 40px;
}

.booking-step {
    display: flex;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.session-type {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.session-type h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.booking-calendar-container {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 30px;
}

.youcanbook-iframe-container {
    margin-top: 30px;
}

/* Calendar Mockup Styles */
.calendar-mockup {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.mockup-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
}

.mockup-header h3 {
    color: white;
    margin: 0;
}

.mockup-month {
    font-size: 1.2rem;
    margin-top: 5px;
}

.mockup-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
}

.mockup-weekdays div {
    padding: 10px;
}

.mockup-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.mockup-day {
    padding: 15px;
    border: 1px solid #f5f5f5;
    cursor: pointer;
}

.mockup-day.past {
    color: #ccc;
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.mockup-day.today {
    background-color: #f1c40f;
    color: white;
    font-weight: 700;
}

.mockup-day.available:hover {
    background-color: #e3f2fd;
}

.mockup-time-slots {
    padding: 20px;
}

.mockup-time-slots h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.mockup-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.mockup-time-slot {
    background-color: #e3f2fd;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mockup-time-slot:hover {
    background-color: var(--secondary-color);
    color: white;
}

.calendar-integration-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.calendar-integration-note ul {
    margin-top: 10px;
    padding-left: 20px;
}

.calendar-integration-note li {
    margin-bottom: 5px;
}

/* Booking FAQ Section */
.booking-faq-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .benefit-card, .testimonial-card, .exam-card {
        margin-bottom: 30px;
    }
    
    .booking-info {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 20px;
    }
    
    .footer-legal li {
        margin-left: 0;
        margin-right: 20px;
    }
    
    .mockup-slots {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    .mockup-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Thank You Page Styles */
.thank-you-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 30px;
}

.thank-you-content h1 {
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-content .lead {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 40px;
}

.thank-you-details h3 {
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
}

.next-step {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.next-step i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.next-step h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.next-step p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.thank-you-actions h3 {
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.action-buttons .btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-buttons .btn i {
    margin-right: 8px;
}

.contact-reminder .alert {
    border: none;
    border-radius: 12px;
    padding: 25px;
}

.contact-reminder h4 {
    color: #0c5460;
    margin-bottom: 15px;
}

.contact-reminder h4 i {
    margin-right: 10px;
}

/* Responsive adjustments for thank you page */
@media (max-width: 768px) {
    .thank-you-content {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .thank-you-content h1 {
        font-size: 2.2rem;
    }
    
    .thank-you-icon {
        font-size: 3rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .next-step {
        padding: 20px 10px;
    }
    
    .next-step i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .thank-you-section {
        padding: 100px 0 60px;
    }
    
    .thank-you-content h1 {
        font-size: 1.8rem;
    }
    
    .thank-you-content .lead {
        font-size: 1.1rem;
    }
}



/* Service Cards Grid Styles */
.specialized-services-grid {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Ensure equal height cards */
.specialized-services-grid .row {
    display: flex;
    flex-wrap: wrap;
}

.specialized-services-grid .col-lg-6 {
    display: flex;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-image {
        height: 150px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
}



/* Services Image Section */
.services-image-section {
    padding: 60px 0;
    background-color: white;
}

.services-image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Update service card styles for cards without images */
.service-card .service-content {
    padding: 40px 30px;
}

/* Adjust card heights when no images */
.specialized-services-grid .service-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.specialized-services-grid .service-card .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.specialized-services-grid .service-card .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .services-image-section {
        padding: 40px 0;
    }
    
    .service-card .service-content {
        padding: 25px 20px;
    }
}

