/* body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
} */

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

header {
    background-color: #cfcece;
    background-size: cover;
    /* background: url('C:/Users/sriho/Downloads/s1aceOyTQljK_nOLMgdx9.jpg') no-repeat center center;*/
    color: white;


    width: 100%; /* Ensure header does not cause overflow */
    padding: 0;
    /* position: fixed; */
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: auto;
}

.branding {
    display: flex;
    align-items: center;
}

.brand-name h1, .brand-name h3 {
    margin: 0;
}
.branding img {
    width: 96px;
    height: auto;
    margin-right: 10px; /* Space between logo and company name */
}

.branding h1,h3  {
    /* font-size: 24px; */
    font-weight: bold;
    color: #79593a; /* Matching the color of the navigation links */
    margin: 0;
}

.branding a{
    text-decoration:none
}



header nav {
    display: contents;
    align-items: center;
    justify-content: flex-end;
    /* flex: 1; */
}

nav {
    flex-wrap: wrap; /* Allows wrapping of navigation links */
}


.notification {
    flex: 2;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 20px;
    position: relative;
}

.notification p {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 42s linear infinite;
    animation-delay: 2s; /* Delay before animation starts */
    color: #333;

    font-size: 18px;
}

/* Scrolling animation */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    95% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(-100%); /* Hold the position for the pause */
    }
}


nav a {
    color: #d93007;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav a:hover {
    color: #feb47b;
    text-decoration: underline;
}

/* Style for dropdown */
nav {
    display: flex;
    align-items: center;
}

nav a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    font-weight: 550;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #feb47b;
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.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;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown a {
    cursor: default;
}


/* Slider Section */
.slider {
    /* margin-top: 96px; */
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.10s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.slide img {
    width: 100%;
    display: block;
}

/* Persistent Contact Form */
.contact-form {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    z-index: 10;
}

.contact-form h3 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form input[type="submit"] {
    background-color: #ff7e5f;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.contact-form input[type="submit"]:hover {
    background-color: #feb47b;
}

/* Slide Navigation */
.slider .prev, .slider .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 24px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
    }

.slider .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots for Slider Navigation */
.dots {
    text-align: center;
    padding: 10px;
    background-color: #ff7e5f;
}

.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;
}

/* Content Section */
.content {
    padding: 20px;
    text-align: center;
}

.content h2 {
    margin-top: 20px;
    font-size: 32px;
    color: #333;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.service {
    background-color: #cdc5bc;
    padding: 20px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    color: #79593a;
    font-size: 24px;
    margin-bottom: 10px;
}

.service p {
    color: #333;
    font-size: 18px;
}

/* Gallery Section */
.gallery-section {
    padding: 20px;
    background-color: #eaeaea;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery img {
    width: 30%;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.view-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.view-more a {
    text-decoration: none;
    color: #fff;
    background-color: #ff7e5f;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.view-more a:hover {
    background-color: #feb47b;
}

.view-more a i {
    margin-right: 8px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #79593a;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.floating-icons a.call {
    /* background-color: #ff7e5f; */
}

.floating-icons a.instagram {
    /* background-color: #e1306c; */
}

.floating-icons a:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* header {
        flex-direction: column;
        text-align: center;
    } */
    .slide img {
        height: 161%;
    }
    header nav {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        display: none;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        margin-top: 87px;
        max-width: 90%;
    }

    .service {
        width: 80%;
    }

    .gallery img {
        width: 80%;
    }
}

/* Popup Overlay */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Popup Content */
.popup-content {
    position: relative;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 80%; /* Adjust based on screen size, typically 70-80% works well */
    max-height: 70%; /* Adjust based on screen size, typically 70-80% works well */
    overflow-y: hidden; /* Prevent vertical scrollbar */
    text-align: center;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #333;
    font-size: 36px; /* Increased size for better visibility */
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
}

/* Image Styling */
.popup-content img {
    max-width: 100%; /* Scale the image to fit within the popup */
    max-height: 100%; /* Ensure the image doesn't exceed popup height */
    height: auto;
    width: auto;
    border-radius: 5px;
}


/* Blog Content Styling */
.blog-content {
    /* max-width: 1200px; */
    /* margin: 40px auto; */
    /* padding: 20px; */
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-content h2 {
    color: #d93007;
    font-size: 32px;
    margin-bottom: 20px;
}

.blog-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.blog-section h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-section ul li {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.blog-conclusion p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

/* Blog Page Layout */
.blog-page {
    display: flex;
    margin-left: 10px;
    justify-content: space-between;
    /* max-width: 1200px; */
    /* margin: 20px auto; */
    /* padding: 20px; */
}

.blog-content {
    flex: 3;
    margin-right: 20px;
}

.blog-post {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    color: #d93007;
    text-decoration: none;
    font-size: 18px;
    /* margin: 0 15px; */
}

.pagination a:hover {
    text-decoration: underline;
}

.sidebar {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    margin-top: 0;
    color: #d93007;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}
.whatsapp img {
    width: 24px;  /* Adjust size as needed */
    height: 24px;
    display: inline-block;
}

/* ----------------------------------- */

img.attachment-thumbnail.size-thumbnail {
    width: 150px;
    height: 150px;
    padding: 8px;
}
.wp-caption-text.gallery-caption {
    padding: 10px;
}

/* Mobile Toggle Menu */
.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none; /* Hide menu initially on small screens */
        flex-direction: column;
        width: 100%;
    }

    nav.active {
        display: flex;
    }
}

/* Mobile-first responsive navigation */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        width: 100%;
    }

    nav a {
        margin: 10px 0;
        text-align: center;
        font-size: 16px;
    }

    .dropdown-content {
        position: relative; /* Fixes submenu positioning in smaller screens */
    }
}
/* Dropdown for mobile devices */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover on small screens */
    }

    .dropdown a {
        cursor: pointer; /* Indicate it's clickable */
    }

    .dropdown .dropdown-content {
        display: none; /* Hide dropdown by default */
    }

    .dropdown.active .dropdown-content {
        display: block; /* Show dropdown on click */
    }
}
