
#header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#header a {
    font-size: 1.1rem;
    margin-right: 15px;
}
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    transition: background-image 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white; /* Ensures the map is clearly visible */
    
}
.branches{
    font-family:'Times New Roman', Times, serif;
    
}

.booking-container {
    position: absolute;
    bottom: 30%;  /* Move it up */
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}
.hero {
    background-image: url('/images/slider-bg.jpg');
    background-size: auto 100%; /* Maintain full height, natural width */
    background-repeat: repeat-x;
    height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    text-align: center;
    flex-direction: column;
    overflow: hidden;
    animation: slideBg 5s linear infinite; /* Much faster now */
}




.hero h1,
.hero p {
    animation: fadeInUp 1.5s ease-in-out forwards;
    opacity: 0;
}
.hero-bus {
    position: absolute;
    bottom: 10px;
    right: 0px;
    height: 100px;
    animation: ride 50s linear infinite;
  }

/* Animation for text */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for background sliding */

@keyframes slideBg {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 0; /* Large shift = faster movement */
    }
}


.popup-text {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    animation: popin 1.5s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.scroll-down {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow {
    font-size: 28px;
    color: white;
    animation: bounce 1.5s infinite;
    cursor: pointer;
    text-decoration: none;
}

@keyframes popin {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}
  

.booking-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Or space-between / space-around depending on the layout */
}
.hero .text-container {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    font-family: "Sigmar", serif;
}
.bg-container{
    /* background: url('/images/Kerala_ About Kerala.jpg') no-repeat center center; */
    background-size: cover; /* Ensures full coverage */
    min-height: 100vh; /* Ensures it covers the full viewport height */
    padding: 20px; /* Adds spacing */
    position: relative;
}
.bg-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* Optional overlay for better text visibility */
}
.custom-btn {
    font-size: 14px;
    font-weight: bold;
    color: #007bff; /* Blue text color */
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
  }

  .custom-btn:hover {
    color: #0056b3; /* Darker blue on hover */
  }
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8) !important; /* Dark semi-transparent background */
    padding: 15px;
    backdrop-filter: blur(10px); /* Adds a frosted-glass effect */
}
.navbar-logo {
    height: 90px; 
    width: auto;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand h1 {
    font-size: 1.8rem;
    font-weight: bold;
}
.navbar .nav-link {
    color: #fff !important; /* Ensures text is visible */
}

.navbar-toggler-icon {
    filter: invert(1); /* Makes the toggler icon visible */
}

.navbar-brand img {
    height: 60px; /* Adjust logo size */
}
.navbar-nav .nav-link {
    color: white !important; /* Make text white for better contrast */
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
}
.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Add hover effect */
    border-radius: 5px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: invert(1); /* Make the toggler icon white */
}

.navbar.scrolled .nav-link {
    color: #333 !important;
}

#map{
    background: url(/images/map.png);
    background-size: contain; /* Adjust size */
    background-position: center; /* Center image */
    background-attachment: fixed;
    height: 400px; /* Adjust height */
    width: 100%;
    opacity: 0.3; /* Make it slightly transparent */
    position: relative;
    z-index: -1; /* Push it behind content */
}

.btn-custom {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    background-color: #ff5733;
    border: none;
    color: white;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-custom:hover {
    background-color: #c13c24;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero .text-container {
        padding: 20px;
    }
}

#gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.list-group-item {
    background: rgba(255, 255, 255, 0.2); /* Transparent white background */
    backdrop-filter: blur(10px); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for glass effect */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
    color: black; /* Text color */
    margin-bottom: 10px; /* Space between list items */
    transition: transform 0.2s, background 0.3s; /* Smooth hover effect */
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.4); /* Slightly brighter background on hover */
    transform: scale(1.05); /* Slight zoom-in on hover */
    cursor: pointer; /* Change cursor to pointer */
}

h4 {
    color: black; 
}
.hero-logo {
    height: 60px;  
    width: auto;
    margin-right: 10px;  
    vertical-align: middle;  
}
.modal-dialog {
    max-width: 500px; /* Reduce the width */
    margin: auto; /* Center it */
}
.modal-content {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: none;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important; 
}
.modal-header {
    background: #007bff; /* Bootstrap primary color */
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.modal-title {
    font-weight: bold;
}
.btn-close {
    filter: invert(1);
}
.form-control {
    border-radius: 8px;
    padding: 10px;
}
.form-outline {
    margin-bottom: 15px;
}
.contact{
    margin:20px auto;
    width:80%;

}
.contact {
    max-width: 50%;
}
.social-media {
    display: flex;
    gap: 15px;
}
.social-media a {
    text-decoration: none;
    font-size: 20px;
    color: #333;
    
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact, .social-media {
        max-width: 100%;
        margin-bottom: 10px;
    }
}

.social-btn {
    width: 50px; /* Adjust size as needed */
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    font-size: 20px; /* Adjust icon size */
    margin: 5px;
    text-decoration: none;
    color: white;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-twitter {
    background-color: #1da1f2;
}

.btn-instagram {
    background-color: #c13584;
}

.container-one {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}
.contact-info {
    width: 50%;
    padding: 20px;
}
.contact-info h2 {
    margin-bottom: 10px;
}
.contact-info p {
    font-size: 16px;
    margin-bottom: 8px;
}
.contact-info b {
    color: #333;
}
.contact-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-image img {
    max-width: 100%;
    border-radius: 10px;
}
.card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card img {
    height: 200px; 
    object-fit: cover;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#imageGallery img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px; 
    padding: 10px;
}
.bus-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 10px;
}

.bus-item {
    width: 100%;
    height: 200px; /* Set uniform height */
    overflow: hidden; /* Ensures images don't exceed div */
}

.bus-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the div proportionally */
    border-radius: 8px;
}