/* =====================================================
   internship-redesign.css — Vidyexd Premium Internship Design
   Canva-style glassmorphism with vibrant gradients
   ===================================================== */

/* ---- Enrollment Form Section ---- */
.enroll-section {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.enroll-section::before {
    content: '';
    position: absolute;
    top: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.enroll-section::after {
    content: '';
    position: absolute;
    bottom: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(247,37,133,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.enroll-wrapper {
    max-width: 880px;
    margin: 0 auto;
    background: rgba(15,18,40,0.7);
    border: 1px solid rgba(108,99,255,0.25);
    border-radius: 28px;
    padding: 3.5rem;
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
}
.enroll-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6c63ff, #f72585, #00f3ff, #06d6a0);
    border-radius: 28px 28px 0 0;
}
.enroll-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.enroll-badge {
    display: inline-block;
    padding: 0.45rem 1.3rem;
    background: linear-gradient(135deg, rgba(108,99,255,0.18), rgba(247,37,133,0.18));
    border: 1px solid rgba(108,99,255,0.4);
    border-radius: 50px;
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.enroll-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.7rem;
    line-height: 1.2;
}
.enroll-header p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

/* ---- New Form Styles ---- */
.new-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}
.nf-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.nf-field.full-width { grid-column: 1 / -1; }
.nf-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nf-label i { color: #7c3aed; font-size: 0.88rem; }
.nf-input,
.nf-select,
.nf-textarea {
    width: 100%;
    padding: 0.88rem 1.15rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(108,99,255,0.22);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.nf-input::placeholder,
.nf-textarea::placeholder { color: rgba(148,163,184,0.5); }
.nf-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c63ff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.5rem; }
.nf-select option { background: #0d1629; color: #fff; }
.nf-input:focus, .nf-select:focus, .nf-textarea:focus {
    border-color: #6c63ff;
    background: rgba(108,99,255,0.06);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.14);
}
.nf-textarea { resize: vertical; min-height: 115px; }
.submit-enroll-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, #6c63ff 0%, #f72585 100%);
    border: none;
    border-radius: 13px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}
.submit-enroll-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.55s ease;
}
.submit-enroll-btn:hover::before { left: 100%; }
.submit-enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(108,99,255,0.45);
}
.submit-enroll-btn:active { transform: translateY(0); }
.enroll-success-msg {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(6,214,160,0.08);
    border: 1px solid rgba(6,214,160,0.3);
    border-radius: 16px;
    color: #06d6a0;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}
.enroll-success-msg i { font-size: 2.5rem; display: block; margin-bottom: 0.8rem; }
.enroll-whatsapp-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}
.enroll-whatsapp-note i { color: #25d366; margin-right: 4px; }

/* ---- Alumni / Reviews Section ---- */
.alumni-section {
    padding: 5rem 0 6rem;
    position: relative;
}
.alumni-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108,99,255,0.3), rgba(247,37,133,0.3), transparent);
}
.alumni-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.alumni-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, rgba(0,243,255,0.1), rgba(108,99,255,0.1));
    border: 1px solid rgba(0,243,255,0.3);
    border-radius: 50px;
    color: #67e8f9;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.alumni-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}
.alumni-header p {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.8rem;
}
.review-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
.review-card::after {
    content: '\201C';
    position: absolute;
    top: 0.8rem; right: 1.5rem;
    font-size: 5rem;
    color: rgba(108,99,255,0.12);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108,99,255,0.28);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    background: rgba(108,99,255,0.04);
}
.review-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.reviewer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.reviewer-info { flex: 1; }
.reviewer-name {
    font-weight: 700;
    color: #f1f5f9;
    font-size: 0.98rem;
    margin-bottom: 0.1rem;
}
.reviewer-role {
    color: #64748b;
    font-size: 0.8rem;
}
.reviewer-stars {
    color: #fbbf24;
    font-size: 0.88rem;
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
}
.review-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1rem;
}
.review-tag {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ---- all-internships.html Hub Page ---- */
.hub-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hub-hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(108,99,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(247,37,133,0.15));
    border: 1px solid rgba(108,99,255,0.3);
    border-radius: 50px;
    color: #c4b5fd;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease both;
}
.hub-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}
.hub-title span {
    background: linear-gradient(135deg, #6c63ff, #f72585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hub-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}
.hub-stats {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}
.hub-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6c63ff, #00f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.hub-stat-label {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Section */
.filter-bar {
    padding: 1.5rem 0;
    background: rgba(10,10,26,0.85);
    position: sticky;
    top: 80px;
    z-index: 99;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.03);
}
.filter-tabs {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.2rem 0;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
    padding: 0.48rem 1.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    color: #94a3b8;
    font-size: 0.87rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s ease;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}
.filter-tab:hover, .filter-tab.active {
    background: linear-gradient(135deg, #6c63ff, #f72585);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(108,99,255,0.35);
}

/* Cards Grid */
.internships-catalog {
    padding: 4rem 0 6rem;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
}
.catalog-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;
    padding: 1.8rem;
    transition: all 0.32s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}
.catalog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 22px 22px 0 0;
}
.catalog-card:hover { transform: translateY(-7px); box-shadow: 0 22px 55px rgba(0,0,0,0.35); }
.catalog-card:hover::before { opacity: 1; }
.card-icon-box {
    width: 58px; height: 58px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.45rem;
}
.card-cat-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.card-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.7rem;
    line-height: 1.35;
}
.card-desc {
    color: #94a3b8;
    font-size: 0.87rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.4rem;
}
.card-info-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.3rem;
    flex-wrap: wrap;
}
.card-info-item {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.78rem;
    color: #475569;
    font-weight: 500;
}
.card-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.28s ease;
    border: 1px solid;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    align-self: flex-start;
}

/* Color Themes */
.c-purple .card-icon-box { background: rgba(108,99,255,0.14); color: #818cf8; }
.c-purple .card-cat-label { color: #818cf8; }
.c-purple::before { background: linear-gradient(90deg, #6c63ff, #a78bfa); }
.c-purple:hover { border-color: rgba(108,99,255,0.3); background: rgba(108,99,255,0.04); }
.c-purple .card-cta-btn { color: #818cf8; border-color: rgba(108,99,255,0.3); background: rgba(108,99,255,0.1); }
.c-purple .card-cta-btn:hover { background: #6c63ff; color: #fff; border-color: #6c63ff; box-shadow: 0 6px 20px rgba(108,99,255,0.4); }

.c-pink .card-icon-box { background: rgba(247,37,133,0.12); color: #f472b6; }
.c-pink .card-cat-label { color: #f472b6; }
.c-pink::before { background: linear-gradient(90deg, #f72585, #ff6b9d); }
.c-pink:hover { border-color: rgba(247,37,133,0.28); background: rgba(247,37,133,0.03); }
.c-pink .card-cta-btn { color: #f472b6; border-color: rgba(247,37,133,0.3); background: rgba(247,37,133,0.1); }
.c-pink .card-cta-btn:hover { background: #f72585; color: #fff; border-color: #f72585; box-shadow: 0 6px 20px rgba(247,37,133,0.4); }

.c-cyan .card-icon-box { background: rgba(0,243,255,0.1); color: #22d3ee; }
.c-cyan .card-cat-label { color: #22d3ee; }
.c-cyan::before { background: linear-gradient(90deg, #00f3ff, #38bdf8); }
.c-cyan:hover { border-color: rgba(0,243,255,0.25); background: rgba(0,243,255,0.03); }
.c-cyan .card-cta-btn { color: #22d3ee; border-color: rgba(0,243,255,0.25); background: rgba(0,243,255,0.08); }
.c-cyan .card-cta-btn:hover { background: #00f3ff; color: #000; border-color: #00f3ff; box-shadow: 0 6px 20px rgba(0,243,255,0.3); }

.c-orange .card-icon-box { background: rgba(255,107,53,0.12); color: #fb923c; }
.c-orange .card-cat-label { color: #fb923c; }
.c-orange::before { background: linear-gradient(90deg, #ff6b35, #f9c74f); }
.c-orange:hover { border-color: rgba(255,107,53,0.28); background: rgba(255,107,53,0.03); }
.c-orange .card-cta-btn { color: #fb923c; border-color: rgba(255,107,53,0.3); background: rgba(255,107,53,0.1); }
.c-orange .card-cta-btn:hover { background: #ff6b35; color: #fff; border-color: #ff6b35; box-shadow: 0 6px 20px rgba(255,107,53,0.4); }

.c-green .card-icon-box { background: rgba(6,214,160,0.12); color: #34d399; }
.c-green .card-cat-label { color: #34d399; }
.c-green::before { background: linear-gradient(90deg, #06d6a0, #10b981); }
.c-green:hover { border-color: rgba(6,214,160,0.28); background: rgba(6,214,160,0.03); }
.c-green .card-cta-btn { color: #34d399; border-color: rgba(6,214,160,0.3); background: rgba(6,214,160,0.1); }
.c-green .card-cta-btn:hover { background: #06d6a0; color: #000; border-color: #06d6a0; box-shadow: 0 6px 20px rgba(6,214,160,0.3); }

.c-yellow .card-icon-box { background: rgba(249,199,79,0.12); color: #fbbf24; }
.c-yellow .card-cat-label { color: #fbbf24; }
.c-yellow::before { background: linear-gradient(90deg, #f9c74f, #f59e0b); }
.c-yellow:hover { border-color: rgba(249,199,79,0.28); background: rgba(249,199,79,0.03); }
.c-yellow .card-cta-btn { color: #fbbf24; border-color: rgba(249,199,79,0.3); background: rgba(249,199,79,0.1); }
.c-yellow .card-cta-btn:hover { background: #f9c74f; color: #000; border-color: #f9c74f; box-shadow: 0 6px 20px rgba(249,199,79,0.3); }

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hub-title { font-size: 2.8rem; }
    .form-row { grid-template-columns: 1fr; }
    .enroll-wrapper { padding: 2.5rem 1.8rem; }
}
@media (max-width: 640px) {
    .hub-title { font-size: 2.2rem; }
    .hub-stats { gap: 2rem; }
    .enroll-wrapper { padding: 2rem 1.2rem; }
    .alumni-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .filter-tabs { justify-content: flex-start; }
    .enroll-header h2 { font-size: 1.7rem; }
    .alumni-header h2 { font-size: 2rem; }
}
