@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    /* Define the primary accent color as a variable for easy changes */
    --accent-color: #ff8c00; /* Dark Orange */
}

body {
    background: #0a0a0a;
    color: white;
    text-align: center;
}

.hero {
    min-height: 100vh; /* Allow the container to grow beyond the screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Add padding to push content down, creating a safe area for the nav bar */
    padding-top: 80px; /* Adjust this value based on your nav's height */
    box-sizing: border-box; /* Ensures padding is included within the 100vh height */
}

.nav {
    position: absolute;
    top: 20px;
    left: 0; /* Ensures the nav spans the full width consistently */
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.logo span {
    color: var(--accent-color);
}

.contact-btn, .learn-more {
    background: transparent;
    border: 2px solid var(--accent-color);
    padding: 10px 20px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

.contact-btn:hover, .learn-more:hover {
    background: var(--accent-color);
}

.content h2 {
    font-size: 3em;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out;
}

.content p {
    font-size: 1.2em;
    opacity: 0.7;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .content h2 {
        font-size: 2.2em; /* Reduce heading size */
    }

    .content p {
        font-size: 1em; /* Adjust paragraph size */
    }
}

a:link,
a:visited {
  color: #4DA3FF;
  text-decoration: underline;
}

.more-info-section {
    /* Start hidden and ready for transition */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 30px;

    /* Visual styles */
    background: rgba(30, 36, 50, 0.9);
    border-radius: 12px;
    max-width: 650px;
    border: 1px solid #222;

    /* Align text to the left instead of inheriting center alignment */
    text-align: left;
    /* Smooth transition for revealing the content */
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out;
}

.more-info-section.is-visible {
    max-height: 2000px; /* A large value to accommodate wrapped text on any screen */
    opacity: 1;
    padding: 25px;
}

.more-info-section h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.more-info-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.2em; /* Adds space between paragraphs */
}

.more-info-section p:last-of-type {
    margin-bottom: 0; /* Removes space after the last paragraph */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #121212;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 12px;
    width: 80%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

.modal-content h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1em;
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}