@font-face {
    font-family: "CustomeFontHome";
    src: url("../Bright\ Almond\ Personal\ Use\ Only.ttf") format("truetype");
}
@font-face {
    font-family: "CustomeFontAbout";
    src: url("../Jurnal\ Note.otf") format("truetype");
}
* {
    margin: 0;
    padding: 0;
}
.homePage-body {
    background: url("../home_bg.jpg") no-repeat fixed center center;
    background-size: 91%;
    background-color: #000000;
}
.navbar-toggler {
    border-radius: 5px;
    background-color: black;
    padding: 8px;
}
.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fae76e" viewBox="0 0 30 30"><path stroke="rgba(250,231,110, 1)" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/></svg>');
    width: 40px;
    height: 30px;
}
.button-close {
    background-color: transparent !important; /* Ensure background is transparent */
    border: 2px solid rgb(250, 231, 110) !important; /* Add yellow border */
    color: transparent !important; /* Make the button's text color transparent */
    padding: 0; /* Remove default padding */
    width: 20px; /* Set width of the button */
    height: 20px; /* Set height of the button */
    position: relative; /* Position the lines inside the button */
}

.button-close::before,
.button-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px; /* Length of the cross lines */
    height: 5px; /* Thickness of the cross lines */
    background-color: rgb(250, 231, 110); /* Line color */
    transform-origin: center;
}

.button-close::before {
    transform: translate(-50%, -50%) rotate(45deg); /* First diagonal line */
}

.button-close::after {
    transform: translate(-50%, -50%) rotate(-45deg); /* Second diagonal line */
}

.logo {
    height: 80px;
    padding-left: 180px;
    padding-bottom: 15px;
}
.nav-link {
    color: rgb(235, 223, 152);
    font-size: 18px;
}
.nav-link:hover {
    color: rgb(250, 231, 110);
}
.active-page {
    color: rgb(250, 231, 110);
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}
.image {
    height: 70px;
    width: 250px;
}
.image-container {
    position: absolute;
    bottom: 2%;
    left: 40%;
    z-index: 1000;
    padding: 10px 0;
}
.comingsoon-text {
    position: absolute;
    bottom: 9%;
    left: 45%;
    font-size: 30px;
}

.aboutPage-body {
    background: url("../home_bg_blur.jpg") no-repeat fixed;
    background-position: center center;
    background-size: cover;
}
.content-title {
    font-family: "CustomeFontAbout";
    color: rgb(235, 223, 152);
}
.content-paragraph {
    font-size: 25px;
    font-family: "CustomeFontAbout";
    color: white;
    text-align: center;
}
.content-link {
    font-family: "CustomeFontAbout";
    font-size: 25px;
    text-decoration: none;
    color: white;
}
.font-color-gold {
    color: rgb(235, 223, 152);
}
/* form design */
.form-title {
    color: rgb(235, 223, 152);
}

.label-field {
    color: rgb(235, 223, 152);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
/* Autofill style fix for input fields */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important; /* White text color */
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; /* Transparent background */
    border: 0; /* Remove default border */
    border-bottom: 2px solid rgb(235, 223, 152) !important; /* Bottom border */
    box-shadow: none !important; /* Remove any box shadow */
    outline: none !important; /* Remove outline */
    text-align: center !important; /* Center align text */
    padding: 5px 0 !important; /* Add padding */
    transition: background-color 5000s ease-in-out 0s; /* Prevent flashing */
}

.input-field {
    text-align: center;
    color: white;
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgb(235, 223, 152);
    width: 25%;
    outline: none;
    box-shadow: none;
    padding: 5px 0;
}

.form-field {
    position: relative;
    margin-bottom: 30px;
}

.form-field input:focus + .label-field,
.form-field input:valid + .label-field {
    opacity: 0;
    visibility: hidden;
}

.message-button {
    background: transparent;
    font-size: 20px;
    color: rgb(235, 223, 152);
    padding: 10px 20px;
    border: 2px solid rgb(235, 223, 152);
    border-radius: 5px;
    width: 10%;
    text-align: center;
}
.message-button:hover {
    color: white;
    background-color: rgb(231, 214, 115);
}
/* Success Message Styling */
.alert-success {
    background-color: transparent;
    color: rgb(235, 223, 152);
    border: 1px solid rgb(235, 223, 152);
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease;
}

/* Error Message Styling */
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease;
}
.alert {
    opacity: 1;
}
.alert.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 9999;
}

.rotating-image {
    width: 80px;
    height: 80px;
    animation: rotate 0.9s linear infinite;
}

.loading-text {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-align: center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* media querty */

/* ipad pro */
@media (min-width: 1024px) and (max-width: 1366px) {
    .homePage-body {
        background: url("../home_bg.jpg") no-repeat fixed center center;
        background-size: 270%;
        background-color: #000000;
    }
    .logo {
        height: 90px;
        padding-left: 25px;
        padding-bottom: 15px;
    }
    .image-container {
        left: 26%;
    }
    .comingsoon-text {
        bottom: 7%;
        left: 41%;
    }
    .label-field {
        top: 50%;
        left: 50%;
    }
    .input-field {
        width: 35%;
    }
    .message-button {
        font-size: 18px;
        width: 20%;
    }
}

/* ipad mini */
@media (min-width: 768px) and (max-width: 1023px) {
    .homePage-body {
        background: url("../home_bg.jpg") no-repeat fixed center center;
        background-size: 260%;
        background-color: #000000;
    }
    .logo {
        height: 75px;
        padding-left: 0px;
        padding-bottom: 15px;
    }
    .image-container {
        left: 26%;
    }
    .comingsoon-text {
        bottom: 8%;
        left: 38%;
    }
    .label-field {
        top: 50%;
        left: 50%;
    }
    .input-field {
        width: 40%;
    }
    .message-button {
        width: 25%;
    }
    .nav-link {
        font-size: 25px;
    }

    .swiper-button-prev {
        background-image: url('{{ asset("prev.png") }}');
        position: absolute;
        left: 18%;
    }

    .swiper-button-next {
        background-image: url('{{ asset("next.png") }}');
        position: absolute;
        right: 18%;
    }
}

/* mobile screen */
@media (min-width: 375px) and (max-width: 667px) {
    .homePage-body {
        background-position: 45.5%;
        background-size: cover;
        padding-right: 0 !important;
    }
    .logo {
        height: 65px;
        padding-left: 0px;
        padding-bottom: 15px;
    }
    .image {
        height: 50px;
        width: 175px;
    }
    .image-container {
        bottom: -1%;
        left: 28%;
    }
    .comingsoon-text {
        font-size: 15px;
        bottom: 17%;
        left: 35%;
    }
    .content-link {
        font-size: 12px;
    }
    .content-paragraph {
        font-size: 15px;
    }
    .label-field {
        top: 50%;
        left: 50%;
    }
    .input-field {
        width: 80%;
    }
    .message-button {
        width: 55%;
    }
    .nav-link {
        font-size: 25px;
    }
    .btn-prev,
    .btn-next {
        display: none;
    }
}
