/* --- General & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f7;
    color: #333;
}

/* --- Main Container --- */
.landing-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
}

/* --- Header --- */
.main-header {
    margin-bottom: 50px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a2a4c; /* A deep navy blue */
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
    max-width: 600px;
    margin-top: 10px;
}

/* --- Options Wrapper --- */
.options-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allows cards to stack on smaller screens */
    width: 100%;
    max-width: 1200px;
}

/* --- The Cards --- */
.option-card {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    background-size: cover;
    background-position: center;
}

.option-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* --- Card Background Images --- */
#proper-card {
    background-image: linear-gradient(rgba(10, 20, 40, 0.5), rgba(10, 20, 40, 0.5)), url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080');
}

/* --- UPDATED SECTION --- */
#midrark-card {
    /* Updated to use a local image for reliability */
    background-image: linear-gradient(rgba(10, 20, 40, 0.5), rgba(10, 20, 40, 0.5)), url('images/midrar-bg.jpg'); 
}


/* --- Card Content --- */
.card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    transition: opacity 0.4s ease;
    text-align: center;
    font-size: 0.9rem; /* Font size reduced as requested */
}

.card-logo {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border: 2px solid white;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.card-description {
    font-size: 0.95rem; 
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.4; 
}

.cta-button {
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a2a4c;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.option-card:hover .cta-button {
    background-color: #fff;
    color: #000;
}


/* --- Footer --- */
.main-footer {
    margin-top: 50px;
    font-size: 0.9rem;
    color: #888;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .options-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .option-card {
        width: 100%;
        max-width: 450px;
        height: 400px;
    }

    .logo {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }
    
    .card-logo {
        font-size: 2.5rem;
    }

    .card-description {
        font-size: 0.9rem;
    }
}