/* main.css */
/* Styles for MediTrip Landing Page */
:root {
    --main-color: #506899;
    --title-color: black;
    --header-color: color-mix(in srgb, var(--title-color) 70%, transparent);
    --light-background-color: #f5f7fa;
    --darkened-background-color: #e4e9f2;
    --dark-accent: #394867;

    --content-width: 80%;
    --header-height: 80px;
}

/* Reset and base styles */
*, :before, :after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", monospace;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

*{
    background-color: transparent;
    color: var(--main-color);
}

/* Body and wrapper styles */
body{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrapper{
    width: 100%;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
}

/* Alternating background colors for sections */
.wrapper > div:nth-child(even){
    background-color: var(--light-background-color);
}

.wrapper > div:nth-child(odd){
    background-color: var(--darkened-background-color);
}

/* Header styles */
.wrapper header{
    width: 100%;
    height: var(--header-height);
    display: flex;
    position: fixed;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1;
    background-color: #fff;
}

.wrapper header .site-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wrapper header .site-title a{
    text-decoration: none;
}

.wrapper header .site-title a h1{
    color: var(--header-color);
    transition: color 0.3s ease;
}

.wrapper header .site-title a h1:hover{
    color: var(--dark-accent);
}

.wrapper header .contact-us{
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Title section styles */
.wrapper .title-section{
    margin-top: var(--header-height);
    padding-top: 20px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper .title-section .title-content{
    width: var(--content-width);
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.wrapper .title-section .title-content .title-text h2{
    font-size: 48px;
    font-weight: 900;
    text-align: left;
    padding-left: 20px;
    padding-top: 20px;
    color: var(--header-color);
    /* transition-duration: 2s;
    opacity: 0; */
}

.wrapper .title-section .title-content .title-text p{
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* About section styles */
.wrapper .about-section{
    display: flex;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper .about-section h2{
    color: var(--header-color);
    margin-bottom: 20px;
}

.wrapper .about-section .about-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* Offer section styles */
.wrapper .offer-section{
    display: flex;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper .offer-section h2{
    color: var(--header-color);
    margin-bottom: 20px;
}

.wrapper .offer-section .offer-content{
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin-bottom: 20px;
}

.wrapper .offer-section .offer-content .offer-item{
    padding: 20px;
    background-color: var(--darkened-background-color);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.wrapper .offer-section .offer-content .offer-item:hover{
    transform: translateY(-10px);
}

.wrapper .offer-section .offer-content .offer-item h3{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    height: 90px;
    color: var(--header-color);
}

.wrapper .offer-section .offer-content .offer-item span{
    font-size: 50px;
    font-weight: 600;
}

.wrapper .offer-section .offer-content .offer-item p{
    font-size: 16px;
    font-weight: 400;
}

.wrapper .offer-section .offer-content h3.offer-subsection{
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.wrapper .offer-section .offer-content p{
    width: 100%;
    text-align: left;
}

/* Testimonials section styles */
.wrapper .testimonials-section{
    display: flex;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper .testimonials-section h2{
    color: var(--header-color);
    margin-bottom: 20px;
}

.wrapper .testimonials-section .testimonial-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.wrapper .testimonials-section .testimonial-content .testimonial-item{
    background-color: var(--light-background-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
}

.wrapper .testimonials-section .testimonial-content .testimonial-item p{
    font-size: 16px;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 10px;
}

.wrapper .testimonials-section .testimonial-content .testimonial-item .author{
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    color: var(--dark-accent);
}

/* FAQ section styles */
.wrapper .faq-section{
    display: flex;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper .faq-section h2{
    color: var(--header-color);
    margin-bottom: 20px;
}

.wrapper .faq-section .faq-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.wrapper .faq-section .faq-content details{
    width: 100%;
    margin-bottom: 10px;
    background-color: var(--darkened-background-color);
    padding: 10px 0;
    text-align: left;
    border-radius: 10px;
}

.wrapper .faq-section .faq-content details summary{
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.wrapper .faq-section .faq-content details summary:hover{
    color: var(--dark-accent);
}

.wrapper .faq-section .faq-content details div{
    padding: 10px 20px 10px 50px;
    font-size: 16px;
    font-weight: 400;
}

/* Special Offer section styles */
.wrapper .special-offer-section{
    display: flex;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper .special-offer-section h2{
    color: var(--header-color);
    margin-bottom: 20px;
}

.wrapper .special-offer-section .special-offer-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.wrapper .special-offer-section .special-offer-content h3{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--header-color);
    text-align: left;
    width: 100%;
}

.wrapper .special-offer-section .special-offer-content p{
    width: 100%;
    text-align: left;
}

/* Contact section styles */
.wrapper .contact-section{
    display: flex;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper .contact-section h2{
    color: var(--header-color);
    margin-bottom: 20px;
}

.wrapper .contact-section .contact-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.wrapper .contact-section .contact-content p{
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}

.wrapper .contact-section .contact-content .contact-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.whats-app{
    width: auto;
    height: 40px;
    margin-right: 5px;
}

/* Footer styles */
.wrapper footer{
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper footer p{
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-accent);
}

/* Common element styles */
.contact-button{
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.contact-button:hover{
    background-color: var(--dark-accent);
}

p{
    line-height: 1.6;
    padding: 10px 0;
}

span.highlight{
    font-weight: 700;
}

@media (min-width:320px) and (max-width:960px)  { /* smartphones, iPhone, portrait 480x320 phones */ 
    /* Header styles */
    .wrapper header{
        padding: 0 20px;
    }

    .wrapper header .logo img{
        height: 60px;
        width: auto;
        margin: 10px 0;
    }

    .wrapper header .site-title{
        padding: 5px 10px;
    }

    .wrapper header .site-title a h1{
        font-size: 16px;
        font-weight: 600;
    }

    .wrapper header .menu{
        display: none; /* Hide menu on small screens */
    }

    /* Title section styles */
    .wrapper .title-section .title-content{
        width: 100%;
    }

    .wrapper .title-section .title-content .title-text{
        width: 100%;
    }

    .wrapper .title-section .title-content .title-image{
        display: none; /* Hide image on small screens */
    }

    /* About section styles */
    .wrapper .about-section h2{
        padding: 0 10px;
        font-size: 30px;
        font-weight: 700;
    }

    .wrapper .about-section .about-content{
        width: 100%;
    }

    .wrapper .about-section .about-content .about-text{
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .wrapper .about-section .about-content .about-image{
        display: none; /* Hide image on small screens */
    }

    /* Offer section styles */
    .wrapper .offer-section h2{
        padding: 0 10px;
        font-size: 30px;
        font-weight: 700;
    }

    .wrapper .offer-section .offer-content{
        width: 100%;
        flex-direction: column;
    }

    .wrapper .offer-section .offer-content .offer-item{
        width: 100%;
        margin: 20px 0;
    }

    /* Testimonials section styles */
    .wrapper .testimonials-section h2{
        padding: 0 10px;
        font-size: 30px;
        font-weight: 700;
    }

    .wrapper .testimonials-section .testimonial-content{
        width: 100%;
    }

    /* FAQ section styles */
    .wrapper .faq-section h2{
        padding: 0 10px;
        font-size: 30px;
        font-weight: 700;
    }

    .wrapper .faq-section .faq-content{
        width: 100%;
    }

    /* Special Offer section styles */
    .wrapper .special-offer-section h2{
        padding: 0 10px;
        font-size: 30px;
        font-weight: 700;
    }

    .wrapper .special-offer-section .special-offer-content{
        width: 100%;
    }

    /* Contact section styles */
    .wrapper .contact-section h2{
        padding: 0 10px;
        font-size: 30px;
        font-weight: 700;
    }

    .wrapper .contact-section .contact-content{
        width: 100%;
    }

    .wrapper .contact-section .contact-content p.contact-item{
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 10px;
    }
}


@media (min-width:961px) { /* big landscape tablets, laptops, and desktops */
    /* Header styles */
    .wrapper header{
        padding: 0 50px;
    }

    .wrapper header .logo img{
        height: 70px;
        width: auto;
        margin: 5px 0;
    }

    .wrapper header .site-title{
        padding: 10px 20px;
    }

    .wrapper header .site-title a h1{
        font-size: 24px;
        font-weight: 700;
    }

    .wrapper header .menu{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 50px;
    }

    .wrapper header .menu nav{
        display: flex;
        align-items: center;
        justify-content: center;
        
    }

    .wrapper header .menu nav ul{
        display: flex;
        list-style: none;
        gap: 30px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .wrapper header .menu nav ul li a{
        text-decoration: none;
        color: var(--main-color);
        font-size: 16px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .wrapper header .menu nav ul li a:hover{
        color: var(--dark-accent);
    }

    /* Title section styles */
    .wrapper .title-section .title-content{
        width: var(--content-width);
    }

    .wrapper .title-section .title-content .title-text{
        width: 50%;
    }
    
    .wrapper .title-section .title-content .title-image{
        width: 50%;
        padding-right: 20px;
    }
    .wrapper .title-section .title-content .title-image img{
        width: 80%;
        height: auto;
        border-radius: 20px;
    }

    /* About section styles */
    .wrapper .about-section h2{
        padding: 0;
        font-size: 36px;
        font-weight: 700;
    }

    .wrapper .about-section .about-content{
        width: var(--content-width);
    }

    .wrapper .about-section .about-content .about-text{
        width: 60%;
        text-align: left;
        padding-left: 20px;
    }

    .wrapper .about-section .about-content .about-image{
        width: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-right: 20px;
    }

    .wrapper .about-section .about-content .about-image img{
        width: 75%;
        height: auto;
        border-radius: 20px;
    }

    /* Offer section styles */
    .wrapper .offer-section h2{
        padding: 0;
        font-size: 36px;
        font-weight: 700;
    }

    .wrapper .offer-section .offer-content{
        flex-direction: row;
        flex-wrap: wrap;
        width: var(--content-width);
    }

    .wrapper .offer-section .offer-content .offer-item{
        width: 27%;
        margin: 20px 15px;
    }

    /* Testimonials section styles */
    .wrapper .testimonials-section h2{
        padding: 0;
        font-size: 36px;
        font-weight: 700;
    }

    .wrapper .testimonials-section .testimonial-content{
        width: var(--content-width);
    }

    /* FAQ section styles */
    .wrapper .faq-section h2{
        padding: 0;
        font-size: 36px;
        font-weight: 700;
    }

    .wrapper .faq-section .faq-content{
        width: var(--content-width);
    }

    /* Special Offer section styles */
    .wrapper .special-offer-section h2{
        padding: 0;
        font-size: 36px;
        font-weight: 700;
    }

    .wrapper .special-offer-section .special-offer-content{
        width: var(--content-width);
    }

    /* Contact section styles */
    .wrapper .contact-section h2{
        padding: 0;
        font-size: 36px;
        font-weight: 700;
    }

    .wrapper .contact-section .contact-content{
        width: var(--content-width);
    }

    .wrapper .contact-section .contact-content p.contact-item{
        font-size: 24px;
        font-weight: 500;
        margin-bottom: 10px;
    }
}
