/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333; /* Neutral text color */
    background-color: #FFF7E5; /* Light golden background */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #B8860B; /* Gold background */
    color: #fff;
    position: sticky; /* Keeps the header fixed at the top */
    top: 0;
    width: 100%;
    z-index: 9999; /* Keeps the header above all other elements */
    transition: transform 0.3s ease-in-out;
}
/* Hide header when scrolling down */
header.scroll-down {
    transform: translateY(-100%);
}

/* Show header when scrolling up */
header.scroll-up {
    transform: translateY(0);
}

header .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700; /* Gold logo text */
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background: #FFD700;
    transition: 0.3s;
}

/* Navigation Links */
.nav-links {
    display: flex;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links ul li a {
    color: #FFD700; /* Gold links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links ul li a:hover {
    color: #000000; /* Change text color on hover */
}

/* Close Menu Button */
.close-menu {
    display: none; /* Hidden by default */
    background: transparent;
    color: #FFD700;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Hero Section */
#hero {
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('background.jpg');
    background-size: cover;
    background-position: center;
    color: #FFD700; /* Gold text */
    padding: 100px 0;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Call-to-Action Button */
.cta-button {
    background-color: #FFD700;
    color: #000000;
    padding: 10px 20px;
    border: 2px solid #B8860B;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #B8860B;
    color: #FFFFFF; /* White text on hover */
    transform: scale(1.05); /* Slight enlargement */
}

/* Sections */
.section {
    background-color: #FFECB3; /* Light gold background */
    color: #000000; /* Black text for contrast */
    padding: 50px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Us Section */
#about ul {
    margin: 20px 0;
    padding-left: 20px; /* Indent bullets */
    list-style-type: disc;
}

#about ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: left;
}

#about ul li strong {
    color: #B8860B; /* Dark gold for emphasis */
}

/* Services Section */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-button {
    width: 100%;
    text-align: left;
    padding: 15px;
    border: 1px solid #FFD700; /* Gold border */
    background: #FFECB3; /* Light gold background */
    color: #000000;
    cursor: pointer;
    outline: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background-color: #FFD700; /* Gold on hover */
    color: #FFFFFF; /* White text on hover */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #FFF7E5; /* Lighter background for content */
    padding: 0 15px;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust as needed */
    padding: 15px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #FFF; /* White background for blog cards */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-link:hover {
    transform: scale(1.05); /* Slight enlargement on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-link img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.blog-link h3 {
    color: #B8860B; /* Gold color for titles */
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.blog-link p {
    color: #000000; /* Black text */
    font-size: 1rem;
    line-height: 1.5;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: #B8860B;
    color: white;
    margin-top: 20px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
#scrollToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
    font-size: 18px;
    background-color: #996515; /* Gold color */
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

#scrollToTop:hover {
    background-color: #805512; /* Darker gold */
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e6ed1c;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hide Loader after Loading */
body.loaded #loader {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Show Hamburger Menu */
    .hamburger-menu {
        display: flex;
    }

    /* Hide Navigation Links */
    .nav-links {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 70px;
        right: 0;
        background: #B8860B;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* Show menu when active */
    }

    .nav-links ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links ul li a {
        font-size: 1.2rem;
    }

    /* Show Close Menu Button */
    .close-menu {
        display: block;
    }

    /* Adjust Hero Section */
    #hero {
        padding: 80px 0;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    /* Adjust Section Padding */
    .section {
        padding: 40px 20px;
    }
}

/* Additional Styles */

/* Accordion Functionality */
.accordion-button::after {
    content: '\002B'; /* Plus symbol */
    float: right;
    font-size: 1.2rem;
}

.accordion-item.active .accordion-button::after {
    content: '\2212'; /* Minus symbol */
}

/* Scroll-to-Top Button Visibility */
body.menu-open #scrollToTop {
    display: none; /* Hide when menu is open */
}

/* Remove Text Decoration from Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Image Hover Effects */
.blog-image {
    width: 100%;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.blog-image:hover {
    transform: scale(1.05); /* Zoom-in effect */
    filter: brightness(80%); /* Add a darker overlay */
}

/* Adjustments for Smaller Screens */
@media (max-width: 480px) {
    .nav-links ul li a {
        font-size: 1rem;
    }

    .hamburger-menu .bar {
        width: 20px;
    }

    .close-menu {
        font-size: 1.2rem;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 8px 16px;
    }
}
/* More Services Button */
.more-services {
    text-align: center;
    margin-top: 20px;
}

.more-services-button {
    display: inline-block;
    background-color: #FFD700; /* Gold color */
    color: #000000; /* Black text */
    padding: 10px 20px;
    border: 2px solid #B8860B; /* Dark gold border */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.more-services-button:hover {
    background-color: #B8860B; /* Darker gold on hover */
    color: #FFFFFF; /* White text on hover */
    transform: scale(1.05); /* Slight enlargement on hover */
}
/* All Services Section */
/*#all-services {
    background-color: #FFECB3; /* Light gold background */
   /* color: #000000;
    padding: 50px 20px;
}

#all-services .service-item {
    margin-bottom: 40px;
    text-align: left;
}

#all-services .service-item h3 {
    color: #B8860B; /* Gold color for service titles */
    /*font-size: 1.8rem;
    margin-bottom: 10px;
}

#all-services .service-item ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

#all-services .service-item li {
    margin-bottom: 10px;
    line-height: 1.6;
}

#all-services .service-item p {
    font-size: 1rem;
    line-height: 1.6;
}
/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Service Card */
.service-card {
    background: #FFF; /* White background for cards */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.service-card h3 {
    color: #B8860B; /* Gold color for titles */
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.service-card:hover {
    transform: scale(1.05); /* Slight enlargement on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Sub-Services Container */
#sub-services-container {
    margin-top: 40px;
}

/* Sub-Services List */
.sub-services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.sub-service-button {
    background-color: #FFD700; /* Gold color */
    color: #000000; /* Black text */
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.sub-service-button:hover {
    background-color: #B8860B; /* Darker gold on hover */
    color: #FFFFFF; /* White text on hover */
}

/* Sub-Service Description */
.sub-service-description {
    background-color: #FFF7E5; /* Light golden background */
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.service-card.active {
    border: 2px solid #B8860B; /* Dark gold border */
}
/* Highlight Active Main Service Card */
.service-card.active {
    border: 2px solid #B8860B; /* Dark gold border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Highlight Active Sub-Service Button */
.sub-service-button.active {
    background-color: #B8860B; /* Darker gold */
    color: #FFFFFF; /* White text */
}
/* Ensure html and body take up the full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Set the body to use flexbox */
body {
    display: flex;
    flex-direction: column;
}

/* Make the content area flexible */
.content {
    flex: 1 0 auto;
}

/* Ensure the footer doesn't shrink */
footer {
    flex-shrink: 0;
}
/* Chatbot Chat Head */
#chatbot-chathead {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #B8860B;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1000;
}

#chatbot-chathead img#chatbot-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#chatbot-notification {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background-color: #FF0000; /* Red color for notification dot */
    border-radius: 50%;
    display: none; /* Hidden by default */
    border: 2px solid #FFF; /* White border around the dot */
}

/* Chatbot Styles */
#chatbot {
    position: fixed;
    bottom: 90px; /* Adjusted to appear above the chat head */
    right: 20px;
    width: 300px;
    max-height: 400px;
    background-color: #FFF7E5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    display: none; /* Hidden initially */
    flex-direction: column;
    font-family: Arial, sans-serif;
    z-index: 1000;
}

#chatbot-header {
    background-color: #B8860B;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
}

#chatbot-header button#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

#chatbot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #ffffff;
}

#chatbot-messages .message {
    margin-bottom: 10px;
}

#chatbot-messages .message.user {
    text-align: right;
    color: #000000;
}

#chatbot-messages .message.bot {
    text-align: left;
    color: #000000;
}

#chatbot-input {
    border: none;
    padding: 10px;
    font-size: 1rem;
    border-top: 1px solid #ccc;
}

#chatbot-input:focus {
    outline: none;
}
/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

#chatbot-chathead {
    animation: pulse 2s infinite;
}