/* making mobile responsive for content */

.footer-center {
    font-family: 'Lato', sans-serif !important;
}

@media (max-width:1080px) { 
    .tv-film-content , .connect-section {
    display:block!important;
} 


.tv-film-description {
    max-width: 100% !important; }

    .left-column, .right-column {
        width: 100% !important;
    }

.content-container {
    margin-top: 2.5%; }


}

.content-container {
    flex: 1; 
}
@media (max-width:480px) { 
.footer {
    text-align: center !important;
    display: block!important; }
    
    .tv-film-image {
    max-width: 100% !important;
    }
    
    
     }


/* responsive header */


ul.nav-list li a {
    color: #1e2b3a;
}

nav.nav.header ul.nav-list li a {

    color: #F2F2E3;

}

p.agency-title {
    display: none;
}


@media (max-width:1080px) {

.logo {
    color:white !important;
}


}
.logo {
    text-transform: capitalize;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: normal;
    
    position: relative;
    align-self: flex-start;
    
}

.nav.header {
    padding-left: 20px;
    padding-right: 20px; }

    .nav {

    padding: 10px 20px !important; }

.nav {
    
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.menu-toggle {
    margin-left:20px;
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    background: #fff;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.nav-list.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    background: #1e2b3a;
    width: 200px;
    padding: 10px;
}

.nav-list.active li {
    margin: 10px 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
    }


.nav {
    top:0!important;
    bottom:unset !important;
}    

nav.nav {
    background-color: rgb(30 43 58) !important;
}

ul.nav-list li a {
    color: white;
}

}



/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.8s ease;
    color: #000; /* Set default text color */
}

/* Home Page Background */
body.home {
    background-color: #1E2B3A; /* Dark navy */
    color: #FFFFFF;
}

/* FAA Ticker Styling */
.ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #5F839B; /* Blue background */
    color: #FFFFFF; /* White text */
    font-family: Arial, sans-serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1000;
    padding: 5px 10px;
}

.ticker-content {
    display: inline-block;
    animation: scroll-left 60s linear infinite; /* Slow scrolling */
}

/* Smooth scrolling animation */
@keyframes scroll-left {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}



/* Navbar */
.nav {
    color: #1E2B3A;
    padding: 15px 0;
    font-size: 16px;
    text-transform: lowercase;
    text-align: center;
    width: 100%;
    z-index: 1000;
    position: fixed;
    bottom: 0;
    background-color: #F2F2E3; /* Cream background */
    transition: transform 0.8s ease, background-color 0.8s ease;
}

.nav.header {
    top: 0;
    bottom: unset;
    background-color: #1E2B3A; /* Navy for header */
    color: #F2F2E3;
}

.nav .home-link {
    display: none;
}

.nav.header .home-link {
    display: inline;
}

/* Navbar Links */
.nav a {
    text-decoration: none;
    color: inherit;
    margin: 0 10px;
    font-style: italic;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav a.advance-link:hover {
    background-color: #FFFFFF;
    color: #5F839B;
    font-style: normal;
    border-radius: 3px;
}

.nav a.active {
    background-color: #5F839B; /* Active background */
    color: #F2F2E3 !important; /* Active text color */
    border-radius: 3px;
    padding: 2px 6px;
}

.nav a.active:hover {
    text-decoration: none;
    background-color: #5F839B; /* Maintain hover consistency for active links */
    color: #F2F2E3; /* Consistent hover text color for active links */
}

/* Hover Effects */
.nav a:hover {
    text-decoration: underline;
    color: #5F839B;
}

/* Main Image */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container img {
    width: 45%;
    max-width: 500px;
    height: auto;
}

/* Content Section */
.content-container {
    padding: 20px;
    text-align: center;
    display: none;
    color: #1E2B3A;
    background-color: #F2F2E3;
}

.content-container.active {
    display: block;
}

/* Connect Section */
.connect-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 75%;
    margin: 0 auto;
    min-height: 50vh;
}

.left-column {
    text-align: left;
    width: 48%;
}

/* Address and Description Block */
.left-column p {
    margin: 5px 0;
    line-height: 1.6;
    font-family: Courier, monospace; /* Apply Courier here */
}

/* Agency Title */
.left-column .agency-title {
    font-family: 'Lato', sans-serif; /* Use Lato for the agency title */
    font-weight: normal;
    color: #1E2B3A;
}

/* Email Link */
.email-link {
    font-family: Courier, monospace; /* Default font set to Courier */
    font-style: normal; /* Ensure normal style for Courier */
    color: #1E2B3A; /* Default color */
    text-decoration: none; /* No underline by default */
    transition: color 0.3s ease, text-decoration 0.3s ease, font-family 0.3s ease, font-style 0.3s ease;
}

.email-link:hover {
    font-family: Arial, sans-serif; /* Change to Arial on hover */
    font-style: italic; /* Italicize on hover */
    color: #5F839B; /* Hover color */
    text-decoration: underline; /* Add underline on hover */
}

/* Connect Header */
#connect-header {
    font-family: Courier, monospace; /* Use Courier font */
    font-size: 24px; /* Optional size adjustment */
}

/* Placeholder Text Styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: Arial, sans-serif;
    font-style: italic;
}

/* Right Column */
.right-column {
    text-align: left;
    width: 48%;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: none;
    font-size: 14px;
}

.submit-button {
    background-color: #1E2B3A;
    color: #FFFFFF;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    align-self: flex-end;
    margin-left: auto;
}

.submit-button:hover {
    background-color: #5F839B;
}

/* Table Break */
.table-break {
    border-top: 1px solid #000;
    width: 75%;
    margin: 20px auto;
}

/* Image Row */
.image-row {
    width: 75%;
    margin: 15px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-row img {
    max-width: 22%;
    height: auto;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F2F2E3;
    color: #1E2B3A;
    padding: 10px 20px;
    font-size: 14px;
}

.footer a {
    font-family: Courier, monospace; /* Set default font to Courier */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use parent color */
    font-style: normal; /* Ensure normal style */
    font-weight: normal; /* Remove bold */
    transition: color 0.3s ease, font-family 0.3s ease, font-style 0.3s ease, text-decoration 0.3s ease;
}

.footer a:hover {
    font-family: Courier, monospace; /* Maintain Courier font on hover */
    font-style: normal; /* Keep the style normal on hover */
    text-decoration: underline; /* Add underline */
    color: #5F839B; /* Hover color */
}
/* TV/Film Section */
.tv-film-section {
    background-color: #F2F2E3; /* Cream background */
    padding: 50px 0; /* Adjusted padding for spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative; /* Ensure relative positioning for child elements */
}

.agency-title {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: normal;
    color: #1E2B3A;
    position: relative; /* No absolute positioning to keep it in flow */
    align-self: flex-start; /* Keep aligned to the left */
    margin: 0 0 20px 5%; /* Add margin below the title and align it left */
}

.tv-film-title {
    font-family: Courier, monospace;
    font-size: 32px;
    font-weight: bold;
    color: #1E2B3A;
    margin: 20px 0; /* Adjusted space above and below */
    text-align: center; /* Centered alignment */
}

.tv-film-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 20px auto; /* Add spacing between elements */
}

.tv-film-image {
    max-width: 40%;
    height: auto;
    object-fit: contain;
}

.tv-film-description {
    max-width: 50%;
    text-align: left;
    font-family: Courier, monospace;
    font-size: 16px;
    line-height: 1.8;
    padding: 20px;
    background-color: #F2F2E3; /* Matching the cream background */
    box-shadow: none; /* Removed the shadow */
    border: none; /* No border */
}