/*CSS RESET*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

*:not(dialog) {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: 'Outfit', sans-serif;
    color: #3c4043;
    background-color: #ffffff;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* floating blocks */
.w-block {
    top: 80px;
    right: 30%;
    width: 150px;
    height: 150px;
    position: fixed;
    z-index: 996;
    animation: float-anim 4s ease-in-out infinite;
}

.g-block {
    top: 45%;
    margin-top: -200px;
    right: 0;
    width: 120px;
    height: 120px;
    position: fixed;
    z-index: 990;
    animation: float-anim2 4s ease-in-out infinite;
}

.i-block {
    bottom: 15%;
    right: 20px;
    width: 80px;
    height: 80px;
    position: fixed;
    z-index: 988;
    animation: float-anim3 4s ease-in-out infinite;
    display: none;
}

.w-block img,
.g-block img,
.i-block img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/*floating animation*/
@keyframes float-anim {
    0% {
        transform: translatey(0px) translatex(0px) rotate(0deg);
    }

    50% {
        transform: translatey(-10px) translatex(3px) rotate(5deg);
    }

    100% {
        transform: translatey(0px) translatex(0px) rotate(0deg);
    }
}

@keyframes float-anim2 {
    0% {
        transform: translatey(-15px) translatex(0px) rotate(0deg);
    }

    50% {
        transform: translatey(0px) translatex(-3px) rotate(-5deg);
    }

    100% {
        transform: translatey(-15px) translatex(0px) rotate(0deg);
    }
}

@keyframes float-anim3 {
    0% {
        transform: translatey(0px) translatex(3px) rotate(0deg);
    }

    40% {
        transform: translatey(-12px) translatex(0px) rotate(6deg);
    }

    100% {
        transform: translatey(0px) translatex(3px) rotate(0deg);
    }
}

/* Layout Container */

/* background attachment issue in safari - ALT1
.landing-page-container {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
    background-color: #ffffff;
    background-image: url('../img/bgHead.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
   
    overflow-x: hidden;
    overflow-x: clip;
}*/

/* Fix background-attachment: fixed bug on iOS Safari 
@supports (-webkit-touch-callout: none) {
    .landing-page-container {
        background-attachment: scroll;
    }
}*/

/* --- ALT 2 --- */
.landing-page-container {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100dvh;

    overflow-x: hidden;
    overflow-x: clip;
}

.landing-page-container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bgHead.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.landing-page-container::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(139, 220, 245, 0) 80%, rgba(139, 220, 245, 0.8) 100%);
    z-index: -1;
}

/* --- Top Navbar --- */
.top-navbar {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    z-index: 995;
    transition: font-color .2s ease-in-out;
    /*text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);*/
}

.top-navbar::after {
    margin-left: 15px;
    margin-right: 15px;
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 0;
    background: #A767FF;
    opacity: 0;
    transition: opacity .2s ease-in-out;
    background: linear-gradient(90deg, rgba(167, 103, 255, 0) 0%, rgba(30, 71, 170, 0) 100%);
    border: 1px solid rgba(198, 198, 250, 0);
    /*background-color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.4);*/
    /*box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.3),
        inset -2px -2px 2px 1px rgba(255, 255, 255, 0.3),
        0 3px 20px rgba(157, 131, 232, 0.40);*/
    -webkit-box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0), inset 0 0 3px 2px rgba(198, 198, 250, 0), 0 3px 20px rgba(157, 131, 232, 0);
    box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0), inset 0 0 3px 2px rgba(198, 198, 250, 0), 0 3px 20px rgba(157, 131, 232, 0);

}

.top-navbar::before {
    margin-left: 15px;
    margin-right: 15px;
    content: '';
    opacity: 0;
    transition: opacity .2s ease-in-out;
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 0px;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    -webkit-filter: url();
    filter: url();
    overflow: hidden;
    isolation: isolate;
}

.top-navbar.scrolled {
    padding: 10px 30px;
    margin: 10px 0;
}

.top-navbar.scrolled::after {
    margin-left: 15px;
    margin-right: 15px;
    opacity: 1;
    border-radius: 15px;
    background: #67CCFF;
    background: linear-gradient(90deg, rgba(103, 204, 255, 0.15) 0%, rgba(30, 71, 170, 0.25) 100%);
    border: 1px solid rgba(163, 224, 255, 0.7);
    -webkit-box-shadow:
        inset 2px 2px 0px -2px rgba(255, 225, 255, 0.25),
        inset 0 0 3px 2px rgba(163, 224, 255, 0.25),
        0 3px 20px rgba(92, 187, 225, 0.25);
    box-shadow:
        inset 2px 2px 0px -2px rgba(255, 225, 255, 0.25),
        inset 0 0 3px 2px rgba(163, 224, 255, 0.25),
        0 3px 20px rgba(92, 187, 225, 0.25);
}

.top-navbar.scrolled::before {
    margin-left: 15px;
    margin-right: 15px;
    opacity: 1;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    -webkit-filter: url(#container-glass);
    filter: url(#container-glass);
}

.top-navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wgi img {
    max-width: 80px;
    height: auto;
}

.nav-links a {
    font-size: 0.9rem;
    /*background: #4CC8EE;
    background: linear-gradient(144deg, rgba(76, 200, 238, 1) 0%, rgba(36, 131, 240, 1) 100%);
    border: 1px solid #4CC8EE;*/
    color: #fff;
    background: linear-gradient(144deg, rgba(76, 200, 238, 1) 0%, rgb(81, 162, 255) 100%);
    border: 0px solid rgba(111, 131, 199, .7);
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease;

}

.nav-links a:hover {
    background: linear-gradient(144deg, rgba(76, 200, 238, 1) 0%, rgba(76, 200, 238, 1) 100%);
    border: 0px solid rgba(111, 131, 199, .7);
}

/* --- Main Content --- */
.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 160px 60px 60px 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.left-column {
    flex: 1;
    padding-right: 40px;
    max-width: 600px;
    align-items: start;
}

.right-column {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Left Column Elements */
.heading-container {
    margin: 0 20px;
}

.main-heading {
    font-size: 3.5rem;
    font-weight: 500;
    color: #4CC8EE;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 3.5rem;
}

.main-text-container {
    position: relative;
    z-index: 994;
    padding: 20px;
    border-radius: 20px;
}

.main-text-container::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0.5), inset 0 0 3px 2px rgba(255, 255, 255, 0.6);
    box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0.5), inset 0 0 3px 2px rgba(255, 255, 255, 0.6);

}

.main-text-container::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    -webkit-filter: url(#container-glass);
    filter: url(#container-glass);
    overflow: hidden;
    isolation: isolate;
}

.main-text p {
    font-size: 1.1rem;
    color: #3c4043;
    margin-bottom: 20px;
    line-height: 1.6;
}

.more-link {
    display: inline-block;
    color: #4CC8EE;
    font-size: 1rem;
    position: relative;
    padding: 5px 20px;
    border: 1px solid #4CC8EE;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
}

.more-link:hover {
    text-decoration: underline;
}

.more-text {
    display: none;
}

.more-text.show {
    display: block;
}

/* Signature Area */
.signature-area {
    padding: 15px 20px;
    max-width: 300px;
}

.signature {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    color: #3c4043;
    line-height: 1;
    margin: 0px 0 10px 0;
    transform: rotate(-3deg);
    overflow-x: clip;
}

.signature img {
    margin-left: -54px;
}

.signature-name {
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 0 8px rgba(255, 255, 255, 1);
}


/* Responsive adjustments */

@media (max-width: 1144px) {

    .landing-page-container::before {

        background-image: url('../img/bgHead3.png');
    }

    .i-block {
        display: block;
    }
}

@media (max-width: 900px) {

    .main-content {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 120px;
        text-align: center;
    }

    .main-text {
        font-size: 0.95rem;
        text-align: left;
    }

    .wgi-logo {
        width: 200px;
        height: auto;
        border-radius: 8px;
        margin: 0 auto;
    }

    .left-column {
        justify-content: center;
        max-width: 100%;
        margin-bottom: 60px;
        padding-right: 0;
    }

    .right-column {
        justify-content: center;
    }

    .top-navbar {
        padding: 15px 20px 15px 25px;
        margin: 10px 0;
    }

    .top-navbar::after {
        margin-left: 10px;
        margin-right: 10px;
    }

    .top-navbar.scrolled {
        padding: 15px 20px 15px 25px;
        margin: 10px 0;
    }

    .top-navbar.scrolled::after {
        margin-left: 10px;
        margin-right: 10px;
    }

    .top-navbar.scrolled::before {
        margin-left: 10px;
        margin-right: 10px;
    }

    .signature-area {
        margin: 0;
        padding: 0 20px;
    }

    .g-block {
        top: 75%;
        left: -23px;
        width: 90px;
        height: 90px;
        display: block;
        z-index: 996;
    }

    .w-block {
        top: 8%;
        right: -40px;
        width: 125px;
        height: 125px;
        display: block;
    }


}

@media (max-width: 600px) {

    .landing-page-container::before {

        background-image: url('../img/bgHead3.png');

    }

    .main-content {
        padding: 120px 40px 60px 40px;
    }

    .main-text p {
        font-size: 1rem;
        color: #3c4043;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .main-heading {
        font-size: 2.5rem;
        font-weight: 600;
        color: #4CC8EE;
        margin-bottom: 10px;
        letter-spacing: -1px;
        line-height: 2.5rem;
    }

    .main-text-container {
        padding: 20px
    }

    .w-block {
        top: 18%;
        right: -34px;
        width: 90px;
        height: 90px;
        display: block;
    }

    .g-block {
        top: 75%;
        left: -23px;
        width: 75px;
        height: 75px;
        display: block;
        z-index: 996;
    }

    .i-block {
        bottom: 15%;
        right: -15px;
        width: 60px;
        height: 60px;
        display: block;
    }

    .signature-area {
        width: 250px;
        margin-top: 10px;
    }

    .signature img {
        margin-left: -40px;
    }

    .signature-name {
        text-align: left;
        font-size: 1rem;
        font-weight: 600;
    }
}