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

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

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

#formPopup {
    box-shadow: 0px 0px 100px #778fd2;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    color: var(--bs-light);
    z-index: 1000;
    text-align: center;
    border-top: 2px solid var(--bs-light);
}

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

/* contact form */
#custom-form textarea {
    min-height: 140px;
}

.form-check-label {
    cursor: pointer;
}

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

.form-check-input:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !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-white);
    appearance: none;
    background-color: var(--bs-secondary);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    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: var(--bs-white);
}

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

/* price list */
.pricing-card {
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    color: #fff;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.price {
    font-size: 2rem;
    font-weight: bold;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-features {
    margin: 1rem 0;
}

.plan-features p {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    margin: 0;
}

/* courses */
.course-card {
    aspect-ratio: 1/1;
    overflow: hidden;
    color: var(--bs-white);
}

/* services */
.square {
    width: 80px;
    height: 80px;
    transform: rotate(45deg);
}

.square .number {
    transform: rotate(-45deg);
}

/* testimonials */
.img-reviews {
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

/* about */
:root {
    --color-1: var(--bs-primary);
    --color-2: var(--bs-secondary);
    --color-3: var(--bs-primary);
    --color-4: var(--bs-secondary);
    --color-5: var(--bs-dark);
}

.full-width-about {
    position: relative;
    overflow: hidden;
}

.about-megablock {
    margin: 0 auto;
    position: relative;
}

.about-main-card {
    background: white;
    border-radius: 40px;
    min-height: 700px;
    overflow: hidden;
    position: relative;
}

.color-strip {
    position: absolute;
    width: 15px;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(
          to bottom,
          var(--color-1),
          var(--color-2),
          var(--color-3),
          var(--color-4),
          var(--color-5)
        );
}

.about-content {
    padding: 5rem;
    position: relative;
    z-index: 2;
}

.about-title {
    font-weight: 900;
    font-size: 4rem;
    background: linear-gradient(
          45deg,
          var(--color-5),
          var(--color-1),
          var(--color-3)
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-subtitle {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-3);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-subtitle::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-1), var(--color-5));
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

.feature-box {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--color-2);
    transition: all 0.3s ease;
}

.feature-title {
    font-weight: 700;
    color: var(--color-3);
    margin-bottom: 0.5rem;
}

@media (max-width: 1400px) {
    .about-content {
        padding: 4rem;
    }

    .about-title {
        font-size: 3.5rem;
    }
}

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

    .about-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        padding: 3rem;
    }

    .about-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 2.5rem;
    }

    .about-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 2rem;
    }

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

    .about-text {
        font-size: 1.05rem;
    }
}

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

/* hero block */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('https://images.pexels.com/photos/4107242/pexels-photo-4107242.jpeg') no-repeat center center;
    background-size: cover;
    min-height: 500px;
}