/* Admissions Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Process Steps */
.process-steps {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2563eb, #7c3aed);
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    margin-left: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-content h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

/* Eligibility Section */
.eligibility-section {
    padding: 5rem 0;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.eligibility-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.eligibility-card:hover {
    transform: translateY(-5px);
}

.eligibility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.eligibility-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.eligibility-card ul {
    list-style: none;
    padding: 0;
}

.eligibility-card ul li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.eligibility-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Application Form */
.application-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.application-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.application-header {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 2rem;
    text-align: center;
}

.application-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.application-header p {
    opacity: 0.9;
}

.application-form {
    padding: 2rem;
}

.application-form fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: #f9fafb;
}

.application-form legend {
    font-weight: 600;
    color: #2563eb;
    padding: 0 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    color: #6b7280;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.form-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Dates Section */
.dates-section {
    padding: 5rem 0;
}

.dates-table {
    overflow-x: auto;
    margin-top: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dates-table table {
    width: 100%;
    border-collapse: collapse;
}

.dates-table th,
.dates-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.dates-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.dates-table tr:hover {
    background: #f9fafb;
}

.status-open {
    background: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-closed {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
    border-top: 1px solid #e5e7eb;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .steps-timeline::before {
        left: 50px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .step-content {
        margin-left: 1rem;
        padding: 1rem;
    }
    
    .application-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.google-form-wrapper iframe {
  border-radius: 12px;
}

.google-form-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.google-form-wrapper {
  width: 100%;
  max-width: 850px;   /* Perfect Google Form width */
}

.google-form-wrapper iframe {
  width: 100%;
  height: 1900px;
  border: none;
}
