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

.about-title {
    font-weight: 900;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    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-about {
    list-style: none;
    padding: 0;
}

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

.feature-list-about 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 success POPup */
.bg-dark-custom {
    background-color: #198731;
}

.svg-background {
    background-color: var(--bs-primary);
    border-radius: 50%;
    padding: 10px;
}

#formPopup {
    display: none;
    position: relative;
    color: var(--bs-light);
    z-index: 1000;
    text-align: center;
}

@media (max-width: 768px) {
    #formPopup {
        width: 100%;
        top: 0;
    }

    .success-text {
        font-size: 13px;
    }
}

/* contact form */
.form-check-label {
    cursor: pointer;
}

@media (max-width: 768px) {
    .border-edited {
        border: none !important;
    }
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.form-check-input {
    border: var(--bs-border-width) solid #000;
}

.form-check-input:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-dark) !important;
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bs-dark);
    appearance: none;
    background-color: rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-custom::placeholder {
    color: #000;
}

.form-control-custom:focus {
    outline: 0;
}

/* price list */
.per-month {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
}

.feature-list {
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.pricing-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 2rem;
    transition: transform 0.3s;
    min-width: 250px;
}

.pricing-card:hover {
    transform: scale(1.05);
    z-index: 2;
}

.card-top {
    height: 150px;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* reviews */
.bg-primary-custom {
    background-color: var(--bs-white);
}

.btn-white {
    background-color: #fff !important;
    color: #000000 !important;
}

.btn-white:hover {
    background-color: rgb(224, 224, 224) !important;
}

.text-black {
    color: #000000;
}

.review-card {
    max-width: 350px;
    border-radius: 20px;
}

.review-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

/* how it works */
.schedule-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.pexels.com/photos/5668828/pexels-photo-5668828.jpeg")
      no-repeat center center;
    background-size: cover;
    color: white;
}

.square {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* advantages */
.feature-card {
    border: 2px solid var(--bs-primary);
    border-bottom-right-radius: 40px;
    border-top-left-radius: 40px;
}

/* services */
.services-img {
    clip-path: ellipse(100% 80% at 10% 20%);
}

/* header */
header {
    background-color: var(--bs-primary);
    position: relative;
}

nav {
    display: flex;
    align-items: center;
    padding: 1rem;
    position: relative;
    z-index: 500;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    margin-left: auto;
    padding: 0 20px 0 0;
    color: white;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

/* Burger menu hidden checkbox */
#menu-toggle {
    display: none;
}

.menu-icon {
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    height: 4px;
    background: var(--bs-white);
    border-radius: 2px;
}

/* Media query for mobile */
@media (max-width: 991px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--bs-primary);
        width: 100%;
        padding: 0 0 0 20px;
        transition: left 0.3s ease;
    }

    .menu-icon {
        display: flex;
    }

    /* When checkbox is checked, show menu */
    #menu-toggle:checked ~ nav ul {
        left: 0;
    }
}

/* 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;
    font-size: 20px;
}

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

/* hero */
@media (min-width: 992px) {
    .aspect-lg-square {
        aspect-ratio: 2/1;
    }
}

.kinetic-hero {
    background: linear-gradient(
      rgba(var(--bs-secondary-rgb), 0.5),
      rgba(var(--bs-secondary-rgb), 0.5)
    ),
    url("https://images.pexels.com/photos/935979/pexels-photo-935979.jpeg")
      no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 100px 0;
}

.hero-title {
    color: var(--bs-light);
}

.content-wrapper {
    position: relative;
    z-index: 3;
}

.floating-image {
    position: relative;
    max-width: 500px;
    height: auto;
    box-shadow: 30px 30px 0px rgba(0, 0, 0, 0.3);
}

.shape-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--accent);
    bottom: -30px;
    right: -30px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
    z-index: -1;
    opacity: 0.8;
}

/* font-size for large headings */
.fs-custom {
    font-size: clamp(19px, 5vw, 30px);
}
