@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');



@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400..700&display=swap');

:root {
        --yellow: #1E90FF;
    }

        * {
            font-family: "Philosopher", sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            text-decoration: none;
            outline: none;
            border: none;
            text-transform: capitalize;
            transition: all .2s linear;
        }

        *::selection {
            background: var(--yellow);
            color: #2c3e50;
        }

        html {
            font-size: 62.5%;
            overflow-x: hidden;
        }

        html::-webkit-scrollbar {
            width: 1.4rem;
        }

        html::-webkit-scrollbar-track {
            background: #222;
        }

        html::-webkit-scrollbar-thumb {
            background: var(--yellow);
        }

        body {
            background: #34495e;
            overflow-x: hidden;
            padding-left: 35rem;

        }

        section {
            min-height: 10vh;
            padding: 1rem;
            margin-top: 50px;
        }

        .btn {
            padding: .7rem 3rem;
            background: #2c3e50;
            color: #fff;
            cursor: pointer;
            margin-top: 1rem;
            font-size: 2rem;
            border-radius: 5rem;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 2);
        }

        .btn i {
            padding: 0 .5rem;
            font-size: 1.8rem;
        }

        .btn:hover {
            background: var(--yellow);
        }

        .heading {
            text-align: center;
            margin: 0 6rem;
            font-size: 4rem;
            padding: 1rem;
            border-bottom: .1rem solid #fff4;
            color: #fff;
            text-shadow: 2px 2px 4px rgba(0, 0, 139, 0.7);
        }

        .heading span {
            color: var(--yellow);
        }


        .user img {
            height: 17rem;
            width: 17rem;
            border-radius: 50%;
            object-fit: cover;

            border: .7rem solid var(--yellow);
            float: right;
            margin-top: 30px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 2);

        }



        .home {
            display: flex;
            justify-content: center;
            flex-flow: column;
            padding: 0 15rem;
        }

        .home h3 {
            font-size: 2.5rem;
            color: #fff;
        }

        .home h1 {
            font-size: 5rem;
            color: #fff;
            text-shadow: 2px 2px 4px rgba(0, 0, 139, 0.7);
        }

        .home h1 span {
            color: var(--yellow);
        }


        .about .row {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            padding: 1rem 0;
        }

        .about .row .info {
            flex: 1 1 48rem;
            padding: 2rem 1rem;
            padding-left: 6rem;
        }

        .about .row .info h3 {
            font-size: 2rem;
            color: var(--yellow);
            padding: 1rem 0;
            font-weight: normal;
        }

        .about .row .info h3 span {
            color: #eee;
            padding: 0 .5rem;
        }

        .about .row .counter {
            flex: 1 1 48rem;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        .about .row .counter .box {
            width: 20rem;
            background: #222;
            text-align: center;
            padding: 2rem;
            margin: 2rem;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 2);
            border-radius: 10px;

        }

        .about .row .counter .box span {
            font-size: 4rem;
            color: var(--yellow);
        }

        .about .row .counter .box h3 {
            font-size: 2rem;
            color: #fff;
        }

        .education .box-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 1rem 0;
            padding-left: 3rem;

        }

        .education .box-container .box {
            width: 27rem;
            margin: 2rem 1rem;
            padding-left: 2rem;
            border-left: .2rem solid #fff;
            position: relative;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 2);
            border-radius: 0px 10px 10px 0px;
        }


        .education .box-container .box span {
            font-size: 2rem;
            background: #222;
            color: #fff;
            border-radius: 5rem;
            padding: .5rem 2.5rem;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 2);
        }

        .education .box-container .box h3 {
            font-size: 2.4rem;
            color: #fff;
            padding-top: 1.5rem;
        }

  /*      .education .box-container .box p {
            font-size: 2rem;
            color: #eee;
            padding: 1rem 0;

        }
*/
        .education .box-container .box i {
            position: absolute;
            top: -1.5rem;
            left: -2.5rem;
            height: 5rem;
            width: 5rem;
            border-radius: 50%;
            line-height: 5rem;
            text-align: center;
            font-size: 2rem;
            color: #fff;
            background: var(--yellow);
        }


.education table{
    color: white;
    direction: rtl;
}
.education table th, .education table td{
    padding: 0px 5px;
    font-size: 1.6rem;
    font-family: 'arabic_text' , serif;
}

        .footer-row {
            height: 30px;
            font-weight: bold;


        }
        .books_head {
            background-color: #39995e;
        }

        .contact .row {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .contact .row .content {
            flex: 1 1 30rem;
            padding: 4rem;
            padding-bottom: 0;
        }

        .contact .row form {
            flex: 1 1 45rem;
            padding: 2rem;
            margin: 2rem;
            margin-bottom: 4rem;
        }

        .contact .row form .box {
            padding: 1.5rem;
            margin: 1rem 0;
            background: #34443e;
            color: #fff;
            text-transform: none;
            font-size: 1.7rem;
            width: 100%;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 2);
        }

        .contact .row form .box::placeholder {
            text-transform: capitalize;
        }

        .contact .row form .message {
            height: 15rem;
            resize: none;

            box-shadow: 2px 2px 5px rgba(0, 0, 0, 2);
        }

        .contact .row .content .title {
            text-transform: uppercase;
            color: #fff;
            font-size: 3rem;
            padding-bottom: 2rem;
        }

        .contact .row .content .info h3 {
            display: flex;
            align-items: center;
            font-size: 2rem;
            color: #eee;
            padding: 1rem 0;
            font-weight: normal;
        }

        .contact .row .content .info h3 i {
            padding-right: 1rem;
            color: var(--yellow);
        }

        .nk {
            text-align: center;
        }

        /* media queries  */

@media (max-width:1200px) {

            html {
                font-size: 55%;
            }

            .home {
                padding: 1rem 4rem;
            }

        }

@media (max-width:991px) {

            /*   header{
       left:-120%;
   }

   header.toggle{
    left:0%;
   }  */

            body {
                padding: 0;
            }

        }

@media (max-width:768px) {

            html {
                font-size: 50%;
            }
            /*
header{
        width: 100vw;
    }  */

        }

@media (max-width:400px) {

            /*    header{
        width: 100vw;
    } */

            .heading {
                margin: 0 3rem;
            }

            .about .row .counter .box {
                width: 100%;
            }

            .education .box-container .box {
                width: 100%;
            }

 

            .contact .row form {
                margin: 3rem 0;
            }

        }
        .p {
            font-size: 15px;
            color: white;
        }
        .tables-wrapper {
            display: flex;
            /* Use Flexbox */
            flex-wrap: wrap;
            /* Allow wrapping */
            justify-content: space-between;
            /* Space between tables */
        }

        .tables-wrapper table {
            flex: 0 0 48%;
            /* Each table takes up about half the width */
            margin-bottom: 20px;
            /* Add some margin for spacing */
        }

        /* Media Query for devices with max width of 600px */
@media (max-width: 600px) {
            .tables-wrapper {
                flex-direction: column;
                /* Stack tables vertically on very small screens */
            }
            .tables-wrapper table {
                flex: 1 1 100%;
                /* Each table takes full width */
            }
        }
        .urdu-font {
            font-family: 'Noto Nastaliq Urdu', serif;
        }

        .english-font {
            font-family: "Philosopher", sans-serif;
        }
        #toggle-btn {
            padding: 10px;
            font-size: 15px;
            border-radius: 5px;
        }
        iframe {
            width: 100%;
            height: 550px;
            margin-left: -10px;

        }

        /* footer section styling */
        footer {
            background: #111;
            padding: 15px 23px;
            color: #fff;
            text-align: center;
            font-size: 13px;
        }
        footer span a {
            color: crimson;
            text-decoration: none;
        }
        footer span a:hover {
            text-decoration: underline;
        }

    </style>
    <style>
@font-face {
        font-family: 'urdu_text';
        src: url('fonts/urdu_text.ttf') format('truetype');
    }
@font-face {
        font-family: 'arabic_text';
        src: url('fonts/arabic_text.ttf') format('truetype');
    }


        .container {
            max-width: 800px;
            margin: 10px auto;
            background-color: #e0f7fa;
            padding: 10px;
            border-radius: 10px;
            box-shadow: 0 5px 10px rgba(0,0,0,0.3);
            direction: rtl;
        }

        .form-box {
            background: #fff;
            padding: 5px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
        }

        .form-box h4 {
            text-align: center;
            color: #28a745;
            font-size: 24px;

            font-family: "arabic_text" , serif;
        }

        .row {
            display: flex;
            flex-wrap: wrap;

        }

        .row > div {
            flex: 1;
            padding: 1px 5px;
            font-size: 18px;
            font-family: "urdu_text" , serif;
        }

        .table {
            width: 100%;
            border-collapse: collapse;
            background-color: #fff;
            margin-bottom: 0px;
        }

        .table th,
        .table td {
            border: 1px solid #dee2e6;
            padding: 3px 8px;
            text-align: center;
            font-size: 18px;
            color: #000;
            font-family: "urdu_text" , serif;
        }

        .table thead {
            background-color: #f1f1f1;

        }

        .table tfoot {
            background-color: #d1ecf1;
            font-weight: bold;
            font-family: "arabic_text" , serif;
        }

        .fail {
            color: red;
            font-weight: bold;
        }

        .btn-print {
            display: block;
            margin: 5px auto 0 auto;
            background: #34443e;
            color: #fff;
            border: none;
            padding: 5px 10px;
            font-size: 18px;
            cursor: pointer;
            border-radius: 5px;
            box-shadow: 0px 5px 5px rgba(0,0,0,1);
            transition: background 0.3s;
        }

        .btn-print:hover {
            background: #218838;
        }
        