/* Reset some basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Section */
.header {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    padding: 20px;
}

.header-image {
    width: 150px;
    height: auto;
    margin-right: 20px;
}

.title-text h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.title-text p {
    font-size: 1.2em;
    color: #777;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-links a:hover {
    background: #333;
    color: #fff;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    background: #f4f4f4;
}

.hero img {
    width: 100%;
    height: auto;
    max-height: 450px;
    overflow: hidden;
}

/* Testimonials Section */
.testimonials {
    padding: 20px;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px;
    justify-content: center;
    text-align: center; /* Centers the text inside each testimonial */
}
@media (max-width: 768px) {
    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }
}

.testimonial {
    flex: 0 0 300px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    scroll-snap-align: start;
    border-radius: 8px;
}

.testimonial img {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* About Me Section */
.about-me {
    display: flex;
    padding: 20px 10%;
    /* background: #f4f4f4; */
    flex-direction: column; /* Stacks items vertically on smaller screens */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers text inside the container */
    max-width: 800px; /* Optional: restricts width for easier centering */
    margin: 0 auto; /* Centers the container on the page */
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-right: 20px;
}

.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.profile-pic {
    margin-bottom: 20px; /* Adds space below the image for stacked view */
}

/* For larger screens, display items side-by-side */
@media (min-width: 768px) {
    .about-me {
        flex-direction: row; /* Side-by-side layout on larger screens */
        justify-content: center; /* Centers content as a whole */
        text-align: left; /* Align text within the text container */
    }

    .profile-pic {
        margin: 0 20px 0 0; /* Adds space to the right of the image */
    }
}
.about-text {
    max-width: 980px; /* Optional: restricts width to improve readability */
    margin: 0 auto; /* Centers the text container */
}

.about-text h2 {
    margin-bottom: 10px;
}

.about-text p {
    max-width: 90%;
}

.about-text ul {
    list-style-type: none;
    padding: 0;
}

.about-text ul li {
    margin-bottom: 5px;
}
