﻿@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: '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: #2c3e50;
    --secondary: #3498db;
    --accent: #1abc9c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
        background-size: cover;
        background-position: bottom;
    }

.doctor-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--secondary);
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.btn-outline-light {
    border-radius: 4px;
    padding: 12px 30px;
    font-weight: 600;
}

.service-card {
    transition: transform 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background: white;
    height: 100%;
    border-top: 4px solid var(--secondary);
}

    .service-card:hover {
        transform: translateY(-5px);
    }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 1.5rem;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    color: var(--primary);
    font-weight: 600;
}

    .section-title:after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--secondary);
    }

    .section-title.center:after {
        left: 50%;
        transform: translateX(-50%);
    }

.prescription-form {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary);
}

.clinic-info {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    border-left: 4px solid var(--accent);
}

.testimonial-card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary);
}

.contact-card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
    padding: 25px;
}

    .contact-card:hover {
        transform: translateY(-5px);
    }

    .contact-card i {
        font-size: 2rem;
        margin-bottom: 20px;
        color: var(--secondary);
    }

.navbar, .dropdown-menu {
    background: linear-gradient(90deg, #2b9348, #55a630);
}

    .dropdown-menu > li > a:hover {
        background: linear-gradient(90deg, #55a630, #2b9348);
    }

/* --Mouse hover dropdown starts here-- */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-menu-end {
    display: none;
}

.dropend:hover .dropdown-menu-end {
    display: block;
}
/* --Mouse hover dropdown ends here-- */

.footer {
    background: var(--primary);
    color: white;
}

.stat-box {
    background: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--secondary);
}

    .stat-box i {
        font-size: 2rem;
        margin-bottom: 15px;
        color: var(--secondary);
    }

.form-control, .form-select {
    border-radius: 4px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--secondary);
        box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    }

.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.badge-custom {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    margin: 5px;
    display: inline-block;
}

.clinic-hours {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 10px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

.bg-light-custom {
    background-color: #f8f9fa;
}

.qualification-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

    .qualification-item:last-child {
        border-bottom: none;
    }

.testimonial-text {
    font-style: italic;
    color: #555;
}

.patient-name {
    font-weight: 600;
    color: var(--primary);
}

.vertical-text {
    writing-mode: vertical-rl; /* For right-to-left vertical writing */
    text-orientation: mixed; /* Adjust as needed */
}

.chamber_url, .next_schedule_date, .next_schedule_time {
    padding-left: 0;
    list-style: none;
    list-style-type: none;
}

    .chamber_url li, .next_schedule_date li, .next_schedule_time li::marker {
        color: var(--primary);
    }

    .chamber_url li {
        position: relative; /* For positioning the pseudo-element */
        padding-left: 2em; /* Adjust as needed to make space for the icon */
        font-style: normal;
        padding-bottom: 10px;
    }

    .next_schedule_date li, .next_schedule_time li {
        position: relative; /* For positioning the pseudo-element */
        padding-left: 2em; /* Adjust as needed to make space for the icon */
        font-style: normal;
        padding-bottom: 0px;
    }

    .chamber_url li::before {
        content: ''; /* Essential for pseudo-elements */
        position: absolute;
        left: 0;
        top: 0; /* Adjust vertical alignment */
        transform: translateY(40%); /* Fine-tune vertical alignment */
        width: 1em; /* Adjust icon size */
        height: 1em; /* Adjust icon size */
        background-image: url(/lib/bootstrap-icons/icons/geo-alt.svg); /* Replace with your icon's path */
        background-repeat: no-repeat;
        background-size: contain; /* Ensure the icon fits within the defined width/height */
    }

    .next_schedule_date li::before {
        content: ''; /* Essential for pseudo-elements */
        position: absolute;
        left: 0;
        top: 0; /* Adjust vertical alignment */
        transform: translateY(40%); /* Fine-tune vertical alignment */
        width: 1em; /* Adjust icon size */
        height: 1em; /* Adjust icon size */
        background-image: url(/lib/bootstrap-icons/icons/calendar-date.svg); /* Replace with your icon's path */
        background-repeat: no-repeat;
        background-size: contain; /* Ensure the icon fits within the defined width/height */
    }

    .next_schedule_time li::before {
        content: ''; /* Essential for pseudo-elements */
        position: absolute;
        left: 0;
        top: 0; /* Adjust vertical alignment */
        transform: translateY(40%); /* Fine-tune vertical alignment */
        width: 1em; /* Adjust icon size */
        height: 1em; /* Adjust icon size */
        background-image: url(/lib/bootstrap-icons/icons/clock.svg); /* Replace with your icon's path */
        background-repeat: no-repeat;
        background-size: contain; /* Ensure the icon fits within the defined width/height */
    }

    .chamber_url li:last-child {
        padding-bottom: 0px;
    }
