/* Define client colors */
:root {
    --primary-color: rgba(0, 0, 0,1); /* Black */
    --secondary-color: #1b96bb; /* blue */
    --accent-color: rgba(102, 22, 22,1); /* red */ 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container and Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    background-color:rgb(138, 38, 158);
}

.navbar {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 20px;
    height: 70px;
}
/* General Navigation Styles */
.nav-links {
    display: flex;
    gap: 20px;
    z-index: 999;
}

.logo {
    margin-top: 10px;
    width: 170px;
}

.nav-links .on {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-links ul li a:hover {
    color: var(--accent-color);
}
/* Basic styling for navbar */
.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #080808;
}

.navbar > li {
    display: inline-block;
    position: relative;
}

.navbar > li > a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar > li > a:hover {
    background-color: #111;
}

/* Dropdown menu styling */
.dropdown-menu {
    list-style: none;
    display: none;
    position: absolute;
    background-color: #000000;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-menu > li > a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-menu > li > a:hover {
    background-color: #8a5757;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}


/* Hamburger Menu Styles */
.hamburger {
    z-index: 1000;
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(255, 255, 255);
    margin: 4px 0;
    transition: all 0.3s;
}

/* Sticky Navbar */
.sticky {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

button {
    background-color: var(--accent-color);
    color: #0e0d0d;
    border: none;
    cursor: pointer;
    font-size: 22px;
    margin-right: 15px;
    border-radius: 7px 0 7px 7px;
}
button a {
    text-decoration: none;
    color: #fff;
}
button:hover {
    background-color: #cc0000;
}


.hero {
    text-align: center;
    padding: 50px 20px;
    background: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Professional shadow effect */
    color: #fff;
    margin: 0 auto; /* Ensure it's centered */
    border-radius: 15px;
    max-width: 98%; /* Set to 100% to prevent overflow */
    width: 100%;
    background-size: cover; /* Make sure background covers the section */
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; /* Prevent any overflow */
    display: flex;
    justify-content: center;
    flex-direction: column; /* Ensure content is stacked */
    align-items: center;
}





.services {
    padding: 40px 20px;
    text-align: center;
    background: white;
    margin: 0 20px 15px 20px;
    border-radius: 15px;
}

.services h1 {
    color: black;
    font-size: 2em;
    margin: 10px 10px;
}
.services .hero {
    background-color: var(--primary-color);
    text-align: center;
    padding: 50px 20px;
    color: #fff;
    border-radius: 15px;
    margin: 10px 10px;
}

.services .hero .title h1 {
    color: #fff;
    font-size: 3em;
}

.services p {
    color: #020202;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.service-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}
.icon-circle {
    background-color: var(--accent-color);
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 15px; /* Centering the circle */
}

.icon-circle i {
    font-size: 24px;
}
.service ul{
    list-style: none;
    text-decoration: none;
}
.service {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    background-color:var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service.expanded {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service h2 {
    color: rgb(138, 38, 158);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.service p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

.services img {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 40px auto 0;
    border-radius: 10px;
}   

/* Footer Styles */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}
footer a {
    color: #5badce;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .hours, footer .visit-us {
    margin-bottom: 20px;
}

footer img {
    width: 200px;
    height: auto;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

footer .social-media {
    margin-top: 20px;
}

footer .social-media a {
    margin: 0 10px;
    display: inline-block;
}

footer .social-media img {
    width: 30px;
    height: 30px;
    filter: invert(100%);
    transition: filter 0.3s;
}

footer .social-media img:hover {
    filter: invert(70%);
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}
  
#scrollToTopBtn {
    background-color: var(--accent-color);
}
/* Responsive Design */
@media (max-width: 768px) {
    .navbar{
        mix-blend-mode: unset;
    }
    .hamburger {
        display: flex; /* Ensure it's visible */
        position: absolute;
        top: 10px;
        right: 20px;
        z-index: 10;
        padding: 10px; /* Add some padding for better appearance */
        border-radius: 5px; /* Optional, for rounded edges */
    }

    .nav-links {
        position: fixed;
        top: 10%;
        border: 2px solid white;
        right: -100%; /* Initially hide off-screen */
        width: 100%; /* Menu takes half the screen */
        height: 20%;
        background-color: black;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease; /* Smooth slide-in effect */
        z-index: 9;
    }
    .nav-links .on {
        display: inline-block;
        list-style-type: none;
        padding: 0;
        text-align: center;
    }

    .nav-links ul li {
        border-bottom: 2px solid #4a9bbf;
        margin: 20px 0;
    }

    .nav-links ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 24px;
    }

    /* When the menu is active, bring it on screen */
    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
    }
    .navbar .contact-devine{
        display: none;
    }

    footer {
        padding: 20px 10px;
    }
    
    footer img {
        flex-direction: column;
        align-items: center;
    }
    
    footer img {
        width: 80%;
        margin-bottom: 10px;
    }
}