html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: url(Images/Html.jpg.png);
    background-repeat: none;
    background-size: cover;
}

body {
    margin: auto;
    padding: 0;
    max-width: 126rem;
    overflow-x: hidden;
}

@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: 60rem;
    margin: 0;
    background-color: #00152a;
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
}

.box1 .textbox {
    width: 60rem;
    height: 60rem;
    margin: 0;
    padding-top: 20rem;
    padding-left: 20rem;
    box-sizing: border-box;
    /* background-color: white; */
}

.box1 h1 {
    color: white;
    width: 35rem;
    line-height: 3.5rem;
    font-size: 3.5rem;
    text-transform: uppercase;
}

.box1 p {
    color: white;
    width: 40rem;
    line-height: 1.5rem;
    word-spacing: 0.1rem;
    font-size: 1.2rem;
}

.box1 .actionbox {
    width: 19rem;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    font-family: MyFont1;
    border-radius: 5rem;
    margin-top: 3rem;
    box-sizing: border-box;
    border: 0.2rem solid rgba(209, 54, 54, 0.683);
    padding: 2rem 2rem 2rem 2rem;
}

.box1 .actionbox:hover {
    cursor: pointer;
    background-color: rgba(209, 54, 54, 0.683);
}

.image-box {
   width: 70rem;
   height: 60rem;
   box-sizing: border-box;
   overflow: hidden;
   position: relative;
}


.image-box img {
    width: 680px;
    position: absolute;
    object-fit: cover;
    margin-top: 7rem;
    overflow: hidden;
}


/* Box2 */

.box2 {
    width: 100%;
    height: 50rem;
    display: flex;
    box-sizing: border-box;
    background-color: #e6e6e6;
}

.box2a {
    width: 63rem;
    height: 40rem;
    padding-top: 9rem;
    padding-left: 23rem;
    position: relative;
    box-sizing: border-box;
    /* background-color: #4d4c4c; */
}

.box2a1 {
    width: 33rem;
    height: 25rem;
    position: absolute;
    overflow: hidden;
    background-color: #000e1d;
}

.box2a1 img {
    width: 33rem;
    height: 25rem;
    object-fit: cover;
    opacity: 10%;
}

.box2a2 {
    width: 25rem;
    height: 33rem;
    position: absolute;
    left: 35rem;
    background-color: #95caff;
}

.box2a2 img {
    width: 25rem;
    height: 33rem;
    object-fit: cover;
    opacity: 70%;
}

.box2b {
    width: 63rem;
    height: 40rem;
    padding-top: 7rem;
    padding-left: 2rem;
    box-sizing: border-box;
    /* background-color: #a7a7a7; */
}

.box2b h1 {
    width: 30rem;
    line-height: 2.5rem;
    font-size: 2.5rem;
}

.box2b p {
    width: 40rem;
    line-height: 1.8rem;
    font-size: 1.3rem;
}

.box2 .actionbox{
    margin-top: 4rem;
}

.box2b .actionbox a {
    width: 20rem;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    font-family: MyFont1;
    cursor: pointer;
    box-sizing: border-box;
    padding: 1.8rem 3.5rem 1.8rem 3.5rem;
    background-color: rgba(209, 54, 54, 0.683);
}

.box2b .actionbox a:hover {
    background-color: rgba(207, 0, 0, 0.893);
}


/* Box 3 */

.box3 {
    width: 100%;
    height: 55rem;
    /* display: block; */
    position: relative;
    overflow: hidden;
    background-color: #00152a;
}

.box3 .textbox {
    width: 100%;
    height: 55rem;
    z-index: 1;
    position: absolute;
}

.box3a {
    width: 100%;
    height: 15rem;
    padding-top: 10rem;
    box-sizing: border-box;
    /* background-color: white; */
}

.box3a h1 {
    margin: auto;
    width: 40rem;
    color: white;
    line-height: 2.5rem;
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
}

.box3b {
    display: grid;
    padding-top: 5rem;
    justify-content: center;
    grid-template-columns: repeat(3, 27rem);
}

.box3b .card {
    width: 25rem;
    height: 27rem;
    position: relative;
    background-color: rgba(209, 54, 54, 0.683);
}

.box3 .image {
    position: absolute;
}

.box3b .image img{
    width: 25rem;
    position: absolute;
    opacity: 40%;
    /* background-color: rgba(209, 54, 54, 0.683); */
}

.box3b .card .content{
    width: 25rem;
    height: 27rem;
    position: absolute;
    box-sizing: border-box;
    z-index: 1;
    background-image: linear-gradient(rgba(209, 54, 54, 0), rgb(209, 54, 54)80%);
}

.box3b .card .content img {
    width: 12rem;
    margin-left: 6rem;
    margin-top: 5rem;
}

.box3b .card .content h1 {
    width: 20rem;
    line-height: 2.2rem;
    font-size: 1.8rem;
    text-align: center;
    color: white;
    font-family: MyFont;
    letter-spacing: 0.05rem;
    margin: auto;
}

.background-image {
    width: 60rem;
    margin-top: 0.1rem;
    position: absolute;
    top: 11rem;
    left: 80rem;
    opacity: 40%;
}


/* Box4 */

.box4 {
    width: 100%;
    height: 55rem;
    display: flex;
    border: 0.1rem solid black;
    box-sizing: border-box;
    background-color: #e6e6e6;
}

.box4a {
    width: 63rem;
    height: 55rem;
    box-sizing: border-box;
    /* background-color: #95caff; */
}

.box4a .image {
    width: 40rem;
    height: 41rem;
    box-sizing: border-box;
    background-color: #000e1d;
    margin-top: 6.8rem;
    margin-left: 22rem;
}

.box4a .image img {
    width: 40rem;
    height: 41rem;
    object-fit: cover;
    opacity: 60%;
}

.box4b {
    width: 63rem;
    height: 55rem;
    padding-top: 7rem;
    padding-left: 2rem;
    box-sizing: border-box;
    /* background-color: #151f29; */
}

.box4b h1 {
    width: 30rem;
    line-height: 2.5rem;
    font-size: 2.5rem;
}

.box4b p {
    width: 40rem;
    line-height: 2rem;
    font-size: 1.3rem;
}

.boxb1 {
    width: 40rem;
    height: 10rem;
    box-sizing: border-box;
    text-align: center;
    padding-top: 3.2rem;
    transition: transform 0.3s ease;
    background-color: rgba(209, 54, 54, 0.683);
}

.boxb1 a {
    width: 19rem;
    color: white;
    font-size: 2.4rem;
    text-align: center;
    font-family: MyFont1;
    cursor: pointer;
    text-transform: uppercase;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.boxb1:hover, a:hover {
    color: black;
    transform: translateY(-10px);
}


/* Box5 */

.box5 {
    width: 100%;
    height: 55rem;
    display: block;
    position: relative;
    background-color: #00152a;
}

.box5a {
    width: 100%;
    height: 15rem;
    padding-top: 12rem;
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    /* background-color: white; */
}

.box5a h1 {
    margin: auto;
    width: 50rem;
    color: white;
    line-height: 5rem;
    font-size: 4rem;
    text-align: center;
    letter-spacing: 0.02rem;
    font-family: MyFont;
    background: linear-gradient(45deg,white 10%, rgb(0, 81, 255));
    background-clip: text;
    color: transparent; 
}

.box5a a {
    display: block;
    width: 25rem;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    font-family: MyFont;
    cursor: pointer;
    box-sizing: border-box;
    padding: 1.8rem 3.5rem 1.8rem 3.5rem;
    background-color: rgba(209, 54, 54, 0.683);
    margin: auto;
    margin-top: 5rem;
}

.box5b {
    width: 100%;
    height: 55rem;
    position: absolute;
}

.box5b .image{
   background-image: url(Images/Technology\ is\ a\ worthy\ investment.jpg);
   background-size: cover;
   width: 126rem;
   height: 55rem;
   opacity: 20%;
   background-attachment: fixed;
}

.box5b .card {
    width: 25rem;
    height: 27rem;
    padding-top: 17rem;
    box-sizing: border-box;
    background-color: rgba(209, 54, 54, 0.683);
}

.box5b .textbox {
    width: 100%;
    height: 10rem;
    padding-left: 3rem;
    padding-right: 2rem;
    padding-top: 1rem;
    box-sizing: border-box;
    background-color: white;
}

.box5b .textbox h1 {
    margin: 0;
    width: 40rem;
    color: black;
    line-height: 2.5rem;
    font-size: 1.5rem;
    text-align: left;
}

.box5b .textbox p {
    margin-top: 0;
    padding-top: 0;
}



/* Box6 */

.box6 {
    width: 100%;
    height: 55rem;
    padding-top: 10rem;
    padding-left: 22rem;
    box-sizing: border-box;
    background-color: #e6e6e6;
}

.box6 h1 {
    margin: 0;
    font-size: 3.5rem;
}

.box6 .displaybox {
    display: grid;
    margin-top: 2rem;
    grid-template-columns: repeat(3, 35rem);
}

.displaybox .card {
    width: 35rem;
    height: 25rem;
    position: relative;
    border: black solid 0.1rem;
    background-color: #00152a;
}

.displaybox .card:hover {
    cursor: pointer;
}

.displaybox .card .image {
    width: 35rem;
    height: 25rem;
    position: absolute;
    object-fit: cover;
}

.displaybox .card .image img {
    width: 35rem;
    height: 25rem;
    opacity: 17%;
    cursor: pointer;
    object-fit: cover;
}

.displaybox .card .text {
    width: 35rem;
    height: 25rem;
    position: absolute;
    box-sizing: border-box;
    z-index: 1;
    text-align: center;
}

.displaybox .card .text h1 {
    width: 30rem;
    line-height: 2.5rem;
    font-size: 2rem;
    text-align: center;
    color: black;
    font-family: MyFont;
    letter-spacing: 0.05rem;
    margin: auto;
    text-transform: uppercase;
    margin-top: 8rem;
    color: white;
}

.displaybox .card .text h1:hover {
    transform: translateY(-10px);
}

.displaybox .card .image img:hover {
    opacity: 100%;
}



/* Pagination */

.page-box {
    width: 100rem;
    height: 10rem;
    padding-top: 3rem;
    padding-left: 43rem;
    text-align: center;
    justify-content: center;
    font-family: MyFont1;
    box-sizing: border-box;
    /* background-color: #95caff; */
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination button {
    border: none;
    background-color: rgba(209, 54, 54, 0.683);
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination button:disabled {
    background-color: rgba(209, 54, 54, 0.37);
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background-color: rgba(177, 0, 0, 0.683);
}

.pagination .page-number {
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #f8f9fa;
}



/* Footer */

.box7 {
    width: 100%;
    height: 35rem;
    display: block;
    padding-top: 7rem;
    box-sizing: border-box;
    background-color: #00152a;
}

.box7 .textbox {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 23rem);
}

.box7 .textbox  .card {
    width: 26rem;
    height: 25rem;
    padding-left: 5rem;
    box-sizing: border-box;
    /* background-color: rgba(209, 54, 54, 0.37); */
}

#card1 {
    padding-left: 0;
}

.box7 h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1rem;
}

.box7 p {
    width: 18rem;
    color: white;
    line-height: 2rem;
    font-size: 1.3rem;
}

.box7 a {
    color: white;
    display: block;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-family: MyFont;
}

input {
    width: 22.4rem;
    height: 4rem;
    border-radius: 0;
    outline: none;
    border: 0;
    font-size: 1.2rem;
    font-style: italic;
    box-sizing: border-box;
    text-align: center;
}

.box7 button {
    width: 22.4rem;
    height: 4rem;
    border-radius: 0;
    outline: none;
    border: 0;
    color: white;
    font-family: MyFont1;
    font-size: 1.3rem;
    box-sizing: border-box;
    background-color: rgba(209, 54, 54, 0.683);
}




