html {
    scroll-behavior: smooth;
    /* height: 100%; */
}

body {
    background-image: url(../img/7a7c512650.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    font-weight: normal;
    line-height: 26px;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    height: auto;
    margin: 0;
}





.center-section {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: flex-start;
    align-items: center;
    flex: 1; /* This makes the section take up remaining space */
    width: 100%;
}

.center-image {
    max-width: 100%;
    width: 50%;
    max-height: 100%;
    object-fit: contain;
}
.center-images {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
}

.text-container {
    text-align: center; /* Center the text */
}



.exam-box {
    /* background: linear-gradient(135deg, #9093a8, #222a55, #db0b1d); */
    background: transparent;
    color: black;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 20%);
    padding: 20px;
    text-align: center;
    line-height: 30px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: rgb(50 50 93 / 25%) 0px 50px 100px -20px, rgb(0 0 0 / 9%) 0px 30px 60px -30px, rgb(10 37 64 / 73%) 0px -2px 6px 0px inset;
}

.exam-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.exam-name {
    font-size: 1.5em;
    margin: 10px 0;
    color: #ffffff;
    color: #000;
}

.exam-button {
    padding: 8px 20px;
    margin-top: 10px;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    --c: #fff; /* text color */
  
    background: 
      linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) var(--_p,100%)/300% no-repeat,
      #db0b1d; /* background color */
    color: #0000;
    border: none;
    transform: perspective(500px) rotateY(calc(20deg*var(--_i,-1)));
    text-shadow: 
      calc(var(--_i,-1)* 0.08em) -.01em 0   var(--c),
      calc(var(--_i,-1)*-0.08em)  .01em 2px #0004;
    outline-offset: .1em;
    transition: 0.3s;
}

.exam-button:hover,
.exam-button:focus-visible {
    /* background-color: #ff3e30;
    box-shadow: 0px 4px 10px rgba(255, 62, 48, 0.5); */
    --_p: 0%;
    --_i: 1;
}
.exam-button:active{
text-shadow: none;
color: var(--c);
box-shadow: inset 0 0 9e9q #0005;
transition: 0s;
}
footer {
    margin-top: 30px;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    position: relative;
    bottom: 0;
    left: 0;

}

footer p {
    margin: 0;
    font-size: 1em;
    color: #000;
}

footer a {
    color: #db0b1d;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* Media Queries for responsiveness */

/* /////////////////////// */

.exam-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* padding: 20px; */
  
}

.payment-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

.modal-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.modal-content button {
    padding: 10px 20px;
    background-color: #fff;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-content button:hover {
    /* background-color: #ff3e30; */
    transform: scale(0.9);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.payment-options {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 15px;
}

.payment-option-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #db0b1d;
    border-radius: 12px;
    /* padding: 15px; */
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #db0b1d;
    color: #fff;
    text-align: center;
    box-shadow: rgb(50 50 93 / 25%) 0px 50px 100px -20px, rgb(0 0 0 / 30%) 0px 30px 60px -30px, rgb(10 37 64 / 59%) 0px -2px 6px 0px inset;
}

.payment-option-box:hover {
    background-color: #db0b1d;
    color: #fff;
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.payment-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.payment-option-box p {
    font-size: 1em;
    font-weight: bold;

    display: flex;
    align-content: center;
    justify-content: flex-start;
    text-align: center;
    align-items: flex-start;
    margin-top: 3px;
    margin-bottom: 8px;
}

.pay-button {
    background: #db0b1d;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.pay-button:hover {
    background: #218838;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: #000;
}

.exam-fee {
    font-size: 1.2em;
    color: #db0b1d;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}
/* General Modal Styles */
.payment-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 95%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: right;
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* New Credit Card Modal */
#creditCardModal .modal-content {
    width: 90%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 15px;
    direction: rtl;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #db0b1d;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

.pay-button {
    background: #db0b1d;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.pay-button:hover {
    background: #218838;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: #000;
}




.close {
    font-size: 21px;
    cursor: pointer;
  }
  
  .nav-tabs {
    border: none !important;
  }
  .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #ffffff #ffffff #fff;
    border-top: 3px solid blue !important;
  }
  .nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    border-top: 3px solid #eee;
    font-size: 20px;
  }
  .nav-tabs .nav-link:hover {
    border-color: #e9ecef #ffffff #ffffff;
  }
  .nav-tabs {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
  .nav-item {
    display: table-cell;
  }
  .form-control {
    border-bottom: 1px solid #eee !important;
    border: none;
    font-weight: 600;
  }
  .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #8bbafe;
    outline: 0;
    box-shadow: none;
  }
  .inputbox {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
  }
  .inputbox span {
    position: absolute;
    top: 7px;
    left: 8px;
    transition: 0.5s;
  }
  .inputbox label {
      position: absolute;
      top: 7px;
      left: 8px;
      transition: 0.5s;
    }
  .inputbox i {
    position: absolute;
    top: 13px;
    right: 8px;
    transition: 0.5s;
    color: #3f51b5;
  }
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  .inputbox input:focus ~ label {
    transform: translateX(-0px) translateY(-25px);
    font-size: 12px;
  }
  .inputbox input:valid ~ label {
    transform: translateX(-0px) translateY(-25px);
    font-size: 12px;
  }
  .pay button {
    height: 47px;
    border-radius: 37px;
  }
  