/* Start main rules */
body { direction: rtl; font-family: "El Messiri", sans-serif;overflow-x: hidden;}
a { color: inherit; text-decoration: none;}
ul { list-style: none; color: inherit; }
/* End main rules */

/* Start special classes */
.bg-blue { background-color: #0cb7d6; }
.text-blue { color: #0cb7d6; }
.bg-dark-blue { background-color: #08788b; }
.text-dark-blue { color: #08788b; }
.border-dark-blue { border: 1px solid #08788b; }
.social-icons:hover { color: #17a2b8 !important; }
/* End special classes */

/* Start header */
header {
    width: 100%;
    height: auto;
    background-image: url(../imgs/banner-bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
nav li a.nav-link:hover { color: #0cb7d6 !important; }
/* End header */

/* Start services section */
.service-box {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.service-box h3 { font-size: 40px; }
.service-box:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); }
.read-more {
    padding: 10px 15px;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}
.read-more:hover { background: #08788b; color: white; }
/* End services section */

/* Start our doctores section */
.doctor-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}
.doctor-card .img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
    font-size: 70px;
    cursor: pointer;
}
.doctor-card:hover .img { transform: scale(1.05); }
.doctor-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}
.doctor-specialty { color: #777; }
/* End our doctores section */

/* Start footer section */
.footer {
    background: #000;
    color: white;
    padding: 40px 0;
    text-align: center;
}
.footer .social-icons {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: 0.3s;
}
.footer .copyright {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}
/* End footer section */

/* Start edit bootstrap classes */
.navbar-toggler {
    padding: 0.3rem 0.6rem;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important;
    border: 1px solid white !important;
}
.navbar-toggler-icon { width: 1.7rem; }
.navbar-nav .active {
    color: #0cb7d6 !important;
}
/* End edit bootstrap classes */

/* Start booking form */
.appointment-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    margin-top: -100px;
}
.form-control, .form-select {
    border-radius: 5px;
}
.form-label {
    font-weight: bold;
}
/* End booking form */

/* Start event countdown, cards */
.countdown div {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}
.countdown span {
    display: block;
    font-size: 1rem;
    color: #ccc;
}
.event-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
}
.buttons {
    margin-top: 20px;
}
.btn-custom {
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 1.2rem;
    margin: 10px;
}
.card { box-shadow: 5px 5px 5px 3px rgba(20, 20, 20, 0.3); }
.card img { height: 200px; object-fit: cover; }
.card .center-box { border-right: solid 1px rgba(20, 20, 20, 0.4); border-left: solid 1px rgba(20, 20, 20, 0.4); }
/* End event countdown, cards */

.register{
    background-color: #08788b;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);    
    padding: 3%;
    margin-top: -50px;
}
.register-left{
    text-align: center;
    color: #fff;
    margin-top: 4%;
}
.register-left input{
    border: none;
    border-radius: 1.5rem;
    padding: 2%;
    width: 60%;
    background: #f8f9fa;
    font-weight: bold;
    color: #383d41;
    margin-top: 30%;
    margin-bottom: 3%;
    cursor: pointer;
}
.register-right{
    background: #f8f9fa;
    border-top-right-radius: 10% 50%;
    border-bottom-right-radius: 10% 50%;
}
.register-left img{
    margin-top: 15%;
    margin-bottom: 5%;
    width: 25%;
    -webkit-animation: mover 2s infinite  alternate;
    animation: mover 1s infinite  alternate;
}
@-webkit-keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}
.register-left p{
    font-weight: lighter;
    padding: 12%;
    margin-top: -9%;
}
.register .register-form{
    padding: 10%;
    margin-top: 10%;
}
.btnRegister{
    float: right;
    margin-top: 10%;
    border: none;
    border-radius: 1.5rem;
    padding: 2%;
    background: #08788b;
    color: #fff;
    font-weight: 600;
    width: 50%;
    cursor: pointer;
}
.register-heading{
    text-align: center;
    margin-top: 8%;
    margin-bottom: -15%;
    color: #495057;
  
}





        .subtitle {
            font-size: 1.4rem;
            color: #e52e71;
            margin-bottom: 20px;
        }
        
        .search-box {
            max-width: 600px;
            margin: 20px auto;
            position: relative;
        }
        
        .search-box input {
            width: 100%;
            padding: 15px 20px;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .search-box button {
            position: absolute;
            top: 10px;
            left: 15px;
            background: #1a2a6c;
            border: none;
            color: white;
            padding: 5px 15px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .categories {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin: 20px 0;
        }
        
        .category-btn {
            background: rgba(255, 255, 255, 0.85);
            border: 2px solid #1a2a6c;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .category-btn:hover, .category-btn.active {
            background: #1a2a6c;
            color: white;
        }
        
        .books-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        
        .book-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
        }
        
        .book-cover {
            height: 320px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(45deg, #f3f3f3, #e0e0e0);
        }
        
        .book-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .book-card:hover .book-cover img {
            transform: scale(1.05);
        }
        
        .book-info {
            padding: 20px;
        }
        
        .book-title {
            font-size: 1.4rem;
            color: #1a2a6c;
            margin-bottom: 10px;
            font-weight: 700;
        }
        
        .book-author {
            color: #e52e71;
            font-size: 1.1rem;
            margin-bottom: 15px;
        }
        
        .book-description {
            color: #555;
            margin-bottom: 20px;
            font-size: 0.95rem;
            line-height: 1.7;
        }
        
        .book-actions {
            display: flex;
            justify-content: space-between;
        }
        
        .btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .btn-download {
            background: linear-gradient(to right, #1a2a6c, #2a4ab3);
            color: white;
        }
        
        .btn-preview {
            background: linear-gradient(to right, #fdbb2d, #ff8a00);
            color: white;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .btn i {
            font-size: 1.2rem;
        }
        
        @media (max-width: 768px) {
            .books-container {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            h1 {
                font-size: 2.2rem;
            }
        }
        
        @media (max-width: 480px) {
            .books-container {
                grid-template-columns: 1fr;
            }
            
            .book-actions {
                flex-direction: column;
                gap: 10px;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
        }
