@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Playfair+Display:ital@0;1&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

.bg-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/HomeBG.jpg') center/cover no-repeat;
    z-index: -2;
}

.bg-effect-about-part {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/HomeBG-otherpages.jpg') center/cover no-repeat !important;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.main-content {
    height: auto;
    /* Let it grow with content */
    min-height: 100vh;
    /* Ensure it takes at least full viewport height */
    padding: 0;
    /* Remove padding to avoid extra space */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content horizontally */
    width: 100%;
    /* Ensure it spans full width */
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.main-content img {
    object-fit: contain
}

.main-content p {
    color: lightgray
}

.mailing-list {
    background: white;
    color: #000;
    padding: 35px;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
}

.mailing-list:hover {
    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mailing-list h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
}

.mailing-list p {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    color: #555;
}

.mailing-list input[type="email"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 15px;
}

.mailing-list input[type="email"]:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.mailing-list button {
    width: 100%;
    padding: 14px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mailing-list button:hover {
    background-color: #333;
    color:white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
   
}


.decorative-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #ff8c00, transparent);
    margin: 0 auto 25px;
}

.about-part {}

.about-part .profile-image-container img {
    height: 400px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none !important;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        z-index: 1000;
    }

    .main-content {
        padding: 60px 0;
    }

    .bg-effect {
        background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/HomeBG-mv.jpg') center/cover no-repeat;
    }

    .bg-effect-about-part {
        background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/HomeBG-otherpages-mv.jpg') center/cover no-repeat !important;
    }

    .mailing-list {
        margin: 0 auto;
    }
}

@media (min-width: 992px) {


    .navbar-toggler {
        display: none;
    }

    .desktop-nav {
        display: flex !important;
    }

    #mobileNavDropdown {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .home-main-content {
        align-items: flex-end;
        /* Align content to bottom */
        padding-bottom: 30px;
        /* Add some padding from the bottom edge */
    }

    .mailing-list {
        margin: 0 auto;
        /* Optional: Make it full width on very small screens */
        max-width: 90%;
    }
}

@media (max-width: 380px) {


    .mailing-list {
        padding: 20px;
        max-width: 100%;
    }
}

.btn {
    padding: 0.5em 1em;
    background-color: #0ebac5;
    border: none;
    user-select: none;
    cursor: pointer;
    font-size: 20px;
    text-transform: uppercase;
    transition: all 0.5s linear;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.btn:hover::after, .btn:hover::before {
    content: '';
    background: linear-gradient(90deg, #FC466B 0%, #3F5EFB 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;

    animation: move-right-side 1s ease infinite;
}

.btn:hover::before {
    background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
    inset: 0;
    animation: move-left-side 1s ease infinite;
    z-index: -2;
}

.btn:hover {
    background-color: #fff;
    color: #00C9FF;
}

@keyframes move-right-side {
    0% {
        inset: 0.3em 0 0 0.3em; /*top | left */
    }

    33% {
        inset: 0 0.3em 0.3em 0; /*right| bottom*/
    }
        
    66% {
        /* top | right | bottom | left */
        inset: 1em 0 0 0.5em; /*top | right */
    }

    100% {
        inset:0  1em 0.5em 0;
    }
}

/* Move left Side */

@keyframes move-left-side {
    0% {
        right: -1em;
        top: -0.5em;
    }

    33% {
        bottom: -1em;
        left: -0.5em;
    }

    66% {
        top: 0;
        right:-0.7;
    }

    100% {
        right: -1em;
        top: -0.5em;
    }
}