* {
    font-family: Zain !important;
}

#latest img,
#guides img {
    max-width: 100% !important;
    max-height: 200px;
}

.bg-primary {
    background-color: #063b48 !important;
    /* background-color: #030129 !important; */
}

#hero {
    background-image: url(../../assets/img/transparent-3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

#about {}

#about ul {
    padding: 0 1rem;
    margin-inline-start: 0px;
    color: white;
}

#about ul li {
    margin-inline-start: 20px;
    line-height: 1.5rem;
}

#about ul li::marker {
    content: "";
}

#about ul li {
    position: relative;
    padding-left: 30px;
    margin-top: 3px;
}

#about ul li::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 10px;
    transform: translateY(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    background-color: #007bff;
    background-color: rgb(206, 212, 218);
}

#doctors img {
    max-width: 100px !important;
}

#projects {
    position: relative;
}

#projects img {
    max-width: 100% !important;
    max-height: 200px;
    transition: .25s ease-in-out;
    cursor: pointer;
}

#projects .project-card {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    transition: .3s ease-in-out;
}


.about-project {
    min-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s ease;
    transform: scale(0);
    position: absolute;
    top: 0;
    right: 0;
    margin: 1rem;
    border-radius: 10px;
    max-width: 100%;
    height: 90%;
    background-color: #063b48e3;
    padding: 10px;
    color: white;
}

.about-project a {
    color: white;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid white;
    padding: 5px 20px;
    transition: 0.25s ease;
}

.about-project a:hover {
    color: #063b48e3;
    background-color: white;
}

#projects .project-card:hover .about-project {
    transform: scale(1);
    opacity: 1;
}


/* --------------------- */

.footer-logo-wrapper img {
    height: auto;
}

.footer .custom-links ul li a {
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) bottom / 0 .1em no-repeat;
    transition: .5s background-size;
}

.footer .custom-links ul li a:hover {
    background-size: 80% .1em;
    line-height: 10px;
}



/* ssssssssssssssssssssssssssssssssssssssssssssss */
/* ssssssssssssssssssssssssssssssssssssssssssssss */
/* ssssssssssssssssssssssssssssssssssssssssssssss */

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #1abc9c;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.guide-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    box-shadow: var(--card-shadow);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.guide-card .card-body {
    padding: 2rem;
    position: relative;
}

.card-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.2;
    /* animation: rotate 30s linear infinite; */
}

.card-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.guide-card h4 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.guide-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.guide-card p {
    color: #555;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.guide-card .card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.guide-card .card-link::after {
    content: '←';
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.guide-card .card-link:hover {
    color: var(--accent-color);
}

.guide-card .card-link:hover::after {
    transform: translateX(-5px);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .guide-card {
        margin-bottom: 25px;
    }

    .guide-card .card-body {
        padding: 1.5rem;
    }
}