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

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

/* Navigation bar styles */
nav {
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav-logo {
    max-height: 80px; /* Adjusts logo size */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
    font-size: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: black;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    z-index: 1;
}

.hero p {
    font-size: 1.5rem;
    z-index: 1;
}

.hero-text p {
    margin-bottom: 20px; /* Add space below each paragraph */
}

.hero-btn {
    background-color: #ff5733;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
    margin-top: 20px; /* Add space above the button */
}

/* Sections */
section {
    padding: 50px;
    text-align: center;
}

/* Section Headings */
section h2 {
    font-size: 2.5rem; /* Increased font size for section headings */
    margin-bottom: 15px;
}

/* Section Paragraphs */
section p {
    font-size: 1.5rem; /* Increased font size for section paragraphs */
    line-height: 1.6;
    margin-bottom: 20px;
}

.mission-section, .features-section, .how-it-works, .contact-section {
    background-color: #f9f9f9;
}

.mission-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    font-size: 2.5rem;
    width: 100%; /* Full width of the parent container */
    max-width: 800px; /* Optional: restrict maximum width */
    margin: 0 auto; /* Center the box horizontally */
}

.mission-video {
    width: 100%; /* Full width of the `.mission-box` */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
    margin-bottom: 15px; /* Space below the video */
    max-height: none; /* Remove height restriction */
}

.mission-box h2 {
    font-size: 2.5rem; /* Larger heading */
    margin-bottom: 20px; /* Space below the heading */
}

.mission-box p {
    font-size: 1.6rem; /* Slightly larger paragraph text */
    line-height: 1.8; /* Improved readability */
    text-align: center; /* Center the text */
}

.features-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    font-size: 1.5rem; /* Increase heading font size */
    width: 30%; /* You can control the box width here */
    min-width: 250px; /* Optional: ensures the boxes don't get too small on smaller screens */
    cursor: pointer;
}

.feature-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px; /* Adds spacing between video and text */
    max-height: 250px; /* Optional: controls the video size */
}

.feature-box h3 {
    font-size: 2rem; /* Increase heading font size */
    margin-bottom: 10px; /* Space between video and text */
}

.feature-box p {
    font-size: 1.2rem; /* Increase paragraph font size */
    line-height: 1.6; /* Adjust line height for readability */
    text-align: center; /* Center the paragraph text */
}

.mission-gif, .feature-gif {
    width: 100%;
    height: auto;
    display: block;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
}

#modalTitle {
    font-size: 1.75rem; /* Adjust for appropriate heading size */
    margin-bottom: 10px; /* Adds space below the heading */
    text-align: center; /* Ensure the title is centered */
    color: #000; /* Optional: set text color */
}

.modal-content video {
    width: 80%; /* Ensure the video fills the modal content */
    max-width: 600px; /* Prevent video from being too wide */
    border-radius: 10px;
}

.modal-image {
    width: 80%;
    height: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: black;
    cursor: pointer;
    z-index: 1010; /* Ensure close button appears above content */
}

.contact-section form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-section input, .contact-section textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-section button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff5733; /* Change to your preferred hover color */
}
