* {
    font-family:Arial, Helvetica, sans-serif;
    box-sizing:border-box;
    
}

body{
    margin: 0;
}

:root {
    --accent-clr: rgb(52, 133, 255);
    --accent-clr-2: rgb(19, 50, 90);
    --txt-clr: black;
    --bg-clr: #f0f8ff;
    --accent-clr-3: #0056b3;
    --sizer: 2rem;
    --para-size: 1.4rem;
    --wide-size: 2.2rem;
    --para-size-s: 1.1rem;
}

.hero {
    position: relative;
    background-image: url('/images/enrollment.webp'); /* Replace with your actual image path */
    background-size: cover;
    background-position: bottom;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 600px) {
    .hero {
        background-image: url('/images/enrollment-small.webp')
    }
}



.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero h1 {
    position: relative;
    color: white;
    font-size: 2.5em;
    z-index: 1;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

section {
    background: var(--bg-clr);
    color: var(--bg-clr);
    padding: 2rem;
    max-width: 80%;
    margin: 2rem auto;
    border-radius: 2rem;
    border: 1px solid var(--accent-clr);
}

section h2 {
    font-size: var(--sizer);
    color:var(--txt-clr);
}

section h2 span {
    color:var(--accent-clr);
}

section h3 {
    font-size: var(--para-size);
    color:var(--txt-clr);
}

section p {
    font-size:var(--para-size);
    color:var(--txt-clr);
}


section .intro-text {
    text-decoration:underline;
    letter-spacing: 2px;
}

section .cta a {
    text-decoration: none;
    color: white;
    font-size:var(--para-size-s);
    
}

section .cta {
    display: block;
    width: 100%;
    padding: 0.9rem;
    margin-top: 1.5rem;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align:center;
}


section .cta:hover {
    background-color: var(--accent-clr-3);
}

@media (min-width: 1123px) {
    section p {
        font-size : var(--para-size);
    }

    section  h3  {
        font-size: var(--para-size)
    }

    section .cta a{
        font-size:var(--para-size);
        
    }

        section .cta {
        max-width: 30%;
        margin: auto
        }

    section h2 {
        font-size:var(--wide-size);
    }
}





form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color:var(--accent-clr-2);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;

}


form h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;

}


fieldset {
    border: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

legend {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color:var(--bg-clr)
}


#application-form label {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
    color:var(--bg-clr)
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

input[type="file"] {
    padding: 0.5rem 0;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.9rem;
    margin-top: 1.5rem;
    background-color: #007bff;
    color: white;
    font-size:var(--para-size-s);
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--accent-clr-3);


}

@media (min-width: 1024px) {
    form {
        padding: 1rem;
    }

    button[type="submit"]{
        font-size:var(--para-size);
    }

    label {
        font-size: 0.95rem;
    }

    input,
    select,
    textarea {
        font-size: 0.95rem;
    }
}

footer {
            background: rgb(9, 16, 46);
            
          }

          footer .footer-title {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            align-items:top;
          }

          footer .logo {
            display: flex;
            align-items:center
          }

          footer h2 {
            color:var(--bg-clr);
            margin: 0 0 0.5rem 0;
            font-size: var(--para-size-s)
          }          

          footer .logo img {
            width: 60px;
          }


          

          footer p {
            color: var(--accent-clr);
            letter-spacing: 2px;
            line-height: 20px;
            font-weight: bold;
            font-size: 1rem;
            cursor:pointer;
            margin: 0 0 1rem 0;
          }

          footer .social {
            display: flex;
            flex-direction:column;
            padding: 0.5rem 0 0 0;
          }

          footer .social i {
            font-size: 1.2rem;
            color: var(--accent-clr);
            box-shadow: 0px 0px 5px rgba(97, 108, 255, 0.9);
            border-radius: 15px;
            margin: 0.5rem 5px 0 0;
            padding: 4px;
            transition: all 0.3s ease;
          }

          footer .social i:hover {
            background: var(--bg-clr);
          }


          footer .nav-links {
            display: grid;
            grid-template-columns: 2fr 1fr;
            align-items:top;
            margin: 2rem 0 3.9rem 0;
            padding: 0 0 0 2rem;
          }

          footer .nav-links div {
            display: flex;
            flex-direction:column;
            letter-spacing: 2px;
          }


          footer .nav-links div a {
            color: var(--accent-clr);
            margin: 0 0 1rem 0;
            transition: all 0.3s ease;
          }


          footer .nav-links div a:hover{
            color:var(--bg-clr);
          }
          

          footer .copyright {
            text-align: center;
            padding: 20px;
            background-color: #eaf4f7;
            font-size: 0.9em;
            color: #555;
          }

          @media (min-width: 1123px) {

            footer h2 {
                font-size: var(--sizer)
            }

            footer .footer-title {
                grid-template-columns: 1fr 1fr;               
            }

            footer .nav-links {
                grid-template-columns: 1fr 1fr;
            }

            .footer-links {
               margin-left: 20rem;
            }

            footer .social i {
                font-size: 1.5rem;
            }
          }