/* General Styles */
body {
    font-family: sans-serif; /* Will refine font later */
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text */
    line-height: 1.6;
}

a {
    color: #4CAF50; /* Green accent */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: #ffffff;
}

.highlight {
    color: #4CAF50; /* Green highlight */
}

/* Header & Navigation */
header {
    background-color: rgba(18, 18, 18, 0.8); /* Slightly transparent dark */
    padding: 1rem 5%;
    position: fixed; /* Sticky header */
    width: 90%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px); /* Optional: blur effect */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e0e0e0;
    font-weight: bold;
}

nav ul li a:hover {
    color: #4CAF50;
    text-decoration: none;
}

/* Main Content Area */
main {
    padding-top: 80px; /* Adjust based on header height */
}

section {
    padding: 60px 5%;
    text-align: center;
    min-height: 70vh; /* Give sections some height */
    border-bottom: 1px solid #333; /* Separator */
}

section:last-of-type {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.9)), url('placeholder-bg.jpg'); /* Add a background image later */
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin-bottom: 2rem;
}

.cta-boxes {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-box {
    background-color: rgba(30, 30, 30, 0.8); /* Darker box background */
    padding: 2rem;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    border: 1px solid #444;
}

.cta-box .icon {
    font-size: 2.5em;
    margin-bottom: 1rem;
    display: block;
    color: #4CAF50;
    /* Placeholder for actual icons */
}

.cta-box h2 {
    margin-bottom: 1rem;
    font-size: 1.5em;
}

.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #45a049;
    text-decoration: none;
}


/* Footer */
footer {
    background-color: #1c1c1c; /* Slightly lighter dark */
    color: #a0a0a0;
    padding: 40px 5%;
    margin-top: 40px; /* Space above footer */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Handle smaller screens */
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
}

.footer-logo h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* About Section */
#about {
    background-color: #1a1a1a; /* Slightly different dark shade */
}

.about-content {
    display: flex;
    flex-direction: column; /* Stack mission and why-choose */
    align-items: center; /* Center content */
    gap: 3rem;
    max-width: 900px; /* Limit width */
    margin: 0 auto; /* Center the container */
    text-align: left; /* Align text left within the boxes */
}

.mission, .why-choose {
    background-color: #222; /* Box background */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #444;
    width: 100%; /* Take full width of container */
}

.mission h3, .why-choose h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8em;
    color: #ffffff;
}

.why-choose .features {
    display: flex;
    justify-content: space-around; /* Space out feature boxes */
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.feature-box {
    background-color: #2a2a2a; /* Slightly lighter box */
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    flex: 1; /* Allow boxes to grow */
    min-width: 200px; /* Minimum width before wrapping */
    border: 1px solid #555;
}

.feature-box .icon {
    font-size: 2em;
    margin-bottom: 1rem;
    display: block;
    color: #4CAF50;
    /* Placeholder for actual icons */
}

/* Initially hide all sections except home */
.section-container {
    display: none;
}

/* Logo Styling */
.logo img {
    max-width: 150px; /* Adjust as needed */
    height: auto;
    display: block; /* Remove any extra text spacing */
}

.footer-logo img {
    max-width: 100px; /* Adjust as needed */
    height: auto;
    display: block; /* Remove any extra text spacing */
}

/* Forms General */
.inquiry-form, .application-form { /* Apply to both forms */
    max-width: 600px;
    margin: 2rem auto; /* Center form */
    padding: 2rem;
    background-color: #222; /* Dark background for form */
    border-radius: 8px;
    border: 1px solid #444;
    text-align: left; /* Align labels/inputs left */
}

.inquiry-form h3, .application-form h3 { /* Form sub-heading */
    text-align: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.6em;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea,
.form-group select { /* Added select here */
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #555;
    background-color: #333; /* Dark input background */
    color: #e0e0e0; /* Light input text */
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
    font-size: 1em;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="number"]::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder { /* Added select here (though less common) */
    color: #888; /* Placeholder text color */
}

.form-group textarea {
    resize: vertical; /* Allow vertical resize */
    min-height: 80px;
}

/* Center the submit button */
.inquiry-form button[type="submit"],
.application-form button[type="submit"] {
    display: block; /* Make it block to center with margin */
    width: auto; /* Adjust width automatically */
    margin: 1rem auto 0; /* Center horizontally */
    padding: 0.8rem 2rem; /* Adjust padding */
}

.feature-box h4 {
    margin-bottom: 0.8rem;
    font-size: 1.2em;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

/* Custom Select Dropdown Styling */
.select-wrapper {
    position: relative;
    display: inline-block; /* Or block if you want it full width like inputs */
    width: 100%; /* Match input width */
}

.select-wrapper select {
    /* Inherit base styles */
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #555;
    background-color: #333;
    color: #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
/* Increase specificity */
/* Remove default appearance */
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
    appearance: none;

    /* Add padding for custom arrow */
    padding-right: 2.5rem; /* Adjust as needed */
    cursor: pointer;
}

/* Add custom arrow */
.select-wrapper::after {
    /* content: '\\25BC';  Unicode down arrow character */
    position: absolute;
    top: 50%;
    right: 1rem; /* Position arrow */
    transform: translateY(-50%);
    /* font-size: 1em; */
    color: #e0e0e0; /* Arrow color */
    pointer-events: none; /* Prevent arrow from interfering with select click */
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23e0e0e0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Style for the 'Other' input (already inherits from general input rule) */
#other-platform-input {
    /* Add any specific styles if needed, e.g., margin */
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #a0a0a0;
}

.footer-links ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9em;
    padding-top: 1rem;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    /* Header & Navigation */
    header {
        padding: 0.5rem 5%;
    }

    nav {
        flex-direction: column;
        align-items: center; /* Center navigation items */
    }

    nav .logo {
        margin-bottom: 1rem; /* Add space below logo */
    }

    nav ul {
        margin-top: 0.5rem;
        flex-direction: column;
        text-align: center; /* Center links */
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 0.8rem; /* Increase spacing between links */
    }

    /* Hero Section */
    .hero {
        padding: 60px 5%; /* Add padding to the hero section */
    }

    .hero h1 {
        font-size: 2em; /* Reduce font size */
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1em;
        max-width: 95%; /* Increase max-width */
        margin-bottom: 1.5rem; /* Increase margin */
    }

    .cta-boxes {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-box {
        width: 100%;
        padding: 1.5rem;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .mission, .why-choose {
        width: 90%;
        margin: 0 auto;
    }

    .why-choose .features {
        flex-direction: column;
    }

    .feature-box {
        min-width: 100%;
    }

    /* Forms */
    .inquiry-form, .application-form {
        padding: 1.5rem;
        margin: 1rem auto;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .footer-contact {
        margin-bottom: 1rem;
    }
}