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

body {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 79%);
}

/* HEADER STYLING */
.main-header {
    background: #ab8295;
    background: radial-gradient(circle, rgba(171, 130, 149, 1) 39%, rgba(148, 187, 233, 1) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px 20px;
    text-align: center;
}

/* --- logo --- */
.logo {
    margin-top: 15px;
}

.logo img {
    width: 280px;
    height: auto;
}

.header-row {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

/* student portal button */
.student-btn {
    background: #f5f5f5;
    color: #0d6db7;
    border: 1px solid #0d6db7;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.student-btn:hover {
    background: #ffffff;
}

/* heading */
.header-title {
    font-size: 28px;
    font-weight: 600;
    color: #1b1b1b;
}

.social-icons a {
    color: #1877f2;
    font-size: 22px;
    transition: 0.3s;
    padding: 10px;
}

.insta{
    color: #e1306c;
}

.youtube{
    color: #ff0000;
}

/* --- sub text heading --- */
.sub-text {
    margin-top: 8px;
}

.sub-text p {
    color: rgb(15, 15, 15);
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 700px) {
    .header-row {
        flex-direction: column;
        gap: 10px;
    }

    .header-title {
        order: -1;
        /* Heading upar center rahe mobile par */
    }
}

/* Container (main content only) */
.container {
    max-width: 1100px;
    margin: 22px auto;
    padding: 0 18px;
}

/* ---------- Tabs ---------- */
.tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e6eef3;
    padding-bottom: 8px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
}

.tab {
    background: transparent;
    border: 1px solid transparent;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #2b6cb0;
}

.tab.active {
    color: #2b8a3e;
    border-color: #e6f4e8;
    background: linear-gradient(180deg, #ffffff, #f7fff6);
}

.tab:focus {
    outline: 2px solid rgba(43, 138, 62, 0.12);
    outline-offset: 2px;
}

/* ---------- Panels ---------- */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ---------- Form grid ---------- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e8f3e9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.field {
    display: flex;
    flex-direction: column;
}

.field-label {
    font-size: 13px;
    color: #1e6fb3;
    margin-bottom: 8px;
    font-weight: 600;
}

.field-input {
    padding: 12px 14px;
    border-radius: 6px;
    border: 2px solid #cbecc1;
    font-size: 15px;
    background: transparent;
    min-height: 44px;
    transition: box-shadow .15s ease, border-color .12s ease;
}

.field-input:focus {
    border-color: #4a90e2;
    box-shadow: 0 6px 18px rgba(30, 111, 179, 0.08);
    outline: none;
}

/* Select box text color */
.field-input {
    color: #000;
}

/* Default placeholder option (light gray even in dropdown) */
.field-input option[value=""] {
    color: #999;
    /* placeholder gray */
}

/* Force selected placeholder gray before any option selected */
.field-input:invalid {
    color: #999;
}

/* Other options dark */
.field-input option:not([value=""]) {
    color: #000;
}


/* create custom dropdwon arrow */
select.field-input {
    appearance: none; /*defaut dropdown arron remove*/
    background-image:
        linear-gradient(45deg, transparent 50%, #9aa 50%),
        linear-gradient(135deg, #9aa 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(1em + 2px),
        calc(100% - 13px) calc(1em + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat, no-repeat;
    padding-right: 36px;
    cursor: pointer;
}

/* make some fields full width (span both columns) */
.span-full {
    grid-column: 1 / -1;
}

/* qualification & address span full width */
#qualification,
#address {
    width: 100%;
    padding: 12px;
    border: 2px solid #cbecc1;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.15s;
    min-height: 44px;
    background: transparent;
    margin-bottom: 18px;
}

#qualification:focus,
#address:focus {
    border-color: #4a90e2;
    box-shadow: 0 6px 18px rgba(30, 111, 179, 0.08);
    outline: none;
}

/* Upload area: box + info */
.upload-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 8px 0;
}

.upload-box {
    width: 130px;
    height: 130px;
    border: 2px dashed #d5dbe1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    font-weight: 600;
    color: #4a90e2;
}

.upload-box:hover {
    background: #f7fbff;
}

.upload-info {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* Declarations */
.declaration {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #222;
}

.declaration ol {
    padding-left: 20px;
}

/* Captcha / checkbox area */
.captcha {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #5b9bd5;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #4a8ac4;
}

footer{
    text-align:center;
    padding:10px;
    font-size: 14px;
    color:#555;
}

/* Download ID card Section */
.panel-inner {
    background: #fff;
    padding: 18px;
    border-radius: 6px;
    border: 1px solid #eef6ff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

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

    .form-grid,
    .form-section {
        grid-template-columns: 1fr;
    }
}