/* Profile Page Specific Styles */

/* Profile Hero Section */
.profile-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }
  
  .back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  
  .back-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(72, 81, 60, 0.3);
  }
  
  .profile-header {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  .profile-image-container {
    position: relative;
    flex-shrink: 0;
  }
  
  .profile-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 5px solid white;
    position: relative;
    animation: profileFloat 6s ease-in-out infinite;
  }
  
  @keyframes profileFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
  }
  
  .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #e8e1d4;
    display: block;
  }
  
  .profile-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #5a6449);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(72, 81, 60, 0.4);
    white-space: nowrap;
    animation: badgePulse 2s ease-in-out infinite;
  }
  
  .profile-title-section {
    flex: 1;
  }
  
  .profile-name {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
  }
  
  .profile-credentials {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
  }
  
  .profile-position {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
  }
  
  .profile-clinic {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
  }
  
  .profile-contact {
    margin-bottom: 30px;
  }
  
  .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 25px;
    background: rgba(72, 81, 60, 0.1);
    border-radius: 30px;
    transition: var(--transition);
  }
  
  .contact-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
  }
  
  .contact-link .icon {
    font-size: 1.3rem;
  }
  
  .profile-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
  }
  
  .highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
  }
  
  .highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  }
  
  .highlight-icon {
    font-size: 1.5rem;
  }
  
  /* Profile Sections */
  .profile-section {
    padding: 80px 20px;
    position: relative;
  }
  
  .profile-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  }
  
  .section-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
  }
  
  .summary-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .lead-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
  }
  
  .summary-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
  }
  
  /* Timeline */
  .timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), #5a6449);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 50px;
    animation: fadeInLeft 0.8s ease;
    animation-fill-mode: both;
  }
  
  .timeline-item:nth-child(1) { animation-delay: 0.1s; }
  .timeline-item:nth-child(2) { animation-delay: 0.2s; }
  .timeline-item:nth-child(3) { animation-delay: 0.3s; }
  .timeline-item:nth-child(4) { animation-delay: 0.4s; }
  .timeline-item:nth-child(5) { animation-delay: 0.5s; }
  
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .timeline-marker {
    position: absolute;
    left: -44px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(72, 81, 60, 0.2);
    transition: var(--transition);
  }
  
  .timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(72, 81, 60, 0.2);
  }
  
  .timeline-content {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
  }
  
  .timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  }
  
  .timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #5a6449);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .timeline-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
  }
  
  .timeline-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
  }
  
  .timeline-institution {
    font-size: 1rem;
    color: #888;
    font-style: italic;
  }
  
  /* Expertise Section */
  .expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .expertise-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
  }
  
  .expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: rgba(72, 81, 60, 0.3);
  }
  
  .expertise-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    animation: iconBounce 2s ease-in-out infinite;
  }
  
  @keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  .expertise-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
  }
  
  .expertise-card p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
  }
  
  /* Philosophy Section */
  .philosophy-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .philosophy-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: center;
  }
  
  .philosophy-card.featured {
    background: linear-gradient(135deg, var(--primary-color), #5a6449);
    color: white;
  }
  
  .philosophy-card.featured h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .philosophy-card.featured p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.95);
  }
  
  /* Certifications Section */
  .certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
  }
  
  .cert-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
    border-left: 4px solid var(--primary-color);
  }
  
  .cert-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  
  .cert-badge {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(74, 222, 128, 0.4);
  }
  
  .cert-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
  }
  
  .cert-card p {
    font-size: 1rem;
    color: #666;
  }
  
  /* Memberships Section */
  .memberships-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
  }
  
  .membership-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
  }
  
  .membership-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  }
  
  .membership-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
  }
  
  .membership-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
  }
  
  .membership-item p {
    font-size: 0.95rem;
    color: #666;
  }
  
  /* Achievements Section */
  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .achievement-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }
  
  .achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(72, 81, 60, 0.1), transparent);
    transition: left 0.6s ease;
  }
  
  .achievement-card:hover::before {
    left: 100%;
  }
  
  .achievement-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
  }
  
  .achievement-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
  }
  
  .achievement-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
  }
  
  .achievement-card p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
  }
  
  /* Profile CTA Section */
  .profile-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a4130 100%);
    color: var(--secondary-color);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .profile-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
  }
  
  .cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
  }
  
  .cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
  }
  
  .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Responsive Design for Profile Pages */
  @media (max-width: 968px) {
    .profile-header {
      flex-direction: column;
      text-align: center;
      gap: 40px;
    }
  
    .profile-name {
      font-size: 2.5rem;
    }
  
    .profile-highlights {
      justify-content: center;
    }
  
    .timeline {
      padding-left: 30px;
    }
  
    .timeline::before {
      left: 10px;
    }
  
    .timeline-marker {
      left: -39px;
    }
  }
  
  @media (max-width: 768px) {
    .profile-image {
      width: 250px;
      height: 250px;
    }
  
    .profile-name {
      font-size: 2rem;
    }
  
    .section-card {
      padding: 30px;
    }
  
    .lead-text {
      font-size: 1.2rem;
    }
  
    .expertise-grid,
    .certifications-grid,
    .achievements-grid {
      grid-template-columns: 1fr;
    }
  
    .cta-content h2 {
      font-size: 2rem;
    }
  
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .cta-button {
      width: 100%;
      max-width: 300px;
    }
  }
  
  @media (max-width: 480px) {
    .profile-image {
      width: 200px;
      height: 200px;
    }
  
    .profile-name {
      font-size: 1.8rem;
    }
  
    .profile-position {
      font-size: 1.2rem;
    }
  
    .timeline-content {
      padding: 20px;
    }
  
    .expertise-card,
    .cert-card,
    .achievement-card {
      padding: 25px;
    }
  }
