.widget {
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
}

.widget-logo {
    position: absolute;
    top: 20px;
    margin-bottom: auto;
    margin-left: auto;
    right: 40px;
    width: 40px;
    max-height: auto;
}

.swiss-logo {
    position: absolute;
    top: 100px;
    margin-bottom: auto;
    margin-left: auto;
    right: 40px;
    width: 40px;
    max-height: auto;
}

.slogan-widget {
    background-color: #fff;
    max-width: 935px;
    height: 250px;
    padding: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: left;
    margin-bottom: 10px;
}

.slogan-widget:hover,
.service-widget:hover,
.swiss-widget:hover,
.contact-widget:hover,
.about-text:hover,
.services-options:hover,
.description-service:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.slogan-widget h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.slogan-widget h2 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #444;
}

.cta-button {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}



/* Ensure all widgets within group-widget have a fixed width */
.group-widget .widget {
    width: 450px;
    /* Fixed width for widgets inside group-widget */
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
}

/* Main container to position left and right columns within group-widget */
.group-widget {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

/* Left column containing service and Swiss widgets */
.left-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Specific styling for each widget within group-widget */
.service-widget {
    color: #fff;
    padding: 20px;
    text-align: left;
    height: 200px;
    background-color: #111;
}

.service-widget h3 {
    padding-bottom: 20px;
}

/* Service Widget Button Styles */
.service-btn {
    background-color: #222;
    /* Dark background color to match widget theme */
    color: #fff;
    /* White text color for contrast */
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
}

.service-btn:hover {
    background-color: #444;
    color: #fff;
    border-color: #fff;
}

.service-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-widget h3,
.swiss-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.swiss-widget {
    background-color: red;
    color: #fff;
    padding: 20px;
    text-align: left;
    height: 200px;
    background-color: #111;
}

.swiss-widget .keywords {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}


.swiss-btn {
    background-color: #222;
    /* Dark background color to match widget theme */
    color: #fff;
    /* White text color for contrast */
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    margin-top: 10px;
}

.swiss-btn:hover {
    background-color: #444;
    color: #E0AA3E;
    border-color: #E0AA3E;
}

.highlight-gold {
    color: #E0AA3E;
    font-weight: bold;
}


.contact-widget {
    background: url('../../public/images/contact.PNG') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 20px;
    width: 450px !important;
    height: 415px;
    text-align: left;
    position: relative;
    /* Ensures the ::before element is positioned relative to .contact-widget */
    overflow: hidden;
}

/* Dark overlay for the background image */
.contact-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Semi-transparent black overlay */
    z-index: 1;
}

/* Ensures that all content within .contact-widget is above the overlay */
.contact-widget>* {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 50px;
    padding: 30px;
}

.contact-subtitle {
    font-size: 25px;
    padding: 30px;
    margin-top: 60px;
}



.cssbuttons-io-button {
    background: #000;
    color: white;
    font-family: inherit;
    padding: 20px;
    padding-left: 20px;
    margin-left: 20px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 20px;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em #000;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
    margin-top: 0px;

}

.cssbuttons-io-button .icon {
    border-radius: 20px;
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em #000;
    right: 0.3em;
    transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon {
    width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #000;
}

.cssbuttons-io-button:hover .icon svg {
    transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
    transform: scale(0.95);
}

/* General styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
}

/* Container and Layout Styles */
.group-widget {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
    padding: 10px;
}

.left-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 45%;
}

.contact-widget {
    width: 45%;
    padding: 20px;
    background: url('../../public/images/contact.PNG') no-repeat center center;
    background-size: cover;
    color: #fff;
}

/* Hamburger icon is hidden on larger screens */
.hamburger {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {

    /* Hide the menu buttons and show the hamburger icon */
    .buttons-menu {
        display: none;
        /* Hide menu buttons on small screens */
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
    }

    .group-widget {
        flex-direction: column;
        align-items: center;
    }

    .left-widget,
    .contact-widget {
        width: 100%;
    }

    .service-options {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        width: 80px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }
}

.about {
    margin-right: auto;
    margin-left: auto;
    max-width: fit-content;
}

.about-title,
.services-title {
    color: white;
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
    max-width: fit-content;
    padding: 10px;
    font-size: 40px;
}

.about-text {
    background-color: #111;
    color: #fff;
    max-width: 935px;
    height: auto;
    padding: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: left;
    margin-bottom: 10px;
    border-radius: 25px;
    font-size: 20px;
}


.services-title {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}


.services-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50;
    margin-right: auto;
    margin-left: auto;
    background-color: white;
    width: 250px;
    height: 300px;
    border-radius: 25px;
    background-color: #111;
}

.services-options .service-btn {
    margin-top: 20px;
    font-size: 20px;
}

.description-service {
    color: #fff;
    margin-right: auto;
    margin-left: auto;
    align-items: left;
    max-width: 450px;
    background-color: #111;
    border-radius: 25px;
    padding: 20px;
}

.description-service p {
    margin-top: 10px;
    font-size: 20px;
}

.service-group {
    max-width: fit-content;
    max-width: 935px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-right: auto;
    margin-left: auto;
}

:root {
    --btn-border: 1px solid rgba(255, 255, 255, 0.2);
    --btn-bg: transparent;
    --btn-shadow: 1px 1px 25px 10px rgba(255, 255, 255, 0.5);
    --btn-text-color: #f4f4f4;
    --shine-degree: 120deg;
    --shine-color: rgba(255, 255, 255, 0.2);
    --shine-effect: linear-gradient(var(--shine-degree),
            transparent,
            var(--shine-color),
            transparent);
    --shine-duration: 2.5s;
    /* duration of the shine animation */
}

/* Styling for the service button with shine effect */
.service-btn {
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    border: var(--btn-border);
    color: var(--btn-text-color);
    background: var(--btn-bg);
    transition: box-shadow 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

}

/* Add the shine effect using a pseudo-element */
.service-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--shine-effect);
    transition: all 0.5s ease-in-out;
}

/* On hover, move the shine effect across the button */
.service-btn:hover {
    box-shadow: var(--btn-shadow);
}

.service-btn:hover::before {
    left: 100%;
    transition: all 0.75s ease-in-out;
}

/* Continuous shine animation */
.service-btn.shine {
    animation: shine-animation var(--shine-duration) ease-in-out infinite;
}

@keyframes shine-animation {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

/* Contact button styling */
.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    /* Removes the link underline */
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease-in-out;
}

.contact-btn:hover {
    background-color: #333;
    /* Darker background on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Shine effect styling */
.contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s ease-in-out;
}

.contact-btn:hover::before {
    left: 100%;
    transition: all 0.75s ease-in-out;
}

/* Continuous shine animation */
.contact-btn.shine::before {
    animation: shine-animation 2.5s ease-in-out infinite;
}

@keyframes shine-animation {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

.contact-btn .icon {
    margin-left: 10px;
    /* Adds spacing between text and icon */
    display: flex;
    align-items: center;
}

.contact {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.contact-title {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    margin-bottom: 30px;
}

.contact-text {
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    max-width: 935px;
    height: 250px;
    padding: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 25px;
}