/* General Body & Form Styling */
body {
    background-color: #d4edda;
    /* Light gray background */
}

.dot {
    border: dashed 3px red;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
}

form {
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.3);
}

input:focus,
select:focus {
    outline: none;
    box-shadow: none;
}

.school-header {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: bold;
    color: #333;
}

/* Header Row Styling */
.header-row {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
    background-color: #fff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Left Logo */
.left-logo {
    flex: 0 0 220px;
    /* width badhaya */
    margin-right: 20px;
    margin-left: 40px;
    /* left se thoda andar (right shift) */
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-logo img {
    width: 100%;
    height: auto;
    max-height: 130px;
    /* height badhayi */
    object-fit: contain;
    /* image poori dikhe, crop na ho */
}

/* Right Logo */
.right-logo {
    flex: 0 0 160px;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-logo img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

/* School Details */
.school-details {
    flex: 1;
    /* Takes remaining space */
    min-width: 200px;
    /* Prevent collapsing */
    margin-left: 50px;
    /* Space from school details */
}

/* Responsive Adjustments */
@media (max-width: 767px) {

    .left-logo,
    .right-logo {
        flex: 0 0 auto;
        max-width: 70%;
        margin: 10px 0;
    }

    .left-logo img,
    .right-logo img {
        max-height: 90px;
    }
}

/* Form Container */
.registration-form-container {
    max-width: 600px;
    margin: auto;
}

.event-card {
    max-width: 800px;
    margin: 60px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 35px 40px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-title {
    text-align: center;
    font-size: 1.8rem;
    color: #2a3f9d;
    margin-bottom: 25px;
    font-weight: 600;
}

.event-details p {
    font-size: 1.1rem;
    color: #333;
    margin: 10px 0;
    line-height: 1.6;
}

.register-btn {
    display: block;
    margin: 25px auto 0;
    background-color: #2a3f9d;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.register-btn:hover {
    background-color: #1f2f75;
}