.vision-section {
    position: relative;
    max-width: 100%;
    min-height: 100vh; /* Ensures full height while being flexible */
    
    background: url('../images/webpageBG_Photo1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers text */
    color: white;
    filter: brightness(90%);
    padding: 20px; /* Ensures spacing on small screens */
}

.vision-text {
    max-width: 50%;
    width: 90%; /* Makes sure it adjusts on smaller screens */
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Responsive Fix for Mobile */
@media (max-width: 768px) {
    .vision-section {
        min-height: 80vh; /* Slightly smaller height */
        padding: 10px; /* Adjust padding */
    }

    .vision-text {
        max-width: 90%; /* Expands text box */
        font-size: 20px; /* Adjust text size */
    }

    .vision-text h1 {
        font-size: 32px; /* Adjusts heading size */
    }

    .vision-text p {
        font-size: 20px; /* Adjusts paragraph size */
    }
}



.mission-section{
    position: relative;
    width: 100%; /* Full width of the parent */
    height: 100vh; /* Full viewport height (adjust as needed) */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden; /* Hide overflow */
}


/* Video as Background */
.background-video {
    /* position: absolute; */
    position: relative;
    top: 50%;
    left: 50%;
    width: 1920px;
    height: 1080px;
    object-fit: cover; /* Ensure the video fills the section */
    z-index: -1; /* Keep it behind the text */
}

/* Mission Text Styling */
.mission-text {
    position: relative;
    max-width: 60%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    z-index: 1; /* Ensure text appears above video */
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-text {
        max-width: 80%;
        text-align: center;
    }
}
/* ============================ */
/* Offers Section */
.offers-section {
    text-align: center;
    padding: 40px 20px;
}

/* Section Title */
.offers-title {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Grid Layout */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔹 Changed from 2 to 3 columns */
    gap: 20px; /* Equal spacing */
    max-width: 1000px; /* Adjust container width */
    margin: auto;
}

/* Offer Item Styling */
.offer-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners */
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out; /* 🔹 Added smooth transitions */
}

/* 🔹 NEW: Hover effect added */
.offer-item:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Slight background color change */
    transform: scale(1.05); /* 🔹 Slight zoom effect */
}

/* Ensure images are fully responsive */
.offer-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsive: Stack images on smaller screens */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr; /* 🔹 Changed from 2 to 1 column */
    }
}


/* ================================== */

/* Style the video section */
#video-section {
    display: flex;
    flex-direction: column; /* Stack title and video */
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 50px 0;
    background-color: #f4f4f4; /* Optional: Light background */
}

/* Style the headline */
.video-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px; /* Space between text and video */
}

/* Style the video container */
.video-container {
    width: 70%; /* 70% of the page */
    display: flex;
    justify-content: center;
}

/* Make the video responsive */
.video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add shadow */
}

/* Responsive: Adjust video size on smaller screens */
@media (max-width: 768px) {
    .video-container {
        width: 90%; /* Make it 90% of the page width on smaller screens */
    }

    .video-title {
        font-size: 24px; /* Slightly smaller text on mobile */
    }
}


/* ================================== */
.team-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f9fa;
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Team Container - Flexible Layout */
.team-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between columns */
    flex-wrap: wrap; /* Ensures responsiveness */
}

/* Individual Team Member */
.team-member {
    flex: 1 1 calc(25% - 20px); /* 4 Columns when added, 3 by default */
    max-width: 250px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* .linkedin-icon{
    height: 1em;
    width: auto;
    vertical-align: middle;
    margin-left: 5px;
    border: none;
    border-radius: 0; 
} */

/* Profile Picture */
.team-member img {
/* .profile-pic{ */
    width: 100px;
    height: 100px;
    border-radius: 50%; 
    object-fit: cover;
    border: 2px solid #007bff;
}

/* Name & Role */
.team-member h3 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: #333;
}

.team-member p {
    font-size: 1rem;
    color: #666;
}

/* Responsive: Stacked on Mobile */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        width: 80%;
        max-width: 300px;
    }
}

/* ======================= */
.gallery-section {
    text-align: center;
    padding: 40px 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns in desktop view */
    gap: 20px; /* Equal gap between images */
    max-width: 800px;
    margin: auto;
}

.gallery-item img {
    width: 100%; /* Ensure images are responsive */
    height: auto;
    display: block;
    border-radius: 10px; /* Optional: Adds rounded corners */
}

/*  Responsive: Stack images on smaller screens */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr; /* Single column for mobile */
    }
}


/* ========================= */

/* Vision Section */
.vision-sectionEnd {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4; /* Light background */
}

/* Style the title */
.vision-titleEnd {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Style the text */
.vision-textEnd {
    font-size: 22px;
    color: #555;
    margin-bottom: 15px;
}

/* Style the contact */
.vision-contactEnd {
    font-size: 18px;
    color: #007bff;
    font-weight: bold;
}

/* Style the email link */
.vision-contactEnd a {
    text-decoration: none;
    color: #007bff;
}

.vision-contactEnd a:hover {
    text-decoration: underline;
}


/* ======================== */

/* Ensure the rest of the content is pushed down properly */
main {
    flex-grow: 1;
    padding: 20px;
}