/* Nav Dropdowns */

.navContent ul li ul a {
    white-space: normal !important;
    overflow: visible !important;
}

@media only screen and (min-width: 768px) {
    .navContent ul li ul {
        min-width: 250px !important;
        right: auto !important; 
    }
}




/* Hero Container with Background Image */
.hero-container {
    width: 100%;
    min-height: 85vh;
    background: url('https://doranfreightsolutions.com/wp-content/uploads/2024/02/Home-Hero-Bottom.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

div#madHero {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 15px;
}

div#madHero > div.madHero-item {
    flex: 1 1 0;
}

/* Semi-transparent text card */
.text-overlay-card {
    background-color: rgba(43, 53, 73, 0.9); 
    padding: 40px;
    border-left: 6px solid #f9b233;
    text-align: left;
}

/* NEW: Solid White Form Background */
.form-wrapper {
    background-color: #ffffff; /* Pure white background */
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Adds depth over the background image */
    margin: 0 auto;
    max-width: 600px; /* Keeps the form from getting too wide */
}

.madTitle {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f9b233;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.madContent {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
}

.madButton {
    display: inline-block;
    background-color: #f9b233;
    color: #1a1a1a;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.madButton:hover {
    background-color: #ffffff;
}

@media only screen and (min-width: 768px) {
    div#madHero {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 50px; /* Space between text and form */
    }
}



#madForm h2 {
    text-transform: uppercase !important;
    font-weight: 900 !important;
}