/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Palette Variables */
:root {
  --primary-color: #dc3545;
  --secondary-color: #1e3a8a;
  --accent-color: #c82333;
  --text-color: #222;
  --text-light: #f1f3f4;
  --background: #f8f9fa;
  --background-alt: #fff5f5;
  --border-color: #e9ecef;
  --danger-color: #b91c1c;
}

/* Top Contact Bar Styles */
.top-contact-bar {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
    width: 100%;
}

.top-contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-left,
.contact-info-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item i {
    font-size: 1rem;
    color: #ffd700;
}

/* Header Updates */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    color: var(--text-color);
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--danger-color));
    padding: 12px 0;
    width: 100%;
}

/* Force navbar text colors */
.navbar .logo-text h2,
.navbar .logo-text p {
    color: white !important;
    text-decoration: none !important;
}

.navbar .nav-link {
    color: white !important;
    text-decoration: none !important;
}

/* Override any potential color conflicts */
.nav-logo .logo-text h2,
.nav-logo .logo-text p,
.nav-left .logo-text h2,
.nav-left .logo-text p {
    color: white !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

/* Ultra-specific overrides for cPanel conflicts */
.navbar .nav-container .nav-left .nav-logo .logo-container .logo-text h2,
.navbar .nav-container .nav-left .nav-logo .logo-container .logo-text p,
.navbar .nav-container .nav-left .logo-container .logo-text h2,
.navbar .nav-container .nav-left .logo-container .logo-text p {
    color: white !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
    text-underline-position: auto !important;
}

/* Force all navbar text to be white */
.navbar * {
    color: white !important;
}

.navbar .logo-text h2,
.navbar .logo-text p {
    color: white !important;
    text-decoration: none !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* New navbar layout */
.nav-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 0 0 auto;
}

/* Mobile responsive adjustments for new layout */
@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .nav-right {
        gap: 0.5rem;
    }
    
    .nav-container {
        gap: 1rem;
    }
}

/* Appointment button styling handled by nav-right container */

/* Language Switcher Styling */
.language-switcher {
    display: flex !important;
    align-items: center;
    margin-left: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.lang-switch-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 18px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Bengali', sans-serif;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    min-width: 50px;
    text-align: center;
    position: relative;
    z-index: 100;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.lang-switch-btn:hover {
    background: linear-gradient(135deg, #c82333, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.lang-switch-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* Language Toggle Styling */
.language-toggle {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.lang-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.lang-btn.active:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Responsive Design for Language Toggle */
@media (max-width: 768px) {
    .language-toggle {
        margin-left: 0.5rem;
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .language-toggle {
        margin-left: 0.3rem;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

.btn-appointment {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-appointment:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-appointment.active {
    background: linear-gradient(135deg, #c82333, #bd2130);
}

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
    width: 100%;
    padding-top: 0; /* Account for fixed header height */
}

/* All overflow disabled */

/* Prevent horizontal overflow for all elements */
*, *::before, *::after {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure all main containers don't overflow */
.hero, .about-content, .quick-info, .footer, section {
    width: 100%;
    overflow: hidden;
}

/* Additional overflow prevention */
.hero-content, .hero-text, .hero-image, .navbar, .nav-container {
    max-width: 100%;
    overflow: hidden;
}

/* Responsive images and media */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Latest Blog Posts Section */
.latest-blog-section {
    padding: 80px 0;
    background-color: var(--background);
}

.latest-blog-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.latest-blog-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.underline {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-post-content {
    padding: 25px;
}

.blog-post-date {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.blog-post-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    border-bottom-color: var(--primary-color);
    transform: translateX(5px);
}

/* Blog Full Content Styles */
.blog-post-full-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.full-content-text h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
    border-left: 4px solid #dc3545;
    padding-left: 15px;
}

.full-content-text h4:first-child {
    margin-top: 0;
}

.full-content-text p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.full-content-text p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Expanded Card Styles */
.blog-post-card.expanded {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-post-card.expanded .blog-post-content {
    padding: 25px 25px 30px 25px;
}

/* Read More/Less Button Expanded State */
.read-more-link.expanded {
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.read-more-link.expanded:hover {
    background-color: #c82333;
    transform: translateX(0);
    border-bottom-color: transparent;
}

/* Animation for content expansion */
.blog-post-full-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 100px 0;
    background-color: #ffffff;
    min-height: 80vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.contact-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    margin-bottom: 25px;
}

.contact-icon span {
    font-size: 3rem;
    display: block;
    color: var(--primary-color);
}

.contact-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.contact-content p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Email contact item special styling */
.contact-item:first-child .contact-content p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #dc3545;
    word-break: break-all;
}

/* Responsive Styles for Top Contact Bar */
@media (max-width: 768px) {
    .top-contact-bar {
        font-size: 0.75rem;
        padding: 8px 0;
    }
    
    .top-contact-bar .container {
        padding: 0 15px;
    }
    
    .contact-info-left,
    .contact-info-right {
        gap: 15px;
    }
    
    .contact-info-right {
        display: none; /* Hide contact info on mobile */
    }
    
    .contact-info-left {
        justify-content: center;
        width: 100%;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    html, body {
        padding-top: 140px; /* Adjusted for mobile header height */
    }
    
    .btn-appointment {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 60px 0;
    }
    
    .contact-header h1 {
        font-size: 2.2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .contact-item {
        padding: 30px 20px;
    }
    
    .contact-icon span {
        font-size: 2.5rem;
    }
    
    .contact-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        padding: 0 15px;
    }
    
    .contact-item {
        padding: 25px 15px;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
}

/* Responsive Design for Blog Posts */
@media (max-width: 768px) {
    .latest-blog-section {
        padding: 60px 0;
    }
    
    .latest-blog-section .section-header h2 {
        font-size: 2rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post-title {
        font-size: 1.25rem;
    }
    
    .full-content-text h4 {
        font-size: 1.1rem;
    }
    
    .blog-post-card.expanded .blog-post-content {
        padding: 20px;
    }
}

/* Text containers */
h1, h2, h3, h4, h5, h6, p, span, div {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Mobile menu and navigation fixes */
.nav-menu {
    max-width: 100vw;
    overflow: hidden;
    z-index: 1001;  /* overlay header (header z-index:1000) */
}

/* Form and input elements */
input, textarea, select, button {
    max-width: 100%;
    box-sizing: border-box;
}

/* Grid and flex containers */
.hero-content, .about-grid, .info-cards, .footer-content {
    width: 100%;
    max-width: 100%;
}

/* Membership Section Styling */
.membership-content {
    margin-top: 1rem;
}

.membership-note {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.membership-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.membership-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.membership-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.15);
}

.membership-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.org-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
}

/* Fallback for missing logos */
.org-logo[src*="macp-logo.png"]:not([src*="/"]) {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.org-logo[src*="macp-logo.png"]:not([src*="/"])::before {
    content: "MACP";
}

.org-logo[src*="hsb-logo.png"]:not([src*="/"]) {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.org-logo[src*="hsb-logo.png"]:not([src*="/"])::before {
    content: "HSB";
}

.org-logo[src*="eha-logo.png"]:not([src*="/"]) {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.org-logo[src*="eha-logo.png"]:not([src*="/"])::before {
    content: "EHA";
}

.membership-details h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.membership-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* International content styling */
.international-content {
    line-height: 1.7;
}

.international-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Responsive membership section */
@media (max-width: 768px) {
    .membership-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .membership-logo {
        width: 50px;
        height: 50px;
    }
    
    .org-logo {
        width: 35px;
        height: 35px;
    }
    
    .membership-details h4 {
        font-size: 1rem;
    }
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-attachment: fixed;
    position: relative;
}

/* Medical background pattern */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(220, 53, 69, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 53, 69, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(220, 53, 69, 0.02) 0%, transparent 50%);
    background-size: 800px 800px, 600px 600px, 400px 400px;
    background-position: 0 0, 100px 100px, 200px 200px;
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 30s ease-in-out infinite;
}

/* Advanced background animations */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(220, 53, 69, 0.008) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(220, 53, 69, 0.008) 50%, transparent 60%);
    background-size: 200px 200px, 300px 300px;
    pointer-events: none;
    z-index: -1;
    animation: backgroundWave 25s linear infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background-position: 0 0, 100px 100px, 200px 200px;
        transform: rotate(0deg);
    }
    33% { 
        background-position: 50px 50px, 150px 150px, 250px 250px;
        transform: rotate(1deg);
    }
    66% { 
        background-position: -50px 50px, 50px 200px, 150px 100px;
        transform: rotate(-1deg);
    }
}

@keyframes backgroundWave {
    0% { transform: translateX(-100px) translateY(0px); }
    50% { transform: translateX(100px) translateY(-50px); }
    100% { transform: translateX(-100px) translateY(0px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Clickable Logo Styles */
.clickable-logo {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
}

.clickable-logo:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.clickable-logo:active {
    transform: scale(0.98);
}

.clickable-logo h2,
.clickable-logo p {
    transition: all 0.3s ease;
    color: white !important;
    text-decoration: none !important;
}

.clickable-logo:hover h2 {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
}

.clickable-logo:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
}

.nav-logo-img {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    border: 2px solid #dc3545;
    background-color: white;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
    object-fit: contain;
}

.nav-logo-img:hover {
    transform: scale(1.05);
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
}

.logo-text h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: white !important;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1.1;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

.logo-text p {
    font-size: 0.75rem;
    opacity: 0.9;
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1.1;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

/* Fallback if no logo image */
.nav-logo-img:not([src]),
.nav-logo-img[src=""],
.nav-logo-img[src="favicon.png"]:not([src*="/"]) {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid white;
}

.nav-logo-img:not([src])::before,
.nav-logo-img[src=""]::before,
.nav-logo-img[src="favicon.png"]:not([src*="/"])::before {
    content: "🩺";
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}
.highlight-super{
    font-weight: 700 !important;
    color: white !important;
    background: linear-gradient(135deg, #dc3545, #e74c3c) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
    display: inline-block !important;
    animation: none !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
}

/* Clean red highlighting - simple and professional */

.highlight-super:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626) !important;
    color: white !important;
    cursor: default !important;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4) !important;
}
.nav-link.active {
    background-color: transparent;
    color: white;
    border-bottom: none;
}

.appointment-btn {
    background-color: white;
    color: #dc3545;
    font-weight: 600;
}

.appointment-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.language-toggle {
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: white;
    color: #dc3545;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 110px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

/* Medical floating elements */
.hero-content::before {
    content: "🩺 💊 🔬 🩸 💉 🧬";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    opacity: 0.05;
    z-index: -1;
    animation: medicalFloat 40s linear infinite;
    pointer-events: none;
    letter-spacing: 100px;
    line-height: 150px;
    overflow: hidden;
}

@keyframes medicalFloat {
    0% { transform: translateY(100vh) translateX(-20px); }
    100% { transform: translateY(-100px) translateX(20px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.specialty-tag {
    background-color: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.qualifications {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qualifications p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.position {
    margin-bottom: 1.5rem;
}

.position h3 {
    font-size: 1.3rem;
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.position p {
    color: #666;
    font-weight: 500;
}

.description {
    margin-bottom: 2rem;
}

.description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.slogan {
    background-color: #fff5f5;
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 10px 10px 0;
}

.slogan blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: #dc3545;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #dc3545, #c82333, #bd2130);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c82333, #bd2130, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, transparent, transparent);
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: linear-gradient(135deg, transparent, transparent);
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.doctor-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.doctor-image {
    width: 900px;
    height: 900px;
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 12px solid #dc3545;
    box-shadow: 0 25px 60px rgba(220, 53, 69, 0.5);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-specialty {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(220, 53, 69, 0.2);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-specialty .highlight-super {
    background: linear-gradient(135deg, #dc3545, #e74c3c) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
    text-align: center !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    white-space: normal !important;
    min-width: 200px !important;
}

/* Responsive Design for Doctor Specialty */
@media (max-width: 1200px) {
    .doctor-specialty {
        margin: 15px 0;
        padding: 12px;
    }
    
    .doctor-specialty .highlight-super {
        font-size: 1rem !important;
        padding: 8px 16px !important;
        white-space: normal !important;
    }
}

@media (max-width: 768px) {
    .doctor-specialty {
        margin: 10px 0;
        padding: 10px;
    }
    
    .doctor-specialty .highlight-super {
        font-size: 0.9rem !important;
        padding: 6px 12px !important;
        white-space: normal !important;
        min-width: 150px !important;
    }
    
    .highlight-super {
        font-size: 0.9rem !important;
        padding: 6px 12px !important;
        white-space: normal !important;
    }
}

@media (max-width: 992px) {
    .doctor-specialty {
        margin: 10px 0;
        padding: 6px;
    }
    
    .doctor-specialty .highlight-super {
        font-size: 1rem !important;
        padding: 6px 12px !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 768px) {
    .doctor-specialty {
        margin: 8px 0;
        padding: 5px;
        background: rgba(220, 53, 69, 0.08);
        border: 1px solid rgba(220, 53, 69, 0.2);
        border-radius: 8px;
    }
    
    .doctor-specialty .highlight-super {
        font-size: 0.95rem !important;
        padding: 6px 10px !important;
        border-radius: 15px !important;
        line-height: 1.3 !important;
        display: block !important;
        margin: 0 auto !important;
        max-width: 90% !important;
    }
}

@media (max-width: 576px) {
    .doctor-specialty {
        margin: 6px 0;
        padding: 4px;
    }
    
    .doctor-specialty .highlight-super {
        font-size: 0.85rem !important;
        padding: 5px 8px !important;
        border-radius: 12px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }
}

@media (max-width: 480px) {
    .doctor-specialty {
        margin: 4px 0;
        padding: 3px;
    }
    
    .doctor-specialty .highlight-super {
        font-size: 0.8rem !important;
        padding: 4px 6px !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
    }
}

@media (max-width: 360px) {
    .doctor-specialty .highlight-super {
        font-size: 0.75rem !important;
        padding: 3px 5px !important;
        border-radius: 8px !important;
    }
}

/* Responsive Doctor Image Container */
@media (max-width: 1200px) {
    .doctor-image {
        width: 750px;
        height: 750px;
    }
}

@media (max-width: 992px) {
    .doctor-image {
        width: 650px;
        height: 650px;
    }
}

@media (max-width: 768px) {
    .doctor-image {
        width: 500px;
        height: 500px;
    }
    
    .doctor-image-container {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .doctor-image {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .doctor-image {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 360px) {
    .doctor-image {
        width: 300px;
        height: 300px;
        max-width: 90vw;
        max-height: 90vw;
    }
    
    /* Extra small screen overflow prevention */
    .container {
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 10px;
    }
}

.badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #dc3545;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Quick Info Section */
.quick-info {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.quick-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(220, 53, 69, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(220, 53, 69, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(220, 53, 69, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(220, 53, 69, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
    pointer-events: none;
    animation: checkerboardShift 25s ease-in-out infinite;
}

.quick-info::after {
    content: "● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0.5rem;
    color: rgba(220, 53, 69, 0.08);
    z-index: 0;
    animation: particleField 45s linear infinite;
    pointer-events: none;
    letter-spacing: 30px;
    line-height: 50px;
    overflow: hidden;
}

@keyframes checkerboardShift {
    0%, 100% { background-position: 0 0, 0 30px, 30px -30px, -30px 0px; }
    50% { background-position: 30px 30px, 30px 60px, 60px 0px, 0px 30px; }
}

@keyframes particleField {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0.08; }
    50% { transform: translateY(50vh) rotate(180deg); opacity: 0.04; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0.08; }
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.info-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-card:hover::before {
    transform: scale(1.2);
    opacity: 0.8;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
    font-weight: 500;
}

/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.95), rgba(80, 200, 120, 0.95)), url('image/doctor.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.services-hero .hero-content {
    position: relative;
    z-index: 2;
}

.services-hero .page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-hero .page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.services-hero .hero-highlight {
    margin-top: 2rem;
}

.main-services {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.services-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.service-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.service-header .service-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(220, 53, 69, 0.10);
    border: 2px solid #f3f3f3;
}

.service-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.service-description {
    margin-top: 1rem;
}

.desc-placeholder {
    color: #999;
    font-style: italic;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.expertise-section {
    padding: 4rem 0;
    background: white;
}

.expertise-content {
    text-align: center;
}

.expertise-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expertise-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expertise-item p {
    color: #666;
    line-height: 1.6;
}

.treatment-philosophy {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(80, 200, 120, 0.05));
}

.philosophy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.philosophy-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 5px solid var(--accent-color);
}

.quote-author {
    text-align: center;
}

.quote-author strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.quote-author p {
    color: #666;
    margin-top: 0.5rem;
}

.services-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.services-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.emergency-contact {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: inline-block;
}

.emergency-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.emergency-contact a:hover {
    text-decoration: underline;
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
    .services-hero .page-title {
        font-size: 2.5rem;
    }
    
    .services-hero .page-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .philosophy-quote {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(220, 53, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(220, 53, 69, 0.05) 0%, transparent 50%);
    background-size: 400px 400px, 600px 600px;
    pointer-events: none;
    animation: footerGlow 15s ease-in-out infinite;
}

.footer::after {
    content: "╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0.8rem;
    color: rgba(220, 53, 69, 0.1);
    z-index: 1;
    animation: networkPattern 40s linear infinite;
    pointer-events: none;
    letter-spacing: 20px;
    line-height: 40px;
    overflow: hidden;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes networkPattern {
    0% { transform: translateX(-50px); opacity: 0.1; }
    50% { transform: translateX(50px); opacity: 0.05; }
    100% { transform: translateX(-50px); opacity: 0.1; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Ensure all content appears above background effects */
.nav-container,
.hero-content,
.page-header .container,
.about-grid,
.services-grid,
.contact-grid,
.appointment-grid,
.process-steps,
.emergency-info,
.footer-content {
    position: relative;
    z-index: 2;
}

/* Advanced geometric background for special sections */
.philosophy-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(220, 53, 69, 0.05) 0%, transparent 30%),
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(220, 53, 69, 0.01) 30deg, transparent 60deg);
    animation: geometricRotation 60s linear infinite;
    pointer-events: none;
}

@keyframes geometricRotation {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.footer-section h3,
.footer-section h4,
.footer-section h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.footer-section ul li:before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Chamber Address Styling */
.chamber-address {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #dc3545;
}

.chamber-address h5 {
    color: #dc3545;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chamber-address p {
    color: #adb5bd;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chamber-address p:last-child {
    color: #dc3545;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Appointment Section Styling */
.appointment-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23dc3545" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23medical)"/></svg>');
    opacity: 0.3;
}

.appointment-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 2.5rem 1rem 2rem 1rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(220, 53, 69, 0.10);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.appointment-header h1 {
    font-size: 2.5rem;
    color: white !important;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.appointment-header p {
    font-size: 1.2rem;
    color: #ffeaea !important;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.chambers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.chamber-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.chamber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
}

.chamber-card.primary {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--accent-color) 100%);
    position: relative;
    color: white;
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.18);
}

.chamber-card.primary .chamber-header h2,
.chamber-card.primary .chamber-header h3 {
    color: white !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.chamber-card.primary .chamber-header {
    background: rgba(255,255,255,0.06);
    padding: 1.2rem 1rem 1rem 1rem;
    border-radius: 1rem 1rem 0 0;
    margin-bottom: 1.5rem;
}

.chamber-card.primary::before {
    content: '⭐ প্রধান চেম্বার';
    position: absolute;
    top: -18px;
    left: 24px;
    background: var(--primary-color);
    color: white;
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
    letter-spacing: 0.5px;
    z-index: 3;
}

.chamber-header {
    margin-bottom: 2rem;
    text-align: center;
}

.chamber-header h2 {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.chamber-header h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.chamber-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    border-left: 3px solid #dc3545;
}

.detail-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.detail-content strong {
    color: #dc3545;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: #222;
    margin: 0;
    line-height: 1.5;
}

.services-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e9ecef;
}

.services-section h4 {
    color: #dc3545;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    color: #222;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.95rem;
    line-height: 1.4;
}

.services-list li:last-child {
    border-bottom: none;
}

.emergency-banner {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.emergency-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white !important;
}

.emergency-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: #ffeaea !important;
}

.emergency-contacts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.emergency-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.emergency-item .icon {
    font-size: 1.3rem;
}

/* Social Icons Styling */
.social-icons {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons h5 {
    color: #dc3545;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Social Media Brand Colors */
.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #0d6efd);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #dc3545);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #0a66c2);
}

.social-link.twitter {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    position: relative;
}

.social-link.twitter::before {
    content: "✕";
    font-size: 1.4em;
    font-weight: bold;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.social-link.twitter i {
    opacity: 0;
}

.social-link.orcid {
    background: linear-gradient(135deg, #a6ce39, #8bc34a);
}

/* Responsive Design for Social Icons */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Responsive Design for Appointment Section */
@media (max-width: 768px) {
    .appointment-header h1 {
        font-size: 2rem;
    }
    
    .chambers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .chamber-card {
        padding: 1.5rem;
    }
    
    .emergency-contacts {
        flex-direction: column;
        gap: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-item .icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .appointment-header h1 {
        font-size: 1.8rem;
    }
    
    .chamber-card {
        padding: 1rem;
    }
    
    .chamber-header h2 {
        font-size: 1.3rem;
    }
    
    .chamber-header h3 {
        font-size: 1rem;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #495057;
    color: #adb5bd;
}

/* Chamber Schedule Styling */
.chamber-schedule {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #dc3545;
    font-size: 1.1rem;
}

.schedule-header .icon {
    font-size: 1.2rem;
}

.schedule-body {
    margin-left: 1.7rem;
}

.schedule-item {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #333;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.schedule-item:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-container {
        gap: 0.5rem;
    }
    
    .language-switcher {
        margin-left: 0;
        order: 2;
    }
    
    .appointment-button {
        margin-left: 0;
        order: 3;
    }
    
    .btn-appointment {
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .hamburger {
        order: 4;
    }
    
    .lang-switch-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .doctor-image {
        width: 300px;
        height: 300px;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .doctor-image {
        width: 250px;
        height: 250px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* Animation for loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > * {
    animation: fadeInUp 0.8s ease-out;
}

.doctor-image {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Placeholder for doctor image when no image is available */
.doctor-image:empty:before {
    content: "👨‍⚕️";
    font-size: 8rem;
    color: #dc3545;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.03) 20px,
        rgba(255, 255, 255, 0.03) 40px
    );
    animation: slide 20s linear infinite;
}

.page-header::after {
    content: "● ○ ● ○ ● ○ ● ○ ● ○ ● ○ ● ○ ● ○ ● ○ ● ○";
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 60%;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    animation: molecularStructure 30s linear infinite;
    pointer-events: none;
    letter-spacing: 40px;
    line-height: 80px;
    text-align: center;
    overflow: hidden;
}

@keyframes molecularStructure {
    0% { transform: translateX(-100px) rotate(0deg); opacity: 0.1; }
    50% { transform: translateX(100px) rotate(180deg); opacity: 0.05; }
    100% { transform: translateX(-100px) rotate(360deg); opacity: 0.1; }
}

@keyframes slide {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(50px) translateY(50px); }
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.02) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 5%;
    width: 100%;
    height: 60%;
    background-image: 
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 15px,
            rgba(220, 53, 69, 0.01) 15px,
            rgba(220, 53, 69, 0.01) 30px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 15px,
            rgba(220, 53, 69, 0.01) 15px,
            rgba(220, 53, 69, 0.01) 30px
        );
    opacity: 0.5;
    animation: hexagonShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hexagonShift {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    50% { transform: translateX(20px) rotate(2deg); }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.doctor-profile {
    text-align: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #dc3545;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h2 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.specialty {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Highlighted specialty text */
.specialty-highlight {
    background: linear-gradient(135deg, #dc3545, #ff6b7d);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.2);
    margin: 0.5rem 0;
}

@keyframes glow {
    from {
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    }
    to {
        box-shadow: 0 6px 25px rgba(220, 53, 69, 0.5);
    }
}

/* Footer specialty highlight adjustment */
.footer .specialty-highlight {
    background: linear-gradient(135deg, #ff6b7d, #ffd93d);
    color: #333;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 213, 61, 0.4);
    animation: footerGlow 2s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    from {
        box-shadow: 0 4px 15px rgba(255, 213, 61, 0.4);
    }
    to {
        box-shadow: 0 6px 25px rgba(255, 213, 61, 0.6);
    }
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
}
#contact-info{
    font-size: 1.1rem;
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-section h3 {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 0.5rem;
}

.qualification-list {
    display: grid;
    gap: 1rem;
}

.qualification-item {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qualification-item h4 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.qualification-item p {
    color: #666;
    margin: 0;
}

.experience-content ul {
    list-style: none;
    padding: 0;
}

.experience-content li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: #555;
}

.experience-content li:before {
    content: "✓";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.philosophy-section {
    background: linear-gradient(135deg, #fff5f5 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy-section h3 {
    color: #dc3545;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.philosophy-section blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.appointment-cta {
    text-align: center;
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.appointment-cta h3 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.appointment-cta p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Services Page Styles */
.services-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.services-content::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.02) 0%, transparent 50%, rgba(220, 53, 69, 0.02) 100%);
    pointer-events: none;
}

.services-content::after {
    content: "⚕️ 🫀 🧪 💊 🩻 🔬 💉 🩺 🧬 🫁";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 100px;
    font-size: 1.5rem;
    opacity: 0.03;
    z-index: 0;
    animation: medicalSymbolsFlow 35s linear infinite;
    pointer-events: none;
    letter-spacing: 80px;
    white-space: nowrap;
    transform: translateY(-50%);
}

@keyframes medicalSymbolsFlow {
    0% { transform: translateX(-100%) translateY(-50%); }
    100% { transform: translateX(100%) translateY(-50%); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.services-grid::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(220, 53, 69, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
    animation: dotMatrix 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

@keyframes dotMatrix {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(40px, 40px) rotate(360deg); }
}

.service-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #dc3545;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(220, 53, 69, 0.02) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 15px;
}

.service-card:hover::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.service-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.95rem;
}

.service-card li:before {
    content: "▸";
    color: #dc3545;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.treatment-process {
    margin: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.treatment-process::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(220, 53, 69, 0.02) 10px,
            rgba(220, 53, 69, 0.02) 20px
        );
    animation: wavePattern 15s ease-in-out infinite;
    pointer-events: none;
}

.treatment-process::after {
    content: "➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤ ➤";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 20px;
    font-size: 1rem;
    color: rgba(220, 53, 69, 0.1);
    z-index: 0;
    animation: processFlow 30s linear infinite;
    pointer-events: none;
    letter-spacing: 50px;
    transform: translateY(-50%);
}

@keyframes wavePattern {
    0%, 100% { transform: translateX(0px) scaleY(1); }
    50% { transform: translateX(20px) scaleY(1.02); }
}

@keyframes processFlow {
    0% { transform: translateX(-100%) translateY(-50%); }
    100% { transform: translateX(100%) translateY(-50%); }
}

.treatment-process h2 {
    text-align: center;
    color: #dc3545;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

.emergency-care {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid #ffcdd2;
    margin: 4rem 0;
}

.emergency-care h2 {
    color: #d32f2f;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.emergency-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.emergency-info ul {
    list-style: none;
    padding: 0;
}

.emergency-info li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: #666;
}

.emergency-info li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.contact-content::before {
    content: "";
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.015) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.contact-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5%;
    width: 300px;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(220, 53, 69, 0.008) 2px,
            transparent 4px,
            rgba(220, 53, 69, 0.008) 6px,
            transparent 8px
        );
    animation: dnaHelix 15s linear infinite;
    pointer-events: none;
    transform-origin: center;
}

@keyframes dnaHelix {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    100% { transform: rotateY(360deg) rotateX(10deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    color: #dc3545;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc3545;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #555;
    margin-bottom: 0.5rem;
}

.schedule p {
    margin-bottom: 0.3rem;
}

.contact-form-section h2 {
    color: #dc3545;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans Bengali', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
}

.location-section {
    margin: 4rem 0;
}

.location-section h2 {
    color: #dc3545;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    border: 2px dashed #dc3545;
}

.map-content h3 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.map-content ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
    margin-top: 1rem;
}

.map-content li {
    padding: 0.3rem 0;
    color: #666;
}

.emergency-contact {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 3rem;
    border-radius: 15px;
    margin: 4rem 0;
}

.emergency-contact h2 {
    color: #d32f2f;
    text-align: center;
    margin-bottom: 2rem;
}

.emergency-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.emergency-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #ffcdd2;
}

.emergency-card h3 {
    color: #d32f2f;
    margin-bottom: 1rem;
}

.emergency-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d32f2f;
    margin: 1rem 0;
}

.emergency-symptoms h4 {
    color: #d32f2f;
    margin-bottom: 1rem;
}

.emergency-symptoms ul {
    list-style: none;
    padding: 0;
}

.emergency-symptoms li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
    color: #666;
}

.emergency-symptoms li:before {
    content: "🔴";
    position: absolute;
    left: 0;
}

/* Appointment Page Styles */
.appointment-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.appointment-content::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.appointment-content::after {
    content: "⚕️ 🏥 📅 ⏰ 📋 🩺 💊 🔬";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    opacity: 0.02;
    z-index: 0;
    animation: appointmentFloat 50s linear infinite;
    pointer-events: none;
    letter-spacing: 200px;
    line-height: 200px;
    overflow: hidden;
    text-align: center;
}

@keyframes appointmentFloat {
    0% { transform: translateY(100%) rotate(0deg); }
    100% { transform: translateY(-100%) rotate(360deg); }
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.appointment-info h2 {
    color: #dc3545;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc3545;
}

.info-card h3 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.schedule-info {
    display: grid;
    gap: 1rem;
}

.day-schedule {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.day-schedule.closed {
    background-color: #fff5f5;
    border-color: #ffcdd2;
}

.day-schedule strong {
    color: #dc3545;
    display: block;
    margin-bottom: 0.5rem;
}

.fee-info {
    display: grid;
    gap: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.fee {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #666;
}

.info-card li:before {
    content: "✓";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.appointment-form-section h2 {
    color: #dc3545;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.appointment-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.terms-link {
    color: #dc3545;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.emergency-note {
    margin-top: 4rem;
}

.emergency-banner {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #ffcdd2;
    text-align: center;
}

.emergency-banner h3 {
    color: #d32f2f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-banner p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 25px 0;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .nav-logo-img {
        display: none !important;
    }
    
    .logo-text h2 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed !important;
        display: flex !important;
        left: -100% !important;
        top: 110px;
        flex-direction: column;
        background-color: #dc3545;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-grid,
    .contact-grid,
    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .emergency-info {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 0.3rem;
    }
    
    .nav-logo-img {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .logo-text h2 {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .logo-text p {
        font-size: 0.7rem;
        display: none; /* Hide subtitle on very small screens */
    }
}

/* পরিচিতি Section Styles */
.parichiti-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    /* Temporary debug border to ensure visibility */
    border: 2px solid #dc3545;
}

.parichiti-section .container {
    max-width: 1400px; /* Increased from default container width */
    margin: 0 auto;
    padding: 0 2rem;
}

.parichiti-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(220, 53, 69, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 53, 69, 0.03) 0%, transparent 50%);
    background-size: 600px 600px, 800px 800px;
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(50px) translateY(-30px); }
}

.parichiti-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.parichiti-section .section-header h2 {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 700;
}

.parichiti-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Tab Container */
.tab-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    max-width: 1300px; /* Wider tab container */
    margin: 0 auto;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    position: relative;
}

.tab-btn {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fff, #f8f9fa);
    animation: tabIndicator 0.3s ease-out;
}

@keyframes tabIndicator {
    from { width: 0; }
    to { width: 100%; }
}

/* Tab Content */
.tab-content {
    min-height: 600px;
    position: relative;
}

.tab-pane {
    display: none;
    padding: 4rem;
    animation: fadeInUp 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

/* Biography Tab Styles */
.biography-content {
    max-width: 100%;
}

.bio-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.bio-image {
    position: relative;
}

.bio-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    border: 4px solid #dc3545;
}

.bio-highlight {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.bio-highlight .highlight-super {
    background: linear-gradient(135deg, #dc3545, #e74c3c) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.bio-details h3 {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 700;
}

.specialty-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

.bio-section {
    margin-bottom: 2rem;
}

.bio-section h4 {
    font-size: 1.3rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 600;
}

.qualification-list {
    list-style: none;
    padding: 0;
}

.qualification-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.qualification-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

/* Timeline Styles */
.experience-timeline {
    margin-top: 3rem;
}

.experience-timeline h4 {
    font-size: 1.5rem;
    color: #dc3545;
    margin-bottom: 2rem;
    font-weight: 600;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #dc3545, #e74c3c);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-left: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -3.5rem;
    top: 1.5rem;
    width: 15px;
    height: 15px;
    background: #dc3545;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #dc3545;
}

.timeline-year {
    font-size: 0.9rem;
    color: white;
    background: #dc3545;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h5 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Chamber Tab Styles */
.chamber-content {
    max-width: 100%;
}

.chamber-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 4rem;
}

.chamber-info h3 {
    font-size: 1.8rem;
    color: #dc3545;
    margin-bottom: 2rem;
    font-weight: 700;
}

.chamber-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.chamber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.2);
}

.chamber-header {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chamber-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.chamber-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.chamber-badge.private {
    background: rgba(255, 193, 7, 0.9);
    color: #333;
}

.chamber-badge.specialized {
    background: linear-gradient(135deg, #8a2be2, #6a1b9a);
    color: white;
}

.chamber-details {
    padding: 2rem;
}

.chamber-details > p {
    margin-bottom: 1rem;
    color: #555;
}

.chamber-details strong {
    color: #dc3545;
}

.schedule {
    margin: 1.5rem 0;
    background: #fff8f8;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    box-shadow: 0 2px 8px rgba(220,53,69,0.04);
}
.schedule h5 {
    font-size: 1.1rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 600;
    background: none;
    padding: 0;
}

.services h5 {
    font-size: 1.1rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services ul {
    list-style: none;
    padding: 0;
}

.services li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.services li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.consultation-fee {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.consultation-fee h5 {
    font-size: 1.1rem;
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.consultation-fee p {
    margin: 0.3rem 0;
    color: #555;
}

/* Appointment Section */
.appointment-section h3 {
    font-size: 1.8rem;
    color: #dc3545;
    margin-bottom: 2rem;
    font-weight: 700;
}

.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc3545;
}

.info-box h4 {
    font-size: 1.2rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-box p {
    margin: 0.5rem 0;
    color: #555;
}

.info-box strong {
    color: #dc3545;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.info-box li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #dc3545;
}

.appointment-btn-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive Design for Tabs */
@media (max-width: 1024px) {
    .bio-grid {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .bio-image img {
        height: 300px;
    }
    
    .chamber-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .parichiti-section {
        padding: 3rem 0;
    }
    
    .tab-pane {
        padding: 2rem 1.5rem;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .bio-image {
        justify-self: center;
        max-width: 250px;
    }
    
    .bio-image img {
        height: 250px;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        margin-left: 1.5rem;
    }
    
    .timeline-item::before {
        left: -3rem;
    }
    
    .appointment-btn-container {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 1rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .parichiti-section .section-header h2 {
        font-size: 2rem;
    }
    
    .tab-pane {
        padding: 1.5rem 1rem;
    }
    
    .bio-details h3 {
        font-size: 1.5rem;
    }
    
    .chamber-info h3,
    .appointment-section h3 {
        font-size: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .bio-image {
        max-width: 200px;
    }
    
    .bio-image img {
        height: 200px;
    }
}

/* Animation classes for tab content */
.parichiti-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.parichiti-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.intro-grid,
.chamber-grid,
.membership-item,
.certificate-category {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.intro-grid.animate-in,
.chamber-grid.animate-in,
.membership-item.animate-in,
.certificate-category.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline animations removed - no longer needed */

/* Enhanced tab transition effects */
.tab-pane {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-out;
}

.tab-pane:not(.active) {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* Smooth hover effects for chamber cards */
.chamber-card {
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chamber-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.2);
}

/* Enhanced button hover effects */
.appointment-btn-container .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.appointment-btn-container .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* Updated Tab Navigation for 4 tabs is already defined above */

/* Brief Introduction Tab Styles */
.brief-intro-content {
    max-width: 100%;
}

.intro-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    border: 4px solid #dc3545;
}

.intro-highlight {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.intro-highlight .highlight-super {
    background: linear-gradient(135deg, #dc3545, #e74c3c) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.intro-details h3 {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 700;
}

.intro-section {
    margin-bottom: 2rem;
}

.intro-section h4 {
    font-size: 1.3rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-section p {
    color: #555;
    line-height: 1.7;
    text-align: justify;
}

.detailed-intro {
    margin-top: 3rem;
}

.philosophy-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 15px;
    border-left: 4px solid #dc3545;
}

.mission-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #dc3545;
    margin: 0;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 3px solid #dc3545;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Enhanced Membership Tab Styles */
.membership-content h3 {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 700;
}

.membership-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.membership-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.membership-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.membership-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.15);
}

.membership-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.org-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
}

.membership-details h4 {
    font-size: 1.3rem;
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.membership-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.membership-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.membership-badge.international {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.membership-badge.national {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.membership-badge.european {
    background: linear-gradient(135deg, #6f42c1, #563d7c);
}

.membership-impact {
    margin-top: 3rem;
}

.membership-impact h4 {
    font-size: 1.5rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.impact-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc3545;
}

.impact-item h5 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.impact-item p {
    color: #555;
    line-height: 1.6;
}

/* Certificate Tab Styles */
.certificate-content h3 {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 700;
}

.certificate-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.certificate-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #dc3545;
}

.certificate-category h4 {
    font-size: 1.4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.certificate-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.certificate-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #dc3545;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.cert-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.cert-details h5 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.cert-details p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.cert-year {
    font-size: 0.85rem;
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
}

.achievement-summary {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.achievement-summary h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Updated Responsive Design for 4 tabs */
@media (max-width: 1200px) {
    .parichiti-section .container {
        max-width: 1200px;
        padding: 0 1.5rem;
    }
    
    .tab-container {
        max-width: 1100px;
    }
    
    .tab-pane {
        padding: 3rem;
    }
}

@media (max-width: 1024px) {
    .parichiti-section .container {
        max-width: 1000px;
        padding: 0 1rem;
    }
    
    .tab-container {
        max-width: 950px;
    }
    
    .intro-grid {
        grid-template-columns: 280px 1fr;
        gap: 2.5rem;
    }
    
    .intro-image img {
        height: 300px;
    }
    
    .chamber-grid {
        gap: 2.5rem;
    }
    
    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .tab-pane {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
        min-width: 150px;
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .intro-image {
        justify-self: center;
        max-width: 250px;
    }
    
    .intro-image img {
        height: 250px;
    }
    
    .membership-item {
        flex-direction: column;
        text-align: center;
    }
    
    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certificate-category {
        padding: 1.5rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .tab-btn {
        flex: 1 1 100%;
        margin: 0.2rem 0;
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    
    .intro-image {
        max-width: 200px;
    }
    
    .intro-image img {
        height: 200px;
    }
    
    .membership-item {
        padding: 1.5rem;
    }
    
    .certificate-category {
        padding: 1rem;
    }
    
    .certificate-item {
        padding: 1rem;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Membership Overview in About Section */
.membership-overview {
    margin-top: 1rem;
}

.membership-overview p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.membership-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #dc3545;
}

.summary-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.summary-item span:last-child {
    color: #333;
    font-weight: 500;
}

/* New Appointment Page Styles */

/* Clinic Locations Section */
.clinic-locations {
    margin-bottom: 4rem;
}

.clinic-locations h2 {
    font-size: 2.2rem;
    color: #dc3545;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.location-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.2);
}

.location-header {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: white;
    padding: 2rem;
    position: relative;
}

.location-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.location-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.location-details {
    padding: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item .icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-content strong {
    color: #dc3545;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: #555;
    line-height: 1.6;
    margin: 0.3rem 0;
}

.phone-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #b02a37;
    text-decoration: underline;
}

.multiple-phones {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
}

/* Medical Services Section */
.medical-services {
    margin-bottom: 4rem;
}

.medical-services h2 {
    font-size: 2.2rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
}

.service-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.service-text {
    color: #333;
    font-weight: 500;
    line-height: 1.6;
    flex: 1;
}

/* Quick Contact Section */
.quick-contact {
    margin-bottom: 3rem;
}

.contact-banner {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(220, 53, 69, 0.1);
}

.contact-banner h3 {
    font-size: 1.8rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-banner p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-actions .btn {
    min-width: 200px;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

/* Emergency Note Updates */
.emergency-note {
    margin-top: 3rem;
}

.emergency-banner {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.emergency-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.emergency-banner p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for New Appointment Page */
@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.2rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .clinic-locations h2,
    .medical-services h2 {
        font-size: 1.8rem;
    }
    
    .location-header {
        padding: 1.5rem;
    }
    
    .location-details {
        padding: 1.5rem;
    }
    
    .detail-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-item {
        padding: 1.2rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .contact-banner {
        padding: 2rem 1.5rem;
    }
    
    .contact-actions .btn {
        min-width: 180px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        gap: 1rem;
    }
    
    .location-header h3 {
        font-size: 1.2rem;
    }
    
    .location-details {
        padding: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .detail-item .icon {
        align-self: center;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .contact-actions .btn {
        min-width: 150px;
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    
         .emergency-banner {
         padding: 1.5rem 1rem;
     }
 }

/* Medical Services Section on Homepage */
.medical-services-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.medical-services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(220, 53, 69, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(220, 53, 69, 0.02) 0%, transparent 50%);
    background-size: 500px 500px, 700px 700px;
    animation: servicesBg 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes servicesBg {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(30px) translateY(-20px); }
}

.medical-services-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.medical-services-section .section-header h2 {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 700;
}

.medical-services-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-container {
    position: relative;
    z-index: 2;
}

.medical-services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.medical-services-section .service-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
    padding: 1.8rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #dc3545;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.medical-services-section .service-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.medical-services-section .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.15);
    border-left-color: #b02a37;
}

.medical-services-section .service-item:hover::before {
    transform: scale(1.3);
    opacity: 0.8;
}

.medical-services-section .service-icon {
    font-size: 2.2rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(220, 53, 69, 0.10);
    border: 2px solid #f3f3f3;
    position: relative;
    z-index: 1;
}

.medical-services-section .service-text {
    color: #333;
    font-weight: 600;
    line-height: 1.6;
    flex: 1;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* Services CTA Section */
.services-cta {
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.cta-content {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ctaGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaGlow {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.1; }
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    min-width: 180px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #dc3545, #c82333, #bd2130);
    color: white;
    border: 2px solid #dc3545;
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #c82333, #bd2130, #a71e2a);
    color: white;
    border-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #dc3545;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Medical Services Section */
@media (max-width: 1024px) {
    .medical-services-section .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 1.3rem;
    }
    
    .medical-services-section .service-item {
        padding: 1.5rem;
    }
    
    .medical-services-section .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .medical-services-section {
        padding: 3rem 0;
    }
    
    .medical-services-section .section-header h2 {
        font-size: 2rem;
    }
    
    .medical-services-section .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .medical-services-section .service-item {
        padding: 1.3rem;
        align-items: center;
        gap: 1rem;
    }
    
    .medical-services-section .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .medical-services-section .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        align-items: center;
    }
    
    .medical-services-section .service-icon {
        margin-bottom: 0.5rem;
    }
    
    .cta-content {
        padding: 1.5rem 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons .btn {
        min-width: 170px;
        font-size: 0.95rem;
    }
}

.footer-section p,
.footer-section ul li {
    color: var(--text-light);
}

.header .logo-text h2,
.header .logo-text p {
    color: white !important;
}

.chamber-header h2,
.chamber-header h3 {
    color: white !important;
}

.chamber-cards-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 2rem;
}
.chamber-cards-row .chamber-card {
    flex: 1 1 320px;
    min-width: 320px;
    max-width: 400px;
    height: auto;
    overflow: visible;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    margin-bottom: 0;
}
@media (max-width: 1024px) {
    .chamber-cards-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .chamber-cards-row .chamber-card {
        max-width: 100%;
        min-width: 0;
    }
}

.home-chamber-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 2rem;
}
.home-chamber-row .chamber-card {
    flex: 1 1 320px;
    min-width: 320px;
    max-width: 400px;
    margin-bottom: 0;
}
@media (max-width: 1024px) {
    .home-chamber-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .home-chamber-row .chamber-card {
        max-width: 100%;
        min-width: 0;
    }
}

.simple-chamber-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
}
.chamber-card.simple-chamber {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: none;
    padding: 2rem 1.5rem;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}
.chamber-card.simple-chamber .chamber-details p {
    margin-bottom: 0.7rem;
    color: #222;
    font-size: 1.05rem;
}
.chamber-card.simple-chamber .chamber-details p strong {
    color: #b91c1c;
    font-size: 1.15rem;
}

.simple-chamber-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto 2rem auto;
}
@media (max-width: 1024px) {
    .simple-chamber-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

.appointment-chamber-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 auto 2rem auto;
    overflow-x: auto;
}
@media (max-width: 1024px) {
    .appointment-chamber-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .appointment-chamber {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
}

.appointment-chamber {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(220,53,69,0.06);
    padding: 2.2rem 2rem 2rem 2rem;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.footer-chamber-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: nowrap;
    margin-top: 1rem;
    overflow-x: auto;
}
.footer-chamber-row .chamber-address,
.footer-emergency-card {
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 1.2rem 1rem;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    min-height: 210px;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
}
@media (max-width: 1100px) {
    .footer-chamber-row {
        gap: 1rem;
    }
    .footer-chamber-row .chamber-address,
    .footer-emergency-card {
        min-width: 220px;
        max-width: 300px;
        width: 100%;
    }
}
@media (max-width: 800px) {
    .footer-chamber-row {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .footer-chamber-row .chamber-address,
    .footer-emergency-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

.footer-emergency-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin-top: 0.5rem;
}
.emergency-info {
    margin-bottom: 0.5rem;
}
.footer-social-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.social-label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
}
.social-icons {
    margin-top: 0;
}
.social-links {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
}

.footer-emergency-card {
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 1.2rem 1rem;
    min-width: 220px;
    max-width: 300px;
    flex: 1 1 220px;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
@media (max-width: 900px) {
    .footer-emergency-card {
        max-width: 100%;
        min-width: 0;
    }
}

.footer-emergency-card,
.chamber-address {
    min-width: 220px;
    max-width: 320px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .footer-emergency-card,
    .chamber-address {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

/* Footer Doctor Button Gradient */
.footer-doctor-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  color: #222;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  padding: 8px 24px;
  box-shadow: 0 2px 8px rgba(255,193,7,0.10);
  border: 2px solid #fff;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s;
}
.footer-doctor-btn:hover {
  box-shadow: 0 4px 16px rgba(255,193,7,0.18);
}

/* Responsive Chamber Cards in Footer */
@media (max-width: 600px) {
  .footer-card-row {
    flex-direction: column !important;
    gap: 1.2rem !important;
    align-items: stretch !important;
  }
  .footer-card-row > div {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .footer-section {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 1.2rem;
  }
}

/* --- Mobile Professional Optimization for Appointment Page --- */
@media (max-width: 768px) {
  /* Appointment Section Mobile Optimization */
  .appointment-section {
    padding: 1.5rem 1rem;
    margin-top: 0 !important;
  }

  .appointment-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .appointment-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: #dc3545;
  }

  .appointment-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
  }

  /* Professional Chamber Cards for Mobile */
  .chambers-grid,
  .appointment-chamber-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    overflow-x: visible;
    padding: 0;
  }

  .chamber-card,
  .appointment-chamber {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.08);
    border: 1px solid #e9ecef;
    background: #fff;
    box-sizing: border-box;
  }

  /* Chamber Title Mobile Optimization */
  .chamber-title {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: #dc3545 !important;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: left;
  }

  /* Contact Information Mobile Optimization */
  .chamber-address,
  .chamber-phone {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .chamber-phone {
    font-weight: 500;
  }

  /* Enhanced Touch Targets for Phone Numbers */
  .chamber-phone {
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .chamber-phone:active {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 0.3rem;
    margin: -0.3rem;
  }

  /* Icon Styling for Mobile */
  .chamber-address .icon,
  .chamber-phone .icon {
    font-size: 1.1rem;
    color: #dc3545;
    flex-shrink: 0;
    margin-top: 0.1rem;
  }

  /* Schedule Section Mobile Optimization */
  .chamber-schedule {
    margin-top: 1.2rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dee2e6;
  }

  .schedule-header {
    font-size: 1rem;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .schedule-header .icon {
    font-size: 1.1rem;
  }

  .schedule-body {
    margin-left: 0;
    padding-left: 1.5rem;
  }

  .schedule-item {
    font-size: 0.95rem;
    padding: 0.4rem 0;
    color: #555;
    line-height: 1.3;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Improved Visual Hierarchy */
  .chamber-card:hover,
  .appointment-chamber:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.12);
    border-color: #dc3545;
  }
}

@media (max-width: 480px) {
  /* Extra Small Mobile Optimization */
  .appointment-section {
    padding: 1rem 0.8rem;
  }

  .appointment-header h1 {
    font-size: 1.6rem;
  }

  .chamber-card,
  .appointment-chamber {
    padding: 1.2rem;
  }

  .chamber-title {
    font-size: 1.1rem !important;
  }

  .chamber-address,
  .chamber-phone {
    font-size: 0.95rem;
  }

  .schedule-item {
    font-size: 0.9rem;
  }
}

/* --- Responsive Fixes for All Mobile Issues --- */
@media (max-width: 600px) {
  /* Remove top gap for all main sections */
  .page-header,
  .hero,
  .about-content,
  .parichiti-section,
  .appointment-section,
  .research-highlights,
  .section-header {
    padding-top: 24px !important;
    margin-top: 0 !important;
  }

  /* Header/logo spacing fix */
  .header, .navbar, .nav-container {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Chamber cards and footer cards: stack and text horizontal */
  .chamber-card,
  .footer-card-row > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    writing-mode: initial !important;
    transform: none !important;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: left !important;
    display: block !important;
    white-space: normal !important;
  }
  .footer-card-row {
    flex-direction: column !important;
    gap: 1.2rem !important;
    align-items: stretch !important;
  }
  .footer-section {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 1.2rem;
  }
  /* Remove any forced vertical text in cards */
  .chamber-card * {
    writing-mode: initial !important;
    transform: none !important;
    white-space: normal !important;
  }
  /* Remove extra gap below header if any */
  body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Diagnostic Centers Footer Section */
.diagnostic-centers-footer {
    background: linear-gradient(135deg, #1e3a8a, #1e40af, #3b82f6);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.diagnostic-centers-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23medical)"/></svg>');
    opacity: 0.3;
    animation: medicalFloat 20s ease-in-out infinite;
}

/* Footer Diagnostic Centers Styles */
.footer-bottom .centers-header {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.footer-bottom .centers-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-bottom .centers-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

.footer-bottom .centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
}

.centers-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.centers-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.centers-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.center-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.center-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.4);
}

.center-card:hover::before {
    opacity: 1;
}

.center-logo {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.crescent-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.center-logo h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    word-break: normal;
    white-space: normal;
    line-height: 1.3;
}

.center-location {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 400;
    word-break: normal;
    white-space: normal;
    line-height: 1.3;
}

.center-details {
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.info-item span {
    flex: 1;
    line-height: 1.4;
    word-break: normal;
    white-space: normal;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .centers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .center-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .diagnostic-centers-footer {
        padding: 3rem 0;
    }
    
    .centers-header h2 {
        font-size: 2rem;
    }
    
    .centers-header p {
        font-size: 1rem;
    }
    
    .centers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .center-card {
        padding: 1.25rem;
    }
    
    .crescent-icon {
        font-size: 2.5rem;
    }
    
    .center-logo h3 {
        font-size: 1.2rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .center-location {
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .info-item {
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
    }
    
    .info-item span {
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
        text-align: left;
    }
    
    .info-item a {
        word-break: normal !important;
        white-space: normal !important;
    }
}

@media (max-width: 480px) {
    .diagnostic-centers-footer {
        padding: 2rem 0;
    }
    
    .centers-header h2 {
        font-size: 1.75rem;
    }
    
    .center-card {
        padding: 1rem;
    }
    
    .crescent-icon {
        font-size: 2rem;
    }
    
    .center-logo h3 {
        font-size: 1.1rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .center-location {
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .info-item {
        font-size: 0.9rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
    }
    
    .info-item span {
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
        text-align: left;
    }
    
    .info-item a {
        word-break: normal !important;
        white-space: normal !important;
    }
    
    .info-item i {
        font-size: 1rem;
    }
}

/* Footer Diagnostic Centers Responsive */
@media (max-width: 1024px) {
    .footer-bottom .centers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .footer-bottom .center-card {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .footer-bottom .centers-header p {
        font-size: 1rem;
    }
    
    .footer-bottom .centers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-bottom .center-card {
        padding: 1rem;
    }
    
    .footer-bottom .crescent-icon {
        font-size: 2rem;
    }
    
    .footer-bottom .center-logo h3 {
        font-size: 1.1rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .footer-bottom .center-location {
        font-size: 0.9rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .footer-bottom .info-item {
        font-size: 0.85rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
    }
    
    .footer-bottom .info-item span {
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
        text-align: left;
    }
    
    .footer-bottom .info-item a {
        word-break: normal !important;
        white-space: normal !important;
    }
}

@media (max-width: 480px) {
    .footer-bottom .center-card {
        padding: 0.875rem;
    }
    
    .footer-bottom .crescent-icon {
        font-size: 1.75rem;
    }
    
    .footer-bottom .center-logo h3 {
        font-size: 1rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .footer-bottom .center-location {
        font-size: 0.85rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .footer-bottom .info-item {
        font-size: 0.8rem;
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
    }
    
    .footer-bottom .info-item span {
        word-break: normal !important;
        white-space: normal !important;
        line-height: 1.4;
        text-align: left;
    }
    
    .footer-bottom .info-item a {
        word-break: normal !important;
        white-space: normal !important;
    }
}

/* Force proper text display for diagnostic center cards */
.center-card * {
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

.center-logo h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    word-break: normal !important;
    white-space: normal !important;
    line-height: 1.3;
    text-align: center;
}

.center-location {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 400;
    word-break: normal !important;
    white-space: normal !important;
    line-height: 1.3;
    text-align: center;
}

.center-details {
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    word-break: normal !important;
    white-space: normal !important;
}

.info-item span {
    flex: 1;
    line-height: 1.4;
    word-break: normal !important;
    white-space: normal !important;
    text-align: left;
}

.info-item a {
    word-break: normal !important;
    white-space: normal !important;
    text-decoration: none;
    color: inherit;
}

/* Appointment & Diagnostic Centers Section */
.appointment-diagnostic-section {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 50%, #e6f3ff 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.appointment-diagnostic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23medical)"/></svg>');
    opacity: 0.3;
}

.appointment-diagnostic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Diagnostic Centers List */
.diagnostic-centers-list {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    word-break: normal !important;
    white-space: normal !important;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.5rem;
    word-break: normal !important;
    white-space: normal !important;
}

.centers-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.center-entry {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    word-break: normal !important;
    white-space: normal !important;
}

.center-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.center-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.logo-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    color: white;
}

.logo-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
    word-break: normal !important;
    white-space: normal !important;
}

.center-info {
    flex: 1;
    word-break: normal !important;
    white-space: normal !important;
}

.center-name {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    word-break: normal !important;
    white-space: normal !important;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    word-break: normal !important;
    white-space: normal !important;
}

.contact-icon {
    font-size: 1.1rem;
    color: #007bff;
    min-width: 20px;
}

.contact-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    word-break: normal !important;
    white-space: normal !important;
}

.contact-number {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    word-break: normal !important;
    white-space: normal !important;
}

.contact-number:hover {
    text-decoration: underline;
}

.contact-time {
    color: #495057;
    font-size: 0.9rem;
    word-break: normal !important;
    white-space: normal !important;
}

/* Doctor's Portrait */
.doctor-portrait {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-container {
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #007bff;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.doctor-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    word-break: normal !important;
    white-space: normal !important;
}

.doctor-info p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
    word-break: normal !important;
    white-space: normal !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .appointment-diagnostic-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .diagnostic-centers-list {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .appointment-diagnostic-section {
        padding: 3rem 0;
    }
    
    .appointment-diagnostic-content {
        gap: 1.5rem;
    }
    
    .diagnostic-centers-list {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .center-entry {
        padding: 1.25rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .center-logo {
        margin-bottom: 1rem;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .doctor-image {
        width: 150px;
        height: 150px;
    }
    
    .doctor-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .appointment-diagnostic-section {
        padding: 2rem 0;
    }
    
    .diagnostic-centers-list {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .center-entry {
        padding: 1rem;
    }
    
    .logo-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    .center-name {
        font-size: 1rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .doctor-image {
        width: 120px;
        height: 120px;
    }
    
    .doctor-info h3 {
        font-size: 1.1rem;
    }
    
    .doctor-info p {
        font-size: 0.9rem;
    }
}

.medical-services-section .service-header {
    /* align icon and text vertically center */
    align-items: center;
}

/* Call-out Box Design */
.callout-box {
    margin: 2rem 0 3rem 0;
    position: relative;
    z-index: 2;
}

.callout-content {
    display: flex;
    background: white;
    border: 2px solid #dc3545;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.1);
}

.callout-text {
    flex: 1;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #ffe6e6, #ffcccc);
    display: flex;
    align-items: center;
}

.callout-text p {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #8b4513;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
}

/* Responsive Call-out Box */
@media (max-width: 768px) {
    .callout-text {
        padding: 1.2rem 1.5rem;
    }
    
    .callout-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .callout-text {
        padding: 1rem;
    }
    
    .callout-text p {
        font-size: 0.95rem;
    }
}