/* ============================
   Global Reset
============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #f5f9fc;
    color: #333;
    line-height: 1.7;
}

/* ============================
   Banner Section
============================ */

.doctor-banner {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #003366cc, #008080cc);
}

.breadcrumb-custom {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 28px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 15px;
}

.doc-link {
    color: #fff;
    font-weight: 500;
    transition: 0.3s ease;
}

.doc-link:hover {
    color: #ffd700;
}

/* ============================
   Main Section
============================ */

.doctor-profile {
    padding: 90px 0;
}

.doctor-card {
    background: #ffffff;
    max-width: 1400px;
    margin: -100px auto 0;
    padding: 70px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 3;
}

/* ============================
   Headings
============================ */

.doctor-name {
    font-size: 34px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 40px;
}

/* ============================
   Under Construction Box
============================ */
/* ============================
   Moving Gear Animation (Isolated)
============================ */

.construction-box .construction-icon {
    position: relative;
    width: 220px;
    height: 180px;
    margin: 60px auto;
}

.construction-box .gear {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        #ffd24d 30%,
        #e6a800 31%,
        #cc8800 100%
    );
    box-shadow:
        inset 0 5px 15px rgba(0, 0, 0, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Teeth */
.construction-box .gear::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: repeating-conic-gradient(
        #cc8800 0deg 15deg,
        transparent 15deg 30deg
    );
    mask: radial-gradient(circle, transparent 55%, black 56%);
    -webkit-mask: radial-gradient(circle, transparent 55%, black 56%);
}

/* Center hole */
.construction-box .gear::after {
    content: "";
    position: absolute;
    width: 30%;
    height: 30%;
    background: #333;
    border-radius: 50%;
    top: 35%;
    left: 35%;
}

/* Large gear */
.construction-box .large {
    width: 130px;
    height: 130px;
    left: 0;
    top: 30px;
    animation: rotateClockwise 6s linear infinite;
}

/* Small gear */
.construction-box .small {
    width: 90px;
    height: 90px;
    right: 20px;
    top: 0;
    animation: rotateCounterClockwise 6s linear infinite;
}

/* Animations */
@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}
/* ============================
   Button
============================ */

.back-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 22px;
    background: #008080;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.back-btn:hover {
    background: #003366;
}

/* ============================
   Responsive
============================ */

@media (max-width: 992px) {
    .doctor-card {
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .doctor-card {
        padding: 35px;
    }

    .doctor-name {
        font-size: 26px;
    }

    .construction-title {
        font-size: 18px;
    }
}
