/* ==========================================================================
   PREMIUM PROFESSIONAL MEDICAL UI STYLES (assets/css/style.css)
   ========================================================================== */

:root {
    --brand-dark: #0f172a;       /* Deep Luxury Slate */
    --brand-primary: #0284c7;    /* Deep Clinical Blue */
    --brand-accent: #0d9488;     /* Premium Hospital Teal */
    --brand-light: #f8fafc;      /* Soft Light Gray-Blue */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: #334155;
    background-color: #ffffff;
    line-height: 1.7;
}

/* --- Global Layout Structural Controls (Zero Utilities Option) --- */
.section-spacer {
    padding-top: 50px;
    padding-bottom: 50px;
}
@media(min-width:992px)
{
    .section-spacer {
    padding-top: 100px;
    padding-bottom: 100px;
}
}
.bg-light-panel {
    background-color: var(--brand-light);
}
.section-header-centered {
    text-align: center;
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}
.section-header-subtitle {
    color: #64748b;
}

/* --- Premium Navigation --- */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}
.navbar-brand span {
    letter-spacing: -0.5px;
}
.nav-link {
    font-size: 0.95rem;
    color: #475569 !important;
    position: relative;
    transition: color 0.25s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--brand-primary) !important;
}
/* --- Premium Navigation Structural Rules (Zero Utilities) --- */
.custom-navbar-premium {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.brand-identity-box {
    display: flex;
    flex-direction: column;
}

.brand-name-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary) !important;
    margin-bottom: 0;
}

.brand-credentials-text {
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.navigation-menu-list {
    margin-left: auto; /* വലത് വശത്തേക്ക് മെനു അലൈൻ ചെയ്യാൻ */
    margin-bottom: 0;
    padding-left: 0;
}

@media (max-width: 991.98px) {
    .navigation-menu-list {
        margin-left: 0;
        margin-top: 1rem;
    }
}

.custom-menu-link {
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.main-content-panel {
    margin-top: 70px;
    flex: 1 0 auto;
}
/* --- Asymmetrical Split Hero Framework --- */
.hero-wrapper {
    overflow: hidden;
}
.hero-wrapper .container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.hero-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}
.hero-wrapper [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}
.hero-carousel-container {
    width: 100%;
}
.hero-content-container {
    padding: 3rem 1.5rem;
}
@media (min-width: 992px) {
    .hero-content-container {
        padding: 6rem 4rem;
    }
}
.hero-subtitle {
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}
.hero-title {
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}
.hero-text {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-slide-img {
    width: 100%;
    height: 45vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (min-width: 992px) {
    .hero-slide-img {
        height: 85vh;
    }
}
.hero-image-slider .owl-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.hero-image-slider .owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    margin: 5px 7px;
    border-radius: 50%;
    transition: background 0.25s ease;
}
.hero-image-slider .owl-theme .owl-dots .owl-dot.active span {
    background: var(--brand-primary);
}

/* --- Clean Typography Components --- */
.section-title-sub {
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}
.section-title-main {
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}
.text-subtitle-degree {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 400;
}
.biography-lead-text {
    color: #475569;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.biography-secondary-text {
    color: #64748b;
    margin-bottom: 1.5rem;
}
h3.publication-article-title {
    font-size: 1.1rem;
}
/* ==========================================================================
   NEW PREMIUM DOCTOR RESUME / PROFILE PAGE COMPONENT STYLES
   ========================================================================== */
.profile-page-wrapper {
    background-color: #f8fafc;
}
.profile-main-grid {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 2rem;
}
@media (min-width: 992px) {
    .profile-sticky-sidebar {
        position: sticky;
        top: 100px;
        z-index: 10;
    }
}
.profile-avatar-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.03);
    margin-bottom: 2rem;
}
.profile-image-container {
    margin-bottom: 0;
    overflow: hidden;
    background-color: var(--brand-light);
}
.profile-photo-element {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.profile-quick-meta {
    padding: 1.5rem;
    text-align: center;
}
.profile-doctor-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}
.profile-doctor-degrees {
    font-size: 1rem;
    color: var(--brand-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.profile-doctor-tagline {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
}
.profile-sidebar-widget {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.03);
}
.widget-block-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--brand-light);
    padding-bottom: 0.5rem;
}
.academic-vertical-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.academic-vertical-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.academic-vertical-list li:last-child {
    margin-bottom: 0;
}
.academic-year-tag {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--brand-light);
    color: var(--brand-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    height: max-content;
    white-space: nowrap;
}
.academic-degree-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
    display: block;
}
.academic-sub-text {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}
.profile-main-content-rail {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.profile-content-section-block {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.03);
}
.profile-section-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}
.medical-linear-timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid #e2e8f0;
}
.timeline-node-card {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-node-card:last-child {
    margin-bottom: 0;
}
.timeline-node-card::before {
    content: '';
    position: absolute;
    left: calc(-1.5rem - 7px);
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 2px solid #ffffff;
}
.timeline-node-card:first-child::before {
    background-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}
.timeline-node-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
@media (min-width: 576px) {
    .timeline-node-header {
        flex-direction: row;
        align-items: center;
    }
}
.timeline-node-date-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #cbd5e1;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    width: max-content;
}
.timeline-node-date-badge.active-date {
    background-color: var(--brand-primary);
    color: #ffffff;
}
.timeline-node-role {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0;
}
.timeline-node-institution {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
}
.publication-premium-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.publication-item-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--brand-light);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.pub-icon-indicator {
    font-size: 1.25rem;
    line-height: 1;
}
.pub-info-box {
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .profile-content-section-block {
        padding: 1.5rem;
    }
}

/* --- Component Cards & Blocks --- */
.doctor-profile-image-wrapper {
    width: 100%;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .profile-content-section-block {
        padding: 0;
    }
}
.doctor-figure-box {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}
.inline-profile-img {
    width: 100%;
    height: auto;
}
.doctor-mission-card {
    padding: 1.5rem;
    background-color: var(--brand-light);
    border-radius: 0.5rem;
    border-left: 4px solid var(--brand-primary);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.mission-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}
.mission-card-text {
    color: #64748b;
    margin-bottom: 0;
    font-style: italic;
}
.medical-specialty-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    height:auto;
    margin-bottom: 1rem;
}
@media(min-width:992px)
{
    .medical-specialty-card
    {
        margin-bottom: 0;
        height: 100%;
    }
}
.medical-specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.03);
    border-color: rgba(2, 132, 199, 0.15);
}
.specialty-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-dark);
}
.specialty-card-text {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0;
}
/* --- Services Page Structural Rules (Zero Utilities) --- */
.services-header-centered {
    text-align: center;
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
}

/* കാർഡുകൾ തമ്മിലുള്ള അകലം കസ്റ്റം ആയി നിയന്ത്രിക്കാൻ */
.row-services-gap {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    display: flex;
    flex-wrap: wrap;
}

/* ഒൻപത് കാർഡുകൾക്കും ഒരേ ഉയരം വരാൻ ഫ്ലെക്സ് ബോക്സ് ടാസ്ക് ഗ്രൂപ്പ് */
.medical-specialty-card-full {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    
    /* ഇതാണ് ബൂട്ട്സ്ട്രാപ്പ് h-100 ന് പകരമുള്ള പ്യുവർ ഫ്ലെക്സ് സ്റ്റൈൽ */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.medical-specialty-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.03);
    border-color: rgba(2, 132, 199, 0.15);
}

/* കസ്റ്റം ഇൻഡക്സ് നമ്പർ ബോക്സ് (01, 02, 03...) */
.medical-specialty-card-full .card-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--brand-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: monospace;
}

.medical-specialty-card-full .specialty-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-dark);
    line-height: 1.4;
}

.medical-specialty-card-full .specialty-card-text {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.6;
}
/* --- Consolidated Clean Button Architecture --- */
.btn-medical-core {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    cursor: pointer;
}
.btn-medical-solid {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #0369a1 100%);
    color: #ffffff;
}
.btn-medical-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
    color: #ffffff;
}
.btn-medical-outline {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: transparent;
}
.btn-medical-outline:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-2px);
}
.gallery-tabs-flex-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}
.gallery-tabs-flex-container .nav {
    display: flex;
    list-style: none;
    padding-left: 0;
    gap: 1rem;
}
.btn-medical-tab {
    background-color: transparent;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-medical-tab.active {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}
.video-overlay-trigger-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-medical-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--brand-primary);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}
.btn-medical-play:hover {
    transform: scale(1.1);
    background-color: #0369a1;
}

/* --- Interactive Gallery System --- */
.custom-masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
}
.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
}
@media (max-width: 992px) {
    .custom-masonry-gallery {
        column-count: 2;
    }
}
@media (max-width: 576px) {
    .custom-masonry-gallery {
        column-count: 1;
    }
}
.custom-gallery-card-wrapper, .video-item-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    margin-bottom: 1rem;
}
.gallery-figure-card {
    margin-bottom: 0;
    overflow: hidden;
}
.dynamic-masonry-img, .dynamic-video-img {
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-gallery-card-wrapper:hover .dynamic-masonry-img,
.video-item-wrapper:hover .dynamic-video-img {
    transform: scale(1.05);
}

/* --- Gallery Page Structural Overrides (Zero Utilities) --- */
.gallery-header-block {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-main-title {
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.gallery-subtitle-text {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ചിത്രങ്ങൾക്കും വീഡിയോ കാർഡുകൾക്കും ഇടയിലെ അകലം കസ്റ്റം ആയി നിയന്ത്രിക്കാൻ */
.gallery-grid-gap {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.dynamic-gallery-img {
    width: 100%;
    height: auto;
    display: block;
}


/* ==========================================================================
   PREMIUM PARALLAX SERVICES ENGINE (Zero Utilities)
   ========================================================================== */

.parallax-services-wrapper {
    position: relative;
    padding-top: 120px;
    padding-bottom: 120px;
    overflow: hidden;
}

/* പാരലാക്സ് ബാക്ക്ഗ്രൗണ്ട് സെറ്റപ്പ് */
.parallax-background-engine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* ഇതാണ് പാരലാക്സ് മാജിക് ചെയ്യുന്നത് */
    background-attachment: fixed;
    z-index: 1;
}

/* മൊബൈൽ ഫോണുകളിൽ പാരലാക്സ് ഫിക്സഡ് അറ്റാച്ച്മെന്റ് ചിലപ്പോൾ പ്രശ്നം ഉണ്ടാക്കാം, അത് ഒഴിവാക്കാൻ */
@media (max-width: 991.98px) {
    .parallax-background-engine {
        background-attachment: scroll;
    }
}

/* ബാക്ക്ഗ്രൗണ്ടിലെ ചിത്രത്തിന് മുകളിൽ ടെക്സ്റ്റ് വ്യക്തമായി കാണാനുള്ള ഡാർക്ക് ഷെയ്ഡ് */
.parallax-overlay-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 2;
}

.parallax-services-wrapper .container {
    position: relative;
    z-index: 3; /* ഉള്ളടക്കം ഷെയ്ഡിന് മുകളിൽ വരാൻ */
}

/* ഹെഡ്ഡർ ഘടന */
.parallax-header-block {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.parallax-subtitle-tag {
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

.parallax-main-heading {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.parallax-description-text {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ഗ്രിഡ് കാർഡ്സ് ഗ്യാപ് */
.parallax-cards-grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* പ്രീമിയം മോഡേൺ ഗ്ലാസ്സ് മോർഫിസം കാർഡുകൾ */
.parallax-service-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.parallax-service-item-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.parallax-card-icon {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.parallax-card-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ബട്ടൺ കണ്ടെയ്നർ അലൈൻമെന്റ് */
.text-center-fallback {
    text-align: center;
    width: 100%;
}

.parallax-action-container {
    display: inline-block;
    margin-top: 1rem;
}

/* ==========================================================================
   SIMPLE FIXED BACKGROUND GALLERY (Single Div Layout)
   ========================================================================== */

.simple-parallax-gallery {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* ഇതാണ് നിങ്ങൾ ഉദ്ദേശിച്ച ഫിക്സഡ് ബാക്ക്ഗ്രൗണ്ട് പ്രോപ്പർട്ടി */
    background-attachment: fixed;
    
    /* ചിത്രത്തിന് മുകളിൽ ഡാർക്ക് ഷെയ്ഡ് വരാൻ CSS ലൂടെ തന്നെ ഓവർലേ നൽകുന്നു */
    position: relative;
}



/* ഉള്ളടക്കങ്ങൾ ഷെയ്ഡിന് മുകളിൽ വരാൻ വേണ്ടി */
.simple-parallax-gallery .container {
    position: relative;
    z-index: 2;
}

/* ടെക്സ്റ്റ് കളറുകൾ ഡാർക്ക് തീമിലേക്ക് മാറ്റി */
.text-white-theme {
    color: #ffffff !important;
}

.text-muted-theme {
    color: #94a3b8 !important;
}

/* ടാബുകൾ ഡാർക്ക് ബാക്ക്ഗ്രൗണ്ടിൽ കാണാൻ വേണ്ടിയുള്ള സ്റ്റൈൽ */
.simple-parallax-gallery .btn-medical-tab {
    background-color: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
}

.simple-parallax-gallery .btn-medical-tab.active {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

/* മൊബൈൽ ഫോണുകളിൽ ഇമേജ് കട്ടാവാതിരിക്കാൻ ഫിക്സഡ് സ്ക്രോൾ ആക്കി മാറ്റുന്നു */
@media (max-width: 991.98px) {
    .simple-parallax-gallery {
        background-attachment: scroll;
    }
}
/* ==========================================================================
   PREMIUM CLINICAL CONTACT & FORM SYSTEM REDESIGN STYLES
   ========================================================================== */

.contact-page-wrapper {
    background-color: #f8fafc; /* ലൈറ്റ് സോഫ്റ്റ് ബാക്ക്ഗ്രൗണ്ട് */
}

.contact-header-centered {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

.contact-main-title {
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact-header-description {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-premium-grid {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 2rem;
}

.contact-form-row-gap {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.5rem;
}

/* LEFT SIDE: Premium Info Card */
.contact-info-premium-card {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1e293b 100%);
    color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-card-main-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    position: relative;
}

.info-contact-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-icon-box {
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    background-color: rgba(2, 132, 199, 0.15);
    color: var(--brand-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text-box {
    display: flex;
    flex-direction: column;
}

.info-row-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.info-row-value {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-bottom: 0;
    line-height: 1.6;
}

.info-row-value-highlight {
   
   
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}
.info-row-value-highlight:last-child {
    margin-bottom: 0;
}

/* OP Timings Badge Widget */
.info-hours-highlight-box {
    margin-top: auto;
    background-color: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hours-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    background-color: var(--brand-accent);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.hours-text {
    font-size: 0.85rem;
    color: #ccfbf1;
    margin-bottom: 0;
    font-weight: 500;
}

/* RIGHT SIDE: Minimal High-End Form Card */
.contact-form-premium-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.03);
}

.form-card-main-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 2.5rem;
}

.form-field-group {
    display: flex;
    flex-direction: column;
}

.custom-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* Input boxes dynamic overrides */
.form-premium-control {
    width: 100%;
    border: 1px solid #cbd5e1;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    background-color: #f8fafc;
    color: #1e293b;
    transition: all 0.25s ease-in-out;
}

.form-premium-control:focus {
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
    outline: none;
}

/* Textarea specifically */
textarea.form-premium-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit-container {
    margin-top: 0.75rem;
}

.btn-submit-fullwidth {
    width: 100%;
    padding: 1rem 2rem; /* ബട്ടൺ കുറച്ചുകൂടി പ്രീമിയം ആക്കാൻ */
    font-size: 1.05rem;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .contact-info-premium-card,
    .contact-form-premium-card {
        padding: 2rem 1.5rem;
    }
    .info-hours-highlight-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
/* --- Premium Footer Structural Rules (Zero Utilities) --- */
.custom-footer-premium {
    background-color: #0f172a; /* var(--brand-dark) അല്ലെങ്കിൽ ഡാർക്ക് തീം */
    color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

/* ഫൂട്ടറിലെ റോകൾക്ക് ഉള്ളിലുള്ള കോളങ്ങൾക്ക് കൃത്യമായ അകലം നൽകാൻ (g-4 ന് പകരം) */
.custom-footer-premium .row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.5rem;
}

.footer-brand-widget,
.footer-links-widget,
.footer-location-widget {
    margin-bottom: 1rem;
}

.footer-title-primary {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.footer-title-secondary {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-muted-text {
    font-size: 0.875rem;
    color: #94a3b8; /* മുട്ടഡ് ഗ്രേ കളർ */
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.footer-links-list li {
    margin-bottom: 0.5rem;
}

.footer-anchor-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-anchor-link:hover {
    color: var(--brand-primary);
}

.footer-horizontal-divider {
    border-top: 1px solid #334155; /* border-secondary ക്ക് പകരം */
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-copyright-text {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 0;
    text-align: center;
}

/* ==========================================================================
   FOOTER SOCIAL PROFILES ENGINE (Zero Utilities)
   ========================================================================== */

.footer-social-wrapper {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.footer-social-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff; /* ഫൂട്ടർ ഡാർക്ക് ആണെങ്കിൽ */
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.social-links-flex-row {
    display: flex;
    gap: 1rem; /* ഐക്കണുകൾ തമ്മിലുള്ള അകലം */
    flex-wrap: wrap;
}

/* വൃത്താകൃതിയിലുള്ള ഐക്കൺ ബട്ടണുകൾ */
.social-icon-circle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SVG ഐക്കൺ കളർ മാനേജ്മെന്റ് */
.svg-social-icon {
    width: 20px;
    height: 20px;
    fill: #94a3b8; /* ഡീഫോൾട്ട് ഓഫ്-വൈറ്റ് കളർ */
    transition: fill 0.3s ease;
}

/* ഹോവർ ചെയ്യുമ്പോൾ ഉണ്ടാകുന്ന ആനിമേഷൻ */
.social-icon-circle-btn:hover {
    transform: translateY(-4px);
    background-color: var(--brand-primary); /* നിങ്ങളുടെ മെയിൻ ബ്ലൂ കളർ എടുക്കും */
    border-color: var(--brand-primary);
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3);
}

.social-icon-circle-btn:hover .svg-social-icon {
    fill: #ffffff; /* ഹോവർ ചെയ്യുമ്പോൾ ഐക്കൺ പ്യുവർ വൈറ്റ് ആകും */
}