/* General Styles */
html, body {
    height: 100%; 
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: #3b3b3b;
}

body {
    flex: 1; /* Allows the body to grow and fill the space */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    overflow: hidden; /* Prevents content overflow */
    overflow-y: auto; /* Allows scrolling only for the body content */
}

body::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

a {
    color: white;
    text-decoration: none;
}

/* Main content wrapper */
.main-content {
    flex: 1; /* Pushes the footer to the bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures sections stay together */
    overflow: auto; /* Allows scrolling if content overflows */
    min-height: 100vh;
    overflow-x: hidden;
}

/* Landing Page */
.landing {
    flex: 1; /* Ensures it stretches to fill available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.5;
    padding: 20px;
    background: url('assets/bg.png') center/cover no-repeat;
    color: white;
}

.landing h1 {
    font-size: 4rem;
    margin-bottom: 50px;
}

.landing p {
    font-size: 2.1rem;
    max-width: 750px;
    margin-bottom: 20px;
}

.landing .cta-button {
    margin-top: 0px;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    background-color: #303030;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.landing .cta-button:hover {
    background-color: #212121;
}

/* Text Block */
.text-block {
    background-color: #101010;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 1rem;
    flex-shrink: 0; /* Prevents it from shrinking */
}

.statement {
    font-size: 20px;
    max-width: 750px;
    line-height: 30px;
    margin-top: 20px;
    position: relative;
}

.frontlogo {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
}

/* Footer Styles */
.footer {
    background-color: #101010;
    color: white;
    text-align: center;
    padding: 20px;
    flex-shrink: 0; /* Prevents the footer from shrinking */
}

/* Tablet Devices (max-width: 1024px) */
@media (max-width: 1024px) {
    .landing h1 {
        font-size: 3rem;
    }

    .landing p {
        font-size: 1.5rem;
        max-width: 600px;
    }

    .statement {
        font-size: 16px;
        max-width: 600px;
    }

    .frontlogo {
        width: 400px;
    }

    .footer {
        padding: 18px;
        font-size: 1rem;
    }
}

/* Small Desktop Devices (max-width: 1440px) */
@media (max-width: 1440px) {
    .landing h1 {
        font-size: 3.5rem;
    }

    .landing p {
        font-size: 1.8rem;
        max-width: 700px;
    }

    .statement {
        font-size: 18px;
        max-width: 700px;
    }

    .frontlogo {
        width: 500px;
    }

    .footer {
        padding: 20px;
        font-size: 1.1rem;
    }
}

/* Large Desktop Devices (min-width: 1441px) */
@media (min-width: 1441px) {
    .landing h1 {
        font-size: 4rem;
    }

    .landing p {
        font-size: 2rem;
        max-width: 750px;
    }

    .statement {
        font-size: 20px;
        max-width: 750px;
    }

    .frontlogo {
        width: 550px;
    }

    .footer {
        padding: 20px;
        font-size: 1.2rem;
    }
}


@media (max-width: 768px) {
  .landing {
    padding: 40px 20px;
    align-items: center;
    text-align: center;
  }

  .frontlogo {
    width: 300px;
    margin-bottom: 20px;
  }

  .landing p {
    font-size: 20px;
    line-height: 1.8;
    margin: 15px 20px;
    font-weight: 500;
  }

  .statement {
    font-size: 10px;
    max-width: 95%;
    line-height: 1.6;
    margin: 10px 0 30px;
    padding: 0 10px;
    text-align: center;
  }

  .landing h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .footer {
    padding: 15px !important;
    font-size: 0.1rem !important;
    line-height: 1.1 rem !important;
}
  .footer a {
    font-size: 20px !important;
    margin: 0 8px !important;
  }
  .text-block {
    padding: 15px 15px;
    font-size: 0.5rem;
    line-height: 1.5;
  }

  .text-block p {
    margin: 0 auto;
    max-width: 90%;
  }

}

