.hero {
  position: relative;
  text-align: center;
  background: linear-gradient(to right, #f0f0f0, #e0e0ff);
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  animation: fadeIn 2s ease-in-out;
}

.hero-content {
  position: absolute;
  top: 20%;
  left: 10%;
  background: rgba(255,255,255,0.8);
  padding: 2rem;
  border-radius: 10px;
  animation: slideUp 1.5s ease-out;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #6c63ff;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.cards-section {
  padding: 3rem 2rem;
  background: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.card {
  background: #f0f0ff;
  padding: 1.5rem;
  border-radius: 10px;
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

.testimonials {
  background: #eaeaea;
  padding: 3rem 2rem;
  text-align: center;
}

.testimonial {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.contact {
  padding: 3rem 2rem;
  background: #fff;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

input, textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 0.75rem;
  background: #BAA96A;
  color: white;
  border: none;
  border-radius: 5px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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



.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #6c63ff;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial-content span {
  font-weight: bold;
  color: #333;
}



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



/* Center website */
.main {
  max-width: 1000px;
  margin: auto;
}

h1 {
  font-size: 50px;
  word-break: normal;
}


/* Add padding BETWEEN each column */
.row,
.row > .column {
  padding: 8px;
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
}

/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: white;
  padding: 10px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
  .column {
    width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}


@media (max-width: 768px) {
  .hero-content,
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
  font-size: 0.9rem;
  overflow-wrap: normal !important; 
  word-wrap: normal !important; /* Legacy support for overflow-wrap */
  
  /* Prevents words from being forcefully broken mid-word */
  word-break: normal !important; 
  
  /* Ensures normal text display flow */
  white-space: normal !important; 
  
  /* Prevents hyphenation */
  hyphens: none !important;
  }
}



#myCarousel {
  scroll-margin-top: 80px; /* match your navbar height */
}

.carousel {
  position: relative;
  z-index: 1;
  margin-top: 2rem; /* adds breathing room below navbar */
}


.about-orb {
  padding: 4rem 2rem;
  background: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.bio-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.bio-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.bio-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.orb-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.orb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: -40px 0px 60px rgba(108, 99, 255, 0.3); /* fades toward text */
}


.orb-image {
  animation: fadeOrb 1s ease-in-out;
}

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

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .orb-image {
    margin-top: 2rem;
    box-shadow: 0px 0px 40px rgba(108, 99, 255, 0.2);
  }
}


#confirmation-message {
  color: red;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}


