/* 1. GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #003366; /* Dark Blue */
    --accent-color: #cc0000;  /* Red */
    --light-gray: #f4f4f4;
    --text-color: #333;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. TOP BAR */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar span {
    margin-right: 20px;
}

/* 3. NAVBAR */
.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.logo span { color: var(--accent-color); }

/* 1. Navbar Container */
.navbar {
    background: white;
    height: 90px;             /* Taller header to match the clean look */
    display: flex;
    align-items: center;      /* Vertically center everything */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Very subtle shadow */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 2. The Menu List (Horizontal) */
.nav-links {
    display: flex;            /* Makes them horizontal */
    list-style: none;         /* Removes dots */
    align-items: center;
    margin: 0;
    padding: 0;
}

/* 3. Spacing between items */
.nav-links li {
    margin-left: 35px;        /* Generous space like the image */
}

/* 4. The Link Style (Gray & Bold) */
.nav-links a {
    text-decoration: none;
    color: #5f6368;           /* The specific Gray from your image */
    font-weight: 700;         /* Extra Bold */
    font-size: 1.1rem;        /* Slightly larger size */
    transition: color 0.3s ease; /* Smooth color change */
    
    /* Ensure no button backgrounds interfere */
    background: none !important;
    padding: 0 !important;
}

/* 5. The Hover Effect (Red) */
.nav-links a:hover {
    color: #cc0000;           /* Turns Red when you mouse over */
}

/* The Register Button styling */
.btn-register {
    background: var(--accent-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-register:hover { background: #a30000; }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* 4. HERO SECTION */
.hero {
    /* Placeholder image - replace URL with your own later */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }

.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
}

/* 5. SERVICES SECTION */
.services { padding: 60px 0; background: var(--light-gray); }

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); }

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 15px; color: #666; }
.card a { color: var(--accent-color); text-decoration: none; font-weight: bold; }

/* 6. FOOTER */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* RESPONSIVE (Mobile) */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide menu on mobile by default */
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
          z-index: 1000;
    }
    
    .nav-links.active { display: flex; } /* JS will toggle this */
    
    .nav-links li { 
        margin: 15px 0; 
        text-align: center; /* Centers text on mobile */
    }
    
    .hamburger { display: block; }
    
    .hero h1 { font-size: 2rem; }
}
/* --- INNER PAGE STYLES --- */

/* Page Header (Simple dark bar) */
.page-title {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-title h1 { margin-bottom: 5px; }
.page-title p { font-size: 0.9rem; opacity: 0.8; }

/* Content Section */
.pricing-section { padding: 50px 0; }

.info-text {
    background: white;
    padding: 30px;
    border-left: 5px solid var(--accent-color);
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-text ul {
    list-style: none;
    margin-top: 20px;
}

.info-text li { margin-bottom: 10px; }
.info-text i { color: var(--accent-color); margin-right: 10px; }

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 30px;
    position: relative;
    transition: 0.3s;
}

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

/* Highlight the Popular Card */
.price-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2; /* Make it sit on top */
}

/* The "Most Popular" Badge */
.tag {
    background: var(--accent-color);
    color: white;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price-header h3 { font-size: 1.4rem; margin-bottom: 10px; }
.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

/* Responsive adjustment for popular card */
@media (max-width: 768px) {
    .price-card.popular { transform: none; }
}

/* Hero Button Container */
.hero-buttons {
    margin-top: 20px;
}

/* Primary Button (Red) */
.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 15px; /* Space between buttons */
    transition: 0.3s;
}

.btn-primary:hover {
    background: #a30000;
}

/* Secondary Button (Transparent/White) */
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 28px; /* Slightly smaller padding to account for border */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

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

/* Highlight the PDA Card slightly */
.highlight-card {
    border-bottom: 4px solid var(--accent-color);
}

/* --- FOOTER STYLES --- */
.main-footer {
    background: var(--primary-color);
    color: white;
    padding-top: 60px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

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

/* Make the Logo part of the footer text pop */
.footer-col h3 span {
    color: var(--accent-color); /* Red */
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ddd; /* Light gray text for better readability */
}

/* Footer Links */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent-color); /* Turns Red on hover */
    padding-left: 5px;          /* Slight movement effect */
}

/* Contact Icons */
.contact-list i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Bottom Bar */
.footer-bottom {
    background: #002244; /* A slightly darker shade of blue */
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
/* --- PRICING PAGE STYLES --- */

/* Page Banner */
.page-banner {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 50px 0;
    margin-bottom: 50px;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Pricing Grid Layout */
.pricing-section {
    padding-bottom: 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Individual Cards */
.price-card {
    background: white;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative; /* Needed for the 'Popular' tag */
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Typography inside cards */
.price-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    color: var(--accent-color); /* Red Price */
    font-weight: bold;
}

.duration {
    color: #666;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Feature List */
.features {
    list-style: none;
    margin-bottom: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.features li {
    margin-bottom: 10px;
    color: #555;
}

/* The Button inside the card */
.full-width {
    display: block; /* Makes button span full width */
    text-align: center;
    background: var(--primary-color); /* Blue button for these */
    color: white !important;
    padding: 12px;
    border-radius: 5px;
}
.full-width:hover {
    background: var(--accent-color); /* Turns red on hover */
}

/* --- THE "POPULAR" HIGHLIGHT --- */
.price-card.popular {
    border: 2px solid var(--accent-color); /* Red Border */
    transform: scale(1.05); /* Slightly bigger */
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsive fix for mobile: Disable the scale effect on small screens */
@media (max-width: 768px) {
    .price-card.popular {
        transform: none;
        margin-top: 20px;
    }
}

/* --- PDA PAGE SPECIFIC STYLES --- */

/* Layout Grid */
.pda-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info is smaller, Form is wider */
    gap: 40px;
    align-items: start;
}

/* Left Side: Info */
.pda-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    margin: 20px 0;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-list i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.alert-box {
    background: #eef5ff;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    font-size: 0.9rem;
    color: #333;
}

/* Right Side: The Form Container */
.pda-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Soft shadow like reference */
    border-top: 5px solid var(--accent-color); /* Red top border */
}

.pda-form h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Form Dividers (The grey bars between sections) */
.form-section-divider {
    background: #f4f4f4;
    padding: 10px;
    margin: 20px 0 15px 0;
    font-weight: bold;
    color: #555;
    border-radius: 4px;
}

/* Split Rows (2 inputs on one line) */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.col {
    flex: 1; /* Makes them equal width */
}

/* Input Styling Tweaks */
.pda-form label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #444;
}

.pda-form input, 
.pda-form select, 
.pda-form textarea {
    background: #fafafa;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pda-layout {
        grid-template-columns: 1fr; /* Stack them on phone */
    }
    
    .form-row {
        flex-direction: column; /* Stack inputs on phone */
        gap: 0;
    }
}
/* --- PDA PAGE (TEXT ONLY LAYOUT) --- */

/* Center the content and make it readable */
.pda-text-section {
    padding: 60px 0;
    background: white;
}

.pda-content-wrapper {
    max-width: 800px; /* Limits width so lines aren't too long to read */
    margin: 0 auto;
}

/* Headings */
.pda-content-wrapper h2 {
    color: var(--primary-color); /* Dark Blue */
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.pda-content-wrapper h3 {
    color: #333;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Paragraphs */
.intro-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* The Horizontal Line Divider */
.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

/* Why Choose Us List */
.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: flex-start; /* Aligns checkmark to top of text */
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #444;
}

.benefit-list i {
    color: var(--accent-color); /* Red Checkmark */
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px; /* Slight adjustment */
}

/* Contact Highlight Box */
.contact-highlight {
    background: #f9f9f9;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 20px 0;
}

.contact-highlight p {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-highlight a {
    color: var(--primary-color);
    text-decoration: none;
}

.closing {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 20px;
}

/* --- THE RED CTA BANNER --- */
.cta-banner {
    background: var(--accent-color); /* Red Background */
    padding: 40px 0;
    color: white;
    margin-top: 40px;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h2 {
    font-size: 2rem;
    line-height: 1.2;
}

/* Dark Button for Contrast */
.btn-dark {
    background: #222;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-dark:hover {
    background: white;
    color: #222;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
    }
    .cta-text h2 { margin-bottom: 20px; }
}

/* --- UPDATED CONTACT PAGE STYLES --- */

/* 1. Cards Section */
.contact-cards {
    padding: 50px 0;
    background: #f8f9fa;
}

/* Force 2 columns centered */
.card-grid.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 800px; /* Limits width so they stay close together */
    margin: 0 auto;   /* Centers the grid */
    gap: 30px;
}

.info-card {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 3px solid transparent; /* Prepare for hover effect */
}

.info-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-color); /* Red line on hover */
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
}

.link-text {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}

/* 2. Centered Form Section */
.simple-form-section {
    padding: 60px 0 80px 0; /* Extra padding at bottom */
    background: white;
}

.centered-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Nice soft shadow */
    border-top: 5px solid var(--primary-color); /* Blue top border */
}

.centered-form-wrapper h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.centered-form-wrapper p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Form Inputs */
.styled-form .form-group {
    margin-bottom: 20px;
}

.styled-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.styled-form input,
.styled-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fcfcfc;
    font-size: 1rem;
    transition: 0.3s;
}

.styled-form input:focus,
.styled-form textarea:focus {
    border-color: var(--accent-color); /* Focus turns border red */
    background: white;
    outline: none;
}

/* Side by Side Inputs (Name & Phone) */
.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1; /* Makes them equal width */
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column; /* Stack name/phone on mobile */
        gap: 0;
    }
    .centered-form-wrapper {
        padding: 30px 20px; /* Less padding on phone */
    }
}
/* --- SINGLE INSTRUCTOR PAGE STYLES --- */

.single-profile-section {
    padding: 80px 0;
    background: white;
}

/* Flex Container for Side-by-Side Layout */
.profile-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Text side is slightly wider */
    gap: 60px;
    align-items: center; /* Vertically center */
}

/* --- Left Side: Image --- */
.profile-image-container {
    position: relative;
}

.profile-image-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0px rgba(0, 51, 102, 0.1); /* Decorative shadow offset */
    object-fit: cover;
}

/* The "22 Years" Badge */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--accent-color); /* Red */
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- Right Side: Content --- */
.subtitle {
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.profile-text h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 10px 0;
}

.short-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border: none;
    margin-bottom: 30px;
}

.bio-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* The Quote Text */
.lead-text {
    font-size: 1.3rem !important;
    color: #333 !important;
    font-weight: bold;
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 30px !important;
}

/* Skills Box */
.skills-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.skills-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.check-list li {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .profile-wrapper {
        grid-template-columns: 1fr; /* Stack them on smaller screens */
        gap: 60px;
    }

    .profile-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-badge {
        right: 0; /* Align badge better on mobile */
    }
}

/* --- ADVANCED BOOKING PAGE STYLES --- */

.booking-interface {
    padding: 60px 0;
    background: #f4f7f6;
}

.booking-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Form is smaller, Slots are wider */
    gap: 40px;
    align-items: start;
}

/* User Form Styling */
.booking-details {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.booking-details h2, 
.time-slots-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.booking-details input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Time Slots Grid */
.time-slots-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.instruction {
    margin-bottom: 15px;
    color: #666;
    font-style: italic;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Auto-fit grid */
    gap: 15px;
    margin-bottom: 30px;
}

/* The Time Button Style */
.time-slot {
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 15px 5px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    font-weight: bold;
    color: #555;
}

.time-slot:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Style for when a slot is SELECTED */
.time-slot.selected {
    background: #28a745; /* Green */
    border-color: #28a745;
    color: white;
    transform: scale(1.05);
}

/* Summary Box */
.booking-summary {
    background: #eef5ff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dcecfb;
    text-align: center;
}

.booking-summary h3 {
    margin-bottom: 15px;
}

.booking-summary p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.booking-summary span {
    font-weight: bold;
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 800px) {
    .booking-grid-layout {
        grid-template-columns: 1fr; /* Stack on phone */
    }
}

/* --- CALENDAR & SUMMARY UPDATES --- */

/* Make the Date Picker HUGE */
input[type="date"] {
    font-size: 1.3rem;       /* Larger text */
    padding: 15px;           /* More breathing room */
    border: 2px solid var(--primary-color); /* Blue border */
    background-color: #f9f9f9;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Enhancing the Summary Box to show list */
.booking-summary {
    text-align: left; /* Align text left for the list */
}

.summary-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    max-height: 200px; /* Scroll if list gets too long */
    overflow-y: auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.summary-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.summary-list li strong {
    color: var(--primary-color);
}
/* --- CUSTOM CALENDAR STYLING (Flatpickr) --- */

/* 1. Scale up the whole calendar */
.flatpickr-calendar {
    transform: scale(1.2); /* Makes it 20% bigger */
    transform-origin: top left; /* Expands downwards */
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border: none !important;
}

/* 2. Header Colors (Month/Year) */
.flatpickr-calendar.material_blue .flatpickr-months {
    background: var(--primary-color); /* Your Dark Blue */
}

.flatpickr-calendar.material_blue .flatpickr-months .flatpickr-month {
    background: var(--primary-color);
}

/* 3. Weekdays Row */
.flatpickr-calendar.material_blue .flatpickr-weekdays {
    background: var(--primary-color);
}

span.flatpickr-weekday {
    color: white !important; /* Make S M T W T F S white */
    font-weight: bold;
}

/* 4. Selected Day (The Blue Circle) */
.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
    background: var(--accent-color) !important; /* Change standard blue to YOUR RED */
    border-color: var(--accent-color) !important;
}

/* 5. Hover Effect on days */
.flatpickr-day:hover {
    background: #eee !important;
}

/* Mobile responsive fix for the scaling */
@media (max-width: 600px) {
    .flatpickr-calendar {
        transform: scale(1.0); /* Reset scale on phones so it fits screen */
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
}
/* --- MULTI-DAY ALERT MESSAGE --- */
.multi-day-alert {
    background-color: #e3f2fd; /* Light Blue */
    color: #0d47a1;            /* Dark Blue Text */
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;            /* Space above/below */
    font-size: 0.9rem;
    border-left: 5px solid #2196f3; /* Accent border on left */
    text-align: left;
    line-height: 1.5;
    animation: fadeIn 0.5s ease-in-out;
}

.multi-day-alert i {
    font-size: 1.1rem;
    margin-right: 8px;
    vertical-align: middle;
}

/* Small animation to make it pop */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DYNAMIC DATE HEADER --- */
.slot-date-display {
    background-color: #e3f2fd; /* Light Blue */
    color: var(--primary-color);
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    border: 1px solid #bbdefb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    animation: fadeIn 0.3s ease-in;
}

/* Style for Booked Slots */
.time-slot.booked {
    background-color: #ffcccc; /* Light Red background */
    border-color: #ff0000;     /* Red Border */
    color: #cc0000;            /* Red Text */
    cursor: not-allowed;       /* Show "stop" mouse cursor */
    opacity: 0.7;
    pointer-events: none;      /* Prevent clicking */
    text-decoration: line-through;
}