/* ===== GLOBAL ===== */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
}
.panel
{
    margin-bottom: 0 !important;
}

/*.panel-info>.panel-heading
{
    background:#f47142 !important;
    color: #fff;
}*/

#tableData, #tblCleanSch {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: auto;
}


#tableData td, th, thead {
    border: 2px solid #d9edf7 !important;
    padding: 3px;
}

#tblCleanSch tr, td, th {
    border: 2px solid #111 !important;
    padding: 3px;
}

#tableData td {
	text-align: left;
	font-size: 12px;
}

#tableData th {
	text-align: center;
	font-size: 12px;
}

#tableData form input {
	width: auto;
}

.details h1, .details h2, .details h3, .details h4, .details p {
	text-align: center;
	margin: 0;
	font-weight: bold;
}


/* For Banner Loop */
* {
	margin: 0;
	padding: 0;
}

/*p {
	right: 0;
	z-index: 2000;
}
*/
.nav-menu {
	display: block;
	padding: 0 0 20px 0;
	width: 100%;
}

.nav-menu ul li {
	float: left;
	width: 100%;
}

.main-banner {
	margin: 10px auto;
	width: auto;
	height: 400px;
	background-color: #fff;
	overflow: hidden;
	position:relative;
	border: 4px solid #ddd;
	box-sizing: border-box;
	border-radius: 5px;
}

.main-banner .imgban{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	border-radius: 5px;
	transition: all ease-in-out 500ms;
	-webkit-transition: all ease-in-out 500ms;
	-moz-transition: all ease-in-out 500ms;
	-o-transition: all ease-in-out 500ms;
}


.main-banner #imgban4 {
	background-image: url(schoolPics/daraliyy.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.main-banner #imgban3 {
	background-image: url(schoolPics/darusman.jpg);
	background-size:cover;
	background-position: center;
	background-repeat: no-repeat;
}

.main-banner #imgban2 {
	background-image: url(schoolPics/darumar.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.main-banner #imgban1 {
	background-image: url(schoolPics/darabubakr.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.imgbtn {
	width: 50px;
	height: 100%;
	background-color: #000;
	border-radius: 4px;
	position: absolute;
	top: 0;
	font-size:80px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	z-index: 2100;
	opacity: 0.3;
	cursor: pointer;
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-box-align:center;
    align-items: center;
}

.imgbtn:hover {
	opacity: 0.6;
}

.imgbtn#next {
	right: 0;
}

.fa-arrow-left, .fa-arrow-right{
    font-size: 35px;
    margin: 0 auto;
}

.imgbtn#next .fa-arrow-right{
    right: 0;
}

.imgban-box img{
    position:absolute;
    top:0;
    right:0;
    transform: rotateX(30deg);
    width:100px;
    height:100px;
}

/*First Position*/
#posDiv{
    position:absolute;
    top:6px;
    right:15px;
    text-align:center;
    width: 100px;
    height:135px;
    display: block;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px 10px; 
    background:rgba(0,0,40,.5);
    box-shadow: 9px 8px 5px 0 rgba(0,0,0,.5);
    font-family: 'Acme', sans-serif;
}

#posti1 {
    display:inline-block;
    color: #fff;
    position: absolute;
    top:-5px;
    right:0;
    font-size:75px;
}

#posti1 sup{
    font-size:smaller;
}

#posti2{
    display:inline-block;
    position:absolute;
    font-family:arial;
    top:90px;
    right:0;
    color:#ababab;
    font-size:18px;
    font-weight:bold;
}

.imgban-box h3 {
    font-family: 'Acme', sans-serif;
    color: rgba(0,0,0,.5);
    margin-bottom: 5px;
    font-size: 8vw;
    box-shadow: 9px 8px 5px 0 rgba(0,0,0,.5);
    display: block;
    background-color: rgba(0,0,0,.2);
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px 10px;    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.main-banner .imgban-box p {
	margin-top: -10px;
	padding: 5px;
	font-family: arial;
	font-size: 12px;
	color: #111;
}

.imgban-box {
	top: 350px;
	text-align: center;
	margin: 0 auto;
}

.dots {
	display: inline-block;
	width: 15px;
	height: 15px;
	cursor: pointer;
	background-color: black;
	border-radius: 50%;
	margin-top: 10px;
}

/* For social medial icons */
#facebook {
  /*padding: inherit;*/
  font-size: 30px;
  width: 50px;
  height: 40px;
  text-align: center;
  vertical-align:middle;
  text-decoration: none;
  margin: 5px;
  border-radius: 5px;
}

#facebook:hover {
    opacity: 0.9;
}

#facebook {
  background: #337ab7;
  color: white !important;
}

#days, #hours, #min, #sec{
    font-size:20px;
    font-weight:bold;
}

/*Modal window*/
/*.myModal {
    position:fixed;
    top:50%;
    left:50%;
    display:table;
    transform: translate(-50%,-50%);
}*/

/*Center content of modal form in loading*/
.centerMe{
    display:table;
    width: 100%;
    height:100%;
}

.centerMeChild{
    display:table-cell;
    vertical-align:middle;
}

.modal-content {
    width: inherit;
    height: inherit;
    margin: 0 auto;
}

.bodyContent{
    background-color:transparent !important;
}

.centerMeImage{
    display:flex;
}

.centerMeImage p, .centerMeImage img{
    margin: auto;
}

.centerMeImage p{
    background-color: #fff;
    border-radius: 5px;
    padding: 4px;
    color: red;
}

.alert{
    width: auto;
    height: auto;
    position: fixed;
    top:100px;
    right:0;
    z-index:9999;
}

.profile-container{
	position: relative;
	width: 80%;
	height: 100%;
	padding: 30px;
	background: #fff;
	margin: 0 auto;
}

.img-box img{
	width: 80px;
	height: 100px;
	border-radius: 5px;
	border: 2px solid #ddd;
}

/*Calender title*/
.fc-left h2{
    font-size: 25px !important;
}

/*For resumtion countdown*/
 #days, #hours, #min, #sec{
    font-size:32px;
    color:gray;
}

#resumption{
    text-align:center;
    font-size:24px;
    font-weight:bold;
    color:black;
    margin-top:0;
}

#msgSchool {
    font-size:17px;
    font-weight:bold;
    color:#990000;
    text-align:center;
    font-family:'georgia';
    margin-bottom:0;
}

.footer-main{
    font-weight: 400;
    text-align: left;
    font-family: "Roboto",sans-serif;
    line-height: 1.4;
    color: #000;
    box-sizing: border-box;
    display: block;
    background-color: #efefef;
    padding: 50px 0 100px;
    font-size: 14px;
}

/* ===== Student Profile Card ===== */
.profile-card{
    background: linear-gradient(135deg,#17a2b8,#138496);
    border-radius:16px;
    padding:20px;
    color:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
}

/* Profile Image */
.profile-img-wrapper{
    position:relative;
    width:170px;
    height:170px;
    margin:auto;
}
.profile-img-wrapper img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #fff;
}
.change-photo{
    position:absolute;
    bottom:8px;
    right:8px;
    background:#ffc107;
    color:#000;
    border-radius:50%;
    padding:8px 10px;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.change-photo:hover{
    background:#ffca2c;
}

/* Name */
.profile-title{
    font-size:20px;
    font-weight:700;
    margin-top:10px;
}
.profile-sub{
    font-size:15px;
    opacity:.9;
}

/* Info Cards */
.profile-info{
    background:#fff;
    color:#333;
    border-radius:12px;
    padding:15px;
    margin-bottom:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.profile-info i{
    color:#17a2b8;
    margin-right:6px;
}
.profile-info span{
    font-weight:600;
    display:block;
}
.profile-info small{
    color:#666;
}

/*Check result page background color*/
.body-style{
    background:#eef2f7;
}

/* A4 Sheet */
.a4-sheet{
    width:210mm;
    min-height:297mm;
    margin:25px auto;
    background:#fff;
    padding:20mm;
    box-shadow:0 15px 40px rgba(0,0,0,.18);
    border-radius:10px;
}

/* Header */
.sheet-header{
    display:flex;
    align-items:center;
    border-bottom:4px solid #0d6efd;
    padding-bottom:10px;
    margin-bottom:18px;
}
.school-logo{width:75px;}
.school-info{text-align:center;flex:1;}
.school-info > h2{margin:0;color:#0d6efd;font-weight:700;}
.school-info small{color:#555;}

/* Profile */
.profile-area{
    display:flex;
    gap:20px;
    margin-bottom:15px;
}
.profile-img-wrapper-result{
    width:160px;
    text-align:center;
}
.profile-img-wrapper-result img{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #0d6efd;
    box-shadow:0 6px 18px rgba(13,110,253,.3);
}

/* Profile Info Box */
.profile-info{
    flex:1;
    background:#f4f8fb;
    padding:12px;
    border-radius:8px;
    border:1px solid #cfe2ff;
}
.profile-info table{
    margin:0;
}
.profile-info th{
    background:#e7f1ff;
    color:#0d6efd;
    width:35%;
}

.profile-info th, .profile-info td{
    padding: 5px !important;
}

/* Section Titles for result*/
.section-title-result{
    background:#0d6efd;
    color:#fff;
    padding:6px 12px;
    font-weight:600;
    border-radius:6px 6px 0 0;
    margin-top:10px;
}

/* Tables */
.table{
    border:1px solid #cfe2ff;
}
.table th, .table td{
    border:1px solid #cfe2ff !important;
}
.table thead th{
    background:#e7f1ff;
    color:#0d6efd;
}

/* Attendance – ONE LINE */
.attendance-bar{
    display:flex;
    justify-content:space-around;
    background:linear-gradient(90deg,#0d6efd,#20c997);
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin:10px 0;
    font-weight:600;
}
.attendance-bar div{text-align:center;}

/* Arabic */
.subject-ar{
    font-family:'Amiri', serif;
    direction:rtl;
    text-align: right !important;
}

/* Comments Side-by-side */
.comments-row{
    display:flex;
    gap:15px;
    margin-top:20px;
}
.comment-box{
    flex:1;
    padding:12px;
    border-radius:8px;
    background:#f4f8fb;
    border-left:6px solid #0d6efd;
}
.comment-box.green{
    border-left-color:#20c997;
}

/* Dates Side-by-side */
.date-row{
    display:flex;
    gap:15px;
    margin-top:30px;
}
.date-box{
    flex:1;
    padding:12px;
    background:#f4f8fb;
}


/* Signatures */
.signatures{
    display:flex;
    justify-content:space-between;
    margin-top:40px;
}
.signature{
    width:30%;
    text-align:center;
}
.signature-line{
    border-top:2px solid #555;
    margin-top:35px;
    padding-top:6px;
    font-weight:600;
}

/* Print */
@media print{
    body{background:#fff;}
    .a4-sheet{box-shadow:none;margin:0;}
}

/* ===============================
   GLOBAL
================================ */
.index-body{
    padding-top:70px;
    font-family:"Poppins","Segoe UI",sans-serif;
    font-size:19px;
    line-height:1.85;
    color:#222;
    background:#fff;
}

/* ===============================
   NAVBAR
================================ */
.main-navbar{
    background:#2F3E2E;
}

.main-navbar .navbar-brand,
.main-navbar .nav-link{
    color:#fff !important;
    font-weight:600;
}

.main-navbar .nav-link.active{
    background:#C8A24A;
    color:#2F3E2E !important;
    font-weight:bold;
    border-radius:4px;
}

.main-navbar .nav-link:hover{
    color:#C8A24A !important;
}

/* Toggler icon */
.navbar-toggler{
    border:none;
}
.navbar-toggler i{
    color:#fff;
    font-size:20px;
}

/* Gold button */
.btn-gold-login{
    background:#C8A24A;
    color:#000;
    font-weight:bold;
    border:none;
    padding:6px 16px;
}
.btn-gold-login:hover{
    background:#b08f3f;
    color:#000;
}

/* Mobile */
@media (max-width: 991px){
    .btn-gold-login{
        width:100%;
        margin-top:10px;
    }
}


/* ===============================
   SECTIONS
================================ */
.section{
    width:100%;
    padding:50px 7%;
    margin-top: 30px;
}
.section-bg{
    background:#F4F4F4;
}
.section-dark{
    background:#1F1F1F;
    color:#fff;
}
.section-primary{
    background:#2F3E2E;
    color:#fff;
}

/* ===============================
   TITLES
================================ */
.section-title{
    text-align:center;
    margin-bottom:45px;
}
.section-title h2{
    font-size:36px;
    font-weight:800;
    margin-bottom:10px;
}
.section-title span{
    display:block;
    width:60px;
    height:4px;
    background:#C8A24A;
    margin:10px auto 15px;
}
.section-title p{
    font-size:18px;
    max-width:800px;
    margin:0 auto;
}
.title-white h2,
.title-white p{
    color:#fff;
}

/*---------------------------------
TOP BAR
------------------------------------*/
/* ================= TOP BAR ================= */
/*.top-bar{*/
/*    background: linear-gradient(90deg,#0F3D2E,#145A43);*/
/*    color:#fff;*/
/*    font-size:14px;*/
/*    padding:8px 0;*/
/*}*/

/*.top-bar i{*/
/*    color:#C8A24A;*/
/*    margin-right:6px;*/
/*}*/

/*.btn-gold-top{*/
/*    background:#C8A24A;*/
/*    color:#000;*/
/*    font-weight:600;*/
/*    border:none;*/
/*}*/

/*.btn-gold-top:hover{*/
/*    background:#b8933f;*/
/*}*/

/* ===============================
   HERO
================================ */
.hero-section{
    height:92vh;
    background:url("/../../schoolPics/hero-student-reading-quran.png") center/cover no-repeat;
    margin-top: -14px;
}
.hero-overlay{
    height:100%;
    background:rgba(47,62,46,.85);
    display:flex;
    align-items:center;
    text-align:center;
}
.hero-section h1{
    font-size:40px;
    font-weight:900;
    color:#fff;
}
.hero-section h3{
    font-size:26px;
    color:#C8A24A;
}
.hero-section p{
    font-size:22px;
    max-width:900px;
    margin:20px auto 35px;
    color:#eee;
}

/* ===============================
   BUTTONS
================================ */
.btn-gold{
    background:#C8A24A;
    color:#000;
    font-weight:700;
    padding:14px 34px;
    border:none;
}
.btn-outline-light{
    border:2px solid #fff;
    color:#fff;
    padding:14px 34px;
    font-weight:600;
}
.btn-outline-light:hover{
    background:#fff;
    color:#000;
}

/* ===============================
   ABOUT
================================ */
.about-text p{
    font-size:20px;
    margin-bottom:22px;
}
.shadow{
    box-shadow:0 18px 40px rgba(0,0,0,.25);
}

/* ===============================
   CORE VALUES
================================ */
.value-box{
    padding:35px 20px;
}
.value-box i{
    font-size:54px;
    color:#C8A24A;
    margin-bottom:18px;
}
.value-box h4{
    font-size:24px;
    font-weight:700;
}
.value-box p{
    font-size:18px;
}

/* ===============================
   HOUSES SLIDER
================================ */
.house-slider{
    position:relative;
    height:450px;
    overflow:hidden;
}
.house{
    position:absolute;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:800;
    color:#fff;
    text-shadow:0 4px 12px rgba(0,0,0,.8);
    background-size:cover;
    background-position:center;
}
.house.active{
    display:flex;
}

/* ===============================
   TEACHERS
================================ */
.teacher-card{
    background:#fff;
    padding:25px;
    border-radius:14px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    width: 250px;
    height: 300px;
}
.teacher-card img{
    width:100px;
    height:100px;
    border-radius:50%;
    margin-bottom:15px;
}
.teacher-card h4{
    font-size:22px;
    color:#555;
}
.teacher-card p{
    font-size:17px;
    color:#555;
}

/* ===============================
   ADMISSION CTA
================================ */
.cta-section{
    padding:70px 7%;
    background:#C8A24A;
    color:#000;
    text-align:center;
}
.cta-section h2{
    font-size:40px;
    font-weight:900;
}
.cta-section p{
    font-size:21px;
    max-width:850px;
    margin:20px auto 30px;
}

/* ===============================
   MOBILE
================================ */
@media(max-width:768px){
    .hero-section h1{font-size:34px}
    .section{padding:70px 6%}
}


/* LOGIN LAYOUT */
.login-wrapper{
    min-height:calc(100vh - 50px);
    display:flex;
}

.login-left{
    width:45%;
    background:#fff;
    padding:80px 60px;
}

.login-left h3{
    font-size:30px;
    font-weight:800;
    margin-bottom:30px;
}

.login-left .form-control{
    height:48px;
    font-size:16px;
}

.login-left button{
    height:48px;
    font-size:18px;
    font-weight:700;
}

/* RIGHT PANEL */
.login-right{
    width:55%;
    background:#2F3E2E;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.login-right img{
    max-width:180px;
    margin-bottom:20px;
}

.login-right h1{
    font-size:42px;
    font-weight:900;
}

.login-right p{
    font-size:20px;
    opacity:.9;
}

/* MOBILE */
@media(max-width:991px){
    .login-wrapper{flex-direction:column;}
    .login-left,.login-right{width:100%;}
    .login-left{padding: 50px;}
}

/* Password reveal */ 
.password-wrapper {
    position: relative;
}

.password-wrapper .password-input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    font-size: 16px;
}

.toggle-password:hover {
    color: #0f3d2e; /* brand green */
}

body.light-mode .toggle-password {
    color: #374151;
}

body.light-mode .toggle-password:hover {
    color: #c9a24d;
}

/*===============================
ADMISSION PROCESSES STYLING
=================================*/
.admission-steps{
    list-style:none;
    padding:0;
    font-size:14px;
}
.admission-steps li{
    padding:12px 10px;
    margin-bottom:10px;
    background:rgba(255,255,255,.05);
    border-left:4px solid #C8A24A;
    cursor:pointer;
    transition:.3s;
}
.admission-steps li:hover{
    background:rgba(200,162,74,.2);
}
.admission-steps li span{
    display:inline-block;
    width:22px;
    height:22px;
    background:#C8A24A;
    color:#000;
    text-align:center;
    border-radius:50%;
    font-weight:700;
    margin-right:8px;
}

/* ===============================
   ADMISSION LAYOUT
================================ */
.admission-wrapper{
    display:flex;
    height: calc(100vh - 280px); /* Only content scrolls */
}

/* SIDEBAR */
#admissionSidebar{
    width:260px;
    background:#2F3E2E;
    color:#fff;
    padding:25px 20px;
    transition:all .4s ease;
    position:fixed;
    top:280px;
    left:0;
    bottom:0;
    overflow-y:auto;
    z-index:2000;
}

/* MAIN CONTENT */
#admissionContent{
    flex:1;
    margin-left:260px;
    padding:25px;
    overflow-y:auto;
    height: calc(100vh - 280px); /* only content scrolls */
}

/* FORM FONT SIZE */
#admissionContent label{
    font-size:13px;
}
#admissionContent h3{
    font-size:18px;
}

/* ===============================
   ADMISSION BANNER
================================ */
.admission-banner{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:280px; 
    background:
        linear-gradient(
            rgba(47,62,46,0.75),
            rgba(47,62,46,0.75)
        ),
        url("schoolPics/hero1.jpg"); 
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1000;
}
.admission-banner h1{
    color:#fff;
    font-size:36px;
    margin-bottom:10px;
}
.admission-banner p{
    color:#C8A24A;
    font-size:16px;
    letter-spacing:0.5px;
}

/* ===============================
   SIDEBAR TOGGLE BUTTON
================================ */
.admission-toggle{
    position:fixed;
    left:15px;
    top:240px; /* below navbar */
    z-index:9999;
    display:none;
    background:#C8A24A;
    color:#2F3E2E;
    border:none;
}
.admission-toggle:hover{
    background:#b08f3f;
}
@media (max-width:767px){
    .admission-toggle{
        display:block;
    }
    #admissionSidebar{
        transform:translateX(-100%);
    }
    #admissionSidebar.open{
        transform:translateX(0);
    }
    #admissionContent{
        margin-left:0;
    }
}

/* RESPONSIVE INPUT SPACING FIX */
#admissionContent .row > [class*="col-"]{
    margin-bottom:15px;
}


/* ===============================
   RESULT UPLOAD THEME
================================ */
:root{
    --dark-green:#0b3d2e;
    --gold:#d4af37;
}

.nav-tabs > li.active > a{
    background:var(--dark-green);
    color:#fff !important;
}

.nav-tabs > li > a{
    color:var(--dark-green);
    font-weight:600;
}

.btn-primary{
    background:var(--dark-green);
    border-color:var(--dark-green);
}

.btn-success{
    background:var(--gold);
    border-color:var(--gold);
    color:#000;
}

.form-control{
    border-radius:4px;
}

.input-error{
    border:2px solid red !important;
    background:#ffecec;
}

.readonly{
    background:#f4f4f4;
    cursor:not-allowed;
}

.result-card{
    background:#fff;
    padding:10px;
    margin-bottom:10px;
    border-left:4px solid #d4af37;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
}
