* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: #ebe6e6;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
.site-header {
  background-color: #ebe6e6;
  padding: 20px 40px 0;
  border-bottom: 1px solid #d0cbc5;
  transition: box-shadow 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.header-left {
  flex: 1;
}

.site-title {
  font-size: 24px;
  color: #9d634a;
  font-weight: 400;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.site-title:hover {
  color: #15342a;
  transform: translateX(5px);
}

.site-subtitle {
  font-size: 14px;
  color: #9d634a;
  font-weight: 300;
  transition: color 0.3s ease;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #9d634a;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  font-family: 'Georgia', serif;
  transition: all 0.3s ease;
  border-radius: 4px;
}

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

.login-btn svg {
  transition: transform 0.3s ease;
}

.login-btn:hover svg {
  transform: scale(1.1);
}

.cart-icon {
  position: relative;
  color: #9d634a;
  cursor: pointer;
  padding: 8px;
  background-color: #9d634a;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cart-icon:hover {
  background-color: #15342a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cart-icon svg {
  color: white;
  display: block;
  transition: transform 0.3s ease;
}

.cart-icon:hover svg {
  transform: rotate(5deg) scale(1.05);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: white;
  color: #9d634a;
  font-size: 12px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.cart-icon:hover .cart-count {
  transform: scale(1.2);
}

/* Navigation Styles */
.main-nav {
  display: flex;
  gap: 30px;
  padding: 15px 0;
  border-top: 1px solid #d0cbc5;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  padding: 5px 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #9d634a;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #9d634a;
  transform: translateY(-2px);
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-link.active {
  color: #9d634a;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #9d634a;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Page Sections */
.page-section {
  display: none;
  min-height: calc(100vh - 150px);
  animation: fadeIn 0.5s ease;
}

.page-section.active {
  display: block;
}

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

/* Content Container */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  background-color: #ebe6e6;
}

.page-header {
  margin-bottom: 50px;
  text-align: left;
  animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-title {
  font-size: 48px;
  color: #9d634a;
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.page-title:hover {
  color: #15342a;
}

.title-underline {
  width: 80px;
  height: 2px;
  background-color: #9d634a;
  margin: 0;
  animation: expandWidth 0.8s ease;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

/* About Page Styles */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-top: 40px;
  animation: fadeIn 0.7s ease 0.2s backwards;
}

.about-image-section {
  position: sticky;
  top: 40px;
  height: fit-content;
}

.about-portrait {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.about-portrait:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.about-text-section {
  padding-right: 20px;
}

.section-heading {
  font-size: 28px;
  color: #15342a;
  font-weight: 400;
  margin-top: 40px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #9d634a;
  transition: width 0.3s ease;
}

.section-heading:hover::after {
  width: 100%;
}

.section-heading:first-of-type {
  margin-top: 0;
}

.bio-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
  transition: transform 0.3s ease;
}

.bio-text:hover {
  transform: translateX(5px);
}

.credentials-heading {
  margin-top: 50px;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.credential-item {
  padding: 20px;
  background-color: #f5f2ef;
  border-left: 3px solid #9d634a;
  border-radius: 4px;
  transition: all 0.4s ease;
  animation: slideInRight 0.5s ease backwards;
}

.credential-item:nth-child(1) { animation-delay: 0.1s; }
.credential-item:nth-child(2) { animation-delay: 0.2s; }
.credential-item:nth-child(3) { animation-delay: 0.3s; }

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

.credential-item:hover {
  background-color: #fff;
  border-left-width: 5px;
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.credential-degree {
  font-size: 20px;
  color: #15342a;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.credential-item:hover .credential-degree {
  color: #9d634a;
}

.credential-institution {
  font-size: 16px;
  color: #9d634a;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.credential-item:hover .credential-institution {
  transform: translateX(5px);
}

.credential-year {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.awards-list {
  list-style: none;
  margin-top: 20px;
}

.awards-list li {
  font-size: 16px;
  color: #333;
  padding: 12px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.awards-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #9d634a;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.awards-list li:hover {
  padding-left: 35px;
  color: #9d634a;
}

.awards-list li:hover::before {
  transform: translateX(5px);
}

/* researches Page Styles */
.researches-content {
  margin-top: 40px;
}

.research-category {
  margin-bottom: 60px;
  animation: fadeIn 0.6s ease backwards;
}

.research-category:nth-child(1) { animation-delay: 0.1s; }
.research-category:nth-child(2) { animation-delay: 0.2s; }
.research-category:nth-child(3) { animation-delay: 0.3s; }

.research-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 15px;
  background: #f5f2ef;
  border-radius: 8px;
  overflow: hidden;
}

/* HEADER */
.research-table thead {
  background-color: #15342a;
  color: #ebe6e6;
}

.research-table th {
  text-align: left;
  padding: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* BODY */
.research-table td {
  padding: 15px;
  vertical-align: top;
  line-height: 1.6;
}

/* STRIPES */
.research-table tbody tr:nth-child(even) {
  background-color: #ebe6e6;
}

/* HOVER */
.research-table tbody tr:hover {
  background-color: #e0d8d3;
  transition: 0.3s;
}

/* COLUMN SIZE */
.research-table td:first-child {
  width: 80px;
  font-weight: bold;
  color: #9d634a;
}

.research-table td:nth-child(2) {
  width: 50%;
}

.research-table td:nth-child(3) {
  font-style: italic;
  color: #666;
}

.table-container {
  overflow-x: auto;
}

/* SHADOW biar floating */
.research-table {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.filter-container {
  margin-top: 30px;
  margin-bottom: 10px;
}

#yearFilter {
  padding: 10px 15px;
  border: 1px solid #d0cbc5;
  border-radius: 6px;
  background-color: #f5f2ef;
  font-family: 'Georgia', serif;
  color: #15342a;
  cursor: pointer;
  transition: 0.3s;
}

#yearFilter:hover {
  border-color: #9d634a;
}

#searchInput {
  padding: 10px 15px;
  border: 1px solid #d0cbc5;
  border-radius: 6px;
  background-color: #f5f2ef;
  font-family: 'Georgia', serif;
  width: 250px;
}

#searchInput:focus {
  border-color: #9d634a;
  box-shadow: 0 0 0 2px rgba(157, 99, 74, 0.2);
}

.highlight {
  background-color: #ffd54f;
  color: #000;
  padding: 2px 4px;
  border-radius: 3px;
  animation: highlightFade 0.4s ease;
}

@keyframes highlightFade {
  from {
    background-color: transparent;
  }
  to {
    background-color: #ffd54f;
  }
}

.research-table tbody tr {
  transition: all 0.25s ease;
}

.no-result {
  display: none;
  text-align: center;
  margin-top: 20px;
  color: #9d634a;
  font-style: italic;
  font-size: 16px;
}

.research-link {
  color: #15342a;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.research-link:hover {
  color: #3b82f6;
  text-decoration: underline;
  transform: translateX(2px);
}
.category-title {
  font-size: 32px;
  color: #15342a;
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #d0cbc5;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #9d634a;
  transition: width 0.4s ease;
}

.category-title:hover::after {
  width: 200px;
}

.publication-item {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #d0cbc5;
  transition: all 0.3s ease;
}

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

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

/* Book Items */
.book-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
}

.publication-image {
  width: 200px;
  height: 280px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.publication-image:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.publication-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.publication-image:hover img {
  transform: scale(1.1);
}

.publication-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.publication-title {
  font-size: 24px;
  color: #15342a;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.publication-item:hover .publication-title {
  color: #9d634a;
}

.publication-meta {
  font-size: 14px;
  color: #9d634a;
  margin-bottom: 15px;
  font-style: italic;
  transition: transform 0.3s ease;
}

.publication-item:hover .publication-meta {
  transform: translateX(5px);
}

.publication-description {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
  transition: color 0.3s ease;
}

.publication-item:hover .publication-description {
  color: #333;
}

.publication-link {
  color: #9d634a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 5px;
  position: relative;
  padding-right: 20px;
}

.publication-link::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.publication-link:hover {
  color: #15342a;
  transform: translateX(5px);
}

.publication-link:hover::after {
  transform: translateX(5px);
}

/* Article Items */
.article-item {
  padding: 20px 0;
}

.article-title {
  font-size: 20px;
  color: #15342a;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.article-item:hover .article-title {
  color: #9d634a;
  transform: translateX(5px);
}

/* Placeholder Text */
.placeholder-text {
  font-size: 18px;
  color: #888;
  font-style: italic;
  text-align: center;
  padding: 60px 20px;
  animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 150px);
  background-color: #ebe6e6;
}

.hero-left {
  background-color: #ebe6e6;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-right {
  background-color: #15342a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
}

.hero-title {
  font-size: 69px;
  color: #c39886;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
  font-size: 20px;
  color: #ebe6e6;
  font-weight: 300;
  letter-spacing: 0.5px;
  animation: fadeInUp 1s ease 0.3s backwards;
}

/* Chat Button */
.chat-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #9d634a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  z-index: 1000;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.chat-button:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: #15342a;
  animation: none;
}

.chat-button svg {
  transition: transform 0.3s ease;
}

.chat-button:hover svg {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }

  .hero-right {
    padding: 40px 50px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-section {
    position: static;
    text-align: center;
  }

  .about-portrait {
    max-width: 300px;
  }

  .book-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .publication-image {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 15px 20px 0;
  }

  .header-top {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    overflow-x: auto;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 14px;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-left {
    min-height: 400px;
    background-position: center top;
  }

  .hero-right {
    padding: 40px 30px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .content-container {
    padding: 40px 20px;
  }

  .page-title {
    font-size: 36px;
  }

  .section-heading {
    font-size: 24px;
  }

  .category-title {
    font-size: 26px;
  }

  .publication-title {
    font-size: 20px;
  }

  .article-title {
    font-size: 18px;
  }

  .bio-text {
    text-align: left;
  }

  .publication-description {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 20px;
  }

  .site-subtitle {
    font-size: 12px;
  }

  .hero-title {
    font-size: 36px;
  }

  .nav-link {
    font-size: 13px;
  }

  .page-title {
    font-size: 28px;
  }

  .section-heading {
    font-size: 20px;
  }

  .category-title {
    font-size: 22px;
  }

  .credential-degree {
    font-size: 18px;
  }
}

.profile-wrapper {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #c39886, #15342a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-top: 80px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.profile-wrapper img {
  width: 97%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-wrapper {
  transition: all 0.4s ease;
}

.profile-wrapper:hover {
  transform: scale(1.05) rotate(2deg);
}

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

/* Media Grid Configuration */
.media-grid {
  display: grid;
  /* Automatically columns based on screen width; minimum 280px wide each */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 30px 0;
}

/* Individual Image Cards */
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px; /* Smooth rounded corners */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft, premium shadow */
  background: #f7f7f7;
  aspect-ratio: 4 / 3; /* Keeps gallery items uniform. Use 1/1 for squares */
  cursor: pointer;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the card beautifully without stretching */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Ultra smooth zoom transition */
}

/* Elegant Hover Effect */
.media-card:hover img {
  transform: scale(1.08); /* Subtle zoom in when hovered */
}

/* --- Scroll Animation States --- */

/* 1. Initial State (Hidden & shifted slightly down) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1), 
              transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

/* 2. Active State (Triggers via JavaScript when scrolled into view) */
.scroll-reveal.appeared {
  opacity: 1;
  transform: translateY(0);
}

/* --- Lightbox Modal View --- */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 10000; /* Ensure it stays above everything, including navbars */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Dark elegant overlay backdrop */
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Show the lightbox when active */
.lightbox.active {
  display: flex;
}

/* Ensure the wrapper hides any clipping when the image expands */
.lightbox-content-wrapper {
  max-width: 80%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Keeps the zoom contained neatly inside the frame */
}

/* Base image state inside lightbox */
#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  cursor: zoom-in; /* Changes cursor to a magnifying glass (+) */
  
  /* Smooth transition for entering and exiting the zoom state */
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease;
  transform-origin: center center;
  will-change: transform;
}

/* Active Zoomed-In State */
#lightbox-img.is-zoomed {
  transform: scale(2); /* Scales image to 2x its lightbox size. Change to 1.5 or 2.5 if preferred */
  cursor: zoom-out; /* Changes cursor to a minus glass (-) */
}

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

/* Close & Navigation Buttons */
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.lightbox-close:hover {
  color: #8b5a2b;
  transform: scale(1.1);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 16px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #8b5a2b;
}

.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }

/* Handle smaller screen widths gracefully */
@media (max-width: 600px) {
  .lightbox-btn {
    padding: 10px 14px;
    font-size: 20px;
  }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { right: 16px; top: 16px; }
}

/* Container & Typography Styling */
/* #contact-page .content-container {
  max-width: 800px; 
} */

#contact-page h1 {
  font-family: serif; 
  color: #333;
  margin-bottom: 1rem;
}

#contact-page p {
  /* font-family: sans-serif; */
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem; 
}

/* Flexbox container - keeps buttons side-by-side with a clean gap */
.contact-methods {
  display: flex;
  flex-wrap: wrap; 
  gap: 15px; 
  align-items: center; /* Aligns them perfectly on the same horizontal line */
}

/* Shared styling for BOTH buttons - bulletproofed */
.contact-item {
  display: inline-flex !important; /* Forces the block shape */
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  text-decoration: none !important; /* Strips away any default underlines */
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Keeps padding and borders mathematically perfect */
  line-height: 1; 
}

/* WhatsApp Outline Button */
.whatsapp-link {
  color: #a36b56 !important; 
  border: 2px solid #a36b56 !important;
  background-color: transparent;
}

.whatsapp-link .contact-icon {
  fill: #a36b56;
  transition: fill 0.3s ease;
  display: block;
}

.whatsapp-link:hover {
  background-color: #a36b56;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.whatsapp-link:hover .contact-icon {
  fill: #ffffff;
}

/* LinkedIn Solid Button (Default State) */
.linkedin-btn {
  background-color: #a36b56;
  color: #ffffff !important;
  border: 2px solid #a36b56 !important; 
}

.linkedin-btn .contact-icon {
  fill: #ffffff; 
  display: block;
  transition: fill 0.3s ease; /* Ensures the icon color changes smoothly */
}

/* LinkedIn Hover Effect (Becomes Outlined) */
.linkedin-btn:hover {
  background-color: transparent; 
  color: #a36b56 !important; /* Text turns brown */
  transform: translateY(-2px); 
}

.linkedin-btn:hover .contact-icon {
  fill: #a36b56; /* Icon turns brown */
}