* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom right, rgba(240, 248, 255, 0.8), rgba(230, 230, 250, 0.8)), url('/assets/images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}
.carousel {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden; /* Hide overflow to show only one image at a time */
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%; /* Each image takes the full width */
}

.carousel-item img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10; /* Bring buttons above images */
}

.prev {
    left: 10px; /* Position left button */
}

.next {
    right: 10px; /* Position right button */
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker on hover */
}

#franchise {
    background: linear-gradient(to right, rgba(255, 110, 97, 0.8), rgba(255, 165, 0, 0.8));
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.franchise-button {
    background: #ff6f61;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
    text-decoration: none;
    margin:20px;
}

.franchise-button:hover {
    background: #ff4a3b;
    transform: scale(1.05);
}

.franchise-button:active {
    transform: scale(0.95);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0; /* Fixed at the top */
    transition: top 0.3s; /* Smooth transition */
}

main {
    margin-top: 80px; /* Adjust for fixed header height */
}

/* Sticky Section Headings */
h2 {
    position: sticky;
    top: 60px; /* Adjust based on header height */
   /* background: white;  Match header background  */
    padding: 10px;
    margin-top: -40px;/* Adjust to overlap slightly with header */
    padding-bottom:40px;
    z-index: 999; /* Ensure it stays above other content */
}


.logo img {
    max-height: 50px;
}

.navbar {
    position: relative;
}

.nav-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

#nav-links {
    display: flex;
    list-style: none;
}

#nav-links li {
    margin-left: 20px;
}

#nav-links a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
}

#nav-links a:hover {
    background: #ff6f61;
    color: #fff;
    border-radius: 5px;
}
h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 2.5em;
}

.service {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    transition: transform 0.3s;
}

.service:hover {
    transform: scale(1.05);
}

.service i {
    font-size: 40px;
    color: #ff6f61;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #ff6f61;
}

button {
    background: #ff6f61;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #ff4a3b;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.footer-section {
    flex: 1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6f61;
}
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.gallery-item:hover {
    transform: scale(1.05); /* Slightly enlarge the item on hover */
}

#services {
    padding: 60px 20px;
    background: #f9f9f9; /* Light background for contrast */
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 40px;
    color: #ff6f61; /* Accent color for icons */
}

h3 {
    margin-top: 15px;
    font-size: 1.5em;
    color: #333; /* Dark text for readability */
}

p {
    margin-top: 10px;
    color: #666; /* Lighter text for descriptions */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-icon {
        display: block;
        }
    #h2{
        font-size:0.9em;
    }
    #nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right:0px;
    }

    #nav-links.active {
        display: flex;
    }

    section {
        padding: 40px 10px;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }
}
/* General section styles */
section {
    position: relative;
    padding: 60px 20px;
    color: white; /* Default text color for contrast */
}

/* About Section */
#about {
    background: url('/assets/images/about-background.jpg') no-repeat center center/cover;
}

/* Gallery Section */
#gallery {
    background: url('/assets/images/gallery-background.jpg') no-repeat center center/cover;
}

/* Services Section */
#services {
    background: url('/assets/images/services-background.jpg') no-repeat center center/cover;
}

/* Franchise Section */
#franchise {
    background: url('/assets/images/franchise-background.jpg') no-repeat center center/cover;
}

/* Contact Section */
#contact {
    background: url('/assets/images/contact-background.jpg') no-repeat center center/cover;
}

/* Overlay for better text visibility */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);  Black overlay with 50% opacity 
    z-index: 1; /* Place it below text but above background */
}

section h2, 
section p,
section a {
    position: relative;
    z-index: 2; /* Bring text above the overlay */
}
