@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

:root {
    --primary-blue: #2A73FF;
    --secondary-blue: #4A90E2;
    --light-blue: #6BA6FF;
    --dark-blue: #1E4C8F;
    --soft-blue: #E6F0FF;
    --accent-blue: #0055CC;
    --gradient-blue: linear-gradient(135deg, #2A73FF 0%, #6BA6FF 100%);
    --text-dark: #2C3E50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(42, 115, 255, 0.15);
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
    overflow-x: hidden;
    padding-top: 80px;
}

/* Grid System Fixes */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.row > [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

/* Clearfix */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.layout_padding {
    padding: 90px 0;
}

.layout_padding2 {
    padding: 75px 0;
}

.layout_padding2-top {
    padding-top: 75px;
}

.layout_padding2-bottom {
    padding-bottom: 75px;
}

.layout_padding-top {
    padding-top: 90px;
}

.layout_padding-bottom {
    padding-bottom: 90px;
}

.layout_margin-top {
    margin-top: 90px;
}

.layout_margin-bottom {
    margin-bottom: 90px;
}

.heading_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.heading_container h2 {
    position: relative;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--dark-blue);
    letter-spacing: 1px;
}

.heading_container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.heading_container p {
    margin-top: 20px;
    margin-bottom: 0;
    color: var(--text-light);
}

.heading_container.heading_center {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .heading_container.heading_center {
        background: rgba(30, 30, 30, 0);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}

.heading_container.heading_center:hover {
    background: rgba(255, 255, 255, 0.504);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    transform: scale(1.02);
}

.heading_container.heading_center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn,
.btn:focus {
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.hero_area {
    position: relative;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.hero_area .hero_bg_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    overflow: hidden;
    z-index: -1;
}

.hero_area .hero_bg_box img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: bottom right;
    object-position: bottom right;
    opacity: 0.1;
}

.sub_page .hero_area {
    min-height: auto;
    background: linear-gradient(135deg, var(--soft-blue) 0%, #ffffff 100%);
}

.sub_page .hero_area .hero_bg_box {
    display: none;
}

.knopka {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header_section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header_section .container-fluid {
    padding-right: 25px;
    padding-left: 25px;
}

.navbar-brand span {
    font-weight: 700;
    font-size: 26px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom_nav-container {
    padding: 0;
}

.custom_nav-container .navbar-nav {
    margin-left: auto;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 8px 25px;
    color: var(--text-dark);
    text-align: center;
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.custom_nav-container .navbar-nav .nav-item .nav-link:hover {
    color: var(--primary-blue);
    background: var(--soft-blue);
}

.custom_nav-container .nav_search-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    color: var(--primary-blue);
    background: var(--soft-blue);
    border-radius: 50%;
    transition: all 0.3s;
}

.custom_nav-container .nav_search-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.custom_nav-container .navbar-toggler {
    outline: none;
    border: none;
}

.custom_nav-container .navbar-toggler {
    padding: 0;
    width: 37px;
    height: 42px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
    display: block;
    width: 35px;
    height: 4px;
    background: var(--gradient-blue);
    margin: 7px 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    border-radius: 5px;
}

.custom_nav-container .navbar-toggler span::before,
.custom_nav-container .navbar-toggler span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--gradient-blue);
    top: -10px;
    border-radius: 5px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
    top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background: var(--primary-blue);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before,
.custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;
    background: var(--primary-blue);
}

.slider_section {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding: 45px 0 145px 0;
}

.slider_section .row {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.slider_section #customCarousel1 {
    width: 100%;
    position: unset;
}

.slider_section .detail-box {
    color: var(--text-dark);
}

.slider_section .detail-box h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.slider_section .detail-box p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.slider_section .detail-box .btn-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 -5px;
    margin-top: 30px;
}

.slider_section .detail-box .btn-box a {
    margin: 5px;
    text-align: center;
    width: 170px;
    padding: 12px 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: all 0.3s;
}

.slider_section .detail-box .btn-box .btn1 {
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow);
}

.slider_section .detail-box .btn-box .btn1:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 115, 255, 0.3);
}

.slider_section .img-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.slider_section .img-box img {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 10px 30px rgba(42, 115, 255, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.slider_section .carousel-indicators {
    position: unset;
    margin: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 30px;
}

.slider_section .carousel-indicators li {
    background: var(--soft-blue);
    width: 12px;
    height: 12px;
    border-radius: 100%;
    opacity: 1;
    margin: 0 5px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.slider_section .carousel-indicators li.active {
    width: 30px;
    border-radius: 30px;
    background: var(--gradient-blue);
}

/* Department Section Fix */
.department_section {
    position: relative;
    background: var(--white);
}

.department_section .row {
    margin-right: -15px;
    margin-left: -15px;
}

.department_section .row > [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
}

.department_section .box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid rgba(42, 115, 255, 0.1);
    height: 100%;
}

.department_section .box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.department_section .box .img-box {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(42, 115, 255, 0.3);
    flex-shrink: 0;
}

.department_section .box .img-box img {
    max-width: 55px;
    max-height: 55px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    filter: brightness(0) invert(1);
}

.department_section .box .detail-box {
    flex: 1;
}

.department_section .box .detail-box h5 {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.department_section .box .detail-box p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.department_section .box .detail-box a {
    color: var(--primary-blue);
    font-weight: 600;
    position: relative;
}

.department_section .box .detail-box a::after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s;
}

.department_section .box .detail-box a:hover::after {
    margin-left: 10px;
}

.department_section .btn-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 45px;
}

.department_section .btn-box a {
    display: inline-block;
    padding: 12px 45px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 30px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.department_section .btn-box a:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 115, 255, 0.4);
}

.about_section {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #ffffff 100%);
}

.about_section .row {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px;
}

.about_section .img-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.about_section .img-box img {
    width: 90%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about_section .detail-box h3 {
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about_section .detail-box p {
    margin-top: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.about_section .detail-box a {
    display: inline-block;
    padding: 12px 45px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 30px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 25px;
    box-shadow: var(--shadow);
}

.about_section .detail-box a:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 115, 255, 0.4);
}

/* Doctor Section Fix */
.doctor_section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.doctor_section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 160%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.345) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 70%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.doctor_section .row {
    margin-right: -15px;
    margin-left: -15px;
}

.doctor_section .row > [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
}

.doctor_section .heading_container {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.doctor_section .heading_container h2::after {
    background: var(--white);
}

.doctor_section .box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.doctor_section .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.doctor_section .box .img-box {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.doctor_section .box .img-box img {
    width: 100%;
    transition: all 0.5s;
}

.doctor_section .box:hover .img-box img {
    transform: scale(1.1);
}

.doctor_section .box .detail-box {
    width: 100%;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    flex: 1;
}

.doctor_section .box .detail-box h5 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.doctor_section .box .detail-box p {
    color: var(--primary-blue);
    font-weight: 600;
}

.doctor_section .box .detail-box .social_box {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 150%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 15px;
    border-radius: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    gap: 15px;
}

.doctor_section .box .detail-box .social_box a {
    color: var(--primary-blue);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-blue);
    border-radius: 50%;
    transition: all 0.5s;
}

.doctor_section .box .detail-box .social_box a:hover {
    background: var(--gradient-blue);
    color: var(--white);
    transform: scale(1.1);
}

.doctor_section .box:hover .social_box {
    top: 0;
    opacity: 1;
}

.doctor_section .btn-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 45px;
    position: relative;
    z-index: 1;
}

.doctor_section .btn-box a {
    display: inline-block;
    padding: 12px 45px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 30px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.doctor_section .btn-box a:hover {
    background: var(--dark-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Section Fix */
.contact_section {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, var(--soft-blue) 100%);
}

.contact_section .heading_container {
    margin-bottom: 35px;
}

.contact_section .heading_container h2 {
    color: var(--dark-blue);
}

.contact_section .row {
    margin-right: -15px;
    margin-left: -15px;
}

.contact_section .row > [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

.contact_section .form_container {
    height: 100%;
}

.contact_section .form_container input {
    width: 100%;
    border: 2px solid transparent;
    height: 55px;
    margin-bottom: 20px;
    padding-left: 20px;
    outline: none;
    color: var(--text-dark);
    background: var(--white);
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact_section .form_container input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(42, 115, 255, 0.15);
}

.contact_section .form_container input::-webkit-input-placeholder {
    color: var(--text-light);
}

.contact_section .form_container textarea.message-box {
    width: 100%;
    border: 2px solid transparent;
    margin-bottom: 20px;
    padding: 15px 20px;
    outline: none;
    color: var(--text-dark);
    background: var(--white);
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    resize: vertical;
    min-height: 150px;
}

.contact_section .form_container textarea.message-box:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(42, 115, 255, 0.15);
}

.contact_section .form_container button {
    width: 100%;
    border: none;
    text-transform: uppercase;
    display: inline-block;
    padding: 14px 55px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 30px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.contact_section .form_container button:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 115, 255, 0.4);
}

.contact_section .map_container {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact_section .map_container .map {
    height: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.contact_section .map_container .map #googleMap {
    height: 100%;
    border-radius: 20px;
}

.client_section {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #ffffff 100%);
}

.client_section .heading_container {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.client_section .box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    margin: 45px;
    border-radius: 20px;
    background: var(--white);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.client_section .box .img-box {
    margin-bottom: 20px;
    min-width: 120px;
    max-width: 120px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
}

.client_section .box .img-box img {
    width: 100%;
    transition: all 0.3s;
}

.client_section .box:hover .img-box img {
    transform: scale(1.1);
}

.client_section .box .detail-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.client_section .box .detail-box .name img {
    width: 30px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.client_section .box .detail-box .name h6 {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.client_section .box .detail-box .name p {
    color: var(--text-light);
    font-size: 14px;
}

.client_section .box .detail-box p {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
}

.client_section .carousel_btn-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
}

.client_section .carousel-control-prev,
.client_section .carousel-control-next {
    position: unset;
    width: 45px;
    height: 45px;
    border: none;
    opacity: 1;
    background: var(--gradient-blue);
    border-radius: 50%;
    margin: 0;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.client_section .carousel-control-prev:hover,
.client_section .carousel-control-next:hover {
    background: var(--dark-blue);
    transform: scale(1.1);
}

.client_section .carousel-control-next {
    left: initial;
}

/* Posts Section Fix */
.posts_section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.posts_section .row {
    margin-right: -12px;
    margin-left: -12px;
}

.posts_section .row > [class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
    margin-bottom: 24px;
}

.post-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-img {
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-img img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.post-meta span {
    font-size: 12px;
    color: #64748b;
}

.post-meta i {
    margin-right: 5px;
    color: #2A73FF;
}

.post-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    flex: 1;
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2A73FF, #4A90E2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    width: fit-content;
}

.btn-readmore:hover {
    background: linear-gradient(135deg, #1e60cc, #3a7bc4);
    color: #fff;
    gap: 12px;
    transform: translateX(3px);
}

.footer_section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 70px 0 15px 0;
    position: relative;
}

.footer_section h4 {
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer_section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

.footer_section .footer_col {
    margin-bottom: 30px;
}

.footer_section .footer_contact .contact_link_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
}

.footer_section .footer_contact .contact_link_box a {
    color: var(--white);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer_section .footer_contact .contact_link_box a i {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer_section .footer_contact .contact_link_box a:hover {
    transform: translateX(5px);
    color: var(--soft-blue);
}

.footer_section .footer_social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 25px;
    gap: 15px;
}

.footer_section .footer_social a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--white);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s;
}

.footer_section .footer_social a:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer_section .footer_links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 15px;
}

.footer_section .footer_links a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--white);
    transition: all 0.3s;
}

.footer_section .footer_links a:hover {
    color: var(--soft-blue);
    transform: translateX(5px);
}

.footer_section form input {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 50px;
    color: var(--white);
    outline: none;
    border-radius: 25px;
    padding: 0 20px;
    font-size: 14px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer_section form input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer_section form button {
    width: 100%;
    text-align: center;
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 25px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.footer_section form button:hover {
    background: var(--soft-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer_section .footer-info {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_section .footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

.footer_section .footer-info p a {
    color: var(--white);
    font-weight: 700;
    transition: all 0.3s;
}

.footer_section .footer-info p a:hover {
    color: var(--soft-blue);
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .row {
        margin-right: -12px;
        margin-left: -12px;
    }

    .row > [class*="col-"] {
        padding-right: 12px;
        padding-left: 12px;
    }

    .department_section .row > [class*="col-"],
    .doctor_section .row > [class*="col-"],
    .posts_section .row > [class*="col-"] {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .row {
        margin-right: -8px;
        margin-left: -8px;
    }

    .row > [class*="col-"] {
        padding-right: 8px;
        padding-left: 8px;
    }

    .department_section .box {
        padding: 20px 15px;
    }

    .department_section .box .img-box {
        width: 80px;
        height: 80px;
    }

    .department_section .box .img-box img {
        max-width: 45px;
        max-height: 45px;
    }

    .doctor_section .box .detail-box {
        padding: 15px;
    }

    .post-img {
        height: 200px;
    }

    .post-content {
        padding: 15px;
    }

    .post-content h3 {
        font-size: 16px;
    }

    .contact_section .map_container {
        min-height: 300px;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .row {
        margin-right: -6px;
        margin-left: -6px;
    }

    .row > [class*="col-"] {
        padding-right: 6px;
        padding-left: 6px;
    }

    .department_section .box .img-box {
        width: 70px;
        height: 70px;
    }

    .department_section .box .img-box img {
        max-width: 40px;
        max-height: 40px;
    }

    .doctor_section .box .detail-box h5 {
        font-size: 16px;
    }

    .post-meta {
        gap: 8px;
    }

    .post-meta span {
        font-size: 10px;
    }

    .btn-readmore {
        padding: 6px 16px;
        font-size: 12px;
    }
}
