/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    width: 100%;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px 3px #4c4c4c;
}

/* Navigation Bar Styles */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.nav-links li {
    display: inline;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px black;
}

.nav-links li a:hover {
    color: #bb5c02;
}

/* Hamburger Menu Styles */
.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    padding: 3px;
    border-radius: 3px;
         z-index: 1000;

}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: transform 0.3s ease;
}

.menu-icon.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: #0fa9d7;
            width: 40%;
        max-width: 300px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        padding: 50px 20px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 900;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .slider img {
        height: 200px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-content div {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .intro h1 {
        font-size: 2.2rem;
        padding-top: 60px;
    }

    .intro p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .menu-icon {
        display: flex;
        box-shadow: 0;
    }
}

@media (max-width: 480px) {
    .slider-container {
        max-width: 100%;
    }

    .slider img {
        height: 150px;
    }

    .course_img {
        padding: 10px;
    }

    .intro h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        width: 90%;
        padding: 20px;
    }

    .slider-container {
        max-width: 95%;
    }

    .slider img {
        height: 250px;
    }

    .course_img {
        width: 250px;
    }

    .footer-content {
        padding: 0 20px;
    }

    .footer-content div {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .intro h1 {
        font-size: 1.8rem;
        padding-top: 50px;
        margin-bottom: 10px;
    }

    .intro p {
        font-size: 0.9rem;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .intro div {
        flex-direction: column;
        gap: 10px;
    }

    .intro a {
        width: 80%;
        max-width: 200px;
        margin: 5px auto;
    }

    .slider img {
        height: 180px;
    }

    h2 {
        font-size: 1.8rem !important;
               margin: 12px 0px;
        font-family: system-ui;
    }
}

#intro {
    width: 100%;
    background: linear-gradient(349deg, rgb(255 255 255 / 16%), rgb(0 183 255 / 54%)), url(img/main_chair.jpeg) no-repeat center center / cover;
    min-height: 100vh;
    margin: 0;
    padding: 80px 20px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: black;
    text-align: center;
    box-sizing: border-box;
}

@keyframes rotate {
    0% {
        transform:scale(1);
    }
    
    100% {
        
        transform:scale(0.9);
    }
}

.intro a {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 12px; */
    padding: 10px 12px;
    color: #ecf0f1;
    border-radius: 2px;
    text-decoration: none;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.6);
    margin: 14px;
    transition: transform 0.3s ease;
    /* Smooth transition when hover ends */
}

.intro_a {
    background-color: rgb(0 177 38);
}


.intro_b {
    background-color: #b92958;
}

.intro a:hover {
    background-color: #0fa9d7;
    animation: rotate 0.4s linear ;
}



.intro div {

margin: 15px 0px;
    max-width: 299px;

display: flex;
}

.intro p {
    color: #e6ebed;
    font-family: sans-serif;
    font-size: 1.1rem;
    max-width: 90%;
    text-shadow: 1px 1px #2e2e2e;
}

.section {
    width: 80%;
    /* padding: 39px 10px; */
    text-align: center;
    /* background-color: #fff; */
    /* margin: 20px; */
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    animation: fadeIn 1s ease-out;
    /* backdrop-filter: blur(10px); */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.intro h1 {
    color: #fbfeff;
    text-shadow: 2px 1px 6px #0c0c0c;
    padding-top: 76px;
                font-size: 3rem;
}

button {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

button:hover {
    /* background-color: #2980b9; */
}

/* Image Slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 15px;
    box-sizing: border-box;
}

.slider {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 33.333%;
    object-fit: cover;
    border-radius: 8px;
}

@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-33.333%); }
    66% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}

/* Catering & Decoration Section */
#catering {
    background-color: #f9f9f9;
}

#catering h1 {
    color: #2980b9;
}

#catering button {
    background-color: #e74c3c;
}

#catering-details {
    margin-top: 20px;
    padding: 20px;
    background-color: #ecf0f1;
    border-radius: 8px;
}

#catering-details h3 {
    color: #3498db;
}

#catering-details ul {
    list-style-type: none;
    padding: 0;
}

#catering-details ul li {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-item {
    margin: 20px 0;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #3498db;
        background: linear-gradient(45deg, #b9ffd5, #ecbcff);
    border-radius: 8px;
    padding: 4px;
}

/* Footer Section */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 1rem;
    font-family: system-ui;
}

.footer-content div {
    width: 30%;
}

.footer-content h3,
h4 {
    color: #fff;
    font-family: sans-serif;
    font-size: 1.4rem;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin: 10px 0;
}

.quick-links ul li a {
    color: rgb(225 225 225);
    text-decoration: none;
    font-size: 1rem;
    font-family: system-ui;
    text-decoration: underline;
    /* color: rgb(0 148 219); */
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}




/* testimonial stat  */
.main_testimonial {
    padding: 30px 15px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.course_img {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
        background-color: #165493;
    padding: 20px 10px;
}

.course_img img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}

.course_img p {
    margin: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
}

.scroller {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.scroller__inner {
    padding: 20px 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.testimonial-item {
    flex: 0 0 auto;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    margin: 10px;
}

@media (max-width: 768px) {
    .testimonial-item {
        width: 250px;
        margin: 5px;
        padding: 10px;
    }

    .scroller__inner {
        padding: 10px 0;
        gap: 10px;
    }

    .slider-container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .testimonial-item {
        width: 220px;
    }

    .course_img img {
        width: 80px;
        height: 80px;
    }

    .course_img p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

.all img {
    width: 98%;
    margin: 21px 0px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    border-top-left-radius: 33px;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 22px;
}

.all a {
    text-decoration: none;
    background-color: #2980b9;
    color: #f4f4f4;
    padding: 10px 13px;
    border-radius: 2px;
    margin: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
        border-bottom-left-radius: 26px;
    border-bottom-right-radius: 22px;
    border-top-left-radius: 29px;


}
.all a:hover{
    
    background-color: #00779b;
    animation: rotate 0.4s linear ;
}
.stty {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* footer */


@media (max-width: 760px) {
    .footer-content {
               display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 18px 7px;
        width: 94%;
        text-align: left;
    }


    .footer-content div {
        width: 70%;

    }

    .stty {
        flex-direction: column;

    }
}


/* contact us */
.contact-form {
    background-color: #45c9f1;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 31px 34px;
    width: 76%;
    display: block;
    margin: 40px auto;
}

.contact-form:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);

}

.contact-form h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form form input,
.contact-form form textarea {
    outline: none;
    border: none;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #3b3b3b;
    /* border-radius: 5px; */
    outline: none;
    /* Remove the focus border */
}

.contact-form form textarea {
    height: 150px;
    flex-direction: column;
}

.contact-form form button {
    background-color: #2b8cf5;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form form button:hover {
    background-color: #0056b3;
}

/* .menu-icon :hover{
    background:url("#ff0606");
} */

.expleane{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 500px;
}




/* why chose our service */


.why-choose-us {
    background-color: #fff;
    color: #333;
    padding: 50px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-us h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.why-choose-us p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    /* padding: 20px; */
    /* max-width: 300px; */
    /* flex: 1 1 calc(33.333% - 40px); */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.service h2 {
    font-size: 22px;
    color: #57a4c9;
    margin-bottom: 10px;
}

.service p {
    font-size: 14px;
    color: #7f8c8d;
}

.why-choose-us_btn{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #16a085;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    /* background-color: #1abc9c; */
}