/* General Theme Colors */
:root {
    --primary-color: rgb(205, 138, 19);
    --secondary-color: #333; /* Black */
    --accent-color: #fff; /* White */
	--yellow-color:#ecb110;
	--blue-color: #111831;
    .accordion-container {
        margin-top: 20px;
    }
	
.h-96 {
    height: 33rem;
}

.accordion {
    background-color: var(--primary-color);
    color: #ffffff;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: center;
    outline: none;
    font-size: 1.2em;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-bottom: 5px;
}

.accordion.active, .accordion:hover {
    background-color: #a05f14;
}

.accordion-content {
    padding: 0 20px;
    background-color: #f7f7f7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 8px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

/* Global Button and Link Styles */
a, .btn, .cta-button, .cookie-popup .btn, form button {
    background-color: transparent;
    color: var(--secondary-color); /* White */
    font-weight: bolder;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover, .btn:hover, .cta-button:hover, .cookie-popup .btn:hover, form button:hover {
    background-color: var(--primary-color); /* Slightly darker shade */
    color: var(--accent-color);
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

#topbar{
	background-color:#111831;
    color: var(--primary-text-color);
    padding: 10px 0;
    font-size: .9rem;
    line-height: 1.2;
}
#topbar span{
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
	font-size: 14px;
}
#topbar .container{
	padding:0;
}
#topbar a{
	color:#fff;
	font-weight:400;
}
header {
    background-color: var(--yellow-color); /* Black background */
    padding: 10px 20px;
    color: var(--accent-color); /* White text */
	z-index:9999;
}

header .container{
	display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    padding: 0;
}
header nav{
    align-self: center;
}
header h1 {
    background: transparent; /* Removes any background color */
    color: var(--accent-color); /* Ensures text color matches the theme */
    display: flex;
    align-items: center;
    gap: 10px; /* Adds spacing between the logo and text */
}

/* Style for the title link in the header */
header h1 a {
    text-decoration: none; /* Remove underline from the title link */
    color: inherit; /* Inherit the text color from the parent */
}

/* Optional: Add hover effect for the title link */
header h1 a:hover {
    color: #e8491d; /* Optional: Add a hover color for the link */
    text-decoration: none; /* Ensures no underline on hover */
}
header a.logo-content:hover{
	background:inherit;
	color:inherit;
}
header .logo {
    height: 80px; /* Adjust the height of the logo as needed */
    width: auto; /* Maintain aspect ratio */
}

/* Navigation Menu */
nav {
    position: relative;
    z-index: 5; /* Ensure it is above the hero section */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--accent-color); /* White */
    text-decoration: none;
    padding: 10px 20px;
}

nav ul li a:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}



/* Buttons */
.cta-button, .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--accent-color); /* White for text */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
	text-transform: none;
}

.cta-button:hover, .btn:hover {
    background-color: rgba(205, 138, 19, 0.8); /* Slightly darker shade on hover */
}

.cta-button:hover, .btn:hover {
    background-color: var(--primary-color);
}

form {
    margin-top: 20px;
}

form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input, form select, form button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: var(--primary-color);
}

.about, .classes, .contact {
    background-color: #fff;
    margin: 20px 0;
    padding: 20px 0;
}

.about p, .contact p, .contact address, .privacy-policy p {
    font-size: 1.1em;
    line-height: 1.6;
}

.class-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
    justify-content: space-between; /* Adjust spacing for alignment */
}

/* Medium Screens (Tablet) */
@media (max-width: 1024px) {
    .class-item {
        flex: 1 1 calc(50% - 20px); /* Two items per row */
    }
}

/* Small Screens (Phone) */
@media (max-width: 768px) {
    .class-item {
        flex: 1 1 100%; /* One item per row */
    }
	header .logo{
		min-height:80px;
		min-width:80px;
	}
}

.class-item h3 {
    margin-top: 0;
}
#call-to-action{

}
#call-to-action a{
padding:0;
}
/* Footer */
footer {
    background-color: var(--secondary-color); /* Black */
    color: var(--accent-color); /* White */
    text-align: center;
    padding: 60px 0;
}
footer h2{
	color:rgba(255, 255, 255, .56);
    font-weight: 700;
    font-size: 18px;
	text-align:left;
}
footer .p-0{
	padding:0;
}
footer .social a{
	border: 1px solid;
    border-color: rgba(255, 255, 255, .2);
    border-radius: 10%;
    padding: 5px 10px;
    margin: 0px 8px 0px 0px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.2em;
        gap: 5px; /* Reduce spacing on smaller screens */
    }

    header .logo {
        height: 40px; /* Reduce logo size on smaller screens */
    }
	
	header .container{
        justify-content: space-between;
	}
}

/* Class Navigation List */
ul.class-navigation {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

ul.class-navigation li {
    margin: 0;
}

ul.class-navigation li a {
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: var(--secondary-color); /* White */
    cursor: pointer;
    display: inline-block;
    font-weight: bolder;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

ul.class-navigation a:hover {
    background-color: var(--primary-color); /* Slightly darker shade */
    color: var(--accent-color);
}

/* Embedded Code Section */
.embedded-code {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 0px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.embedded-code.active {
    display: block;
    opacity: 1;
    height: auto;
}

#embedded-code-container {
    padding: 0px;
    background-color: #f9f9f9;
    border: 0px solid #ddd;
    border-radius: 5px;
    height: 0px;
}
/*#embedded-code-container:not(:has(.active)) {
	display:none;
}*/

.contact-form {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact-form div {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: rgba(205, 138, 19, 0.8);
}

html {
    scroll-behavior: smooth;
}

.contact-form small {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cookie-popup p {
    margin: 0;
    font-size: 14px;
    flex: 1;
}

.cookie-popup .btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-popup .btn:hover {
    background-color: var(--primary-color);
}

/* Dropdown container */
/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px; /* Optional for rounded corners */
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 8px 16px;
    white-space: nowrap; /* Prevent wrapping of text */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Ensure dropdown stays open when hovering over its content */
.dropdown-content:hover {
    display: block;
}

/* Add hover effect for dropdown links */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Add focus styles for better accessibility */
.dropdown-content a:focus {
    background-color: #ddd;
}

.genealogy-tree {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
}

.genealogy-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
}

.genealogy-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.genealogy-item h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.genealogy-item p {
    font-size: 1em;
    line-height: 1.5;
}

/* Responsive layout for tablet and desktop */
@media (min-width: 768px) {
    .genealogy-tree {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
    }
}

@media (min-width: 1024px) {
    .genealogy-tree {
        grid-template-columns: repeat(3, 1fr); /* Three columns for desktops */
    }
}

/* General Container */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Instructors Section */
.instructors {
    padding: 20px 0;
}

.instructors h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Individual Instructor */
.instructor {
    margin-bottom: 40px;
}

.instructor-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.instructor-top img {
    max-width: 300px;
    width: 100%;
    border-radius: 5px;
}

.instructor-top .instructor-info {
    flex: 1;
}

.instructor-top.alternate {
    flex-direction: row-reverse; /* Flip image and text */
}

.instructor-info h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.instructor-info p {
    font-size: 1em;
    line-height: 1.5;
}

.instructor-history {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.instructor-history p {
    margin: 0 0 10px;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .instructor-top {
        flex-direction: column;
    }

    .instructor-top.alternate {
        flex-direction: column;
    }
}

/* Footer Styling */
footer {
    z-index: 999;
    position: relative;
    background-color: var(--blue-color); /* Black */
    color: var(--accent-color); /* White */
    padding: 20px 0;
    text-align: center;
}
footer .menu{
	flex-direction: column;
}
footer a{
	color:var(--accent-color);
	background-color:inherit;
}
footer .menu a{
	padding:10px 0px;
}
footer .menu a:hover{
	color:var(--primary-color);
	background-color:inherit;
}
	
footer .dropbtn {
        color: white;
        text-decoration: none;
        padding: 10px 0px;
        cursor: pointer;
}
	.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: contents;
    width: 40px;
    height: 40px;
}

.social-links a img {
    max-width: 40px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%; /* Optional for circular icons */
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.map-and-video {
    margin-top: 20px;
}

.map-and-video iframe {
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

.video-section h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: var(--accent-color);
    text-align: center;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Ensure it stays above other elements */
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color); /* White */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Navigation Menu for Desktop */
.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Hide Menu for Mobile */
.menu.mobile-hidden {
    display: none;
    flex-direction: column;
    background-color: var(--secondary-color); /* Black */
    position: absolute;
    margin-top: 40px;
    width: 100vw;
	
    left: -79vw;
    z-index: 1000;
}

.menu.mobile-hidden li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Show Menu When Active */
.menu.mobile-visible {
    display: flex;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger icon */
    }

    .menu {
        display: none; /* Hide menu by default */
    }
	footer .menu{
		display:block;
	}
	footer .float-right{
		float:none;
	}
	footer li.dropdown{
		display:block;
	}
}

.policy-links {
    margin-top: 20px;
    font-size: 0.9em;
    text-align: center;
}

.policy-links a {
    color: var(--accent-color); /* White or theme accent color */
    text-decoration: none;
}

.policy-links a:hover {
    text-decoration: underline;
}

/* Style for links in the privacy policy page */
.privacy-policy a {
    color: var(--primary-color); /* Use white or theme color */
    text-decoration: underline; /* Optional: Underline to indicate a link */
}

.privacy-policy a:hover {
    color: var(--accent-color); /* Change to a noticeable color on hover */
    text-decoration: none; /* Optional: Remove underline on hover */
}

#confirmation-message {
    color: #2c3e50;
    font-family: Arial, sans-serif;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#welcome-back-message {
    background-color: #f9f9f9;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.book-call {
    text-align: center;
    padding: 20px;
}

.book-call h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.book-call p {
    margin-bottom: 20px;
    color: #555;
}

.embedded-call iframe {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services {
    text-align: center;
    padding: 20px 0;
}

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

.service-item {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.service-item h3 {
    margin-top: 0;
}

.service-item p {
    color: #555;
}

.service-item .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #fff;
    background-color: rgb(205, 138, 19);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.service-item .btn:hover {
    background-color: #a05f14;
}

/* Checkbox Styling */
div label input[type="checkbox"] {
    margin-right: 8px;
}

div label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1em;
}

div label:hover {
    color: #333;
}

.services {
    text-align: center;
    padding: 40px 20px; /* Increased padding for better spacing */
    background-color: var(--accent-color); /* Light background for contrast */
    color: var(--secondary-color); /* Black text for readability */
}

.services h2 {
    font-size: 2.5em; /* Larger heading for emphasis */
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase; /* Optional for styling */
    letter-spacing: 2px; /* Adds spacing for a clean look */
}

.services p {
    margin-bottom: 30px;
    font-size: 1.2em; /* Slightly larger text for readability */
    line-height: 1.6;
    color: #555; /* Subtle contrast for descriptions */
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusts dynamically */
    gap: 30px; /* Increased gap for better spacing */
    margin-top: 30px;
}

.service-item {
    background-color: #fff; /* White background for card contrast */
    padding: 25px;
    border: 1px solid #ddd; /* Subtle border for definition */
    border-radius: 10px; /* Smooth rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: left; /* Left-aligned text for easy reading */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color); /* Black text for emphasis */
}

.service-item p {
    font-size: 1em;
    color: #666; /* Softer text color for descriptions */
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-item .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    color: #fff;
    background-color: var(--primary-color); /* Highlight button with primary color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.service-item .btn:hover {
    background-color: #a05f14; /* Darker shade for hover effect */
}

.classes {
    text-align: center;
    padding: 40px 20px; /* Increased padding for better spacing */
    background-color: var(--accent-color); /* Light background for contrast */
    color: var(--secondary-color); /* Black text for readability */
}

.classes h2 {
    font-size: 2.5em; /* Larger heading for emphasis */
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase; /* Optional for styling */
    letter-spacing: 2px; /* Adds spacing for a clean look */
}

.classes p {
    margin-bottom: 30px;
    font-size: 1.2em; /* Slightly larger text for readability */
    line-height: 1.6;
    color: #555; /* Subtle contrast for descriptions */
}

.class-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusts dynamically */
    gap: 30px; /* Increased gap for better spacing */
    margin-top: 30px;
}

.class-item {
    background-color: #fff; /* White background for card contrast */
    padding: 25px;
    border: 1px solid #ddd; /* Subtle border for definition */
    border-radius: 10px; /* Smooth rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: left; /* Left-aligned text for easy reading */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-item:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.class-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color); /* Black text for emphasis */
}

.class-item p {
    font-size: 1em;
    color: #666; /* Softer text color for descriptions */
    line-height: 1.6;
    margin-bottom: 15px;
}

.class-item .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    color: #fff;
    background-color: var(--primary-color); /* Highlight button with primary color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.class-item .btn:hover {
    background-color: #a05f14; /* Darker shade for hover effect */
}

.class-item img.class-image {
    width: 100%; /* Ensures the image takes up the full width of the container */
    max-height: 200px; /* Limits the maximum height of the image */
    object-fit: cover; /* Ensures the image fits nicely within the container */
    border-radius: 10px; /* Matches the card's rounded corners */
    margin-bottom: 15px; /* Space between image and text */
    overflow: hidden; /* Prevents the image from overflowing its container */
    display: block; /* Ensures proper rendering as a block element */
}

.class-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Container for the checkboxes */
.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid layout */
    gap: 15px; /* Space between checkboxes */
    margin-top: 15px;
}

.services-checkboxes label {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-checkboxes label:hover {
    transform: translateY(-3px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.services-checkboxes label input {
    margin-right: 10px; /* Space between checkbox and label text */
    width: 20px;
    height: 20px;
}

.services-checkboxes label span {
    font-size: 1em;
    color: #333; /* Dark text for readability */
}

.services-checkboxes label:hover span {
    color: var(--primary-color); /* Highlight text on hover */
}

.about h2,
h2 {
    text-align:center;
    font-size: 2.5em; /* Larger heading for emphasis */
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase; /* Optional for styling */
    letter-spacing: 2px; /* Adds spacing for a clean look */
}

.contact h2 {
    text-align:center;
    font-size: 2.5em; /* Larger heading for emphasis */
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase; /* Optional for styling */
    letter-spacing: 2px; /* Adds spacing for a clean look */
}
#book-trial{
	overflow:hidden;
}
.book-trial h2 {
    text-align:center;
    font-size: 2.5em; /* Larger heading for emphasis */
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase; /* Optional for styling */
    letter-spacing: 2px; /* Adds spacing for a clean look */
}

/* General Styling for Birthday Parties */
.service-detail {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.service-detail h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #444;
}

.service-detail p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.birthday-details {
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.birthday-details h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #444;
}

.birthday-details ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.birthday-details ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
}

.birthday-details strong {
    font-size: 1.2em;
    color: #000;
}

.birthday-details .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: rgb(205, 138, 19);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.birthday-details .btn:hover {
    background-color: #a05f14;
}

.thank-you {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #333;
}

.thank-you h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #444;
}

.thank-you p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: rgb(205, 138, 19);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.thank-you .btn:hover {
    background-color: #a05f14;
}

.thank-you .link {
    color: #333; /* Set a dark color for better readability */
    text-decoration: underline; /* Optional: Underline to differentiate */
}

.thank-you .link:hover {
    color: #555; /* Slightly lighter color for hover effect */
    text-decoration: none; /* Optional: Remove underline on hover */
}

/* Style for the unordered lists in private-class-details */
/* Style for the unordered lists in private-class-details */
.private-class-details ul {
    list-style-type: disc; /* Ensures bullet points are visible */
    margin: 0 auto; /* Centers the entire list within its parent container */
    padding: 0; /* Remove extra padding */
    text-align: left; /* Aligns list items to the left */
    max-width: 800px; /* Optional: Constrain the width for better readability */
}

.private-class-details ul li {
    font-size: 1.1em; /* Slightly larger text for readability */
    line-height: 1.6; /* Adds spacing between list items */
    margin-bottom: 10px; /* Space below each list item */
    color: #333; /* Text color for better readability */
}

.private-class-details {
    text-align: center; /* Centers headings and paragraphs */
}

.private-class-details ul {
    text-align: left; /* Overrides parent alignment for the list */
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Ensure text is readable */
    text-align: center;
    overflow: hidden; /* Prevents video overflow */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensures video doesn’t overflow */
    z-index: 1; /* Place it behind the content */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire hero section */
}



.program {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.program .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.program-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-section {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    background-image: url('path-to-your-image.jpg'); /* Optional: Add your background image */
    background-size: cover; /* Optional: Ensure the background image covers the section */
    background-position: center; /* Optional: Center the background image */
  }

.hero-content {
    position: absolute;
    z-index: 2;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add text shadow for better contrast */
}

.hero-content .btn {
    background-color: rgba(205, 138, 19, 0.9); /* Semi-transparent button */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
    background-color: #a05f14;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.hero-content h2 {
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add text shadow for better contrast */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	color:#fff;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

#birthday-party-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#birthday-party-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#birthday-party-form input,
#birthday-party-form textarea,
#birthday-party-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#birthday-party-form fieldset {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#birthday-party-form fieldset legend {
    font-weight: bold;
    margin-bottom: 10px;
}

#birthday-party-form fieldset label {
    display: block;
    margin-bottom: 5px;
}

#birthday-party-form fieldset input[type="checkbox"] {
    margin-right: 10px;
    flex-basis: content;
}

#birthday-party-form button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#birthday-party-form button[type="submit"]:hover {
    background-color: var(--primary-color);
}

.carousel-container {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    #birthday-party-form {
        padding: 15px;
    }

    .carousel-button {
        padding: 8px;
    }
}

.birthday-checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px; /* Adjust spacing between options as needed */
}

.birthday-checkbox-container input[type="checkbox"] {
    margin: 0 5px 0 0; /* Space between checkbox and label */
    flex-basis: content;
}

/* Container styling */
.partners-offers .container {
    padding: 2rem;
}

.partners-offers-flyers .container {
    padding: 2rem;
}

/* Grid container */
.logo-grid {
    display: grid;
    gap: 1rem;
}

.offer-grid {
    display: grid;
    gap: 1rem;
}

/* Grid items */
.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.offer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}


/* Logo images */
.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

.offer-item img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}
/* Responsive behavior */
@media (min-width: 600px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	
		
	footer .dropdown-content{
		left:40%;
		padding-left:20px;
	}
}

@media (min-width: 900px) {
    .logo-grid {
        grid-template-columns: repeat(auto, auto);
    }

    .offer-grid {
        grid-template-columns: repeat(auto, auto);
    }
}

/* Style for the Tiny Dragons Program section */
#tiny-dragons ul {
    list-style-type: none; /* Sets the bullet style to a filled circle */
    margin-left: 20px;     /* Adjusts the left margin for better alignment */
    padding-left: 20px;    /* Adds padding to create space between the bullet and text */
}

#tiny-dragons ul li {
    margin-bottom: 10px;   /* Adds space between list items */
    line-height: 1.6;      /* Increases line height for better readability */
}

/* Promotion Container */
.promo-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

/* Promotion Headings */
.promo-container h1,
.promo-container h2 {
    color: #333;
    text-align: center;
}

.promo-container h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.promo-container h2 {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Promotion Paragraphs */
.promo-container p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Promotion List */
.promo-container ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.promo-container ul li {
    margin-bottom: 10px;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.schedule-table th {
    background-color: #f2f2f2;
    color: #333;
}

.schedule-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Expired Message */
.expired-message {
    text-align: center;
    color: #d9534f;
    font-weight: bold;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .promo-container {
        padding: 15px;
    }

    .promo-container h1 {
        font-size: 1.5em;
    }

    .promo-container h2 {
        font-size: 1.2em;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px;
    }
	#topbar .container,
	#topbar .flex
	{
		flex-direction: column;
	}
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.card-icon {
    width: 10px;
    height: 10px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 18px;
    margin: 10px 0;
}

.card-description {
    font-size: 14px;
    color: #666;
}

.tooltip {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--accent-color);
    background-color: var(--secondary-color); /* Optional: Change color to match your site's theme */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
}

.tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the tooltip */
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* Arrow at the bottom */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
}

.footer-phone-number, .footer-whatsapp, .footer-telegram {
    color: var(--accent-coloraccent-color) !important;
}

.styled-list {
    list-style: none;
    padding-left: 30%;
}

.styled-list li {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.step-number {
    background-color: #cd8a13; /* Uses the brand color */
    color: white;
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

.book-trial .container {
    max-width: auto;
    margin: 0 auto;
    text-align: center;
}

/* Enhanced styling for Kids Martial Arts Classes page */
.program #intro, 
.program #benefits, 
.program #class-schedule, 
.program #book-trial {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    text-align: left;
}

.program #intro h2,
.program #benefits h3,
.program #class-schedule h3,
.program #book-trial h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 15px;
}

.program ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.program ul li {
    position: relative;
    padding-left: 25px;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.program ul li::before {
    content: '✓';
    position: relative;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.program a {
    color: #fff;
	background-color:var(--yellow-color);
    text-decoration: underline;
}

.program a:hover {
    text-decoration: none;
}

.booking-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.booking-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.program #book-trial p {
    font-size: 1.1em;
    text-align: center;
    color: #555;
}
}