body {
    background-color: #cbd6db;
}

.about-hero-section h1{
    text-align: center;
    font-size: 3em;
}

.about-hero-section-image-holder {
    width: 60%;
    height: 75vh; /* Increased height to create more space */
    background-color: #94A3A6;
    margin: 7em auto;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 2em;
}

.about-hero-section-image-holder img {
    width: 60%;
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
}

.about-hero-section-image-holder p{
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    max-width: 80%;
}

.fact-section {
    display: flex;
    justify-content: center;
    gap: 5em;
    margin-bottom: 5vh;
    padding: 0 10%;
}

.about-me-header{
    text-align: center;
    font-size: 3em;
}

.fact-sub-section {
    text-align: center;
    flex: 1;
    max-width: 32em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fact-sub-section h2{
    font-size: 2.2em;
}

.fact-sub-section p{
    font-size: 1.5em;
    margin-bottom: 2em;
    height: 7.5em;
}

.fun-fact-image {
    height: 400px;
    width: auto;
}

/* Laptop screens - increase paragraph height */
@media (max-width: 1600px) {
    .fact-sub-section p {
        height: 10em;
    }
}

.photography-testimonials-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8vh 6vh;
    background-color: #94A3A6;
    margin-bottom: 5vh;
}

.testimonial-carousel-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-carousel-inner h1{
    font-size: 3em;
}

.testimonial-card {
    display: flex;
    align-items: center;
    max-width: 180vh;
    background: none;
    gap: 5em;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.testimonial-card.fade-out {
    opacity: 0;
}

.testimonial-card.fade-in {
    opacity: 1;
}

.testimonial-avatar{
    width: 30vh;
}

.testimonial-content {
    max-width: 129vh;
    text-align: center;
}


.testimonial-content p{
    font-size: 1.5em;
    line-height: 1.6;
    font-weight: 500;
}

.testimonial-content .testifier {
    font-weight: 800;
}

.carousel-controls{
    display: flex;
    gap: 1em;
    margin-top: 2em;
    justify-content: center;
}

.carousel-dot{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    width: 16px;
    height: 16px;
    background-color: black;
    opacity: 1;
}

.about-contact-section{
    width: 100%;
    height: 90vh;
    background: url("../images/about-contact-section.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5em;
    color: white;
    position: relative;
}

.about-contact-content {
    position: absolute;
    top: 12vh;
    right: 29vh;
    max-width: 35em;
    text-align: center;
}

.about-contact-content h2 {
    font-size: 4.5em;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-contact-button {
    background-color: transparent;
    color: white;
    padding: 1em 4em;
    border: 1.5px solid white;
    border-radius: 0.5em;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1em;
}

.about-contact-button a{
    text-decoration: none;
    color: inherit;
}

.about-contact-button:hover {
    background-color: #ffffff;
    color: black;
  }

/* MOBILE RESPONSIVE STYLES FOR ABOUT PAGE */

/* Mobile hero section optimization */
@media (max-width: 768px) {
  .about-hero-section h1 {
    font-size: clamp(1.8em, 6vw, 2.5em);
    padding: 0 1em;
    line-height: 1.2;
  }

  .about-hero-section-image-holder {
    width: 90%;
    height: auto;
    min-height: 50vh;
    margin: 3em auto;
    padding: 1em;
  }

  .about-hero-section-image-holder img {
    width: 80%;
    position: static;
    transform: none;
    margin: 1em auto;
    display: block;
  }

  .about-hero-section-image-holder p {
    font-size: clamp(1em, 4vw, 1.3em);
    max-width: 95%;
    margin-top: 1em;
  }
}

/* Mobile fact section - stack vertically */
@media (max-width: 768px) {
  .about-me-header {
    font-size: clamp(2em, 8vw, 2.5em);
    padding: 0 1em;
  }

  .fact-section {
    flex-direction: column;
    gap: 3em;
    padding: 0 1em;
  }

  .fact-sub-section {
    max-width: 100%;
    padding: 0 1em;
  }

  .fact-sub-section h2 {
    height: auto;
    margin-bottom: 1.5em;
  }

  .fun-fact-image {
    height: auto;
    width: 100%;
    max-width: 400px;
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 0.5em;
  }

  .fact-sub-section p {
    font-size: clamp(1em, 4vw, 1.3em);
    line-height: 1.5;
  }
}

/* Mobile fun fact images */
@media (max-width: 768px) {
  .fun-fact-imgs {
    flex-direction: column;
    gap: 1em;
    padding: 0 1em;
    margin-bottom: 3em;
  }

  .fun-fact-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}

/* Mobile testimonials section */
@media (max-width: 768px) {
  .photography-testimonials-carousel {
    padding: 4em 1em;
    margin-bottom: 3em;
  }

  .testimonial-carousel-inner h1 {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 1.5em;
  }

  .testimonial-card {
    flex-direction: column;
    gap: 2em;
    max-width: 100%;
    text-align: center;
  }

  .testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
  }

  .testimonial-content {
    max-width: 100%;
  }

  .testimonial-content p {
    font-size: clamp(1em, 4vw, 1.3em);
    line-height: 1.6;
  }
}

/* Mobile contact section */
@media (max-width: 768px) {
  .about-contact-section {
    height: 60vh;
    padding: 2em 1em;
    justify-content: center;
    text-align: center;
  }

  .about-contact-content {
    position: static;
    max-width: 100%;
    transform: none;
  }

  .about-contact-content h2 {
    font-size: clamp(2em, 8vw, 3em);
    margin-bottom: 1em;
    line-height: 1.2;
  }

  .about-contact-button {
    padding: 0.8em 2em;
    font-size: 1em;
    background-color: white;
    color: black;
    font-weight: 600;
  }

  .about-contact-button a {
    color: black;
  }
}

/* Tablet optimization (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-hero-section h1 {
    font-size: 2.5em;
  }

  .about-hero-section-image-holder {
    width: 80%;
    height: 50vh;
  }

  .fact-section {
    gap: 3em;
    padding: 0 5%;
  }

  .fact-sub-section {
    max-width: 100%;
  }

  .fact-sub-section h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
  }

  .fact-sub-section p {
    font-size: 1.2em;
    height: auto;
    margin-bottom: 2em;
    min-height: 12em;
  }

  .fun-fact-image {
    width: auto;
    height: 300px;
    max-width: 100%;
  }

  .photography-testimonials-carousel {
    padding: 6vh 4vh;
  }

  .testimonial-carousel-inner h1 {
    font-size: 2.5em;
  }

  .testimonial-card {
    flex-direction: column;
    gap: 2em;
  }

  .testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }

  .testimonial-content {
    max-width: 100%;
  }

  .testimonial-content p {
    font-size: 1.3em;
  }

  .about-contact-content {
    right: 10vh;
    max-width: 30em;
  }

  .about-contact-content h2 {
    font-size: 3.5em;
  }
}