/* General header styling */
header {
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Space between logo and nav */
    align-items: center; /* Vertically center the contents */
    padding: 0 1rem; /* Add padding for breathing space */
    width: 100%;
    background-color: #fff; /* Optional: Background color */
    z-index: 1000; /* Ensure the header is on top */
    position: fixed; /* Keep the header at the top */
    top: 0;
    height: 100px; /* Fixed header height */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

/* Logo styling */
.logo {
    height: 80px; /* Adjust to your preferred size */
    width: auto; /* Maintain aspect ratio */
    margin-left: 20px; /* Spacing from the left */
    margin-top: 10px; /* Adjust the logo vertical position */
    cursor: pointer;
}

/* Navigation container */
/* Default Navigation (Desktop View) */
/* Default Navigation (Desktop View) */
nav {
    padding: -50px;
}

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

/* Navigation Links (Default: Row Layout) in Home page*/
.nav-links-h {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align to right */
    gap: 10px; /* Add spacing between items */
    padding: 0;
    margin-bottom: 0; /* Ensure no extra margin */
    height: 100%; /* Ensure the nav container takes full height of header */
    margin-top: -47px; /* Move nav links 10px up (adjustable for further movement) */
    margin-right:50px;
    flex-grow: 1; /* Allows the links to take up space and push cart to the right */
}
.nav-links-h li a {
    font-size: 1.2rem;
    color: #373f50;
    font-family: "Open Sans", sans-serif;
    padding: 5px 15px;
    line-height: 1; /* Ensure the text aligns well vertically */
}
/* Individual Nav Items */
.nav-links-h li {
    display: flex;
    align-items: center;
}

/* Navigation links in Classes page */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Push everything to the right */
    gap: 15px;
    padding: 0;
    margin-bottom: 0;
    margin-top: -47px; /* Move nav links 10px up (adjustable for further movement) */
    margin-right:30px; 
    flex-grow: 1; /* Allows the links to take up space and push cart to the right */
    /*background-color: white;*/
}

/* Individual Nav Items */
.nav-links li {
    display: flex;
    align-items: center;
    
}
.nav-links li a {
    font-size: 1.2rem;
    color: #373f50;
    font-family: "Open Sans", sans-serif;
    padding: 5px 15px;
    line-height: 1; /* Ensure the text aligns well vertically */
    
}


/* Hamburger Menu Icon (Hidden on Desktop) */
.menu-icon {
    display: none; /* Hidden by default */
}
body.faq-page .menu-icon {
    position: absolute;
    top: 47px;  /* Adjust this value as needed */
    right: 20px; /* Position it on the left */
}
/* Shopping Cart Button (Properly Aligned) */
#shoppingCart {
    position: relative;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #f3af56d1; /* Default orange */
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-right: 100px; /* Ensure spacing from last menu item */
    margin-top: -55px; /* Ensure it stays level with nav items */
}

/* Shopping Cart Badge Positioning */
#shoppingCart .badge {
    position: absolute; /* Places the badge relative to the cart button */
    top: 2px; /* Moves badge slightly above */
    right: 15px; /* Moves badge slightly to the right */
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
/* shopping cart icon */
#shoppingCart i {
    font-size: 30px; /* Adjust size to your liking */
    transition: font-size 0.3s ease; /* Smooth animation if size changes dynamically */
}
#shoppingCart:hover i {
    font-size: 32px; /* Slightly larger on hover */
}
/* Cart button states */
#shoppingCart.no-classes {
    background-color: #f3af56d1; /* Default orange when no classes are selected */
}

#shoppingCart.has-classes {
    background-color: #f1a33a; /* Brighter orange when at least one class is selected */
}


/* Ensure the content below the header is not overlapped */
main {
    margin-top: 100px; /* Adjust this value based on the header height */
    padding: 15px; /* Optional: Add padding for content */
}
/* Make the scrollable section behave normally */
.container {
    padding:20px;
}
/* Default (mobile) styles */

/* Default styles */
.image-section {
    position: relative;
    width: 100%; /* Full width of the container */
    height: 500px; /* Adjust the height as needed */
    display: flex; /* Flexbox layout */
    justify-content: space-between; /* Distribute space between the items */
    align-items: center; /* Vertically center the items */
    margin: 0;
    padding: 0;
}

/* Background image*/
.background-image {
    position: absolute; /* Stretches behind other elements */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-image: url('../images/banner-web3.png'); /* Default background image */
    background-size: cover; /* Ensure the image covers the entire area */
    background-position: center; /* Center the background image */
    background-color: lightgray; /* Fallback background color */
    z-index: 0; /* Ensure the background is at the back */
}

/* Left and right images */
.left-image,
.right-image {
    width: auto; /* Maintain the aspect ratio */
    height: 100%; /* Full height in default layout */
    display: flex;
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
    margin: 0;
}

/* Left and Right image styles */
.left-image img,
.right-image img {
    max-height: 100%; /* Ensure images fit their container */
    width: auto; /* Maintain the original aspect ratio */
    z-index: 2;
}

/* Text section */
.text-section {
    position: relative;
    width: 33%; /* Adjust as needed */
    text-align: center;
    background-color:rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    padding: 20px;
    box-sizing: border-box;
    z-index: 3;
    border-radius: 15px;
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */

    /* Ensure content doesn't break layout before breakpoint */
    min-width: 550px; 
    transition: width 0.3s ease;
}

.text-content {
    margin-bottom: 15px; /* Add spacing between text and button */
}


/* Button styling for Find  a Class */
.text-section .btn-find-class {
    display: inline-block; /* Button behaves like a block but doesn't take the full width */
    margin-top: 15px; /* Space between the text and the button */
    padding: 10px 20px; /* Button padding */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold text */
    color: white; /* Text color 373f50*/
    background-color: #e8ac5c; /* Button background color */
    border: none; /* Remove border */
    border-radius: 15px; /* Rounded button corners */
    text-decoration: none; /* Remove underline */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    align-self: center; /* Ensure the button stays centered */
    margin-top: auto; /* Push the button to the bottom in small screens */
}

.btn-find-class:hover {
    background-color: #f1a33a; /* Darker shade on hover */
}

/*index what to expect */
/* Text section */

.description {
    display: flex;
    justify-content: center; /* Centers the content */
    align-items: center;
    padding: 20px;
}

.text-container {
    display: flex;
    width: 90%; /* Adjust width as needed */
    max-width: 1200px; /* Prevents it from stretching too wide */
    gap: 80px; /* Increases space between left and right sections */
}

.left-section, .right-section {
    flex: 1; /* Makes both sections take up equal width */
    text-align: left; /* Ensures all text, including bullet points, aligns left */
}

.description h3 {
    font-family: 'Poppins', sans-serif; /* Change font if needed */
    color: #f1a33a; /* Customize heading color */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.description ul {
    list-style-type: disc;
    padding-left: 20px;
}

.description li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
    position: relative;
}

.description li::marker {
    color: #f1a33a; /* Change bullet point color */
    font-size: 18px;
}

/* Paragraph in index.php with main goals of kids cooking adv.*/
.description-class {
    display: flex;
    justify-content: center; /* Centers the content */
    align-items: center;
    padding: 20px;
}

.description-class .text-container2 {
    display: flex;
    width: 90%; /* Adjust width as needed */
    max-width: 1500px; /* Prevents it from stretching too wide */
    gap: 80px; /* Increases space between left and right sections */
}

.description-class .left-section2, .middle-section, .right-section2 {
    flex: 1; /* Makes both sections take up equal width */
    text-align: left; /* Ensures all text, including bullet points, aligns left */
}

.description-class h3 {
    font-family: 'Poppins', sans-serif; /* Change font if needed */
    color: #f1a33a; /* Customize heading color */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}




/*adjust middle picture size */
.description-class .middle-section img { 
    width: 100%; 
    height: auto; 
    display: block; 
    border-radius: 10px; /* optional, looks nicer */ }

/*font size for header in index.php*/
.text-title-home { font-size: 30px; /* adjust this value */ }

/* Media query for smaller screens */
@media (max-width: 768px) {
    .text-container {
        flex-direction: column; /* Stack sections */
        align-items: center;
        gap: 30px; /* Reduce space between stacked sections */
            min-width: 46px; 

    }
    .text-section {
        width: 100%; /* Full width for the middle section */
        height: 75vh; /* Allow it to expand to fill the container */
        margin: 0; /* Remove margins */
        display: flex;
        justify-content: center; /* Center text horizontally */
        align-items: center; /* Center text vertically */
        border-radius: 30px; /* Adjust this value for more or less rounding */
        

    }
    .left-section, .right-section {
        width: 100%; /* Take full width on small screens */
    }

    /* main page 3 section w picture in between*/
    .description-class .text-container2 {
        flex-direction: column; /* Stack sections */
        gap: 30px; /* Reduce space between stacked sections */
    }

    .description-class .left-section2, .middle-section, .right-section2 {
        width: 100%; /* Take full width on small screens */
    }
    /*waiver */
    #waiverModal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        margin: 1rem auto !important;
      }

    header {
        flex-direction: row; /* Stack logo and navigation vertically */
        align-items: center; /* Center align all items */
    }

    /* 
    .nav-links {
        flex-direction: row; /* Stack navigation links vertically */
    /*    gap: 1px; /* Adjust spacing for mobile */
    /*    margin-right:5px;
        }
    */
    
    /* Align Menu Items to the Right */
    .menu-container {
        display: flex;
        justify-content: flex-end; /* Push everything to the right */
        align-items: center; /* Ensure vertical alignment */
        width: 100%;
        padding: 10px;
        margin-top: -45px;
    }


    /* Remove Dot (Bullet) from Nav Links */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 150px; /* Directly below the hamburger */
        left: 0; /* Align to the left */
        background-color: white;
        width: 100%; /* Full width */
        height: 50vh; /* Half of the screen height */
        text-align: left;
        padding: 150px;
        overflow-y: auto; /* Allows scrolling if too many items */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Optional: adds shadow effect */
        transition: transform 0.3s ease-in-out; /* Smooth opening effect */
    }
    /* Show menu when toggled */
    /* Show menu when toggled */
    .nav-links.active {
        display: flex !important;
    }

    /* Ensure menu items are stacked and aligned left */
    .nav-links li {
        display: block;
        margin: 15px 0;
        text-align: left; /* Align text to the left */
    }
    .nav-links li a {
        font-size: 1.2rem;
        color: #373f50;
        font-family: "Open Sans", sans-serif;
        padding: 5px 15px;
        line-height: 1; /* Ensure the text aligns well vertically */
    }

    /* Move Hamburger and Cart to the Right */
    .menu-icon {
        display: block;
        font-size: 30px;
        color: #f1a33a;
        text-decoration: none;
        cursor: pointer;
        margin-left: 10px; /* Space between cart and menu */
    }


    /* Ensure Shopping Cart is Visible and on the Right */
    #shoppingCart {
        display: flex !important;
        margin-right: 10px;
        margin-top: -15px;
        order: 1; /* Ensures cart is before hamburger */
    }

    #shoppingCart .badge {
        position: absolute;
        top: 5px;
        right: 15px;
        background-color: red;
        color: white;
        font-size: 12px;
        padding: 2px 5px;
        border-radius: 50%;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    
    /* hamburger in Home page */
    /* Remove Dot (Bullet) from Nav Links */
    .nav-links-h {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 150px; /* Directly below the hamburger */
        left: 0; /* Align to the left */
        background-color: white;
        width: 100%; /* Full width */
        height: 50vh; /* Half of the screen height */
        text-align: left;
        padding: 100px;
        overflow-y: auto; /* Allows scrolling if too many items */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Optional: adds shadow effect */
        transition: transform 0.3s ease-in-out; /* Smooth opening effect */
    }
    /* Show menu when toggled */
    /* Show menu when toggled */
    .nav-links-h.active {
        display: flex !important;
    }

    /* Ensure menu items are stacked and aligned left */
    .nav-links-h li {
        display: block;
        margin: 15px 0;
        text-align: left; /* Align text to the left */
    }
    .nav-links-h li a {
        font-size: 1.2rem;
        color: #373f50;
        font-family: "Open Sans", sans-serif;
        padding: 5px 15px;
        line-height: 1; /* Ensure the text aligns well vertically */
    }
    .logo {
        margin-right: 0; /* Remove margin-right for better centering */
    }
    /* calendar */
    .image-section {
        flex-direction: column; /* Stack the items vertically */
        height: 75vh; /* Use full viewport height */
    }

    .background-image {
        background-image: url('../images/FrontPic.png'); /* New background image */
        background-size: cover; /* Ensure the image covers the entire area */
        background-position: center; /* Center the background image */
    }

    .left-image,
    .right-image {
        display: none; /* Hide the left and right images on small screens */
    }


    /*fee icon */
    .icon-hint {
        margin-left: 0; /* Remove any left margin */
        margin-top: -5px; /* Adjust the vertical position if needed */
    }
    
    .icon-hint:hover::after {
        max-width: 150px; /* Smaller max width for smaller screens */
    }

    .custom-btn {
        font-size: 2.5vw; /* Adjust text size based on viewport width */
        padding: 8px 12px; /* Reduce padding for better fit */
    }
    /*contact us form  */
    .contact-modal .contact-modal-content {
        width: 90vw;
        height: 90vh;
        padding: 15px;
        border-radius: 8px;
    }

    #contactModal .contact-close {
        right: 10px;
        top: 8px;
        font-size: 20px;
    }

        /*hide pictures in small screen , for services offered section*/
        /* Stack content vertically */ 
    .Group_parentchild .text-container2, .Spanish_container .text-container2 { 
        flex-direction: column; 
        padding: 0; 
        margin: 0;
        margin-bottom: 0 !important; 
        padding-bottom: 0 !important;
        } 
    /* Hide images completely */ 
    .Group_parentchild .right-section2 img { display: none ; margin-bottom: 0 !important; 
        padding-bottom: 0 !important;} 
    /* Let text take full width */ 
    .Group_parentchild .left-section2, .Spanish_container .right-section2 { flex: 1; width: 120%; } 
    /* center text for better mobile look */
    .Spanish_container { text-align: center; 
        padding-top: 0 !important;
        margin-top:0 !important;
    } 
    
    /* what to expect aline in one column for mobile display */
    .text-container3 {
        flex-direction: column;
        text-align:center;
        width:140%;
        padding:0;
    }
}

/* resize for tablets */
@media (max-width: 900px) { 
    .left-image, .right-image { display: none; } 
    .text-section { width: 100%; 
                    min-width: 46px; 

        margin: 0 auto; 
        padding: 2rem; 
        height: auto; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        border-radius: 30px; } 
    
.faq-page nav .menu-container {
        display: flex;
        justify-content: flex; /* Push everything to the right */
        align-items: center; /* Ensure vertical alignment */
        width: 100%;
        padding: 110px;
        margin-top: 130px;
        margin-right:-10px;
    }

    .faq-page nav .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 10px; /* Directly below the hamburger */
        left: 0; /* Align to the left */
        background-color: white;
        width: 100%; /* Full width */
        height: 50vh; /* Half of the screen height */
        text-align: left;
        padding: 110px;
        overflow-y: auto; /* Allows scrolling if too many items */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Optional: adds shadow effect */
        transition: transform 0.3s ease-in-out; /* Smooth opening effect */
    }

    .faq-page .menu-icon{
        margin-top:100px;
        margin-right:1px;
    }

    .faq-page #navMenu {
        margin-top:0 !important;
    }

    .faq-page .nav-links{
        top:105px;
    }    
    
}

/*description section in main page */
.contact-info {
    background-color: #f4f4f4;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.classes-section {
    text-align: center;
    font-size: 20px;
}

table tr th {
    background: rgba(0, 0, 0, 0.6);
    color: azure;
}

tbody tr {
    font-size: 12px !important;
}

h3 {
    color: crimson;
    margin-top: 1px;
}

a:hover {
    cursor: pointer;
    color: #333 !important;
}





#shoppingCartSection {
    margin-top: 30px;
}

/* Classes page*/
.calendar_instruction {
 margin-top:30px;
 margin-bottom:30px;

}
/*adjust calendar images */
/* Calendar Styling */
.calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust columns for responsive design */
    gap: 20px;
    padding-top:20px;
    padding: 20px;
    text-align: center;
    margin-top: 20px; /* Space between Book Now button and calendar */
    z-index: 1; /* Ensure the calendar is behind the fixed elements */
}

/* Calendar Cell Styling */
.calendar-cell {
    border: 1px solid #ccc;
    padding: 15px;
    position: relative;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 150px; /* Ensure enough space for content */
}

.calendar-cell:hover {
    cursor: pointer;
    background-color: #f8f9fa;
    transform: scale(1.02); /* Slight zoom on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Selected State */
.calendar-cell.selected {
    background-color: #d1e7dd;
    border-color: #0d6efd;
}

/* Full Classes */
.full-class {
    background-color: rgb(167, 163, 163);
    color: #8a797b;
    /*opacity: 0.6;*/
    pointer-events: none;
}
/* ribbon for language */
.ribbon {
    position: absolute;
    top: 10px;
    left: -5px;
    z-index: 1;
    background-color: #ff9800;
    color: white;
    font-size: 14px;
    padding: 5px;
    width: 70px;
    text-align: center;
}



/* Image Container */
.image-container {
    width: 100px;
    height: 100px;
    margin: 5px auto; /* Centered with space */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
}

/* Image Styling */
.calendar-event-image {
    top: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; /* Optional: Add rounded corners */
}

/* Date Styling */
.calendar-cell .date {
    /*position: absolute; */
    top: 5px;
    /*right: 5px;*/
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    bottom: 50px; /* Space between date and image */

}

/* Calendar Text */
.calendar-cell strong {
    font-size: 1rem;
    color: #333;
    margin: 10px 0 5px;
    text-align: center;
}

.calendar-cell p {
    margin: 5px 0;
    color: #777;
    font-size: 0.9rem;
    text-align: center;
}



/*add calendar background */

#calendar {
    position: relative; /* Ensure the calendar doesn't overlap filters */
    background-image: url('../images/calendar_background.png'); /* Adjust path if necessary */
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    width: 100%; /* Optional: Set width to your desired value */
    height: auto; /* Optional: Adjust height if needed */
    padding: 20px; /* Optional: Add padding for spacing inside the calendar */
    border-radius: 8px; /* Optional: Add rounded corners for a polished look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow effect */
    border-radius: 30px; /* Adjust this value for more or less rounding */
    z-index: 0.5;
}

/* style filters for calendar */
/* Make sure the filter container uses flexbox to arrange items side by side */
.filters {
    margin-bottom: 20px; /* Add spacing between filters and the calendar */
    position: relative; /* Ensures proper stacking context */
    z-index: 10; /* Ensure filters appear above the calendar */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align items to the bottom */
    height: auto; /* Ensure the container adjusts its height based on content */
    width: 50%; /* Restrict the width to 50% */
    margin: 0 auto; /* Center the container horizontally */
}

.filters-container {
    display: flex;
    justify-content: space-between; /* Space between items */
    flex-wrap: wrap;
    gap: 10px; /* Adds space between items */
    width: 90%; /* filters + filter buttom width */
}

.filter-item {
    flex: 1; /* Ensures the items share space evenly */
    min-width: 90px; /* Sets a minimum width to avoid squashing */
    display: flex;
    flex-direction: column; /* Stack label and filter box vertically */
    justify-content: flex-end; /* Align items to the bottom */
    width: 100%; /* Ensures filter item takes full width of the filters container */
}

.form-control-sm {
    font-size: 14px;
}

/* Apply Filters button styling */
#applyFilters {
    color: #373f50; /* Text color */
    background-color: #f1a33a;
    border: none;
    width: 100%; /* Ensure button takes full width of the container */
    font-size: 14px; /* Optional: Adjust button size */
    margin-top: 10px; /* Small gap between the filters and the button */
}

/*style option to add more classes */
#customPopup {
    width: 300px;
    text-align: center;
}

#customPopup button {
    margin-left: 10px;
}

/*remove backdrop when clicking out of the modal */
.modal-backdrop {
    display: none !important;
}

/*add more classes */
#addClassButton {
    font-size: 1rem;
    color: #007bff; /* Default Bootstrap link color */
    text-decoration: none;
}

#addClassButton:hover {
    text-decoration: underline; /* Underline on hover */
    color: #0056b3; /* Darker blue for hover */
}

/* warning popup */
#customPopup {
    width: 50%; /* Adjust width to your liking */
    max-width: 600px; /* Optional: Set a maximum width */
    margin: 0 auto; /* Center the popup */
    padding: 20px; /* Add some padding */
    background-color: white; /* Set background color */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow */
}

#popupContinueBooking, #popupLeaveAnyway {
    padding: 10px 20px; /* Adjust padding for size */
    font-size: 16px; /* Adjust font size */
    border: none; /* Remove default borders */
    border-radius: 5px; /* Optional: Add rounded corners */
    cursor: pointer; /* Add pointer cursor */
}

/* Specific styles for each button */
#popupContinueBooking {
    background-color: #e8ac5c; /* Green background */
    color: white; /* White text */
}

#popupContinueBooking:hover {
    background-color: #f1a33a; /* Darker green on hover */
}

#popupLeaveAnyway {
    background-color: #2767c7; /* Red background */
    color: white; /* White text */
}

#popupLeaveAnyway:hover {
    background-color: #183f7b; /* Darker red on hover */
}

/* -------- Modal css ---------*/
/*modal hight and overflow */
.modal-body {
    max-height: 70vh; /* Adjust based on your UI */
    max-width:800px;
    overflow-y: auto; /* Allow vertical scrolling */
    border-radius: 10px; /* Optional: Add rounded corners */
}



/* -- */
#cartModal .modal-header {
    background-color: #183f7b; /* Change header color */
}

#cartModal .modal-header .modal-title {
    color: #000; 
    text-align: center;
    background-color: #183f7b; /* Change header color */
    color: white; /* Text color */
}

#cartModal .modal-header .close {
    color: #e8ac5c; /* Close button color */
    opacity: 1;
}

#cartModal .modal-header .close:hover,
#cartModal .modal-header .close:focus {
    color: #f1a33a; /* Close button X, color on hover */
    text-decoration: none; /* No underline on hover */
    opacity: 1;
}

/* Modal Content Rounded Corners */
#cartModal .modal-content {
    border-radius: 15px; /* Rounded corners */
}

/* Separator Between Classes and Form */
.modal-separator {
    height: 2px; /* Thicker line */
    background-color: #333; /* Dark color for contrast */
    margin: 20px 0; /* Space around the separator */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

/* Footer Button Styling cancel button */
#cartModal .modal-footer .btn {
    font-size: 16px; /* Larger button text */
    padding: 10px 20px; /* Larger buttons */
    border-radius: 8px; /* Rounded button corners */
    background-color: #f1a33a; /* Dark color for contrast */
    color:#373f50;
    border:none;

}

/* Modal Body Styling */
#cartModal .modal-body {
    padding: 20px; /* Padding around content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}

/* Optional: Specific Button Hover Effects */
#cartModal .modal-footer .btn:hover {
    background-color: #f1a33a; /* Change button color on hover */
    color: #373f50; /* Text color on hover */
}

/* change pay now button */
#payNow {
    background-color: #2767c7; /* Green background */
    color: white; /* White text */
    border: none; /* Remove border */
    font-size: 16px; /* Adjust font size */
}

#payNow:hover,
#payNow:focus {
    background-color: #183f7b; /* Darker green on hover */
    color: white; /* Keep text color white */
    border: none; /* Keep border removed on hover/focus */
    text-decoration: none; /* Remove underline */
}

/* change color terminos and policies button */
/* Ensure the parent div takes full width */
#bookingForm .row .col-md-8 {
    width: 100%; /* Make sure the column spans the entire available width */
    padding-left: 20px; /* Remove padding to ensure it spans fully */
    padding-right: 0; /* Same for the right padding */
}

/* Custom button styling */
.custom-btn {
    background-color: #f1a33a; /* Coral background */
    color: #373f50; /* Text color */
    border: none; /* Remove border */
    font-size: 16px; /* Font size */
    width: 100%; /* Make the button take up full width of its container */
    padding: 15px 40px; /* Vertical padding for height, horizontal padding is zero */
    padding-left:-15px;
    padding-right:20px;
    margin-left:-15px;
    box-sizing: border-box; /* Include padding in width calculation */
    text-align: center; /* Center the text inside the button */
    display: block; /* Make the button behave like a block element to span full width */
    border-radius: 5px; /* Rounded corners */
    white-space: nowrap; /* Prevents wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." if text overflows */
}


/* Hover and focus states */
.custom-btn:hover,
.custom-btn:focus {
    background-color: #d88b1f; /* Darker coral on hover */
    color: #373f50; /* Keep text color same */
    border: none; /* No border */
    text-decoration: none; /* Remove underline on hover */
}

/* Waiver aparance */
/* Modal size and scroll behavior */
/* Modal width: wide on desktop */

  
/* Modal content container: no internal scroll */
#waiverModal .modal-content {
    max-height: 80vh;
    overflow: hidden; /* prevent outer scrollbars */
    box-sizing: border-box;
  }
  
  /* Scrollable modal body only */
  #waiverModal .modal-body {
    max-height: 60vh;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    padding: 1rem;
    word-wrap: break-word;
  }
  
  /* Header */
  #waiverModal .modal-header {
    background-color: #183f7b;
    color: white;
    font-weight: bold;
    text-align: center;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Close button */
  #waiverModal .modal-header .close {
    color: #e8ac5c;
    font-size: 24px;
    opacity: 1;
    background: none;
    border: none;
    text-shadow: none;
  }
  
  #waiverModal .modal-header .close:hover {
    color: #f1b97c;
  }

/* style the Remove button in modal */
/* Customizing the 'Remove' button */
/* Make the selector more specific */
#cartItems .btn-remove {
    background-color: #e8ac5c; /* Custom background color */
    color: #373f50; /* White text */
    border: none; /* Remove border */
    font-size: 14px; /* Smaller font size */
    padding: 8px 15px; /* Adjust padding */
    border-radius: 5px; /* Rounded corners */
}

/* Button hover effect */
#cartItems .btn-remove:hover,
#cartItems .btn-remove:focus {
    background-color: #f1a33a; /* Darker red on hover */
    color: #373f50; /* Keep text white */
    text-decoration: none; /* No underline */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add a shadow on hover */
}

/*fee icon */
.icon-hint {
    display: inline-block;
    width: 10px; /* Set explicit width */
    height: 10px; /* Set explicit height */
    background-color: #183f7b; /* Info color */
    color: white;
    font-size: 0.8rem; /* Adjust font size for readability */
    line-height: 10px; /* Center the "i" vertically */
    text-align: center;
    border-radius: 50%; /* Create a circle */
    cursor: pointer;
    margin-left: -4px; /* Adjust for spacing */
    margin-top:1px;
    font-style: italic; /* Italicize the "i" */
    position: absolute; /* For the tooltip positioning */
}

/* Tooltip on hover */
.icon-hint:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -25px; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #183f7b;
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: normal; /* Allow the text to wrap */
    word-wrap: break-word; /* Break words that are too long */
    max-width: 200px; /* Set a max width for the tooltip */
    z-index: 10;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.icon-hint:hover::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #183f7b transparent;
    z-index: 10;
    opacity: 1;
}

/*cancellation text */
/* Add this to your CSS file */
.small-text {
    font-size: 12px; /* Adjust the size to your preference */
    line-height: 1.5; /* Optional: makes the text a bit more readable */
}

/* payment modal */
/* Styles for the payment modal */
/* General Modal Styles */
/* General Styles for Payment Modal */
/* Payment Modal Container */

#paymentModal .modal-content {
    /*width: 100%; /* Make the modal content take up full width */
    max-width: 100%; /* Optional: Limit the width if needed */
    max-height: 100%; /* Maintain consistent modal height */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Allow scrolling if content overflows */
    box-sizing: border-box; /* Prevent padding from affecting width */
    margin: 0 auto; /* Center the modal horizontally */
    position: relative; /* Relative positioning to ensure correct placement */
    overflow: hidden; /* Prevent the whole modal from scrolling */
    display: flex;
    flex-direction: column;
}

/* Modal Header */
#paymentModal .modal-header {
    position: sticky;
    top: 0; /* Keeps the header at the top of the modal */
    background-color: #183f7b;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 1000; /* Ensures the header stays above other content */
}

#paymentModal .modal-header .modal-title {
    margin: 0;
    font-size: 18px;
    text-align: left; /* Align title to the left */
}

#paymentModal .modal-header .close {
    color: #e8ac5c;
    opacity: 1;
}

#paymentModal .modal-header .close:hover,
#paymentModal .modal-header .close:focus {
    color: #f1a33a;
    text-decoration: none;
    opacity: 1;
}

/* Form Styles */
#paymentModal form {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Stretch elements to fill the width */
    margin: 0;
}

/* Form Group */
#paymentModal .form-group {
    margin-bottom: 30px;
    width: 100%; /* Ensure form group spans the width */
}

/* input fields for payment - headers */
.form-row label {
    display: inline-block; /* Ensures margin applies */
    margin-left: 25px; /* Adjust as needed */
}

/* Input Fields */
#paymentModal input[type="text"], 
#paymentModal input[type="email"], 
#paymentModal select, 
#card-element, 
#expiration-date, 
#cvc {
    width: calc(100% - 20px); /* Slightly smaller to add left margin */
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color:white;
    margin: 0px auto 10px; /* Add spacing above and below inputs */
    box-sizing: border-box;
    margin-left: 25px; /* Add margin on the left */
    margin-right:25px;
    line-height: 1.2; /* Adjust line height */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */

}

/* Focus Styles */
#paymentModal input[type="text"]:focus, 
#paymentModal input[type="email"]:focus, 
#paymentModal select:focus, 
#card-element:focus {
    border-color: #2767c7;
    outline: none;
}

/* Separator Between Summary and Payment Form */
#paymentModal .modal-separator {
    height: 2px;
    background-color: #333;
    margin: 20px 0;
    width: calc(100% - 20px); /* Ensure separator matches field alignment */
    margin-left: 10px; /* Add margin to align with inputs */
}

/* Course Summary */
#paymentModal .mt-3 {
    padding-left:20px;
}

#paymentModal #course-summary {
    margin-bottom: 20px;
    padding-left: 20px; /* Add padding for alignment */
    padding-right:20px;
    text-align: left;
    font-size:1rem;
}

/* List Group Items */
#paymentModal .list-group {
    padding-left: 20px; /* Add padding for alignment */
    padding-right:20px;
    font-size: 1rem;;
    text-align: left;
}
#paymentModal .list-group-item {
    padding-left: 30px; /* Add padding for alignment */
    font-size: 1rem;
    text-align: left;
}

/* Submit Button */
#paymentModal .submit-button {
    padding: 12px;
    background-color: #2767c7;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: calc(100% - 20px); /* Align button with inputs */
    margin: 10px auto 0; /* Center the button */
    box-sizing: border-box;
    margin-left: 10px; /* Add left margin */
}

/* Submit Button Hover */
#paymentModal .submit-button:hover {
    background-color: #183f7b;
}

/* Card Errors */
#card-errors {
    color: red;
    margin-top: 10px;
    margin-left: 10px; /* Align error messages with inputs */
}

/* lock secure payment */
#paymentModal .booking-secured-payment {
    display: flex;
    align-items: center; /* Ensures vertical alignment */
    padding-left: 20px; 
    width: fit-content;
    font-size: 14px;
    color: #f1a33a;
}
  
#paymentModal .booking-secured-payment svg {
    margin-right: 5px;
    fill: #f1a33a;
    width: 14px; /* Slightly increase if needed */
    height: 14px;
    vertical-align: middle; /* Aligns with text */
}
/* Contact US form*/
/* Contact Modal Background (Unique Selector) */
.contact-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

/* When you want to show it, apply this class (e.g., via JS) */
.contact-modal.show {
    display: flex;
}

.contact-modal .contact-modal-content {
    position:relative;
    width: 80vw;
    height: 90vh;
    background-color: #fff;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
}

#contactModal .contact-modal-header {
    background-color: #183f7b; /* Bootstrap blue or pick your shade */
    color: white;
    top:0;
    padding: 10px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative; /* for close button positioning */
    margin-bottom: 15px;
}

#contactModal .contact-modal-header h2 {
    font-size: 18px;
    margin: 0 0 5px 0;
}


/* Contact Modal Close Button */
#contactModal .contact-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #e8ac5c;
    opacity:1;
    background: none;
    border: none;
}

#contactModal .modal-header .close:hover,
#contactModal .modal-header .close:focus {
    color: #f1a33a;
    text-decoration: none;
    opacity: 1;
}

/* Contact Modal Form Fields */
#contactModal label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
}


#contactModal input,
#contactModal textarea {
    width: 90%;
    height:100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contactModal button {
    margin-top: 15px;
    padding: 10px;
    background: #183f7b;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#contactModal button:hover {
    background: #183f7b;
}

/*
#calendar .more-info-button {
    padding: 2px 6px;
    font-size: 0.9rem;
    text-decoration: underline;
    color: #007bff;
    background: none;
    border: none;
    cursor: pointer;
}

*/
/*separate calendar buttons*/
.calendar-cell-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

/*format select button in calendar*/
#calendar .select-button {
    padding: 8px 16px;
    background-color: #007bff; /* Bootstrap blue */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#calendar .select-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Selected state */
#calendar .calendar-cell.selected .select-button {
    background-color: #28a745; /* Green for selected */
    font-weight: bold;
}

/* Target more info popovers with the custom class 
.wrap-popover {
    width: 70% !important;
    max-width: none !important;
    max-height: 40%;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    transform: translateX(-10%);
    z-index: 1090;
    word-wrap: break-word; /* Add this here as a fallback*/
/*}*/

/* Target the content inside the popover */
/*.wrap-popover .popover-body {
    word-wrap: break-word;
    white-space: normal; /* Ensure text wraps */
/*}*/

/* Style the popover header */
/*.wrap-popover .popover-header {
    background-color: #183f7b;
    color: white;
    font-weight: bold;
    text-align: center;
}
*/

.course-info-modal {
    width: 100%;
    max-width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    box-sizing: border-box;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4; /* Tighter lines */
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    background-color: #fff;
}
/* Header styling */
#courseInfoModal .modal-header {
    background-color: #183f7b;
    color: white;
    font-weight: bold;
    text-align: center;
}
/* Reset block elements inside modal to prevent spacing gaps */
.course-info-modal p,
.course-info-modal pre,
.course-info-modal div,
.course-info-modal span {
    margin-top: 0;
    margin-bottom: 0.25em;
}

/* Pre/code formatting */
.course-info-modal pre {
    background-color: #f6f8fa;
    padding: 0.75em;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    border-radius: 6px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 0.9rem;
    line-height: 1.3;
    
}

/* paragraphs closer together */
.course-info-modal p {
    margin-top: 0;
    margin-bottom: 0.1em; /* Smaller than default (1em) */
}

#courseInfoModal .contact-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    color: #e8ac5c;        /* your orange color */
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    opacity: 1;
    box-shadow: none;      /* remove Bootstrap focus/hover shadow */
}

#courseInfoModal .contact-close:hover {
    color: #f1a33a; /* optional: brighter orange on hover */
    background: transparent;
}

/*in index.php add banner with info */
/* Full-width centered section */
#local-info-banner {
    width: 100%;
    background-color: white; /* light background */
    padding: 0; /* reduced bottom padding */
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 0; /* remove extra gap below */
  }
  
  #local-info-banner .text-section {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
  }
  
  #local-title {
    font-size: 2rem;
    color: #f1a33a;
    margin-top: 0;
    margin-bottom: 0.75rem; /* reduced spacing below title */
    font-weight: 700;
  }
  
  #local-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
    max-width: 800px;
  }
  
  /* Optional: tighten spacing on small screens too */
  @media (max-width: 768px) {
    #local-info-banner {
      padding: 2rem 1rem 1rem;
    }
  
    #local-title {
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
    }
  
    #local-description {
      font-size: 1rem;
    }
  }
  
/* FAQ section */

/* Question headers */
.faq p:first-child {
    color: #C78530; 
    position: relative;
    padding-left: 20px;
}

.faq div {
    margin-bottom:18px;
}

.faq p {
    margin:5px 0 10px 20px
}
/* Orange bullet before each question */
.faq p:first-child::before {
    content: "\2022";
    color: #C78530;
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

.faq-page #navMenu{
    margin-top:35px;
    margin-right:50px;
}
  
/*test ribbon*/

/*container for type of classes */


.Group_parentchild {
    display: flex;
    justify-content: center;
    padding: 20px;

}
.Group_parentchild h3 {
    font-family: 'Poppins', sans-serif; /* Change font if needed */
    color: #f1a33a; /* Customize heading color */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
.Group_parentchild .text-container2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    background-color: white;/*rgba(248, 213, 147, 0.642);*/
    border-radius: 0px;
    padding: 2rem;

    max-width: 1100px;
    width: 100%;
}

/* Left side (text) */
.Group_parentchild .left-section2 {
    flex: 1;
}

/* Right side (image) */
.Group_parentchild .right-section2 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.Group_parentchild .right-section2 img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    object-fit: cover;
}

/*SPANISH container in main page*/
.Spanish_container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.Spanish_container h3 {
    font-family: 'Poppins', sans-serif; /* Change font if needed */
    color: #f1a33a; /* Customize heading color */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.Spanish_container .text-container2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    background-color: white; /* rgba(248, 213, 147, 0.642);*/
    border-radius: 20px;
    padding: 2rem;

    max-width: 1100px;
    width: 100%;
}
/* Right side (text) */

.Spanish_container .right-section2 {
    flex: 1;
    
}

/* Left side (image) */
.Spanish_container .left-section2 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.Spanish_container .left-section2 img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    object-fit: cover;
}


    
/* ribon ========================*/
.ribbon-section {

    position: relative;
    width: 100%;
    padding: 100px 60px;          /* extra padding compensates for clip */
    /* ── Diagonal cut: top-left high, top-right low, bottom-left low, bottom-right high ── */
    clip-path: polygon(
    0% 6%,        /* top-left */
    100% 0%,      /* top-right */
    100% 94%,     /* bottom-right */
    0% 100%       /* bottom-left */
    );
    
    place-items: center; 
    }

    /* ── Green tint overlay ── */

    .ribbon-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(100, 200, 80, 0.55);   /* adjust color & opacity */
      z-index: 0;
    }

 
/* what to expect in ribbon */

.ribbon-section .text-container3 {
    display: flex;
    width: 100%; /* Adjust width as needed */
    max-width: 1000px; /* Prevents it from stretching too wide */
    gap: 80px; /* Increases space between left and right sections */
    align-items: center;
    z-index: 4000;
     
}


.text-container3 .left-section3, .right-section3 {
    flex: 1; /* Makes both sections take up equal width */
    text-align: left; /* Ensures all text, including bullet points, aligns left */
    display:inline-block;
    /*width:40%;*/
}
.text-container3 h3 {
    font-family: 'Poppins', sans-serif; /* Change font if needed */
    color: #333; /* Customize heading color */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    
}

.text-container3  ul {
    list-style-type: disc;
    padding-left: 20px;
}

.text-container3  li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
    position: relative;
}

.ribbon-section  li::marker {
    color: #f1a33a; /* Change bullet point color */
    font-size: 18px;
}

#paymentModal .submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}