.quicksand {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
  }

/* Generic */
* {
    font-family: Quicksand;
}

body {
    margin: 0;
    padding: 0;
}

.button-box {
    display: inline-block;
    padding: 10px 20px;
    background: rgb(241, 129, 60);
    color: white;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.button-box:hover {
    background: rgb(240, 166, 119);
}

.header {
    background-color: #111;
    border-bottom-left-radius: 50% 5rem;
    border-bottom-right-radius: 50% 5rem;
    color: white;
    font-size: 2rem;
    margin: 0 0 5rem 0;
    padding-top: 5rem;
    padding-bottom: 1rem;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    top: 0;
}

.fade {
    opacity: 0;
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

.fade.visible {
    opacity: 1;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    min-height: 40rem;
    padding: 0;
}

.flex-column {
    flex: 1;
    padding: 1.5rem;
}

footer {
    background-color: #111; /* Dark modern background */
    color: #f8f8f8; /* Light text */
    text-align: center;
    padding: 20px 10px;
    font-size: 1rem;
    margin-top: auto;
}

/* Navigation bar */
.nav {
    background: transparent;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    transition: background 0.3s ease-in-out;
    width: 100%;
    z-index: 1000;
}

.nav.scrolled {
    background: rgba(27, 27, 27);
}

.nav a {
    align-items: center;
    color: white;
    display: flex;
    font-size: 1rem;
    margin: 0;
    padding: 0.5rem 1rem 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
}

.nav a:first-child {
    padding: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.nav a:hover {
    background-color: #ffffff;
    color: #000;
}
.nav .active {
    color:#ffb54e;
}

.nav img {
    max-width: 4rem;
    height: auto;
    display: block;
}

/* Hero section */
#hero {
    background-color: #000;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-text {
    text-align: center;
    margin-top: 25%;
    max-width: 50%;
}

.hero-text h1 {
    font-size: 4rem;
    margin: 0;
}

.hero-text p {
    font-size: 1.5rem;
    margin: 2rem 0 0 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-text, .hero-image {
    max-width: 100%;
}

/* Portfolio & Slideshow */
.slide {
    display: none;
}

.slide img {
    block-size: auto;
    border-radius: 0.75rem;
    border: solid;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    max-inline-size: 100%;
}


/* Services section */
.index-services {
    margin-bottom: 5rem;
}

.index-services h1 {
    text-align: center;
}

.services {
    background-color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.services h1 {
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.services-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

.service-box:hover {
    transform: translateY(-0.5rem);
}

.service-box h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #222;
}

.service-box p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.service-box ul {
    padding: 0;
    text-align: center;
}

.service-box li {
    list-style: none;
    margin-top: 0.5rem;
    text-align: left;
}

.service-box a:active {
    transform: translateY(1px);
}

.big-font {
    font-size: 2rem;
    font-weight:500;
}

/* Contact Page */
.contact-box {
    display: flex;
}

.contact-box #img {
    align-items: center;
    display: flex;
    min-width: 5rem;
}

.contact-box img {
    max-width: 3rem;
    max-height: auto;
}

.contact-box #text {
    text-align: left;
}

#contact {
    min-height: 30rem;
}

#appointment{
    background-color:rgb(237, 237, 237);
    border-radius: 0.5rem;
    min-height: 30rem;
    padding: 0 1rem ;
}

#appointment form {
    display: flex;
    flex-direction: column;
} 

#appointment h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

#appointment input {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

#appointment select {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

#appointment textarea {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    min-height: 5rem;
    resize: none;
    text-align: left;
}

#appointment textarea::placeholder {
    position: relative;
    top: 0;
}

#appointment .button-container {
    display: flex;
    justify-content: center;
    min-width: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
    
    .flex-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .hero-image {
        max-width: 100%;
     }
    
    .nav a:first-child {
        display: none;
    }

    .services-container {
      flex-direction: column;
      gap: 30px;
    }

    .service-box {
      max-width: 80%;
      margin: 0 auto;
    }
}