@import url('https://fonts.googleapis.com/css2?family=Lemonada:wght@700&display=swap');

body {
    margin: 0px;
    /* overflow: hidden; */
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1; /* Ensure body content is above the background */
}

body::before {
    content: "";
    position: fixed; /* Change to fixed to cover the entire viewport */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('bodybackgroundimage.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(5px); /* Apply blur effect */
    z-index: -1; /* Ensure it stays behind the body content */
}

html {
    font-size: 16px;  /* Base font size */
}

.headerClass {
    height: 15vh;
    background-image: url('headbg2.jpg');
    background-size: cover;
    background-position: center;
    padding: 0px 0;
    top: 0;
    width: 100%;
    z-index: 1002;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-effect{
    margin-top: 24px;
}

.glass-effect1{
    margin-top: -28px;
}

.headerClass h1 {
    font-family: 'Lemonada', sans-serif;
    font-size: 1.5em; /* Adjust the value as needed */
    color: #3b045e;
    animation: glow 1.5s infinite alternate;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lemonada', sans-serif;
    text-align: center;
    color: maroon;
}

.navClassHeader {
    top: 15vh; /* Adjust based on header height */
    width: 100%;
    background-color: #e9e3da; 
    z-index: 1001;  /* Ensure nav is below header */
    padding: 19px;
    position: fixed;
  
    /* margin-left: 38px; */
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin: 0;
    font-size: 1.2em;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #3c0000;
    font-size: 1.2em;
    transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s ease; /* Add transition for smooth animation */
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #007BFF;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -5px;
}

/* nav ul li a:hover {
    color: #0056b3;
}

nav ul li a:hover::after {
    width: 100%;
} */

nav ul li a:active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    background: rgba(255, 191, 0, 0.182);
    border-radius: 10%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    padding: 7px;
}

nav ul li a:active::before {
    transform: translate(-50%, -50%) scale(1);
}

nav ul li a.selected {
    color: #b30000;
    font-weight: bold;
    background-color: #ff000024; /* Add background color */
    border-radius: 10px; /* Add border radius */
    padding: 7px;
}

nav ul li a.selected::after {
    width: 0; /* Remove underline */
}

@keyframes glow {
    /* ... your existing glow animation ... */
    0% {
        text-shadow: 0 0 5px #ffd70038, 0 0 10px #ffd70038, 0 0 15px #ffd70038, 0 0 20px #ffd70038, 0 0 25px #ffd70038, 0 0 30px #ffd70038, 0 0 35px #ffd70038
    }
    50% {
        text-shadow: 0 0 10px #ffd70038, 0 0 20px #ffd70038, 0 0 30px #ffd70038, 0 0 40px #ffd70038, 0 0 50px #ffd70038, 0 0 60px #ffd70038, 0 0 70px #ffd70038
    }
    100% {
        text-shadow: 0 0 5px #ffd70038, 0 0 10px #ffd70038, 0 0 15px #ffd70038, 0 0 20px #ffd70038, 0 0 25px #ffd70061, 0 0 30px #ffd70080, 0 0 35px #ffd70091
    }
}

.content {
    display: block; /* Make content visible by default */
    margin-top: 20vh; /* Ensure content is below the nav header */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center; /* Center the grid containers horizontally */
    margin: 0 auto; /* Center the grid container itself */
    max-width: 1200px; /* Set a maximum width for the container */
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slideshow-container {
    position: relative;
    width: 100%; /* Adjust to fit grid */
    max-width: 550px; /* Set a maximum width */
    height: 100%; /* Set a fixed height */
    margin: auto;
    overflow: hidden; /* Ensure images do not overflow */
}

.mySlides img {
    width: 100%;
    height: 100%; /* Ensure images cover the container */
    object-fit: cover; /* Ensure images cover the container */
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Align vertically in the middle */
    width: 30px;
    height: 30px;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 50%;
    background-color: rgba(128, 0, 0, 0.538);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: #800000;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}


.tile {
    background-color: #f5d68270;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    width: 250px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer; /* Change cursor to indicate clickability */
}

.tile h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}



.tile ul {
    list-style-type: disc;
    padding-left: 20px;
    overflow: hidden; /* Important for transition */
    height: 0;          /* Initially hide the list */
    transition: height 0.3s ease; /* Smooth transition */
}

.tile li {
    font-size: 1em;
    font-family: 'Lemonada', sans-serif;
}

.tile.active ul {
    height: auto;   /* Let the height adjust automatically when active */
}

.container {
    display: flex;             /* Enable flexbox */
    flex-wrap: wrap;          /* Allow tiles to wrap to the next row */
    justify-content: center;  /* Center tiles horizontally */
}

footer {
    
    /* background: rgb(255, 141, 1); */
    padding: 0px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    z-index: 1001; /* Ensure footer is above content */
}

.footer-text {
    background-image: url('HeaderBackGround.jpg');
    background-size: cover;
    background-position: center;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    color: #ffffff;
    text-align: right;
    padding-right: 20px;
}

#contactContent iframe {
    width: 100%; /* Make iframe responsive */
    height: auto; /* Adjust height automatically */
    min-height: 600px; /* Set a minimum height */
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .headerClass h1 {
        font-size: 1.5em; /* Smaller font size for mobile */
    }
}

/* contact css */
.contact-section {
    background-color: #ffffff;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-header h2 {
    color: #333333;
    margin-bottom: 20px;
    text-align: center;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center; /* Vertically center the contact-info */
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 2px;
    border-radius: 8px;
    background-color: #f9f9f9;
    /* font-size: 0.9em; */
}

.contact-info h3 {
    color: #555555;
    margin-bottom: 10px;
    font-size: 0.7em;
}

.contact-info p {
    color: #777777;
    line-height: 1.6;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.7em;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .map-container {
        width: 100%;
        min-width: auto;
    }
}
/* contact css */

.youtube{
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #f5d682; */
}

/* FORM CSS */
.form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 90%;
    max-width: 600px;
    text-align: left;
    justify-content: center;
    align-items: center;
    width: 90%; /* Or a specific width in pixels, e.g., 600px */
    max-width: 600px; /* Keep it from getting too wide on larger screens */
    margin: 0 auto; /* This centers the element horizontally */
}

.form-container h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-description {
    color: #777;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important for width calculation */
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus {
    border-color: #66b3ff;
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(102, 179, 255, 0.5); /* Optional: Add a subtle shadow */
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
    width: 100%; /* Make the button full width */
}

button[type="submit"]:hover {
    background-color: #3e8e41;
}

/* Responsive design */
@media (max-width: 600px) {
    .form-container {
        padding: 20px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group input[type="time"] {
        font-size: 14px;
    }

    button[type="submit"] {
        font-size: 14px;
    }
}
/* FORM CSS */

.time-picker {
    display: flex;
    align-items: center;
}

.time-picker select {
    margin-right: 5px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
