/* Main Body */
body {
    font-family: "Raleway", sans-serif;
    line-height: 1.6;
    background-color: white;
    color: white;
    position: relative;
    height: 100%;
}

header {
    background-color: rgba(153, 153, 153, 0.322);
}

.content-container {
    background-color: white;
    color: black;
    padding: 60px 20px;
}

.vertical-line {
    font-family: "Playfair Display", serif;
    border-left: thick solid rgb(27, 46, 60);
    text-indent: 20px;
    font-size: 30px;
    margin-bottom: 2rem;
    color: rgb(27, 46, 60);
}

h1,
h2,
h3,
h4,
p {
    margin-bottom: 2rem;
}

h1 {
    font-family: "Playfair Display", serif;
}

h2 {
    font-family: "Playfair Display", serif;
}

h3 {
    font-family: "Playfair Display", serif;
}

h4 {
    font-family: "Playfair Display", serif;
}

li {
    margin-left: 20px;
}

footer {
    background-color: rgb(27, 46, 60);
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.footer {
    background-color: rgb(27, 46, 60);
    margin-top: 32px;
}

.services-background {
    background-color: rgb(27, 46, 60);
    color: white;
}

/* Nav Bar */
nav ul {
    padding: 0;
    margin: 0; /* Ensure no extra margin */
}

nav li {
    display: inline-block; /* Use inline-block for proper alignment */
    padding: 0 10px; /* Reduce padding if necessary */
}

nav a {
    text-decoration: none;
    color: rgb(27, 46, 60);
    font-weight: bold;
    font-size: 16px;
}

.navbar-nav {
    justify-content: flex-end; /* Align items to the right */
}
.navbar .container {
    max-width: 1200px;  /* Adjust this value as necessary */
    width: 100%;
    margin: 0 auto;
}

.navbar-brand {
    font-family: "Playfair Display", serif;
    color: rgb(27, 46, 60);
}

/* Remove rounded edges from the navbar toggler button */
.navbar-toggler {
    border-radius: 0 !important;
}

/* Remove rounded edges from the navbar toggler icon */
.navbar-toggler-icon {
    background-image: none !important; /* Remove the default background image */
}

/* Custom styling for the navbar toggler icon (optional) */
.navbar-toggler-icon::before {
    content: "\2261"; /* Unicode character for the hamburger icon */
    font-size: 1.5rem; /* Adjust as needed */
    line-height: 1.3;
    color: #000; /* Adjust to match your navbar text color */
}

@media (max-width: 992px) {
    .navbar .container {
        padding: 0 15px; /* Adjust padding for smaller screens */
    }
    .navbar-nav {
        justify-content: center; /* Center navigation on smaller screens */
    }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    z-index: 2; /* Above other content */
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    color: black;
    width: 80%;
    max-width: 600px;
    z-index: 3; /* Above the modal background */
}

.form-label {
    color: rgb(27, 46, 60); /* Label color */
}

#inquireButton {
    font-size: 1.2rem; /* Adjust as needed */
    padding: 15px 30px; /* Adjust as needed */
    border-width: 2px; /* Optional: Adjust as needed */
}

.btn-primary {
    background-color: #1a1a1a; /* Button background color */
    border: none; /* Remove border */
}

.btn-primary:hover {
    background-color: #333; /* Button hover color */
}

/* Home Section */
#home {
    text-align: left;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(27, 46, 60);
    color: white;
}
.home-text {
    max-width: 800px; /* Adjust as needed */
    margin-left: auto;
    margin-right: auto;
}

.home-intro {
    text-align: center;
}

#home h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    padding-top: 10px;
}

#home p {
    font-size: 1.2rem;
}

/* About Section */
#about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1400px; /* Set maximum width */
    margin: 0 auto; /* Center the content */
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-image {
    width: 100%;
    max-width: 300px; /* Adjust as needed */
    height: auto;
    margin-right: 20px;
    border: 2px solid #ccc; /* Optional: adds a border around the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow to the image */
}

.image-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ASA-logo {
    width: 200px; /* Adjust as needed */
    height: auto;
    margin-top: 10px; /* Adjust spacing as needed */
    margin-bottom: 10px;
}

.about-text {
    flex: 1;
    font-size: 1.1rem; /* Adjust as needed */
    line-height: 1.8; /* Adjusted line height for better readability */
    margin-top: 0; /* Adjust as needed */
}

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

    .about-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/*Services Section */
#services {
    max-width: 1400px; /* Set maximum width */
    margin: 0 auto; /* Center the content */
}

/* Portfolio Section */
#portfolio {
    max-width: 1400px; /* Set maximum width */
    margin: 0 auto; /* Center the content */
}

.portfolio-content {
    display: flex;
    align-items: flex-start; /* Align items to the start of the flex container */
    justify-content: space-between;
    flex-wrap: wrap;
}

.portfolio-image {
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    height: auto;
    margin-right: 20px;
    border: 2px solid #ccc; /* Optional: adds a border around the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow to the image */
}


.portfolio-text {
    flex: 1;
    font-size: 1.1rem; /* Adjust as needed */
    line-height: 1.8; /* Adjusted line height for better readability */
}

.bio-cv-links {
    margin-bottom: 20px; /* Adjust as needed */
}

@media (max-width: 992px) {
    .portfolio-content {
        flex-direction: column;
        align-items: left;
    }

    .portfolio-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* Contact Section */
#contact {
    background-color: rgb(
        27,
        46,
        60
    ); /* Match the home section's background color */
    color: white; /* Make text legible on the dark background */
    text-align: center; /* Center-align the text */
}

#contact a {
    color: white; /* Make links white */
    text-decoration: underline; /* Underline to indicate they are clickable */
}

#contact a:hover {
    color: #add8e6; /* Light blue color for links on hover */
}

#contact h2 {
    color: white; /* Ensure the heading is also white */
}

.button-container button {
    background-color: rgb(
        27,
        46,
        60
    ); /* Background same as the section's background */
    color: white; /* White text on hover */
    border: 2px solid white; /* Border color to white */
}

.button-container button:hover {
    background-color: white; /* White background for the button */
    color: rgb(27, 46, 60); /* Text color same as the section's background */
    border: 2px solid rgb(27, 46, 60); /* Border to match the text color */
}

.modal-content {
    color: black; /* Ensure text inside the modal is black for legibility */
}

.form-label {
    color: rgb(
        27,
        46,
        60
    ); /* Dark blue color for form labels to match the site's theme */
}

/* FAQ Section */
#faq {
    max-width: 1400px; /* Set maximum width */
    margin: 0 auto; /* Center the content */
}

/* Remove rounded edges from buttons */
.btn {
    border-radius: 0 !important;
}

.modal-content {
    border-radius: 0;
}

/* Swiper Customization for All Screens */
.swiper {
    max-width: 100%; /* Adjust the width as needed */
    height: 420px; /* Set a fixed height for larger screens */
    margin: 20px auto; /* Center the swiper */
    overflow: hidden; /* Ensures nothing overflows */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px; /* Adjust font size as needed for larger screens */
}

.swiper-slide img {
    width: auto; /* Adjust image width to maintain aspect ratio */
    max-height: 100%; /* Ensure the image fits */
    object-fit: cover; /* Cover the slide area */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow to the image */
}

@media (max-width: 480px) {
    .swiper {
        height: 400px; /* Further reduce height for very small screens */
        max-width: 100%; /* Allow swiper to take up more width */
    }

    .swiper-slide {
        font-size: 14px; /* Reduce font size for readability on small screens */
    }
    .swiper-slide img {
        width: auto; /* Adjust image width to maintain aspect ratio */
        max-height: 80%; /* Ensure the image fits */
        object-fit: cover; /* Cover the slide area */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow to the image */
    }
}

/* Swiper Navigation Button Customization for Large Screens */
@media (min-width: 1000px) {
    .swiper {
        max-width: 800px;
    }
}

.swiper-caption-container {
    text-align: center;
    margin-top: -50px; /* Pulls the caption up closer to the Swiper */
    position: relative;
    z-index: 10; /* Ensures it's visually above the Swiper */
}

.swiper-caption {
    font-size: 14px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    font-family: "Roboto", sans-serif; /* Use Roboto font */
}

#testimonial_content {
    display: flex;
    flex-wrap: wrap; /* Allow testimonials to wrap as needed */
    justify-content: center; /* Center items horizontally */
    /* Space between testimonials */
}

.testimonial blockquote {
    margin: 10px 10px -0.5px 0px;
    background: rgb(27, 46, 60);
    padding: 20px 60px;
    position: relative;
    border: none;
    border-radius: 8px;
    font-style: italic;
}

.testimonial {
    /* Ensure testimonials have a defined flex-basis or max-width for wrapping */
    flex: 1 1 200px; /* This allows testimonials to grow and shrink but not be smaller than 400px */
    /* You can adjust the 400px to suit your design needs */
    max-width: 400px; /* This prevents any testimonial from growing beyond 400px in width */
}

.testimonial blockquote:before {
    top: 0;
    left: 10px;
}

.testimonial blockquote:after {
    content: "\201D";
    right: 10px;
    bottom: -0.5em;
}

.testimonial div {
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid rgb(27, 46, 60);
    margin: 0 0 0 20px;
}

.testimonial p {
    margin: 8px 0 0 20px;
    text-align: left;
    color: rgb(27, 46, 60);
}

/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    #testimonial_content {
        flex-direction: column; /* Stack testimonials vertically */
        align-items: center; /* Center testimonials vertically */
    }
}
