*{
    margin: 0;
    padding: 0;
}
:root {    
    --dark-clr: #00394b;
    --red-clr: #c60f01;
    --blue-clr: #94e0ea;


    --primary: #1a73e8;
    --secondary: #0d47a1;
    --accent: #00c4cc;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #2e7d32;
    --warning: #ff6f00;
    --danger: #d32f2f;
    --gray-light: #f5f7f9;
}
body {
    font-family: "Tajawal", sans-serif;
    color: #555;
}
img{
    max-width: 100%;
}
/* Header */
.top-bar {
    background-color: var(--dark-clr);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}
.emergency-alert i {
    color: #ffeb3b;
}
.contact-info-top{
    text-align: right;
}
.contact-info-top a {
    color: var(--white);
    text-decoration: none;
}
.contact-info-top a:hover {
    color: var(--blue-clr);
}
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-link {
    font-weight: 500;
    padding: 0.5rem 0.8rem !important;
}
.nav-link.active,
.nav-link:hover {
    background-color: rgba(26, 115, 232, 0.1);
    border: solid 1px rgba(26, 115, 232, 0.1);
    color: var(--primary) !important;
    font-weight: bold;
}
#slider{
    background-image: url('../img/slider/bg.jpg');
    background-color: #f7f7f7;
    background-size: contain;
    background-position:top;
    background-repeat: repeat;
}
#slider .carousel-inner{
    padding: 5% 10%;
}
#slider .carousel-inner .divimg{
    overflow: hidden
}
#slider .carousel-inner .divimg img{
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
#slider .carousel-inner .divtext{
    padding: 2%;
}
#slider .carousel-inner .divtext h1{
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 1em;
}
#slider .carousel-inner .divtext p{
    font-size: 1.5em;
    margin: 30px 0;
}
#slider .carousel-control-prev i,
#slider .carousel-control-next i{
    font-size: 2rem;
    color: #999;
}
#slider .carousel-control-prev:hover i,
#slider .carousel-control-next:hover i{
    background: #b60c07;
    padding: 5px;
    width: 45px;
    color: #fff;
}
.text-red{
    color: var(--red-clr);
}
.section-title {
    font-weight: 700;
    margin-bottom: 20px;
}
.about-section .img-fluid{
    max-width: 90%;
    margin-bottom: 15px;
}
.service-box{
    background-image: linear-gradient(to right,var(--tw-gradient-stops));
    background: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    border: solid 1px rgba(0,0,0,0.1);
    transition: all 0.5s linear;
    text-align: center;
}
.service-box:hover{
    transform: translateY(-10px);
    transition: all 0.5s linear;
    cursor: pointer;
    color: #fff;
}
.service-box-1:hover{
    background:#0f7986;
}
.service-box-2:hover{
    background:#ff8040;
}
.service-box-3:hover{
    background:#21d0c3;
}
.service-box .service-icon{
    margin-bottom: 8px;
}
/*-------------chapter-----------------*/
.chapter-section{
    background-image: url('../img/bg/testimonial-bg-pattern.png');
    background-color: #004b6c;
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    color: #fff;
    padding: 2% 2% 5% 2%;
}
.chapter-box{
  color: #555;
  margin: 5px;
  background: #fff;
  cursor: pointer;
    transition: all 0.2s linear;
}
.chapter-box:hover{
    border-left: 5px solid #fc0;
    border-right: 5px solid #fc0;
    border-radius: 20px;
}
.chapter-box .chapter-icon{
    float: left;
    padding: 10px 10px 0 10px;
}
.chapter-box .chapter-content{
  padding: 20px;
}
/*---------blog-----------*/
.blog-section .card{
  border: solid 1px #d0d0d0;
  border-radius: 0;
}
.blog-section .card .card-head{
  position: relative;
}
.blog-section .card .card-head .badge{
  position: absolute;
  right: 10px;
  top: 10px;
}
.blog-section .card .card-head img{
  max-width: 100%;
}


.review-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 2rem;
  max-width: 700px;
  margin: auto;
}
.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.review-name {
  font-weight: 600;
  margin-bottom: 0;
}
.review-role {
  color: #6b7280;
  font-size: 0.9rem;
}
.review-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.6;
}
.carousel-indicators [data-bs-target] {
  background-color: #2563eb;
}

.footer{
  background: #111111;
  color: #fff;
  padding: 30px 0 0 0;
}
.footer .footer-item{
    padding: 20px;
}
.footer .footer-logo{
    background: #eee;
    padding: 10px 20px;
    max-width: 100%;
    margin-bottom: 20px
}
.footer a{
    color: #fff;
    text-decoration: none;
}
.footer .footer-title{
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: bold;
    border-left: 5px solid #ccc;
    padding-left: 10px;
}
.footer .social-icons .social-icon{
    border: 1px solid #fff;
    font-size: 1.5em;
    text-align: center;
    padding: 5px;
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: inline-block;
}
.footer .social-icons .social-icon:hover{
    background: #fff;
    color: #000;
}
.footer .footer-links a{
    display: block;
}
.footer .footer-links a img{
    width: 230px;
}
.footer .copyright{
   margin-top: 10px;
  border-top: 1px dashed #999;
  padding: 15px 0 5px 0;
}
.working-hours .working-item {
  color: #8F8F8F;
  padding: 4px 0;
  width: 90%;
}
.working-hours .working-item .working-item_day{
  float: left;
  width: 70px;
}
.working-hours .working-item .working-item_hours{
  float: right;
  width: 100px;
  text-align: right;
  font-weight: bold;
  color: #fff;
}
.working-hours .working-item span{
  display: inline-block;
  width: calc(100% - 170px);
  height: 1px;
  background: #8F8F8F;
}
.working-hours .working-item::after{
  content: " ";
  clear: both;
  display: table;
}









.animated-top.active{
    animation: anitop 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.animated-bottom.active{
    animation: anibottom 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.animated-left.active{
    animation: anileft 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.animated-right.active{
    animation: aniright 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.animated-fadein.active{
    animation: anifadein 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

@keyframes anifadein {
    from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); }
}
@keyframes anitop {
    from { opacity: 0; transform: translateY(200px); } to { opacity: 1; transform: translateY(0); }
}
@keyframes anibottom {
    from { opacity: 0; transform: translateY(-200px); } to { opacity: 1; transform: translateY(0); }
}
@keyframes anileft {
    from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); }
}
@keyframes aniright {
    from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); }
}

/*.animated-top { transition: all 0.8s ease; transform: translateY(200px); } 
.animated-top.active{ transform: translateY(0); }

.animated-bottom { transition: all 0.8s ease; transform: translateY(-200px); } 
.animated-bottom.active{ transform: translateY(0); }

.animated-left { transition: all 0.8s ease; transform: translateX(30px); } 
.animated-left.active{ transform: translateX(0); }

.animated-right { transition: all 0.8s ease; transform: translateX(-30px); } 
.animated-right.active{ transform: translateX(0); }

.animated-fadein{ transition: all 0.8s ease; transform: scale(0.8); }
.animated-fadein.active{ transform: scale(1); }*/


/*.slide-right {
    opacity: 0;
    transform: translateX(100px);
    
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}
*/

@media (max-width: 768px) {
    .contact-info-top{
        text-align: center;
    }
    #slider .carousel-inner{
        padding: 5% 6%;
    }
    #slider .carousel-inner .divimg img{
        max-width: 80%;
    }
    #slider .carousel-inner .divtext h1{
        font-size: 1.3em;
        margin-bottom: 0;
    }
    #slider .carousel-inner .divtext p{
        font-size: 1em;
        margin: 10px 0;
    }
    #slider .carousel-control-prev,
    #slider .carousel-control-next{
        position: initial;
        width: 50%;
        float: left;
    }
}