/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Photo-Inspired Color Palette */
:root {
    --primary-color: #1e3a5f;        /* Navy blue from suit - for text and headers */
    --accent-burgundy: #8b2e3e;      /* Burgundy from tie - primary CTA color */
    --accent-bronze: #a67c52;        /* Bronze from background - subtle accents */
    --text-dark: #2d3748;            /* Dark gray for body text */
    --text-light: #6b7280;           /* Light gray for secondary text */
    --background-white: #ffffff;     /* Pure white - main background */
    --background-light: #fafafa;     /* Very light gray - subtle sections */
    --border-light: #e5e5e5;         /* Light border for cards */
    --gold-accent: #d4af37;          /* Gold for medals */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--background-white);
}

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

/* Background utilities */
.bg-light {
    background: var(--background-light);
}

/* Section padding */
.section-padding {
    padding: 80px 20px;
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Smooth transitions */
a {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

/* ===================================
   Enhanced Professional Animations
   =================================== */

/* Scroll-triggered fade-in animations with delays for staggering */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered animation delays for sequential appearance */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Scale animation for cards */
.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Slide in from left for timeline items */
.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right for alternate content */
.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced hover effects for cards */
.animate-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Subtle pulse animation for CTA buttons */
@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(139, 46, 62, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(139, 46, 62, 0.5);
    }
}

.pulse-subtle {
    animation: subtle-pulse 3s ease-in-out infinite;
}

/* Hero image entrance animation */
.hero-image-animate {
    animation: fadeInScale 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth underline animation for navigation */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-burgundy);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Image zoom on hover - subtle */
.image-zoom {
    overflow: hidden;
    border-radius: 12px;
}

.image-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom:hover img {
    transform: scale(1.05);
}

/* Counter animation for statistics */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-count {
    animation: countUp 0.6s ease forwards;
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .scale-in,
    .slide-in-left,
    .slide-in-right,
    .fade-in,
    .hero-image-animate,
    .animate-card,
    .pulse-subtle,
    .image-zoom img {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .nav-menu a::after {
        transition: none !important;
    }
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--background-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-burgundy);
}

.cta-button {
    background: var(--accent-burgundy);
    color: var(--background-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
}

.cta-button:hover {
    background: #6d2331;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--background-light);
    padding: 100px 20px 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-burgundy);
    margin-bottom: 1rem;
}

.hero-credentials {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-position {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.specialty-tag {
    background: var(--background-white);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

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

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--accent-burgundy);
    color: var(--background-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #6d2331;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 46, 62, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-white);
}

/* Responsive Hero - Mobile */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }

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

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

    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* ===================================
   About Section
   =================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* ===================================
   Qualifications Section
   =================================== */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.qualification-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-light);
}

.qualification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.qualification-card.gold-medal {
    border: 2px solid var(--gold-accent);
    background: linear-gradient(to bottom, #fffef8, #ffffff);
    position: relative;
}

.qualification-card.gold-medal::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--gold-accent), #f4e4c1);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.08;
}

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

.qualification-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.qualification-card .institution {
    font-size: 1rem;
    color: var(--accent-burgundy);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.qualification-card .detail {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===================================
   Expertise Section
   =================================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.expertise-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

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

.expertise-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.expertise-item p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================
   Experience Section - Timeline
   =================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding: 2rem 2rem 2rem 4rem;
    margin-bottom: 2rem;
    background: var(--background-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.timeline-marker {
    position: absolute;
    left: 1rem;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.current .timeline-marker {
    background: var(--accent-burgundy);
    box-shadow: 0 0 0 4px rgba(139, 46, 62, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--accent-burgundy);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-date {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.timeline-content li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ===================================
   Achievements Section
   =================================== */
.achievements-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-burgundy);
    padding-bottom: 0.5rem;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.achievement-item.highlight {
    border-left: 4px solid var(--accent-burgundy);
    background: linear-gradient(to right, #fef5f6, #ffffff);
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.achievement-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.achievement-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

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

.membership-badge {
    text-align: center;
    padding: 1.5rem;
    background: var(--accent-burgundy);
    color: var(--background-white);
    border-radius: 8px;
    transition: transform 0.3s;
}

.membership-badge:hover {
    transform: translateY(-5px);
}

.membership-abbr {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.membership-badge p {
    font-size: 0.9rem;
}

/* ===================================
   Publications Section
   =================================== */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-item {
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-bronze);
    transition: transform 0.3s, box-shadow 0.3s;
}

.publication-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.publication-type {
    display: inline-block;
    background: var(--accent-burgundy);
    color: var(--background-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.publication-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.publication-item .authors {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.publication-item .journal {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.reviewer-note {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-light);
    color: var(--text-dark);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.reviewer-note h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3,
.contact-cta h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.contact-item.whatsapp-highlight {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--background-white);
    border: none;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--accent-burgundy);
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-highlight a {
    color: var(--background-white);
}

.whatsapp-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--background-white);
    color: #25D366 !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s;
}

.whatsapp-link:hover {
    transform: scale(1.05);
}

.consultation-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.consultation-list li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.btn-whatsapp {
    display: inline-block;
    padding: 1rem 2rem;
    background: #25D366;
    color: var(--background-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--background-white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Responsive Mobile Adjustments
   =================================== */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .memberships-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item {
        padding: 1.5rem 1.5rem 1.5rem 3rem;
    }

    .timeline-marker {
        left: 0.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ===================================
   About Section with Image Layout
   =================================== */
.about-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.key-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    font-size: 2.5rem;
}

.highlight-item div {
    display: flex;
    flex-direction: column;
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ===================================
   Why Choose Section
   =================================== */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose-card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-burgundy);
}

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

.why-choose-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-choose-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Facility Section
   =================================== */
.facility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.facility-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.facility-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.facility-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.facility-features {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature-check {
    color: var(--accent-burgundy);
    font-weight: 700;
    font-size: 1.5rem;
}

/* ===================================
   Patient Care Philosophy Section
   =================================== */
.care-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.care-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.care-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.care-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.care-principles {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.principle-item {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-burgundy);
}

.principle-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.principle-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Responsive Adjustments for New Sections
   =================================== */
@media (max-width: 968px) {
    .about-with-image {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .key-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .facility-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .facility-image {
        order: -1;
    }

    .care-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .care-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .why-choose-card {
        padding: 2rem;
    }

    .key-highlights {
        gap: 1rem;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Credentials/Experience Page Header
   =================================== */
.credentials-header {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-burgundy) 100%);
    color: var(--background-white);
    text-align: center;
}

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

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===================================
   Enhanced Qualification Cards
   =================================== */
.highlight-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 3px solid var(--accent-burgundy) !important;
}

.qualification-card .detail {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* ===================================
   Certifications Section
   =================================== */
.certifications {
    background: var(--background-light);
}

.cert-highlight {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.cert-badge {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--background-white);
    border-radius: 12px;
    border-left: 5px solid var(--accent-burgundy);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.cert-badge:hover {
    transform: translateX(10px);
}

.cert-icon {
    font-size: 3.5rem;
    min-width: 80px;
    text-align: center;
}

.cert-details h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.cert-details p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.cert-institution {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===================================
   Detailed Memberships Grid
   =================================== */
.memberships-section {
    background: var(--background-white);
}

.memberships-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.membership-card {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.membership-card:hover {
    border-color: var(--accent-burgundy);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.membership-abbr-large {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-burgundy);
    margin-bottom: 1rem;
}

.membership-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.membership-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Academic Summary Section
   =================================== */
.academic-summary {
    background: var(--background-light);
}

.summary-content .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.summary-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.summary-item {
    padding: 2rem;
    background: var(--background-white);
    border-radius: 12px;
    border: 2px solid var(--border-light);
}

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

.summary-item p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* ===================================
   Enhanced Publications
   =================================== */
.publication-item.featured {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff8e1 100%);
    border-left: 5px solid var(--accent-burgundy);
}

.publication-desc {
    margin-top: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
}

.conference-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.conference-list li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.reviewer-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    padding-left: 0;
    list-style: none;
}

.reviewer-list li {
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 6px;
    color: var(--text-dark);
}

/* ===================================
   Impact Summary Section
   =================================== */
.impact-summary {
    background: var(--background-light);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.impact-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--background-white);
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.impact-item:hover {
    border-color: var(--accent-burgundy);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-burgundy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.impact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===================================
   Responsive - Credentials & Experience Pages
   =================================== */
@media (max-width: 968px) {
    .memberships-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-highlights {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-badge {
        flex-direction: column;
        text-align: center;
    }
}

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

    .page-subtitle {
        font-size: 1rem;
    }

    .credentials-header {
        padding: 100px 20px 40px;
    }

    .memberships-grid-detailed {
        grid-template-columns: 1fr;
    }

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

    .reviewer-list {
        grid-template-columns: 1fr;
    }
}
