/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Floating Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(1, 1, 1, 0.3);
    padding: 10px;
    z-index: 10;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: right;
}

header nav ul li {
    margin: 0 15px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Landing Section */
.landing {
    background-color: #007bff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

/* Scroll Down Button Styling */
.scroll-down {
    position: absolute;
    bottom: 20px; /* Distance from the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for exact centering */
    background-color: rgba(0, 123, 255, 0.7);
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 150px;
    height: 50px;
}

.scroll-down i {
    font-size: 24px; /* Size of the down arrow */
}

.scroll-text {
    display: none; /* Initially hidden */
    font-size: 12px;
    margin-top: 5px;
}

/* Hover Effect */
.scroll-down:hover {
    background-color: rgba(0, 123, 255, 0.9);
}

.scroll-down:hover .scroll-text {
    display: block; /* Show text on hover */
}

.scroll-down:hover i {
    display: none; /* Hide arrow when text is displayed */
}


/* Parallax Effect */
.parallax {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
}

/* Section Info */
.info {
    background-color: #f4f4f9;
    padding: 60px;
    text-align: center;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: rgba(0, 123, 255, 0.6);  /* Lower opacity */
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Scroll Button Styling */
.scroll-btn:hover {
    background-color: #ff4500;
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 123, 255, 0.6);  /* Lower opacity */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;  /* Circular shape */
    font-size: 18px;
    display: none;  /* Hide by default */
    cursor: pointer;
    text-align: center;
    z-index: 10;
    transition: background-color 0.3s;
}

.go-to-top:hover {
    background-color: rgba(0, 123, 255, 0.8);  /* Slightly higher opacity when hovered */
}

/* Text Inside the Button */
.go-to-top .top-text {
    font-size: 16px;
    font-weight: bold;
}

/* Arrow Below the Text */
.go-to-top .arrow {
    display: block;
    font-size: 20px;
}

/* Optional: You can add a shadow to make the button stand out */
.go-to-top {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.go-to-top:hover {
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-item {
    font-size: 16px;
}

.footer-item i {
    margin-right: 10px; /* Space between the icon and the text */
    font-size: 18px;
}

/* Make footer text responsive */
@media screen and (max-width: 600px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-item {
        margin-bottom: 10px;
    }
}

/* Team Section Styling */
#team {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

#team.section-header p {
    font-size: 18px;
    color: white !important;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px;
    justify-items: center;
}

.team-member {
    display: flex;
    flex-direction: row; /* Align text and image horizontally */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: translateY(-10px); /* Hover effect */
}

.team-info {
    flex: 1;
    text-align: left;
    padding-left: 20px; /* Space between image and text */
}

.team-photo {
    width: 50%;
    flex-shrink: 0;
    text-align: center;
}

.team-member img {
    width: 50%; /* Make image take half width */
    height: auto;
    object-fit: cover; /* Ensures the image covers the container area */
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 16px;
    font-weight: normal;
    color: #555;
    margin-bottom: 15px;
}

.team-member .bio {
    font-size: 14px;
    color: #777;
}

/* Gallery Section */
#gallery {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Gallery Container */
.gallery-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden; /* Hide overflow images outside the container */
}

/* Gallery Slide */
.gallery-slide {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth sliding effect */
    width: 100%; /* Ensure the gallery takes full width */
}

/* Fixed-size container for each image */
.slide-container {
    min-width: 100%; /* Ensure each container takes 100% of the gallery width */
    height: 400px; /* Fixed height for all image containers */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image styling to make sure it fits well within the container */
.slide-container img {
    width: 50%; /* Make image take half width */
    height: auto;
    object-fit: cover; /* Ensures the image covers the container area */
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Gallery image wrapper with position relative for overlay */

/* Text styling */
.testimonial-text {
    font-size: 18px;
    font-style: italic;
    text-align: center;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* Show the overlay when hovering over the image */
.image-wrapper:hover .testimonial-overlay {
    opacity: 1;
}

/* Slide container */
.slide-container {
    position: relative;
}

/* Testimonial overlay */
.testimonial-overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10%;
}

/* Show the testimonial overlay for the active slide */
.slide-container.active .testimonial-overlay {
    display: flex;
}


