html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Cairo', sans-serif;
}

main {
    flex: 1;
}

.navbar {
    background-color: #faf4f4;
}

.custom-navbar .nav-link {
    font-size: 1.1rem;
    /* حجم الخط */
    font-weight: 500;
    /* وزن الخط */
    letter-spacing: 0.5px;
    /* تباعد بسيط */
}

.carousel-item {
    height: 100vh;
    min-height: 400px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(80%);
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    color: #fff;
    backdrop-filter: none;
    z-index: 2;
    padding: 2rem;
}

.carousel-caption h1 {
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.25rem;
}

.carousel-caption .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* .carousel-item img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
} */

.counter-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.counter-box {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.counter-box i {
    font-size: 40px;
    color: #007bff;
}

.counter-number {
    font-size: 30px;
    font-weight: bold;
    margin-top: 10px;
}

.about-section {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}

h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff;
    margin: 5px auto 0;
}

.features-section {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}

.feature-box {
    position: relative;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feature-box img {
    width: 100%;
    border-radius: 10px;
}

.rating {
    color: #ffcc00;
}

.contact-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.about-section {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.about-section img {
    width: 90%;
    border-radius: 10px;
}

.footer-icons a {
    margin: 0 10px;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.contact-section ul {
    text-align: right;
    margin-right: 50px;
}

.btn-info {
    color: white;
}

.btn-info:hover {
    color: white;
}

.navbar-nav {
    align-items: center;
}

.star-rating {
    direction: ltr;
    font-size: 1.5rem;
    cursor: pointer;
}

.star-rating .star {
    color: #ddd;
}

.star-rating .star.selected {
    color: gold;
}

.nav-pills .nav-link {
    color: #007bff;
}

.nav-pills .nav-link.active {
    background-color: #007bff;
    color: white;
}

.profile-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #bdbdbd;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.div-profile-container {
    text-align: center;
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #bdbdbd;
}

.upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50%;
}

.upload-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.edit-profile-img {
    display: none;
}