/* =============================================
   ADMISSION ENQUIRY - JIT NASHIK STYLE
   Matching admissions.jitnashik.edu.in design
   ============================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --jit-maroon: #9E1A10;
    --jit-maroon-dark: #7B1510;
    --jit-maroon-light: #B42318;
    --jit-grey: #E2E2E2;
    --jit-light-bg: #f0f2f5;
    --jit-white: #ffffff;
    --jit-text-dark: #333333;
    --jit-text-muted: #666666;
    --jit-green: #E7EFC7;
    --border-radius: 25px;
    --card-radius: 12px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-input: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--jit-light-bg);
    color: var(--jit-text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---------- Top Header ---------- */
.top-header {
    background: var(--jit-white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.header-logo {
    max-height: 100px;
    width: auto;
}

/* ----------  Banner ---------- */
.hero-banner {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(15, 52, 96, 0.3) 0%, transparent 60%);
    z-index: 1;
}

/* Decorative campus image collage effect */
.hero-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;

    /* background:
        linear-gradient(to right, transparent 70%, #1a1a2e 100%),
        url('https://jitnashik.edu.in/jit-main/assets/img/index/slider-1.jpg') center/cover no-repeat; */
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

/* ---------- Hero Text (Left Side) ---------- */
.hero-text {
    flex: 1;
    color: #fff;
    max-width: 500px;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-text h1 span {
    color: var(--jit-green);
    display: block;
    font-size: 48px;
}

.hero-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    color: #fff;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-item i {
    color: var(--jit-green);
}

/* ---------- Enquiry Card (Right Side) ---------- */
.enquiry-card {
    width: 430px;
    min-width: 380px;
    background: var(--jit-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    background: var(--jit-maroon);
    padding: 18px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.card-header h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ---------- Form Styles ---------- */
.enquiry-form {
    padding: 25px 30px 30px;
}

.form-group {
    margin-bottom: 14px;
    position: relative;
    transition: transform 0.2s ease;
}

.form-group.focused {
    transform: translateX(2px);
}

.form-row-2 {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.form-row-2 .form-group {
    flex: 1;
}

/* Inputs */
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--jit-text-dark);
    background: var(--jit-white);
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: var(--jit-maroon);
    box-shadow: 0 0 0 3px rgba(158, 26, 16, 0.1);
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
    color: #aaa;
    font-size: 13px;
}

.enquiry-form textarea {
    border-radius: 15px;
    resize: vertical;
    min-height: 60px;
}

/* Select dropdown arrow */
.enquiry-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
    cursor: pointer;
    color: #aaa;
}

.enquiry-form select:valid {
    color: var(--jit-text-dark);
}

/* Phone prefix */
.phone-group {
    position: relative;
}

.phone-prefix {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--jit-text-muted);
    font-weight: 500;
    z-index: 2;
    border-right: 1px solid #ddd;
    padding-right: 10px;
}

.phone-group input {
    padding-left: 65px;
}

/* Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0;
    font-size: 11px;
    color: var(--jit-text-muted);
    line-height: 1.4;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--jit-maroon);
    flex-shrink: 0;
    appearance: auto;
    -webkit-appearance: auto;
}

.form-check label {
    cursor: pointer;
}

/* Submit button */
.btn-register {
    width: 100%;
    padding: 14px;
    background: var(--jit-maroon);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.btn-register:hover {
    background: var(--jit-maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 26, 16, 0.35);
}

.btn-register:active {
    transform: translateY(0);
}

.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---------- Alert Messages ---------- */
.alert-success,
.alert-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    margin: 15px 25px 0;
    border-radius: 8px;
    font-size: 13px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.alert-success i,
.alert-error i {
    font-size: 22px;
}

/* ---------- Steps Section ---------- */
.steps-section {
    background: var(--jit-light-bg);
    padding: 60px 20px;
    text-align: center;
}

.steps-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--jit-text-dark);
    margin-bottom: 40px;
    position: relative;
}

.steps-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--jit-maroon);
    margin: 12px auto 0;
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: var(--jit-maroon);
    color: #fff;
    padding: 35px 20px;
    border-radius: var(--card-radius);
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: default;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(158, 26, 16, 0.3);
}

.step-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.step-icon {
    width: 65px;
    height: 65px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
}

.step-card p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* ---------- Instructions Section ---------- */
.instructions-section {
    background: var(--jit-white);
    padding: 50px 20px;
}

.instructions-container {
    max-width: 1100px;
    margin: 0 auto;
}

.instructions-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--jit-text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--jit-maroon);
    display: inline-block;
}

.instructions-section ul {
    list-style: none;
    padding: 0;
}

.instructions-section ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: var(--jit-text-muted);
    border-bottom: 1px solid #f0f0f0;
}

.instructions-section ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--jit-maroon);
    font-size: 14px;
}

/* Contact cards */
.contact-cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: var(--jit-light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--jit-maroon);
    flex: 1;
    min-width: 220px;
    transition: transform 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
}

.contact-card i {
    width: 40px;
    height: 40px;
    background: var(--jit-maroon);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    font-size: 14px;
    color: var(--jit-text-dark);
}

.contact-card span {
    font-size: 13px;
    color: var(--jit-text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 20px 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--jit-maroon);
}

.footer-col p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col p i {
    width: 20px;
    color: var(--jit-maroon-light);
    margin-right: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    font-size: 16px;
    color: var(--jit-maroon-light);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        padding: 30px 20px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text h1 span {
        font-size: 36px;
    }

    .hero-badges {
        justify-content: center;
    }

    .enquiry-card {
        width: 100%;
        min-width: unset;
        max-width: 500px;
    }

    .hero-banner {
        min-height: auto;
    }

    .hero-banner::before {
        width: 100%;
        opacity: 0.3;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .form-row-2 {
        flex-direction: column;
        gap: 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .enquiry-form {
        padding: 20px 20px 25px;
    }

    .card-header {
        padding: 15px 20px;
    }

    .card-header h2 {
        font-size: 18px;
    }

    .contact-cards {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text h1 span {
        font-size: 30px;
    }

    .header-logo {
        max-height: 50px;
    }
}

/* ---------- Print ---------- */
@media print {

    .hero-banner,
    .steps-section,
    .site-footer {
        display: none;
    }

    .enquiry-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}