/* 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: 20px;
}

.modal-card {
  background-color: #A79F91;
}

.team-img {
  width: 100%;
  margin-bottom: 15px;
  cursor: pointer;
}

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

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

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

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

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

.modal-body {
  padding: 0;
}

.modal-card-left {
  background-color: #A79F91;
  padding: 2rem;
  color: black;
  font-weight: bold;
}

.profile-image {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 1.5rem;
  display: block;
}

.profile-info {
  font-size: 1.75rem;
  margin-left: 2rem;
}

.modal-card-right {
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  min-height: 100%;
}

.vertical-line {
  width: 10px;
  height: 60%;
  background-color: #A79F91;
  margin-right: 2rem;
  align-self: center;
}

.thinner-vertical-line {
  width: 2px;
  height: 100%;
  background-color: #A79F91;
  margin-right: 2rem;
  align-self: center;
}

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

/* Fix for modal content height */
.team-modal-content .row {
  min-height: 400px;
}

/* Directors Section */

.director-name {
  cursor: pointer;
}

/* 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-modal-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .team-modal-image {
      width: 150px;
      margin-bottom: 20px;
  }
}