/* about PAGE */
:root {
    --primary-accent: var(--bs-secondary);
    --secondary-accent: var(--bs-dark);
}

.about-title {
    font-weight: 900;
    font-size: 3.5rem;
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--bs-secondary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-subtitle {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    bottom: -8px;
    left: 0;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-dark);
    margin-bottom: 2rem;
}

.main-image {
    position: absolute;
    width: 70%;
    height: 60%;
    top: 0;
    right: 0;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    transition: all 0.4s ease;
    z-index: 2;
}

.secondary-image {
    position: absolute;
    width: 50%;
    height: 40%;
    bottom: 0;
    left: 0;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.15);
    transform: rotate(-5deg);
    transition: all 0.4s ease;
    z-index: 1;
    border: 5px solid white;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 50%;
}

@media (max-width: 992px) {
    .about-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }

    .main-image {
        width: 80%;
        height: 50%;
    }

    .secondary-image {
        width: 60%;
        height: 35%;
    }
}

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

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

.popup-light {
    box-shadow: 0px 10px 30px rgba(255, 255, 255, 0.1);
}

.svg-background {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bs-primary);
    border-radius: 50%;
    padding: 10px;
}

#formPopup {
    display: none;
    position: fixed;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bs-secondary);
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
}

/* form-check */
.form-check-input:checked {
    background-color: var(--bs-secondary) !important;
}

/* hero блок */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding: 80px 0;
}

.text-accent {
    color: #6f42c1;
}

/* 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;
}
