/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

/* Hero Section */
.heros {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    color: white;
}

.heros h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-btn {
    padding: 15px 30px;
    font-size: 18px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #0056b3;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
    background: #f8f9fa;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 10px;
}

/* Features Section */
.features {
    padding: 80px 50px;
    text-align: center;
}

.features h2 {
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 20px; /* Fixed extra space */
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-card button {
    padding: 10px 20px;
    font-size: 18px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.feature-card button:hover {
    background: #0056b3;
}

/* FAQ Section */
.faq {
    padding: 80px 50px;
    text-align: center;
}

.faq h2 {
    margin-bottom: 50px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.faq-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 18px;
    color: #666;
}

.hero-imgs {
    width: 100%; /* Adjust as needed */
    opacity: 0; /* Start invisible */
    transition: opacity 2s ease-in-out; /* Transition effect */
}

.visible {
    opacity: 0.2; /* Fully visible */
}

.imageabout {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .heros h1 {
        font-size: 36px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .stats .stat-item {
        margin-bottom: 20px;
    }

    .features {
        padding: 50px 20px;
    }

    .features h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }

    .faq {
        padding: 50px 20px;
    }

    .faq-item h3 {
        font-size: 20px;
    }

    .faq-item p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .heros h1 {
        font-size: 28px;
    }

    .cta-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .stat-item h2 {
        font-size: 28px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    .feature-card button {
        font-size: 16px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .faq-item h3 {
        font-size: 18px;
    }

    .faq-item p {
        font-size: 14px;
    }

    nav ul {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center; /* Center align items */
    }

    nav ul li a {
        padding: 10px 15px; /* Adjust padding for smaller screens */
    }
}

/* Additional Styles for Mobile Navigation (Optional) */
.mobile-nav {
    display: none; /* Hide mobile nav by default */
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block; /* Show mobile nav on smaller screens */
        background: #fff; /* Background color for mobile nav */
        position: absolute; /* Positioning for dropdown */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000; /* Ensure it appears above other content */
    }

    .mobile-nav ul {
        flex-direction: column; /* Stack items vertically */
        padding: 10px; /* Add padding */
    }

    .mobile-nav ul li {
        margin: 5px 0; /* Space between items */
    }
}

/* Adjustments for the Hero Section on Smaller Screens */
@media (max-width: 768px) {
    .heros {
        padding: 20px; /* Add padding for smaller screens */
    }

    .hero-imgs {
        height: auto; /* Adjust image height */
    }
}

/* Adjustments for the Features Section */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Stack feature cards */
    }
}

/* Adjustments for the Stats Section */
@media (max-width: 768px) {
    .stats {
        flex-direction: column; /* Stack stats vertically */
        align-items: center; /* Center align items */
    }

    .stat-item {
        margin-bottom: 20px; /* Space between stats */
    }
}

































.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    min-width: 100px; /* Set a minimum width */
}

h1 {
    font-size: 5vw; /* Responsive font size */
    margin: 0;
    text-align: center;
    min-font-size: 12px; /* Minimum font size */
}

p {
    
    text-align: left;
    min-width: 40px;
    max-width: 1200px;
    margin: 0 auto;
    min-font-size: 8px; /* Minimum font size */
}

@media (max-width: 768px) {
    .text-overlay h1 {
        font-size: 7vw; /* Adjust font size */
        min-font-size: 24px; /* Minimum font size */
    }

    .text-overlay p {
        font-size: 1.5vw;
        min-font-size: 16px; /* Minimum font size */
    }
}

@media (max-width: 480px) {
    .text-overlay h1 {
        font-size: 8vw; /* Further adjust font size */
        min-font-size: 20px; /* Minimum font size */
    }

    .text-overlay p {
        /* font-size: 4vw; Further adjust font size */
        min-font-size: 14px; /* Minimum font size */
    }
}