/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

body {
  font-family: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.section-title {
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Hero Section */
.hero-section {
  background-image: url('../img/banner/hero.png');
  background-size: cover;
  background-position: center;
  height: 600px;
  position: relative;
}

.navbar {
  background-color: transparent;
  position: fixed;
  top: 10;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.nav-link {
  color: white;
}

.bold-font {
  font-size: 20px;
  font-weight: 500;
}

.logo {
  height: 70px;
  width: auto;
  transition: height 0.3s ease;
}

/* About Section */
.about-section {
  background-image: url('../img/about/half-logo.png');
  background-repeat: no-repeat;
  background-position: right 0px center;
  background-size: 170px;
  padding: 80px 0;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background-color: #EEECE8;
}

.team-card {
  padding: 30px 20px;
  text-align: left;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.clickable-card {
  cursor: pointer;
}

.team-card:hover {
  border-color: #A79F91;
  background-color: rgba(167, 159, 145, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-name {
  color: #A79F91;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.team-position {
  color: #333;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

.social-icon {
  color: #0077b5;
  font-size: 20px;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.social-icon:hover {
  color: #005582;
}

/* Team Modal Styles */
.modal-dialog {
  max-width: 1000px;
}

.modal-header {
  position: absolute;
  right: 0;
  z-index: 1;
  padding: 1rem;
  border: none;
}

.modal-body {
  padding: 0;
}

.modal-card-left {
  background-color: #A79F91;
  padding: 3rem 2rem;
  color: white;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
}

.modal-member-name {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.modal-member-position {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.modal-member-company {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: white;
  opacity: 0.9;
}

.modal-linkedin {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.modal-linkedin:hover {
  opacity: 0.8;
  color: white;
}

.modal-card-right {
  padding: 3rem 2rem;
  display: flex;
  align-items: flex-start;
  min-height: 500px;
}

.modal-card-right h4 {
  color: #A79F91;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.modal-card-right .content {
  flex: 1;
}

.modal-card-right .fs-5 {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.vertical-line {
  width: 4px;
  height: 80%;
  background-color: #A79F91;
  margin-right: 2rem;
  align-self: center;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .modal-card-right {
    padding: 2rem;
  }
  
  .vertical-line {
    display: none;
  }
  
  .modal-card-left {
    text-align: center;
    min-height: auto;
    padding: 2rem;
  }
  
  .modal-card-right {
    min-height: auto;
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 0;
}

.portfolio-card {
  background: white;
  padding: 20px;
  border: 1px solid #A79F91;
  margin-bottom: 30px;
  position: relative;
  height: 265px;
  width: 251px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-logo {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
}

.location-tag {
  font-size: 15px;
  color: #666;
  margin-top: 10px;
}

.portfolio-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #A79F91;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-hover {
  opacity: 1;
}

.portfolio-hover p {
  font-size: 14px;
  margin-bottom: 15px;
}

.portfolio-hover-btn {
  background-color: white;
  color: #A79F91;
  border: 1px solid #A79F91;
  padding: 5px 30px;
  border-radius: 20px;
  margin-top: 20px;
  font-size: 15px;
}

/* Exit Section */
.exit-section {
  background-color: white;
  padding: 80px 0;
}

.exit-card {
  background: white;
  padding: 20px;
  border: 1px solid #A79F91;
  margin-bottom: 30px;
  height: 265px;
  width: 251px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-title {
  background-color: #EEECE8;
  padding: 40px 80px;
  margin-bottom: 50px;
}

.title {
  color: #A79F91;
  font-size: 22px;
  font-weight: bold;
}

.input {
  background-color: #EEECE8;
  color: #A79F91;
  border-color: #A79F91;
  border-width: 1px 0px 1px 0px;
  border-style: solid;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-clip: padding-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select option {
  color: #000;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.form-label {
  font-weight: 700;
}

.button {
  background-color: #A79F91;
  color: white;
  padding: 5px 50px;
  border-radius: 29px;
}

.button:hover {
  background-color: #3F3F3F;
  color: white;
}

/* Footer Section */

.footer {
  background-color: #505050;
}

.icon {
  margin-right: 100px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
      height: 400px;
  }

  .team-card {
    text-align: center;
    padding: 20px 15px;
  }
}
/* Add these styles to your existing CSS */

/* Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25) !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip {
    display: block;
}

/* Success Modal Styles */
.modal-content {
    border-radius: 8px;
}

.modal-header {
    background-color: #A79F91;
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Loading Modal */
#loadingModal .modal-content {
    background: transparent;
    border: none;
}

#loadingModal .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Input field enhancements */
.input:focus {
    border-color: #A79F91;
    box-shadow: 0 0 0 0.2rem rgba(167, 159, 145, 0.25);
}

/* Select field styling */
.select {
    background-color: #EEECE8;
    color: #A79F91;
    border: 1px solid #A79F91;
    border-radius: 0;
}

.select:focus {
    border-color: #A79F91;
    box-shadow: 0 0 0 0.2rem rgba(167, 159, 145, 0.25);
}

/* Country code select styling */
.select option {
    color: #000;
    padding: 8px;
}