#landing-page {
    background: #7B1113;
}

#landing-page .main-content {
    background-image: url('/images/ilc-images/ilc-building.jpeg');   
    min-height: 500px;
    width: 100%;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto 0;
}

#landing-page .main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.835);
    z-index: 1;
}

#landing-page .landing-page-text {
    position: relative;
    z-index: 2;
    color: #333;
    margin-bottom: 30px;
    max-width: 900px;
    width: 95%;
}

#landing-page .landing-page-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    color: #7b1113;
}

#landing-page .landing-page-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Style the search form container */
#landing-page .search-form {
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 2;
}

/* Style the search form elements */
#landing-page .search-form form {
    display: flex;
    gap: 10px;
    align-items: center;
}

#landing-page .search-form input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

#landing-page .search-form button {
    padding: 12px 20px;
    background-color: #004522;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}

#landing-page .search-form button:hover {
    background-color: #F3AA2c;
    color: #004522;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    #landing-page .landing-page-text h1 {
        font-size: 2.2rem;
    }

    #landing-page .landing-page-text p {
        font-size: 1rem;
    }

    #landing-page .search-form form {
        flex-direction: column;
        gap: 15px;
    }

    #landing-page .search-form input[type="text"],
    #landing-page .search-form button {
        width: 100%;
    }
}

/**FAQ Section**/
.faq-section {
    background-color: #ffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0 5rem 0;
    margin: 2rem;
}

.faq-section img {
    width: 100vw;
    height: auto;
    margin-top: 2rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.faq-section .content {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
}

.faq-section .content section {
    margin-bottom: 2rem;
}

.faq-section .content section:last-child {
    margin-bottom: 0;
}

.faq-section .content .header {
    font-size: 2rem;
    text-align: center;
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-weight: bold;
    position: relative;
}

.faq-section .content .header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #7b1113;
    margin: 10px auto;
    border-radius: 2px;
}

.faq-section .content div a {
    display: block;
    padding: 12px 15px;
    margin: 8px 0;
    text-decoration: none;
    color: #2c3e50;
    background-color: #f8f9fa;
    border-left: 4px solid #004522;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.4;
}

.faq-section .content div a:hover {
    background-color: #e3f2fd;
    border-left-color: #2980b9;
    color: #1a5490;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 1rem 1rem 0 1rem;

    }

    .faq-section .content {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .faq-section .content .header {
        font-size: 1.5rem;
    }

    .faq-section .content div a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/** Added responsive design for mobile --focus on table behavior **/
@media (max-width: 600px) {
    
  #ticketForm > table,
  #ticketForm > table tr,
  #ticketForm > table td {
    display: block;
    width: 100% !important;
  }

}

/** Responsive design for phone and tablets **/
/* Tablet responsive adjustments */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .nav-header {
        padding: 8px 15px;
    }
    
    #nav {
        gap: 10px;
    }
    
    #nav li a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Very small screens */
@media screen and (max-width: 480px) {
    #main-container .main-header #header .flush-right {
        font-size: 10px;
    }
    
    #main-container .main-header #header .flush-right p {
        margin: 0;
    }
    
    #logo img {
        max-height: 40px;
    }
    
    .announcements {
        padding: 10px 0;
        font-size: 14px;
    }
}
/** end **/
