/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #FFF; 
    color: #343155;
    line-height: 32px;
    font-size: 16px;
    font-weight: 200;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.alt-row {
    background-color: #FFFFFF;
}

.last-row {
    margin-bottom: 48px;
}

section {
    padding: 40px 0 0;
}

h2 {
    color: #7f83bb;
    font-family: "Borel", cursive;
    margin: .5em 0 0;
    font-size: 48px;
    line-height: 48px;
    text-align: center;
    font-weight: 300;
}

h4  {
    font-size: 20px;
    font-weight: 400;
}

p {
    margin-bottom: 24px;
    font-size: 20px;
}

/* Hero Section */
.hero {
    background-image: url('/assets/hero-r1.png?q=80&w=1887&auto=format&fit=crop');
    background-size: cover;
    background-position: bottom;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: #E2F0FF;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 49, 85, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: "Borel", cursive;
    font-size: 120px;
    line-height: 1em;
    font-weight: 300;
    margin: 0 30px;
    text-shadow: -4px -4px 4px rgba(52, 49, 85, 1);
}

.hero h3 {
    font-size: 28px;
    font-weight: 300;
    margin: 40px 40px 20px;
    text-shadow: -2px -2px 2px rgba(52, 49, 85, 1);
}

.hero-nav {
    margin-top: 50px;
    line-height: 64px;
}

.hero-nav a {
    color: white;
    text-decoration: none;
    margin: 8px;
    font-size: 20px;
    padding: 10px 15px;
    border: 1px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(52, 49, 85, 0.6);
}

.hero-nav a:hover {
    background: rgba(52, 49, 85, 1);
}

/* Section Styles */
.section-content {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    justify-content: center;
}

.text-container {
    flex: 1;
    max-width: 900px;
}

/* Desktop Layout - Default */
.bio-content {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 20px;
}

.bio-text {
flex: 1;
}

.bio-image {
width: 200px;
height: 200px;
border-radius: 50%; /* Makes the image circular */
object-fit: cover; /* Maintains aspect ratio while filling the space */
margin-left: 20px; /* Space between text and image */
}

/* Mobile Layout - Using media query */
@media (max-width: 768px) {
.bio-content {
    flex-direction: column;
    align-items: center;
}

.bio-image {
    width: 80%; /* Image takes most of the width on mobile */
    height: auto; /* Height adjusts proportionally */
    aspect-ratio: 1/1; /* Maintains circular shape */
    margin: 0 0 20px 0; /* Space below image, not left */
    order: -1; /* Places image above text */
}

.bio-text {
    width: 100%;
}
}

.title-container {
    display: flex;
    justify-content: center;
}

.title-container i {
    color: rgba(127, 131, 187, .5);
    font-size: 28px;
}
.title-container i.left {
    padding: 18px 20px 0 0;
}
.title-container i.right {
    padding: 18px 0 0 20px;
}

.carousel-container {
    margin: 0 auto;
    max-width: 900px;
    background-color: rgb(247, 247, 255);
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(52, 49, 85, .1);
    padding: 2rem;
}

.carousel {
    position: relative;
    /* Height will vary based on screen size, set in media queries */
    overflow: hidden;
    margin-bottom: 0;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    padding: 0.5rem;
}

.testimonial.active {
    opacity: 1;
}

.customer-quote {
    font-size: 1.45rem;
    margin-bottom: 0;
    line-height: 1.6;
    font-style: italic;
    height: 200px;
    display: grid;
    align-items: center;
}

.customer-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

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

.dot.active {
    background-color: #7f83bb;
}


/* Mobile sizing */
@media (max-width: 480px) {
    .carousel {
        height: 600px; /* Adjusted for mobile */
    }

    .customer-quote {
    height: 40px;
    }
}

/* Tablet sizing */
@media (min-width: 481px) and (max-width: 768px) {
    .carousel {
        height: 300px; /* Adjusted for tablet */
    }
}

/* Desktop sizing */
@media (min-width: 769px) {
    .carousel {
        height: 220px; /* Adjusted for desktop */
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
}

button[type="submit"] {
    background: #4E7A9E;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: #9E4E7A;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #9E4E7A;
}

.footer-disclaimer {
    margin: 10px auto;
    padding-top: 0;
    max-width: 800px;
   /*  border-top: 1px solid rgba(255, 255, 255, 0.1); */
    font-size: .7m;
    color: #aaa;
}