@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poller+One&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    /*margin-left: 10%;
    margin-right: 10%;*/
}

/* Menu */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E0E0E0;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    padding-left: 100px;
    padding-right: 100px;
}

.header .left img {
    height: 60px;
    padding: 20px;
}

.header .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
}

.header .top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.header .menu-icon img {
    height: 30px;
    margin: 0 5px;
}

.menu-telephonenr {
    margin-left: 10px;
    font-size: 17px;
    font-family: Quicksand;
}
.menu-telephonenr a {
    text-decoration: none;
    color: black;
}

.header .bottom {
    display: flex;
    justify-content: flex-end;
}

.menu-entries a {
    text-decoration: none;
    margin: 0 10px;
    text-transform: uppercase;
    color: #000;
    font-family: Quicksand;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    position: relative;
}
.last-entry {
    margin: 0px 0px !important;
}

.menu-entries a:hover {
    color: #007BFF; 
}


/* Pseudo-element for the underline */
.menu-entries a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px; /* Adjust the position slightly below the text */
    height: 2px; /* Thickness of the underline */
    background-color: #007BFF; /* Underline color */
    transform: scaleX(0); /* Start with underline hidden */
    transform-origin: right; /* Start the animation from the right */
    transition: transform 0.3s ease; /* Smooth transition for the underline */
}

/* On hover, the underline appears */
.menu-entries a:hover::after {
    transform: scaleX(1); /* Expand the underline */
    transform-origin: left; /* Expand towards the left */
}
    
/* Part 01: Header */
.main {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.left-h {
    flex: 1;
    min-width: 40%;
    box-sizing: border-box;

    padding: 20px;
    padding-top: 90px;
    padding-bottom: 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #25ACE4;
}
.right-h {
    flex: 1;
    min-width: 60%;
    box-sizing: border-box;
    background: url('/assets/img/header.png') no-repeat center center;
    background-repeat: no-repeat !important;
    background-position: center;
    background-size: cover;

}
.book {
    background-color: transparent;
    color: black;
    text-align: left;
    margin-top: 20px;
    cursor: pointer;
    border: 0.5px solid black;
    border-radius: 12px;
    width: 233px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    font-family: Quicksand;
    text-decoration: none;
    transition: all 0.3s ease; 
}
.book:hover {
    border-color: black; 
    box-shadow: 0px 8px 15px rgba(158, 158, 158, 0.3);
    transform: translateY(-3px);
}
.left-h a {
    text-decoration: none;
}
.header-left-h-title {
    font-family: Quicksand;
    font-size: 42px;
    color: white;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 5px;
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end) 1s 1 normal both;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.header-left-h-sub {
    font-family: Quicksand;
}
/* Part 02: Badges */
.badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
    padding: 20px;
    padding-left: 10%;
    padding-right: 10%;
    background-color: #134989;
}
.badge {
    text-align: center;
}
.badge p {
    margin-top: 10px;
    font-family: Quicksand;
    font-size: 20px;
    color: white;
}
.badge img {
    max-width: 80px;
    height: auto;
}
/* Part 03: Services */
.services-part {
    margin-top: 50px;
    text-align: center;
    padding-left: 80px;
    padding-right: 80px;
}
.services-headline {
    font-family: Quicksand;
    font-size: 32px;
    margin-bottom: 50px;
}
.service-boxes {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service {
    display: inline-block; 
    -webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.88); 
    box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.88);
}

.service-title {
    font-family: Quicksand;
    background-color: #134989;
    text-align: center;
    color: white;
    font-size: 22px;
    padding: 20px;
    margin: 0; 
}

.service-img {
    display: block;
    margin: 0; 
    padding: 0;
}
/* Reasons */
.reasons-part {
    background-color: #E4E8EB;
    margin-top: 80px;
    text-align: center;
    padding: 50px;
    padding-left: 200px;
    padding-right: 200px;
}
.reasons1-subtitle {
    color: #134989;
    font-family: Quicksand;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 15px;
}
.reasons1-headline {
    color: black;
    font-family: Quicksand;
    text-transform: uppercase;
    font-size: 28px;
    margin-bottom: 20px;
}



.reasons-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    font-family: Quicksand;
}

.reasons-item {
    display: flex;
    align-items: flex-start;
    width: 30%; 
}

.reasons-number {
    font-size: 24px;
    margin-right: 10px;
    color: #134989;
    align-self: center;
}

.reasons-line {
    display: inline-block;
    width: 35px;
    height: 1px;
    background-color: black;
    margin-right: 10px;
    align-self: center; 
}

.reasons-text-group {
    display: flex;
    flex-direction: column;
}

.reasons-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: black;
}

.reasons-subtitle {
    font-size: 14px;
    color: #333;
    word-break: break-word;
}

.reasons-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reasons-text-group .subtitle {
    width: 100%;
    max-width: 100%; 
}

/* Reviews */
.reviews-part {
    margin-top: 50px;
    text-align: center;
    padding-left: 200px;
    padding-right: 200px;
}
.reviews-title {
    font-family: Quicksand;
    white-space: nowrap;
    font-size: 28px;
    margin-bottom: 30px;
}
.blue {
    display: inline;
    color: #134989;
}

.testimonials {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    font-family: Quicksand;
}
.testimonial-container {
    position: relative;
    width: 300px;
    padding: 30px;
    background-color: #1b4e82;
    border-radius: 15px;
    color: white;
    margin: 20px;
    text-align: left;
}

.testimonial-icon {
    position: absolute;
    top: -25px;
    left: 20px;
    background-color: #134989;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.5px black solid;
}

.quote-icon {
    font-size: 28px;
    color: white;
    font-family: Poller One;
}

.testimonial-content {
    margin-top: 50px;
}

.testimonial-text {
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    font-size: 14px;
    margin-top: 25px;
}

/* Gallery */
.gallery-part {
    padding-left: 200px;
    padding-right: 200px;
    text-align: center;
    margin-top: 50px;
}
.gallery-title {
    font-family: Quicksand;
    white-space: nowrap;
    font-size: 28px;
    margin-bottom: 30px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.gallery-grid a img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
}


/* Contact */
.contact-part {
    margin-top: 50px;
    padding: 3%;
    padding-left: 10%;
    padding-right: 10%;
}
.contact-container {
    background-color: #E4E8EB;
    padding: 80px;
    border-radius: 15px;
}
.contact-title {
    font-family: Quicksand;
    font-size: 24px;
    margin-bottom: 35px;
}
.row-1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}
.row-1 input {
    color: black;
    background-color: transparent;
    border: 1.5px solid #134989;
    padding: 10px 21px;
    width: 100%;
    border-radius: 8px;
}
.row-1 input:first-child {
    margin-right: 5px;
}
.row-1 input:nth-child(2) {
    margin-left: 5px;
    margin-right: 5px;
}
.row-1 input:nth-child(3) {
    margin-left: 5px;
}
.row-2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 10px;
}
.row-2 input {
    color: black;
    background-color: transparent;
    border: 1.5px solid #134989;
    padding: 10px 21px;
    width: 100%;
    border-radius: 8px;
}
.row-2-adress {
    margin-right: 5px;
}
.row-2-service {
    margin-left: 5px;
}
.row-3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 10px;
}
.row-3 textarea {
    color: black;
    background-color: transparent;
    border: 1.5px solid #134989;
    padding: 10px 21px;
    width: 100%;
    height: 70px;
    border-radius: 8px;
    resize: vertical;
}
.row-4 {
    margin-top: 10px;
}
.row-4 button {
    color: white;
    background-color: #134989;
    border-radius: 12px;
    padding: 10px 21px;
    font-family: Quicksand;
    border: none;
}
.part-down {
    display: flex;
}
.contact-left, .contact-right {
    box-sizing: border-box;
}
.contact-left {
    padding-right: 10px;
    flex: 8;
}
.contact-right {
    border: #134989 1.5px solid;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    flex: 2;
}
.contact-right-title {
    font-family: Quicksand;
    color: #134989;
    font-size: 22px;
    margin-bottom: 5px;
}
.contact-right-subtitle {
    font-family: Quicksand;
    font-size: 19px;
}
.contact-right-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.contact-right-tel img {
    width: 32px;
    height: auto;
}
.contact-right-tel p {
    font-family: Quicksand;
    font-size: 19px;
    color: #134989;
}
/* Footer */
.footer-part {
    background-color: black;
    padding: 150px;
    display: flex;
    font-family: Quicksand;
    padding-left: 10%;
    padding-right: 10%;
}
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
}
.footer-left {
    flex: 1;
}
.footer-right a {
    color: #AEAEAE;
    text-decoration: none;
}

/* mobile optimization */
@media (max-width: 1056px) {

    /* Menu */
    .header .left img {
        height: 50px;
        padding: 10px;
    }
    .header {
        padding-left: 10px;
        padding-right: 20px;
    }
    .right {
        display: none;
        visibility: hidden;
    }

    /* Badges */
    .badges {
        flex-direction: column;
        height: auto;
    }
    .badge {
        margin-bottom: 25px;
    }

    /* Header */
    .right-h {
        display: none;
        visibility: hidden;
    }
    .left-h {
        background: url('/assets/img/header-mobile.png') no-repeat center center;
        background-repeat: no-repeat;
    }
    .header-left-h-sub {
        color: white;
    }
    .book {
        color: white;
        border-color: white;
    }
    .header-left-h-title {
        font-size: 36px;
    }
    /* Services */
    .service-boxes {
        flex-direction: column;
    }
    .service {
        margin-bottom: 50px;
    }
    /* Reasons */
    .reasons-part {
        padding-left: 50px;
        padding-right: 50px;
    }
    .reasons-container {
        flex-direction: column;
    }
    .reasons-item {
        margin-bottom: 50px;
        width: 100%;
    }
    /* Reviews */
    .reviews-part {
        padding-left: 20px;
        padding-right: 20px;
    }
    .testimonials {
        flex-direction: column;
        align-items: center;
        align-self: center;
    }

    .reviews-title {
        white-space: wrap;
    }
    .testimonial-container {
       
    }

    /* Contact */
    .part-down {
        flex-direction: column;
    }
    .contact-part {
        margin-bottom: 50px;
        padding: 50px;
        padding-left: 0%;
        padding-right: 0%;
        margin-left: 10px;
        margin-right: 10px;

    }
    .contact-container {
        padding: 20px;
    }
    .row-1 {
        flex-direction: column;
    }
    .row-2 {
        flex-direction: column;
    }
    .row-1 input:first-child {
        margin-right: 0px;
        width: 80%;
    }
    .row-1 input:nth-child(2) {
        margin-left: 0px;
        margin-right: 0px;
        width: 80%;
    }
    .row-1 input:nth-child(3) {
        margin-left: 0px;
        width: 80%;
    }
    .row-2-adress {
        margin-right: 0px;
    }
    .row-2-service {
        margin-left: 0px;
    }
    .row-2 input {
        width: 80%;
    }

    .contact-left input {
        margin-bottom: 5px;
    }
    .row-4 {
        margin-bottom: 20px;
    }
    .row-3 textarea {
        width: 80%; 
    }
    /* Footer */
    .footer-part {
        padding-left: 50px;
        padding-right: 50px;
        flex-direction: column;
    }
    .footer-right {
        text-align: left;
        margin-top: 50px;
    }
    .footer-left img {
        height: auto;
        width: 70%;
    }

    /* Mobile Nav */
    .menu-icon {
        width: 30px;
        cursor: pointer;
        z-index: 1001;
      }
  
      .menu-icon div {
        width: 100%;
        height: 4px;
        background-color: #134989;
        margin: 6px 0;
      }
  
      .overlay {
        height: 100%;
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        overflow-x: hidden;
        transition: 0.5s;
        z-index: 1000;
      }
  
      .overlay-content {
        position: relative;
        top: 50%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
      }
  
      .overlay-content a {
        padding: 8px;
        text-decoration: none;
        font-size: 36px;
        color: #818181;
        display: block;
        transition: 0.3s;
        font-family: Quicksand;
        text-transform: uppercase;
      }
  
      .overlay-content a:hover, .overlay-content a:focus {
        color: #f1f1f1;
      }
  
      .closebtn {
        position: absolute;
        top: 20px;
        right: 35px;
        font-size: 40px;
        color: #fff;
        cursor: pointer;
      }

    /* Gallery */
    .gallery-part {
        padding-left: 20px;
        padding-right: 20px;
    }

    

}


/* Effects only for pc  */
@media (min-width: 1024px) {

    .badge img {
        transition: 0.3s ease-in-out;
    }
    .badge img:hover {
        transform: scale(1.1);
    }

    .service:hover {
        -webkit-box-shadow: 0px 0px 14px 0px rgba(31, 31, 31, 0.88); 
        box-shadow: 0px 0px 14px 0px rgba(31, 31, 31, 0.88);
    }

  

}


/* Addons */
.swal2-popup {
    font-family: Quicksand !important;
}

#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100; 
    background-color: #3772ba;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 25px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 18px;
    cursor: pointer;
    display: none; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#backToTopBtn:hover {
    background-color: #0056b3; 
}
