/* Saffron visiting card style, mobile-first, inspired by provided images */

body {
    background: linear-gradient(120deg, #7a2e00 0%, #ff6f00 100%);
    /* Dark saffron gradient */
    min-height: 100vh;
    font-family: 'Baloo Da 2', 'Lohit Devanagari', 'Segoe UI', sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/logo__1_-removebg-preview.png') center top/cover no-repeat;
    opacity: 0.10;
    z-index: 0;
    pointer-events: none;
}

.header-bhagva {
    background: linear-gradient(90deg, #a34700 0%, #ff6f00 100%);
    /* Darker saffron for header */
    color: #fff;
    padding: 18px 0 10px 0;
    text-align: center;
    border-bottom: 5px solid #fff;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 4px 24px 0 rgba(255, 102, 0, 0.22);
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.header-bhagva h1,
.header-bhagva h2 {
    font-family: 'Baloo Da 2', 'Lohit Devanagari', 'Segoe UI', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #a13a0033;
    font-size: 1.4rem;
    margin: 0.3em 0;
    color: #fff;
}

.header-flags {
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.header-flags img {
    width: 38px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #ff6600;
    background: #fffdfa;
    box-shadow: 0 1px 4px #a13a0033;
}

.hindu-symbols {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 12px 0 0 0;
}

.hindu-symbols img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #ff6600;
    background: #fffdfa;
    box-shadow: 0 1px 4px #a13a0033;
}

.card {
    border: 3px solid #fff;
    padding: 18px 10px 18px 10px;
    margin: 28px auto 20px auto;
    width: 98%;
    max-width: 410px;
    text-align: center;
    background: #fff;
    /* White card for subjects */
    color: #7a2e00;
    /* Dark saffron text for contrast */
    box-shadow: 0 2px 18px 0 rgba(161, 58, 0, 0.18);
    border-radius: 28px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 14px;
    border: 5px solid #ff6f00;
    box-shadow: 0 0 0 5px #fff, 0 2px 10px #a13a0033;
    background: #fffdfa;
}

.text-bhagva {
    color: #ff6f00;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.12rem;
}

.section-title {
    color: #ff6f00;
    font-size: 1.18rem;
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: bold;
    letter-spacing: 1px;
}

input.form-control,
select.form-control,
textarea.form-control {
    border: 2px solid #ff6f00;
    border-radius: 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 5px #a13a0011;
    font-size: 1.04rem;
    font-family: inherit;
}

input[type="file"].form-control {
    border: 2px dashed #ff6f00;
    background: #fffdfa;
    padding: 10px;
}

label {
    color: #ff6f00;
    font-weight: 600;
    margin-top: 10px;
    font-size: 1.04rem;
}

.alert-danger {
    border: 2px solid #ff6f00;
    background: #fff3e0;
    color: #ff6f00;
    /* ...existing code... */
}

.container {
    padding-left: 6px;
    padding-right: 6px;
    max-width: 430px;
    margin: 0 auto;
}

.btn-bhagva,
.btn-bhagva:visited {
    background: linear-gradient(90deg, #a34700 0%, #ff6f00 100%);
    /* Dark saffron button */
    color: #fff;
    border: none;
    font-weight: bold;
    border-radius: 28px;
    padding: 10px 32px;
    box-shadow: 0 2px 10px #a13a0033;
    transition: background 0.2s, box-shadow 0.2s;
    font-size: 1.08rem;
    letter-spacing: 1px;
}

.btn-bhagva:hover {
    background: linear-gradient(90deg, #ff6f00 0%, #a34700 100%);
    /* ...existing code... */
}

.lang-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
}

.lang-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6f00 0%, #ff9100 100%);
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(255, 111, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
    background: linear-gradient(135deg, #ff9100 0%, #ff6f00 100%);
}

.lang-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 111, 0, 0.3);
}

@media (min-width: 600px) {
    .card {
        max-width: 430px;
        padding: 32px 20px 28px 20px;
        border-radius: 36px;
        background: #fff;
        color: #7a2e00;
    }
    .banner-img {
        width: 170px;
        height: 170px;
        max-height: 170px;
        border-width: 7px;
    }
    .header-bhagva {
        max-width: 430px;
        padding: 28px 0 14px 0;
    }
}