* {
    margin: 0;
    padding: 0;
}

@keyframes clickAnim {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(5);
        opacity: 0;
    }
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #1f6f78;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.col-md-12 {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    font-family: sans-serif;
}

/* Navbar */
.navbar {

    background: #23585a;
    color: white;
}

.logo-center {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

/* MOBILE FIX */
@media (max-width: 991px) {
    .logo-center {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        margin-top: -40px;
        margin-left: 30px;
    }
}

/* Doctor's Cards */
.doctors-section {
    padding: 60px 0;
}

.doctor-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.img-box {
    position: relative;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.doctor-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(31, 111, 120, 0.7);
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-card:hover .overlay {
    opacity: 1;
}

.icons i {
    color: white;
    margin: 0 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.icons i:hover {
    transform: scale(1.2);
}

.content {
    padding: 20px;
    text-align: center;
}

.speciality {
    color: #1f6f78;
    font-weight: 500;
}

.desc {
    font-size: 14px;
    color: #555;
}

.experience {
    display: inline-block;
    background: #e6f4f5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}


.btn-primary {
    background: #1f6f78;
    border: none;
}

.btn-primary:hover {
    background: #14565e;
}

.page-link {
    color: #1f6f78;
    border-radius: 8px;
    margin: 0 5px;
}

.page-item.active .page-link {
    background: #1f6f78;
    border-color: #1f6f78;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 30px;
    transition: 0.3s ease;
    color: white;
}

/* PUSH CONTENT WHEN PANEL OPENS */
.layout.active .main-content {
    margin-left: 320px;
}

/* ===== LEFT PANEL ===== */
.settings-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background-color: #2e7072;
    color: white;
    padding: 25px 20px;
    transition: 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.settings-panel.active {
    left: 0;
}

/* ===== USER ===== */
.user-box {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.user-box img {
    width: 50px;
    border-radius: 50%;
}

/* ===== MENU ITEMS ===== */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

/* ===== SWITCH ===== */
.switch {
    position: relative;
    width: 45px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: red;
    border-radius: 50px;
}

.slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.3s;
}

input:checked+.slider {
    background: #22c55e;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.dropdown-box {
    color: white;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

.dropdown-content {
    display: none;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);

}

.dropdown-content.active {
    display: block;
}

.option {
    display: flex;
    justify-content: space-between;
    padding: 8px 5px;
    cursor: pointer;
}

.option input {
    display: none;
}

.radio {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
}

.option input:checked+.radio {
    background: #00a23b;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
    .layout.active .main-content {
        margin-left: 0;
    }
}

/* Footer */
.footer-section {
    margin-top: 20px;
    background: #f2f8f9;
}

.footer-section h6 {
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    font-size: 13px;
    color: rgb(70, 70, 70);
    margin-bottom: 8px;
    cursor: pointer;
}

.footer-section ul li:hover {
    color: rgb(58, 58, 58);
}

.footer-section a {
    color: #000000;
    font-size: 18px;
}

.footer-section a:hover {
    color: rgb(0, 0, 0);
}