html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    overflow-x: hidden;
    background: url(Images/Html.jpg.png);
    background-repeat: none;
    background-size: cover;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 126rem;
    margin: auto;
}

@font-face {
    font-family: MyFont;
    src: url(Poppins-Light.ttf);
}

@font-face {
    font-family: MyFont1;
    src: url(Poppins-Bold.ttf);
}

a {
    font-size: 1.3rem;
    font-family: MyFont1;
    text-decoration: none;
}

h1 {
    font-family: MyFont1;
}

p {
    font-family: MyFont;
}

nav {
    width: 100%;
    max-width: 126rem;
    height: 15rem;
    /* background-color: aqua; */
    position: relative;
    z-index: 999;
    position: fixed;
    overflow-x: hidden;
}

.navbar-box {
    width: 100%;
    height: 10rem;
    background-color: white;
    position: absolute;
    display: flex;
}

.navbar-logo {
    width: 60rem;
    height: 8rem;
    /* background-color: #00152a; */
}

.navbar-logo img {
    width: 120px;
    margin-top: 2.5rem;
    margin-left: 30rem;
}

.navbar-socials {
    width: 65rem;
    height: 8rem;
    padding-top: 2.5rem;
    padding-left: 15rem;
    display: flex;
    box-sizing: border-box;
    /* border: red solid 0.2rem;   */
    /* background-color: aqua; */
}

.social-media a{
    font-size: 1.2rem;
    font-style: italic;
    font-family: MyFont;
    font-weight: bold;
    line-height: 1.5rem;
    color: #4d4c4c;
    letter-spacing: 0.09rem;
}

.social-media a i {
   font-size: 3rem;
}

.contact-info {
    padding-left: 3rem;
    padding-top: -2.5rem;
}

.contact-info p {
    font-family: MyFont;
    font-size: 1.2rem;
    color: #4d4c4c;
    display: block;
    line-height: 2rem;
    margin: 0;
    width: 35rem;
    padding-top: 0.4rem;
    line-height: 1.2rem;
}

.navbar-links {
    width: 100rem;
    height: 5rem;
    background-color: #e0e0e0;
    position: absolute;
    left: 14rem;
    top: 8rem;
    padding-left: 16.5rem;
    padding-top: 1.5rem;
    box-sizing: border-box;
}

.navbar-links a {
    margin-left: 8rem;
    color: #4d4c4c;
}


/* Main */

.box1 {
    width: 100%;
    height: 50rem;
    margin: 0;
    background-color: #00152a;
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
    position: relative;
}

.box1 .textbox {
    width: 100%;
    height: 60rem;
    margin: 0;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    /* background-color: white; */
}

.box1 h1 {
    color: white;
    width: 50rem;
    line-height: 3.5rem;
    font-size: 3.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.box1 p {
    color: white;
    width: 60rem;
    line-height: 1.5rem;
    word-spacing: 0.1rem;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.box1 .actionbox:hover {
    cursor: pointer;
    background-color: rgba(209, 54, 54, 0.683);
}

.image-box {
   width: 100%;
   height: 60rem;
   box-sizing: border-box;
   overflow: hidden;
   position: absolute;
   background: url(Images/School\ Management\ System.jpg);
    background-size: cover;
    opacity: 20%;
}


/* Box 2 */

.box2 {
    width: 100%;
    padding-bottom: 5rem;
    background-color: #e0e0e0;
    margin: 0;
}

.card-wrap {
    width: 90rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-content: space-around;
    margin: auto;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 2rem;
}

.card {
    width: 45rem;
    height: 20rem;
    background-color: #00152a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
}

.card .textbox {
    width: 45rem;
    height: 20rem;
    position: absolute;
    z-index: 1;
}

.card h2 {
    font-family: MyFont;
    font-size: 2rem;
    color: white;
    line-height: 2.2rem;
    margin-top: 6.5rem;
    letter-spacing: 0.1rem;
    transition: 0.3s ease;
}

.card h2:hover {
    cursor: pointer;
    transform: translateY(-10px);
}

.card .image {
    width: 45rem;
    height: 20rem;
    background-size: cover;
    background-position: center;
    position: absolute;
}

.card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    background-size: cover;
    opacity: 25%;
}


/* Footer */

.box4 {
    width: 100%;
    height: 5rem;
    background-color: #00152a;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
}