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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #6b7280;
    line-height: 1.7;
}

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

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.credential-item i {
    font-size: 1.5rem;
    color: #2563eb;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6b7280;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2563eb;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #2563eb;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.timeline-date {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

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

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #2563eb;
}

.footer-section p,
.footer-section ul {
    color: #d1d5db;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
        padding-left: 2rem;
        padding-right: 1rem;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
        right: auto;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} 

/* Global Transitions - Optimized */
* {
    transition: none; /* Remove global transitions for better performance */
}

/* Hero Background */
.hero-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.15)), 
                url('Banner images/Untitled design (6).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header Effects */
header {
    backdrop-filter: blur(10px);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation Links */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Treatment Cards - Simplified */
.treatment-card {
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.treatment-card:hover {
    transform: translateY(-5px);
    border-left-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Treatment Toggle Buttons */
.treatment-toggle:hover h3 {
    color: #3b82f6;
}

/* Treatment Details */
.treatment-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.treatment-details.show {
    max-height: 1000px;
}

/* Intervention Toggle Buttons */
.intervention-toggle:hover h3 {
    color: #3b82f6;
}

/* Intervention Details */
.intervention-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.intervention-details.show {
    max-height: 1000px;
}

/* Intervention Cards - Simplified */
.intervention-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.intervention-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.intervention-card.clicked {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Critical Illness Cards - Simplified */
.critical-card {
    position: relative;
    overflow: hidden;
}

.critical-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Gallery Cards - Simplified */
.gallery-card {
    position: relative;
    overflow: hidden;
}

.gallery-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Rehab Session Cards */
.rehab-session-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.rehab-session-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    border-color: #3b82f6;
}

.rehab-session-card video {
    transition: transform 0.3s ease;
}

.rehab-session-card:hover video {
    transform: scale(1.02);
}

.rehab-session-card .p-6 {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Review Cards - Simplified */
.review-card {
    position: relative;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Items */
.faq-item {
    transition: none;
}

.faq-question {
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.show {
    max-height: 200px;
}

/* Buttons - Simplified */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Social Links - Simplified */
.social-link {
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Focus Areas - Simplified */
.focus-area {
    position: relative;
    overflow: hidden;
}

.focus-area:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Animations - Simplified */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Hero text animations - Simplified */
.hero-title-line {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.hero-title-line.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.hero-subtitle.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.hero-buttons.show {
    opacity: 1;
    transform: translateY(0);
}

/* Profile Image Enhancements */
.profile-image-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 1 / 1; /* Square format */
}

.profile-image-container > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 1rem; /* Rounded corners for A4 look */
    overflow: hidden;
}

.object-center-top {
    object-position: center top;
}

/* Enhanced centering for profile image */
.profile-image-container img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    transition: all 0.5s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
    object-position: center center;
    transform: scale(1.0); /* No scaling to show full image */
}

/* Treatment Cards Fade-in Animation */
.treatment-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.treatment-card.animate {
    opacity: 0;
    transform: translateY(30px);
}

.treatment-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Intervention Cards Fade-in Animation */
.intervention-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.intervention-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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


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


.profile-image-container:hover img {
    filter: contrast(1.15) brightness(1.1) saturate(1.15);
    transform: scale(1.05);
}

.professional-badge {
    animation: pulse-glow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.professional-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.experience-badge {
    animation: slide-in 1s ease-out;
    transition: all 0.3s ease;
}

.experience-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    }
}

.experience-badge {
    animation: slide-in 0.6s ease-out;
}

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

/* Credential Cards Enhancement */
.credential-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.credential-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness Fixes */
@media (max-width: 768px) {
    .hero-bg {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .profile-image-container {
        max-width: 320px;
        margin: 0 auto 2rem auto;
        aspect-ratio: 1 / 1; /* Square format */
    }
    
    .profile-image-container > div {
        width: 320px !important;
        height: 320px !important;
        aspect-ratio: 1 / 1; /* Square format */
    }
    
    .profile-image-container img {
        object-fit: contain;
        object-position: center center;
        transform: scale(1.0);
    }
    
    .treatment-card {
        margin-bottom: 1rem;
    }
    
    .treatment-card h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .treatment-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .intervention-card {
        margin-bottom: 1rem;
    }
    
    .intervention-card h3 {
        font-size: 1.125rem;
        line-height: 1.4;
    }
    
    .intervention-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .faq-answer p {
        font-size: 0.875rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .faq-item {
        overflow: visible !important;
    }
    
    footer .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer h3 {
        font-size: 1.5rem;
    }
    
    footer h4 {
        font-size: 1.125rem;
    }
    
    footer p {
        font-size: 0.875rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .text-4xl {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .focus-area {
        padding: 1rem;
    }
    
    .focus-area span {
        font-size: 0.875rem;
    }
    
    .focus-area p {
        font-size: 0.75rem;
    }
    
    .gallery-card {
        margin-bottom: 1rem;
    }
    
    .critical-card {
        margin-bottom: 1rem;
    }
    
    .critical-card h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .critical-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .review-card {
        margin-bottom: 1rem;
    }
    
    .review-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero-bg {
        padding: 1rem 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .profile-image-container {
        max-width: 280px;
        margin: 0 auto 1.5rem auto;
        aspect-ratio: 1 / 1; /* Square format */
    }
    
    .profile-image-container > div {
        width: 280px !important;
        height: 280px !important;
        aspect-ratio: 1 / 1; /* Square format */
    }
    
    .profile-image-container img {
        object-fit: contain;
        object-position: center center;
        transform: scale(1.0);
    }
    
    .treatment-card,
    .intervention-card,
    .critical-card,
    .review-card,
    .gallery-card {
        padding: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .faq-item {
        overflow: visible !important;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .social-link {
        padding: 0.75rem;
    }
    
    .social-link i {
        font-size: 1.25rem;
    }
}

 