@charset "utf-8";
@import"./common.css";


.hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.hero-image-box {
    width: 80%;
    max-width: 1100px;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

.hero-text-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(80, 80, 80, 0.45);
    padding: 20px 30px;
    text-align: center;
    width: 50%;
}

.hero-text-bar h1 {
    color: white;
    font-size: 22px;
    font-weight: normal;
    letter-spacing: 1px;
}

.quote-it {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    font-size: 1.7rem;
    font-style: italic;
    letter-spacing: 1px;
}

/* Adds the thin lines on the sides of the quote */
.quote-it::before, .quote-it::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    max-width: 100px;
}

#services-overview {
    padding: 80px 20px 60px;
    background: transparent;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-top: -20px;
    margin-bottom: 60px;
    letter-spacing: 4px;
    font-weight: 300;
    font-style: italic;
    color: #fff;
    text-transform: uppercase;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto; 
}

.service-col {
    background: rgba(255, 255, 255, 0.1); 
    overflow: hidden;
    border-radius: 15px; 
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.service-col a {
    display: flex;
    text-decoration: none;
    flex-direction: column;
    height: 100%;
}

.service-col img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-col h3 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    font-family: "Montserrat";
    text-align: center;
    padding: 25px 10px;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
}

.service-col:hover img {
    transform: scale(1.08);
}


#scrolling-gallery {
    margin: 60px 0;
    margin-bottom: 20px;
    overflow: hidden;
    width: 100%;
}

#about {
    max-width: 1080px;
    margin: 60px 0;
    padding: 0 20px;
}

#about h2 {
    font-size: 3rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.35);
}


.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color:rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 50px 60px 35px 60px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}


#about-image {
    width: 340px;
    border-radius: 5px;
    box-shadow: 0 8px 12px rgba(0,0,0,0.35);
    margin-bottom: 70px;
    margin-right: 10px;
    
}

.about-text-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-text-box p {
    font-size: 1.9rem;
    line-height: 1.8;
    color: #f7f7f9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.35);
    letter-spacing: 0.2px;
}

.know-more-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
#know-more-btn {
    display: flex;
    justify-content: center;
    background-color:  #fff;
    max-width: 150px;
    text-decoration: none;
    color: #000;
    border-radius: 50px;
    padding: 10px 25px;
    transition: 0.3s;
}


.consult {
    padding: 100px 5%;
    text-align: center;
    background: rgba(0,0,0,0.2);
    margin: 120px 0 60px;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.consult h3 {
    font-family: 'Playfair Display';
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.consult p {
    font-size: 1.9rem !important;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 40px;
}

.consult a {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: 0.3s;
}

.consult a:hover,
#know-more-btn:hover {
    background: #5c4c6e;
    color: #fff;
    transform: scale(1.05);
}


#scrolling-gallery {
    margin: 120px 0px 40px;
}

.gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Keeps the long line hidden */
    scroll-behavior: smooth; /* Required for the JS movement to look smooth */
    scroll-snap-type: x mandatory;
}

.gallery img {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0; /* 0 ensures the images keep their full 350px width and do not get squeezed together to fit the screen. */
    scroll-snap-align: start;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 50%; 
    background-color: transparent;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none; /* Prevents the arrow text from being highlighted when the user clicks the buttons multiple times. */
    margin-bottom: 50px;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}


#testimonies {
    padding-top: 20px; 
    padding-bottom: 60px;
    width: 100%;
}

.testimony-title {
    text-align: center;
    font-size: 2.8rem;
    font-style: italic;
    margin-bottom: 50px;
}

.testimony-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 30px;
    scrollbar-width: none; /* Hides the long line */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.testimony-card {
    position: relative;
   /* This calculates 1/3 width minus the 20px gap */
    width: calc((100% / 3) - 14px);
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0; /* Prevents cards from squeezing together */
}

.testimony-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.testimony-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimony-card:hover .testimony-overlay {
    opacity: 1;
}

.testimony-overlay p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.client-name {
    font-weight: bold;
    font-style: italic;
    margin-bottom: 25px;
}

.testimony-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.testimony-nav .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.testimony-nav .nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.consult {
    padding: 120px 5%;
    text-align: center;
    background: rgba(0,0,0,0.2);
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.consult h2 {
    font-family: 'Playfair Display';
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.consult p {
    font-size: 1.6rem;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 40px;
}

.consult a {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: 0.3s;
}

.consult a:hover {
    background: #5c4c6e;
    color: #fff;
    transform: scale(1.05);
}

#contact {
    background: rgba(0,0,0,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-radius: 5px;
    margin-bottom: 50px;
    padding: 50px;
    font-size: 1.8rem;
}

#follow {
    padding-top: 40px;
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.company-info {
    text-align: center;
    p, div {
        margin-bottom: 10px;
    }
}

.box-container {
    font-size: 1.7rem;
    text-align: center;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
    margin-top: 20px;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    input {
        background-color: #e7e6e9;
        border-radius: 5px;
        padding: 2px 8px;
    }
    select {
        background-color: #e7e6e9;
        border-radius: 5px;
        padding: 5px;
    }
}

.message {
    display: flex;
    flex-direction: column;
    label {
        text-align: left;
        margin: 5px;
    }
    #messageInput {
        resize: none;
        align-self: center;
        width: 100%;
        height: 25rem;
        border-radius: 5px;
        padding: 10px;
        background-color: #e7e6e9;
    }
    .submit {
        margin-top: 50px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        align-self: center;
        display: inline-block;
        padding: 18px 45px;
        background: #fff;
        color: #000;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 50px;
        transition: 0.3s;
    }
    .submit:hover {
        background-color: #5c4c6e;
        color: #fff;
        transform: scale(1.05);
    }
}

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    .service-col:last-child {
        grid-column: span 2;
        justify-self: center;
        width: 50%;
    }

    .about-content {
        flex-direction: column; 
        text-align: center;
    }

    .know-more-container {
        justify-content: center; 
    }

    .gallery img {
        width: calc(50% - 8px);
    }

    .testimony-card {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 600px) {
    .gallery img, 
    .testimony-card,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .gallery img,
    .testimony-card {
        width: 100%; 
    }

    .contact-info {
        flex-direction: column; 
        gap: 10px;
    }

    .contact-info input,
    .contact-info select,
    #messageInput {
        width: 100% !important;
        margin-bottom: 15px;
        box-sizing: border-box; 
    }

    .message label {
        text-align: center; 
    }
}
