h1 {
    font-family: "Tiempos Headline", seris;
}

h3 {
    font-family: "Tiempos Headline", seris;
}

ul.custom-bullets {
    list-style-type: disc; 
    list-style-position: inside; 
}

main {
    flex-grow: 1;
    padding: 20px;
    margin: 10px auto;
    min-width: 30%;
    max-width: 50%;
    background-color: #fff;
}

.container {
    width: 100%;
    padding: 50px 0;
}

.container-fluid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.info-box {
    background: linear-gradient(135deg, #ffffff, #f4f4f4); 
    border-left: 4px solid #007bff; 
    border-right: none; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    border-radius: 12px; 
    padding: 24px; 
    font-family: 'Arial', sans-serif; 
    font-size: 16px;
    color: #333; 
    max-width: 800px; 
    line-height: 1.6; 
}

.info-box p {
    line-height: 1.8;
    color: #2a3e52;
}

.info-box-right {
    background: linear-gradient(135deg, #ffffff, #f4f4f4); 
    border-right: 4px solid #007bff; 
    border-left: none; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    border-radius: 12px; 
    padding: 24px;
    position: relative;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #333;
    max-width: 800px;
    line-height: 1.6;
}

.info-box-right p {
    line-height: 1.8;
    color: #2a3e52;
}

.badge-help {
    display: inline-block;
    background-color: #e0f7fa;
    color: #00796b;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 10px;
    width: auto;
  	margin-top: 10px;
}

.badge-help-teachers {
    display: inline-block;
    background-color: #e0f7fa;
    color: #00796b;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 10px;
    width: auto;
  	margin-top: 10px;
}

.badge-help-two {
    display: inline-block;
    background-color: #e0f7fa;
    color: #00796b;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 10px;
    width: auto;
    margin-top: 10px;
}

.additional-text {
    font-size: 16px;
    color: #2a3e52;
    margin-top: 20px;
    line-height: 1.5;
}

p {
    margin: 10px 0;
}

p strong {
    font-weight: bold;
}

p em {
    font-style: italic;
}

section {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

section p {
    margin: 10px 0;
}

section p a {
    color: #007bff;
    text-decoration: none;
}

section p a:hover {
    text-decoration: none;
}

section p em {
    color: #666;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.process-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 100px;
    background-color: #ffffff;
    position: relative;
}

.process-container::before {
    content: '';
    position: absolute;
    top: 27%;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #6c7a89;
    z-index: 0;
}

.process-step {
    text-align: center;
    width: 20%;
    position: relative;
    z-index: 1;
    background-color: #ffffff;
	opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.process-step.show {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
    border-radius: 50%;
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin-bottom: 10px;
}

.process-step.show {
    opacity: 1;
    transform: translateY(0);
}

.process-step i {
    font-size: 40px;
    color: #6c7a89;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: #7f8c8d;
}

.container-two {
    display: flex;
    height: 100%;
    width: 100%;
}

.process-container-two {
    width: 100%;
    padding-left: 0;
    padding: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.number {
    font-size: 24px;
    font-weight: bold;
    color: #169de0;
    margin-right: 20px;
    border-left: 2px solid #169de0;
    padding-left: 10px;
}

.step-content {
    max-width: 100%;
}

.step-content h2 {
    margin: 0;
    font-size: 20px;
    color: #2a3e52;
}

.step-content p {
    font-size: 16px;
    color: #55697e;
    margin-top: 0px;
}

.icon {
    font-size: 24px;
    color: #ffffff;
    border: 2px solid #0060df;
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 25px;
    height: 25px;
}

.icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ddd;
}

.icon-search {
    font-size: 24px;
    color: #ffffff;
    border: 2px solid #0060df;
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    background-color: #ddd;
}

.search-container {
    background-color: #f9fbfe;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
}

.search-container p {
    font-size: 14px;
    color: #5a6784;
    margin-bottom: 15px;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #dfe3e9;
    border-radius: 8px;
    font-size: 14px;
}

.search-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    height: 42px;
}

.search-form button:hover {
    background-color: #0056b3;
}

.search-container a {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.search-container a:hover {
    text-decoration: none;
}

.search-container a span {
    color: #007bff;
}

.subject a {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.subject a:hover {
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 12px;
    width: 40%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

.modal-open {
    overflow: hidden;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #888;
    font-size: 24px;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

#modalText {
    font-family: "Tiempos Headline", serif;
    font-size: 22px;
    color: #555;
    margin-bottom: 30px;
}

#resultModal .modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
}

#resultModal .modal-content {
    text-align: center;
    padding: 20px;
}

#resultModal .modal-footer {
    justify-content: center;
}

.phone-input {
    padding: 12px;
    height: 48px;
    width: 65%;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    margin-right: -5px;
    box-sizing: border-box;
}

.call-button {
    padding: 12px 25px;
    height: 48px;
    background-color: #007BFF;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.call-button:hover {
    background-color: #0056b3;
}

.phone-number {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

.working-hours {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

.container-fluid.my-5 .row {
    margin-bottom: 20px; /* Space above the text on mobile/tablet */
}

@media (max-width: 768px) {
    .col-6, .col-md-3 {
        flex: 0 0 auto !important;
      	width: 50% !important;
    }
}

@media screen and (max-width: 400px) {
  	h1, h2, h3 {
        font-size: 18px;
        text-align: center;
    }

    .container {
        padding: 20px 10px;
    }

    .container-fluid {
        flex-direction: column;
        align-items: center;
    }
  
    .badge-help-teachers {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
    }

    .badge-help {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
	   margin-top: 10px;
    }

    .badge-help-two {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
	   margin-top: 10px;
    }
  	
  	.search-container {
        padding: 20px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form input, 
    .search-form button {
        width: 100%;
        margin-bottom: 10px;
    }

    .process-container {
        flex-direction: column;
        padding: 20px;
    }

    .process-step {
        width: 100%;
    }
}

@media screen and (min-width: 401px) and (max-width: 720px) {
  	h1, h2, h3 {
        font-size: 20px;
    }

    .container {
        padding: 30px 15px;
    }

    .container-fluid {
        flex-direction: column;
        gap: 15px;
    }
  
    .badge-help-teachers {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
    }

    .badge-help {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
	   margin-top: 10px;
    }

    .badge-help-two {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
	   margin-top: 10px;
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .process-container {
        flex-direction: column;
        padding: 30px;
    }

    .process-step {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 721px) and (max-width: 768px) {
  	h1, h2, h3 {
        font-size: 22px;
    }

    .container {
        padding: 40px 20px;
    }
  
    .badge-help-teachers {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
       margin-top: 10px;
    }

    .badge-help {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
	   margin-top: 10px;
    }

    .badge-help-two {
       display: inline-block;
       background-color: #e0f7fa;
       color: #00796b;
       padding: 5px 10px;
       border-radius: 5px;
       font-size: 12px;
       margin-bottom: 10px;
       width: auto;
	   margin-top: 10px;
    }
  
  	.search-container {
        padding: 40px;
    }

    .process-container {
        padding: 40px;
        gap: 20px;
    }

    .process-step {
        width: 45%;
    }
}

@media (max-width: 1024px) {
    .container-fluid.my-5 .row {
        flex-direction: column; 
        align-items: center;
    }
  
  	.container {
        padding: 30px;
    }

    .container-fluid {
        flex-wrap: wrap;
        gap: 10px;
    }

    .col-md-6 {
        width: 100%; 
        padding: 20px;
    }

    h1 {
        font-size: 1.6rem; 
    }

    .process-container {
        padding: 40px;
    }

    .process-step {
        width: 40%;
        margin-bottom: 10px;
    }

    .step-content h2 {
        font-size: 1.5rem;
    }

    .step-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .badge-one, .badge-help-two, .badge-help-teachers {
        font-size: 14px;
        padding: 5px 15px; 
        width: auto; 
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .search-form input,
    .search-form button {
        padding: 8px;
        font-size: 12px;
    }

    .modal-content {
        width: 90%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
  	h1, h2, h3 {
        font-size: 24px;
    }

    .container {
        padding: 50px 30px;
    }

    .search-form input, 
    .search-form button {
        font-size: 14px;
    }
  
    .process-container {
        flex-direction: column;
        padding: 20px;
    }

    .process-container::before {
        top: auto;
        left: 50%;
        right: auto;
        bottom: 50px;
        width: 2px;
        height: calc(100% - 100px);
    }

    .process-step {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .process-container {
        flex-direction: column;
        padding: 20px;
    }

    .process-container::before {
        top: auto;
        left: 50%;
        right: auto;
        bottom: 50px;
        width: 2px;
        height: calc(100% - 100px);
    }

    .process-step {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
  	.search-form input,
    .search-form button {
        padding: 8px;
        font-size: 12px;
    }
  
  	.modal-content {
        width: 90%;
        padding: 20px;
    }
  
  	.phone-number {
        font-size: 24px;
    }
  
    .badge-help, .badge-help-two, .badge-teachers {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media screen and (max-width: 1200px) {
    h1, h2, h3 {
        font-size: 26px;
        text-align: center;
    }

    .container {
        padding: 40px 20px;
    }

    .container-fluid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .col-md-6 {
        width: 50%;
        padding: 20px;
    }

    .badge-help-teachers, .badge-help, .badge-help-two {
        display: inline-block;
        background-color: #e0f7fa;
        color: #00796b;
        padding: 10px 15px;
        border-radius: 5px;
        font-size: 14px;
        margin: 10px 0;
    }

    .search-container {
        padding: 30px;
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-form input, 
    .search-form button {
        width: 100%;
        font-size: 14px;
        padding: 10px;
    }

    .process-container {
        display: flex;
        flex-direction: column;
        padding: 40px;
        gap: 20px;
    }

    .process-step {
        width: 100%;
        margin-bottom: 20px;
    }

    .modal-content {
        width: 80%;
        padding: 30px;
    }

    .phone-number {
        font-size: 24px;
    }

    .step-content h2 {
        font-size: 20px;
    }

    .step-content p {
        font-size: 16px;
        line-height: 1.6;
    }
}