:root{
    --primary-color: #7634BF;
    --second-color: #FFFFFF;
    --dark-font-color: #2F2F2F;
    --purple-font-color: #270A47;
    --light-font-color: #FFFFFF;
    --background-color: #270A47;
    --background-dark-color: #1C0633;
    --background-grey-color: #EBEBEB;
    --background-light-color: #FFFFFF;
    --button-color: #7634BF;
    --button-hover-color: #612c9c;
    --button-phone-color: #8968AD;
}
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Arimo", sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1{
    font-size: 2em;
    line-height: 1.3em;
    font-weight: bold;
}

p {
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Forms */
input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button, input[type=submit] {
    padding: 10px 20px;
    border: none;
    background-color: var(--button-color);
    color: var(--light-font-color);
    cursor: pointer;
    border-radius: 50px;
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
    font-family: "Arimo";
}
input[type=submit] {
    width: 150px;
}

button:hover, input[type=submit]:hover {
    background-color: var(--button-hover-color);
}

#modal{
    display: none;
}
#modal .content{
    z-index: 4;
    width: 90vw;
    padding: 3em 2em;
    position: fixed;
    top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    background: var(--background-light-color);
    border-radius: 20px;
    overflow: hidden;
}
#modal .backdrop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1;
}
#modal.active{
    display: block;
}

#modal .callback{
    background-color: var(--primary-color);
}
#modal .callback.active{
    background-color: var(--background-color);
}

@media (min-width: 576px){
    h1, #stats h1{
        font-size: 1.6em;
    }
}
@media (min-width: 768px){
    h1, #stats h1{
        font-size: 2em;
    }
    #modal h4{
        font-size: 1.5em;
    }
    #modal button, #modal input[type=submit]{
        font-size: 1em;
    }
    #modal .content{
        max-width: 600px;
    }
}
@media (min-width: 992px){
    h1, #stats h1{
        font-size: 2.2em;
    }
    p, #stats p{
        font-size: 1.2em;
    }
}
@media (min-width: 1200px){
    h1,   #stats h1{
        font-size: 3em;
    }
    p, #stats p{
        font-size: 1.8em;
    }
    button, #callback button, #applications button , input[type=submit]{
        padding: 15px 20px;
        font-size: 1.3em;
    }
}

@media (min-width: 1400px){
    h1,  #stats h1{
        font-size: 3vw;
    }
    p, #stats p{
        font-size: 1.8vw;
    }
    button, #callback button, #applications button, input[type=submit] {
        padding: 15px 20px;
        font-size: 1.3vw;
    }
}