* {
    box-sizing: border-box
}

body, html {
    overflow-x: clip;
    font-family: "BPG Nino Mtavruli", sans-serif;
    font-weight: 300;
    color:white;
}

.section-head h2 {
    position: relative;
    padding: 0;
    color: #078cff;
    line-height: 1;
    letter-spacing: 0.3px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-transform: none;
    margin-bottom: 30px;
}

.section-head h2:before {
    content: '';
    width: 30px;
    height: 3px;
    background: #078cff;
    position: absolute;
    left: 0px;
    bottom: -10px;
    right: 0;
    margin: 0 auto;
}

.section-head h2 span {
    font-weight: 700;
    padding-bottom: 5px;
    color: white;
}

.row {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center
}

.row:before {
    position: absolute;
    content: "";
    display: block;
    top: 0;
    left: -5000px;
    height: 100%;
    width: 15000px;
    z-index: -1;
    background: inherit
}

.row:first-child {
    padding: 0 0
}

.row:nth-child(10), .row:nth-child(2), .row:nth-child(8) {
    background: #293356
}

.row span {
    position: relative;
    display: inline-block
}

.gate {
    display: inline-block;
    width: 215px;
    padding: 10px 0 10px 15px;
    font-family: "Open Sans", sans;
    font-weight: 400;
    color: #384679;
    background: #efefef;
    border: 0;
    border-radius: 3px;
    outline: 0;
    text-indent: 25px;
    transition: all .3s ease-in-out
}

.gate::-webkit-input-placeholder {
    color: #efefef;
    text-indent: 0;
    font-weight: 300
}

.gate + label {
    display: inline-block;
    position: absolute;
    left: 0;
    padding: 10px 15px;
    text-shadow: 0 1px 0 rgba(13, 21, 77, .581);
    background: #293356;
    color: #fff;
    transition: all .4s ease-in-out;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    transform-origin: left bottom;
    z-index: 99
}

.gate + label:after, .gate + label:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 3px;
    background: rgba(52, 74, 157, .75);
    transform-origin: left bottom;
    transition: all .4s ease-in-out;
    pointer-events: none;
    z-index: -1
}

.gate + label:before {
    background: rgba(3, 36, 41, .2);
    z-index: -2;
    right: 20%
}

span:nth-child(2) .gate {
    text-indent: 30px
}

span:nth-child(2) .gate:active, span:nth-child(2) .gate:focus {
    text-indent: 0
}

.gate:active, .gate:focus {
    color: #293356;
    text-indent: 0;
    background: #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px
}

.gate:active::-webkit-input-placeholder, .gate:focus::-webkit-input-placeholder {
    color: #aaa
}

.gate:active + label, .gate:focus + label {
    transform: rotate(-66deg);
    border-radius: 3px
}

.gate:active + label:before, .gate:focus + label:before {
    transform: rotate(10deg)
}


.payment-form-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #293356;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-title {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.input-field {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    color: #ffffff;
    background-color: #3a4a77;
    border: 2px solid #4a5b82;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #7986cb;
    background-color: #4a5b82;
    box-shadow: 0 0 0 2px rgba(121, 134, 203, 0.3);
}

.input-field::placeholder {
    color: #a0aec0;
}

.price-display {
    color: #ffffff;
    font-size: 32px;
    text-align: center;
    margin: 30px 0;
    font-weight: 700;
    transition: all 0.5s ease;
}

.price-display span {
    font-size: 24px;
    font-weight: 400;
}

#priceValue {
    display: inline-block;
    padding: 5px 10px;
    background-color: #4CAF50;
    border-radius: 8px;
    transition: all 0.5s ease;
}

@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-changed {
    animation: pricePulse 0.5s ease-in-out;
}

.toggle-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.toggle-option input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.toggle-label {
    color: #ffffff;
    font-size: 16px;
}

.hidden-input {
    display: none;
    margin-top: 10px;
}

.pay-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.pay-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pay-button img {
    margin-right: 10px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.payment-icons img {
    margin: 0 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-icons img:hover {
    opacity: 1;
}

.error-message, .success-message {
    font-size: 14px;
    margin-top: 5px;
    display: none;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
}

.error-message {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
}

.success-message {
    color: #51cf66;
    background-color: rgba(81, 207, 102, 0.1);
}

.input-field {
    border: 1px solid #ccc; /* ნეიტრალური საზღვარი ჩვეულებრივ მდგომარეობაში */
    transition: border-color 0.3s ease;
}

.input-field.invalid {
    border-color: red;
}

.input-field.valid {
    border-color: green;
}