html {
    scroll-behavior: smooth;
}

* {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(to right, #e8f3fe, #fff7ea);
    text-align: center;
    padding-top: 165px;
}

.pricing-header h2 {
    font-size: 50px;
    font-weight: 100;
}

.pricing-header h2 span {
    color: #ff6600;
    text-decoration: underline;
}

.pricing-header p {
    font-size: 20px;
    color: #2d2c2c;
    margin: 18px;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin: 2.5% 0;
}

.tab-btn {
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    background: #ddd;
    font-size: 19px;
    margin: 5px;
    border-radius: 20px;
    transition: 0.3s;
}

.tab-btn.active {
    background: #4b4ff1;
    color: white;
}

.pricing-section {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 5%;
}

.pricing-section.active {
    display: flex;
}

.price-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 12px;
    width: 220px;
    text-align: center;
}

.price-box {
    font-size: 40px;
    font-weight: bold;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 86%;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-box span {
    font-size: 20px;
}

.gradient-1,
.gradient-8 {
    background: linear-gradient(to right, #e2a98d, #cc95bf, #ca9ee6);
}

.gradient-2,
.gradient-7,
.gradient-9 {
    background: linear-gradient(to right, #9de4d1, #d79ac0, #1e1d5e);
}

.gradient-3,
.gradient-6 {
    background: linear-gradient(to right, #ff2ba0, #c79f50, #7bdfd4);
}

.gradient-4,
.gradient-5 {
    background: linear-gradient(to right, #f1926a, #dbb596, #58838f);
}

.price-card p {
    font-size: 25px;
    color: #1e1d5e;
}

.price-card p strong {
    color: #ff6600;
    text-decoration: underline;
}

.choose-btn {
    background: #b65c43;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s;
    margin-top: 17px;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.choose-btn:hover {
    background: #684c7f;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease-in-out;
    pointer-events: none;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.form-choose {
    display: block;
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
}

.form-choose h2 {
    margin-bottom: 4%;
    font-size: 29px;
    text-decoration: underline;
    color: #1e1d5e;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 7%;
}

.close-btn:hover {
    background: darkred;
}

.form-choose input,
.form-choose select {
    width: 95%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-choose select {
    width: 100%;
}

.form-choose .submit {
    width: 100%;
    padding: 10px;
    background: #684c7f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
    margin: 2% 0;
}

.form-choose button:hover {
    background: #b65c43;
}

.form-choose label {
    display: block;
    font-weight: bold;
    margin: 3% 0 1% 0;
}

.selected-plan {
    color: #727272;
}

.success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.checkmark {
    font-size: 18px;
    font-weight: bold;
}

.offer-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    margin-bottom: 4%;
}

.offer-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.offer-section .container .image {
    width: 45%;
    height: 150%;
}

.offer-section .container .image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.offer-title {
    font-size: 27px;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 14px;
}
.offer-details {
    font-size: 18px;
    color: #333;
    margin-bottom: 14px;
}
.course-list {
    list-style: none;
    padding: 0;
    margin-bottom: 14px;
}
.course-list li {
    font-size: 17px;
    padding: 5px 0;
    color: #008878;
}
.highlight {
    color: #ff6600;
    font-weight: bold;
}
.cta {
    background: #2a9d8f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
.cta:hover {
    background: #21867a;
}

@media (max-width: 425px){
    .footer-contact{
        display: none;
    }
    .footer-links{
        margin-right: 14%;
    }
    .offer-section{
        height: 685px;
    }
    .offer-section .container{
        flex-direction: column;
    }
}
