/* Custom CSS Styles */

/* Global Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: white;
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  color: white;
  opacity: 0.7;
}

.nav-link {
  color: white !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  opacity: 1;
}

.nav-link:hover {
  color: white !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: white;
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Hero Section */
.hero-section {
  height: 100vh; /* reduced from 100vh */
  background-image: url("/img/Hero-img.jpg");
  background-size: cover; /* changed from cover to contain */
  background-position: top center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  transform: scaleX(-1); /* mirror horizontally */
}
.hero-section > * {
  transform: scaleX(-1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3); /* darken overlay */
}

.hero-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}
.hero-title {
  font-size: 2.5rem; /* smaller than display-3 */
  color: white;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}
#meetingDetails div {
  display: flex;
  gap: 8px; /* space between label and value */
  align-items: flex-start;
}

#meetingDetails .fw-bold {
  display: inline-block;
  min-width: 140px; /* make all labels equal width */
}
#meetingDetails {
  font-size: 1.2rem !important; /* override inline 1.3rem */
}

/* Custom Button Styles */
.custom-btn {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-btn:hover {
  background-color: #fff !important;
  border-color: #fff;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.custom-btn:focus {
  background-color: #333333;
  border-color: #333333;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/* Section Titles */
.section-title {
  color: #000000;
  margin-bottom: 1rem;
}

/* Card Styles */
.professional-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  height: 100%;
}

.professional-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 250px; /* fixed height */
  width: 100%; /* card width */
  object-fit: contain; /* fit inside, no cutting */
  background: #f8f9fa; /* background filler */
  transition: transform 0.3s ease;
}

.professional-card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 0.5rem;
}

.card-profession {
  color: #666666;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.card-brand {
  color: #888888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.view-btn {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-1px);
}

/* Button Hover Effect */
.btn.view-btn:hover,
.btn.view-btn:focus {
  color: #f8f9fa !important; /* Light font */
  border-color: inherit !important;
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: none;
}

.modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-title {
  color: #000000;
}

/* Form Styles */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #000000;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.form-label {
  color: #000000;
  margin-bottom: 0.5rem;
}

/* User Detail Modal */
.user-detail-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.user-detail-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.user-detail-info h3 {
  color: #000000;
  font-weight: bold;
  margin-bottom: 1rem;
}

.user-detail-info p {
  margin-bottom: 0.8rem;
  color: #666666;
}

.user-detail-info strong {
  color: #000000;
}

.download-btn {
  background-color: #28a745;
  border-color: #28a745;
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #218838;
  border-color: #218838;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .user-detail-container {
    flex-direction: column;
    text-align: center;
  }

  .user-detail-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
  }

  .professional-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .custom-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* 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: #ffffff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Footer */
footer {
  border-top: 1px solid #e9ecef;
}

.hero-card {
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Wrapper for the modal content */
.modern-profile-wrapper {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 2rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #1c1c1e;
}

/* User Image */
.user-img {
  width: 100%;
  max-width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.user-img:hover {
  transform: scale(1.02);
}

/* Name + Profession */
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.text-muted {
  font-size: 1rem;
  color: #6c757d !important;
}

/* Meta Section */
.user-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}

.user-meta .label {
  font-weight: 600;
  margin-right: 0.3rem;
  color: #555;
}

.user-meta a {
  color: #007bff;
  text-decoration: none;
}

.user-meta a:hover {
  text-decoration: underline;
}

/* Bio */
.bio {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
}

/* Download Button */
.btn.btn-dark {
  background-color: #1c1c1e;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn.btn-dark:hover {
  background-color: #000;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .user-img {
    margin-bottom: 1rem;
  }

  .user-meta {
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}
