/* =========================================
   BASE STYLES
========================================= */
body {
    background-color: white;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

h1, h2 {
    color: #F28C28;
}

h3 {
    text-align: center;
}

.p22 {
    text-align: center;
}

.one {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: lightgray;
}

.one h2 {
    flex: 1;
    text-align: right;
    transform: translateX(-30px);
    text-decoration: underline;
}

.one p {
    flex: 2;
    text-align: left;
}

.text {
    text-align: center;
}

nav {
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    width: auto;
    margin-left: auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 10px;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: black;
}

li:hover {
    cursor: pointer;
    color: gold;
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
}

.consult {
    color: #F28C28;
}

/* =========================================
   HAMBURGER MENU
========================================= */
.zero {
    color: black;
    font-weight: 800;
    font-size: 50px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1001;
}

.hamburger .zero {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background-color: #d6ab50;
    transition: 0.3s;
}

#menu-toggle {
    display: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: black;
}

/* =========================================
   SLIDER
========================================= */
.slidecontainer {
    width: 100%;
    overflow: hidden;
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    display: flex;
    width: 300%; /* Adjust for number of slides */
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
}

.slide img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 10px auto;
    border-radius: 8px;
}

#backBtn, #nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
}

#backBtn { left: 10px; }
#nextBtn { right: 10px; }

.dots-container {
    text-align: center;
    margin-top: 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease-in-out;
}

.dot.active {
    background-color: black;
}

/* =========================================
   FAQ
========================================= */
.faq {
    margin: 20px;
    padding: 20px;
    background-color: lightgray;
    border-radius: 8px;
}

.faq h2 {
    text-align: center;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 15px;
}

.question {
    font-weight: bold;
    cursor: pointer;
}

.faq-item:hover .answer {
    display: block;
}

/* =========================================
   TESTIMONIALS
========================================= */
.testimonial {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    display: block;
    margin: 0 auto 10px;
}

.testtext {
    text-align: center;
}

/* =========================================
   SERVICES
========================================= */
.servicesh1, .servicesh2, .servicesp, .p22 {
    text-align: center;
}

.imageicon {
    text-align: center;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: #1a1a1a;
        z-index: 1000;
        padding: 1rem 0;
    }

    #menu-toggle:checked + .hamburger + nav .nav-links {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
        color: #d6ab50;
    }

    /* Push main content down when menu is open */
    main {
        transition: margin-top 0.3s ease;
        margin-top: 0;
    }

    #menu-toggle:checked ~ main {
        margin-top: 150px; /* Adjust based on menu height */
    }

    .logo {
        width: 40%;
        height: auto;
    }

    html {
        font-size: 14px;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    main img {
        max-width: 90%;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) {
    .logo {
        width: auto;
    }

    footer {
        text-align: left;
        font-size: 1rem;
    }
}
