body {
    font-family: "Albert Sans", sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff; /* White; change to cream e.g., #fffbf0 later */
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

header {
    font-size: 1.2em;
    text-align: center;
    background: #e5e5e5; /* Light gray bar; customize as needed */
    padding: 20px 0;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between links */
}

nav ul li {
    display: inline;    
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 4px;
    border-bottom: 2px solid transparent;
    transition-duration: 0.4s; 
}

nav ul li a:hover {
    border-color: #333;
}

.logo-container {
    text-align: center;
    margin: auto;
}

.logo {
    max-width: 1000px; /* Adjust as needed */
    min-width: 100px;
}

main {
    max-width: 800px;
    margin: 20px auto 20px; /* 20px gap below logo, centered */
    padding: 0 20px;
    flex: 1;
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
    animation-delay: 0.1s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

h1 {
    text-align: center;
}

.faq_response p {
    padding-left: 10px;
}

.faq_response h2 {
    margin-top: 24px;
}

/* Contact Form Styles */
.contact-card {
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.required {
    color: #ff4d4d;
}

input, textarea {
    font-family: inherit;
    width: 100%;
    height: 24px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    font-size: 1em;
}

textarea {
    height: 200px;
    resize: vertical;
}

.btn-submit {
    font-family: inherit;
    background: #000;
    color: #fff;
    display: block;
    font-size: 1em;
    width: 30%;
    padding: 12px;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.2s;
}

.btn-submit:hover {
    background: #474747;
}

.thumb-wrapper {
    width: 200px;          /* same as max-width in .video-list img */
    height: 150px;
    flex-shrink: 0;        /* never shrink */
    margin-right: 20px;
    overflow: hidden;
    background: #eee;      /* visible while loading */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.video-list {
    list-style: none;
    padding: 0;
}

.video-list li {
    margin: 20px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    transition-duration: 0.4s;
}

.video-list li:last-child {
    border-bottom: none;
}

.video-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition-duration: 0.2s;
}

/* The text block  flex item that takes the rest of the space */
.video-info {
  flex: 1;
  min-width: 0;          /* allow truncation if needed */
}

.video-info h3 {
    font-size: 1.2em;
    margin-left: 10px;
    color: black;
}

.video-info p {
    color: #333;
    margin-left: 10px;
    font-weight: 400;
}

.video-list li a:hover {
    background-color: #eee;
}

footer {
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
    background: #e5e5e5;
    width: 100%;
    flex-shrink: 0; /* Prevents footer from shrinking */
}

footer .topline {
    display: flex;
    justify-content: center;
}

footer a {
    text-decoration: none;
    margin: 0 8px 0 8px;
}

footer a i {
  vertical-align: middle;       /* Aligns icon properly */
}

.fa-brands:hover {
    color: rgba(0,0,0,0.5); 
}

.fa-brands {
    font-size: 28px;
    color: #333;
    transition: color 0.3s;
}

footer .bottomline p {
    display: inline-block;
    margin: 20px;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        max-width: 80%;
    }
    
    .video-list li a {
        flex-direction: column;
        text-align: center;
    }
    .video-list img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    input, textarea {
        width: 95%;
    }
}