/* Message from CEO Page Styles */

/* Hero Section */
.ceo-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://travelly.bdtravel.net/assets/2-0KuQEN-n.png");
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ceo-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ceo-hero-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

/* Message Content Section */
.ceo-message-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.message-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 60px;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

/* CEO Profile Section */
.ceo-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ceo-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--bs-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ceo-photo:hover img {
  transform: scale(1.05);
}

.ceo-info {
  text-align: center;
}

.ceo-name {
  color: var(--bs-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.ceo-title {
  color: #666;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.company-name {
  color: var(--bs-success);
  font-weight: 700;
}

/* Message Text Section */
.message-text {
  padding-left: 20px;
}

.greeting {
  color: var(--bs-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.message-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
  text-align: justify;
}

.message-text p:last-child {
  margin-bottom: 0;
}

/* Decorative Elements */
.message-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-success));
  border-radius: 15px 15px 0 0;
}

.message-content {
  position: relative;
}

/* Quote styling for the message */
.message-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--bs-success);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

/* Responsive Design */
@media (max-width: 992px) {
  .message-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
    text-align: center;
  }

  .message-text {
    padding-left: 0;
  }

  .ceo-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .ceo-hero-section {
    height: 200px;
  }

  .ceo-hero-title {
    font-size: 2rem;
  }

  .ceo-message-section {
    padding: 60px 0;
  }

  .message-content {
    padding: 30px;
    margin: 0 15px;
  }

  .ceo-photo {
    width: 200px;
    height: 200px;
  }

  .ceo-name {
    font-size: 1.3rem;
  }

  .message-text p {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .ceo-hero-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .message-content {
    padding: 25px;
  }

  .ceo-photo {
    width: 180px;
    height: 180px;
    border-width: 6px;
  }

  .ceo-signature img {
    max-width: 150px;
  }

  .greeting {
    font-size: 1.1rem;
  }

  .message-text p {
    font-size: 0.95rem;
  }
}

/* Animation for CEO photo */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ceo-profile {
  animation: fadeInUp 0.8s ease-out;
}

.message-text {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hover effect for the entire message content */
.message-content:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Professional styling for the signature */
.ceo-signature {
  position: relative;
}

.ceo-signature::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--bs-primary),
    transparent
  );
}
