/* form success POPup */
.bg-dark-custom {
    background-color: rgb(50, 50, 50);
}

#btn-close-popup {
    font-size: 25px;
}

#btn-close-popup2 {
    cursor: pointer;
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-light {
    border-radius: 50%;
    box-shadow: 0px 10px 30px #198754;
}

.text-success-bright {
    color: #00fc87;
}

#formPopup {
    display: none;
    position: fixed;
    width: 450px;
    aspect-ratio: 1/1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bs-secondary);
    z-index: 1000;
    text-align: center;
    border: 2px solid var(--bs-primary);
}

@media (max-width: 490px){
    #formPopup {
        width: 90%;
    }

    #btn-close-popup {
        font-size: 15px;
    }
}

/* contact form */
.form-check-input:checked {
    background-color: #120f0f !important;
    border-color: #120f0f !important;
    box-shadow: 0px 0px 15px #120f0f !important;
}

/* about block */
.about-img {
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .about-img {
        width: 30%;
    }
}

/* hero block */
.hero-img {
    z-index: 100;
    position: relative;
}

.avant-garde-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.diagonal-line {
    position: absolute;
    width: 150%;
    height: 200px;
    background: var(--bs-primary);
    transform: rotate(-15deg);
    top: 30%;
    left: -20%;
    z-index: 1;
    opacity: 0.8;
}

.content-box {
    background: white;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    transform: rotate(-2deg);
    margin-top: 100px;
    border-left: 8px solid var(--bs-secondary);
}

.avant-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.avant-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.btn-avant {
    padding: 12px 35px;
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
}

.btn-avant-primary {
    background: var(--primary);
    color: white;
}

.btn-avant-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-avant-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
}

.btn-avant-secondary:hover {
    background: var(--secondary);
    color: white;
}

@media (max-width: 992px) {
    .content-box {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .content-box {
        transform: rotate(0);
        margin-top: 30px;
    }

    .avant-title {
        font-size: 2rem;
    }
}

/* header */
.toggler-btn-custom {
    all: unset;
    display: none;
    padding: 4px 7px 4px 7px;
    border-radius: 5px;
    border: 1px solid var(--bs-dark);
}

.toggler-btn-custom svg {
    color: var(--bs-dark);
}

@media (max-width: 991px) {
    .toggler-btn-custom {
        display: inline-block;
    }
}

/* arrow */
.arrow {
    display: inline-block;
    transform: scale(1.3);
    transform-origin: center;
}

/* Hidden checkbox */
.dropdown-toggle {
    display: none;
}

/* Label acts like a link */
.dropdown-label {
    cursor: pointer;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 150px;
    z-index: 100;
}

.dropdown-menu li {
    margin: 0.5rem 0;
}

.dropdown-menu li a {
    color: black;
    text-decoration: none;
}

/* Show dropdown when checkbox is checked */
.dropdown-toggle:checked + .dropdown-label + .dropdown-menu {
    display: block;
}