﻿@font-face {
    font-family: 'SolaimanLipi';
    src: url('../fonts/SolaimanLipi.ttf');
}

@font-face {
    font-family: 'NotoSerifBengali1';
    src: url('../fonts/hYkuPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdATYU1crFaM_5JfcAHkqg6rk.woff2');
}

@font-face {
    font-family: 'NotoSerifBengali2';
    src: url('../fonts/hYkuPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdATYU1crFaM_5JfcAHkqu6rngHw.woff2');
}

@font-face {
    font-family: 'NotoSerifBengali3';
    src: url('../fonts/hYkuPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdATYU1crFaM_5JfcAHkqy6rngHw.woff2');
}

@font-face {
    font-family: 'Palatino Linotype Regular';
    src: url('../fonts/PalatinoLinotype/Palatino Linotype Regular.woff');
}

@font-face {
    font-family: 'Cheltenhm BdCn BT'; /* The name you'll use to reference the font */
    src: url('../fonts/CheltenhmBdCnBT/CheltenhamBT-BoldCondensed.woff2') format('woff2'), /* Path to the font file */
    url('../fonts/CheltenhmBdCnBT/CheltenhamBT-BoldCondensed.woff') format('woff'); /* Add multiple formats for wider browser support */
    font-weight: normal; /* Specify the font's weight */
    font-style: normal; /* Specify the font's style */
}

@font-face {
    font-family: 'Montserrat'; /* The name you'll use to reference the font */
    src: url('../fonts/Montserrat-Regular/Montserrat-Regular.woff2') format('woff2'), /* Path to the font file */
    url('../fonts/Montserrat-Regular/Montserrat-Regular.woff') format('woff'); /* Add multiple formats for wider browser support */
    font-weight: normal; /* Specify the font's weight */
    font-style: normal; /* Specify the font's style */
}

:root {
    --primary-blue: #2c6fb7;
    --secondary-blue: #3a8fd9;
    --light-blue: #f0f7ff;
    --rating-gold: #FFB74D;
    --available-green: #2E7D32;
    --unavailable-red: #C62828;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*By deepseek starts here*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

header {
    background: linear-gradient(90deg, #2c6fb7 0%, #3a8fd9 100%);
    color: white;
    padding: 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
        opacity: 0.3;
    }

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 40px;
    color: #a8d8ff;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.content {
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    header {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2rem;
    }
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #3a8fd9;
    position: relative;
    overflow: hidden;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #3a8fd9, #2c6fb7);
    }

.card-icon {
    font-size: 28px;
    color: #3a8fd9;
    margin-bottom: 20px;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: #e8f3ff;
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c6fb7;
    font-weight: 600;
}

.feature-card p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.feature-card ul {
    list-style-type: none;
    padding-left: 0;
}

.feature-card li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

    .feature-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #3a8fd9;
        font-weight: bold;
    }

.highlight {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #3a8fd9;
}

.database-section {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f3ff 100%);
    border-radius: 15px;
    padding: 40px;
    margin-top: 20px;
}

    .database-section h3 {
        text-align: center;
        color: #2c6fb7;
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

.database-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.db-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .db-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.db-count {
    font-size: 2rem;
    font-weight: 700;
    color: #2c6fb7;
    margin-bottom: 10px;
    display: block;
}

.db-label {
    font-size: 1.1rem;
    color: #444;
}

footer {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.custom_badge {
    display: inline-block;
    background: #2c6fb7;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.prescription-list {
    columns: 2;
    column-gap: 20px;
}

.comonent_h3 {
    text-align: center;
    color: #2c6fb7;
    font-size: 1.8rem !important;
    margin-top: 30px;
    margin-bottom: 0px;
}

.doctor_h3 {
    text-align: center;
    color: #2c6fb7;
    font-size: 1.8rem !important;
    margin-bottom: 30px;
}

.hr {
    color: #2c6fb7;
    border-color: #2c6fb7;
    background-color: #2c6fb7;
    border-width: medium;
}

.myanimation {
    width: 300px;
    height: 300px;
    background-color: darkred;
    color: yellow;
    position: relative;
    animation-name: myAnimation;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes myAnimation {
    0% {
        background-color: darkred;
        color: yellow;
    }

    100% {
        background-color: yellow;
        color: darkred;
    }
}

@media (max-width: 768px) {
    .prescription-list {
        columns: 1;
    }
}
/*By deepseek ends here*/

/* Doctor card starts here */
.doctor-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

    .doctor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.card-header {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 1.5rem;
    border: none;
    position: relative;
}

.doctor-img-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.doctor-specialty {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.verified-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.info-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .info-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.info-icon {
    width: 32px;
    height: 32px;
    background: var(--light-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-blue);
}

.info-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.15rem;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.btn-book {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-book:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(58, 143, 217, 0.3);
    }

.btn-profile {
    background: white;
    color: var(--secondary-blue);
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-profile:hover {
        background: var(--light-blue);
        border-color: var(--secondary-blue);
    }

@media (max-width: 576px) {
    .doctor-card {
        margin-bottom: 1.5rem;
    }

    .doctor-name {
        font-size: 1.1rem;
    }

    .search-card .btn {
        margin-top: 0.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}
/* Doctor card ends here */

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Custom file input starts here */
.fileUploadInput {
    display: grid;
    grid-gap: 10px;
    position: relative;
    z-index: 1;
}

    .fileUploadInput label {
        display: flex;
        align-items: center;
        color: setColor(primary, 0.5);
        background: setColor(white);
        transition: .4s ease;
        font-family: arial, sans-serif;
        font-size: .75em;
        font-weight: regular;
    }

    .fileUploadInput input {
        position: relative;
        z-index: 1;
        padding: 0 gap(m);
        width: 100%;
        height: 50px;
        border: 1px solid #323262;
        border-radius: 3px;
        font-family: arial, sans-serif;
        font-size: 1rem;
        user-select: none;
        cursor: pointer;
        font-weight: regular;
    }

        .fileUploadInput input[type="file"] {
            padding: 0 gap(m);
        }

            .fileUploadInput input[type="file"]::-webkit-file-upload-button {
                visibility: hidden;
                margin-left: 10px;
                padding: 0;
                height: 50px;
                width: 0;
            }

    .fileUploadInput button {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50px;
        height: 50px;
        line-height: 0;
        user-select: none;
        color: white;
        background-color: #323262;
        border-radius: 0 3px 3px 0;
        font-family: arial, sans-serif;
        font-size: 1.5rem;
        font-weight: 800;
    }

        .fileUploadInput button svg {
            width: auto;
            height: 50%;
        }

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    border: 0px;
    outline: 0;
    background-repeat: no-repeat;
    appearance: none;
    border-radius: 0;
    vertical-align: middle;
    font-weight: inherit;
    font-style: inherit;
    font-family: inherit;
    text-decoration: none;
    list-style: none;
    user-select: text;
    line-height: 1.333em;
}

@-moz-document url-prefix() {
    .fileUploadInput button {
        display: none
    }
}
/* Custom file input ends here */
