/* Online Admission Form Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Bootstrap Grid Classes */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

.me-2 {
    margin-right: 0.5rem;
}

/* Header and Navigation styles are handled by main style.css */

.top-header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-section {
  display: flex;
  align-items: center;
}

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

.red {
  color: red;
  font-weight: 900;
}

.dark {
  color: #2c3e50;
  font-weight: 800;
}

.slogan {
  color: red;
  font-size: 14px;
  margin-top: 3px;
  font-weight: bold;
}

.contact-info {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #2c3e50;
}

/** nav**/

.main-nav {
  position: sticky;
  top: 95px;
  z-index: 1000;
  padding: 10px 30px;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  justify-content: flex-start;
}

.nav-links li a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

.nav-links li a:hover {
  color: #ff6b00;
}

.nav-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.btn.login {
  background-color: #ff6f6f;
  color: white;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}

.btn.join {
  background-color: #56d47b;
  color: white;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: #003b73;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px 0;
  min-width: 200px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: white;
  padding: 10px 20px;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #005a9c;
}

.slogan {
  color: red;
  font-size: 14px;
  margin-top: 3px;
  font-weight: bold;
}

/* Online Admission Section */
.online-admission {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.admission-header {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.admission-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e74c3c;
}

.admission-header p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* Progress Steps - Enhanced */
.admission-progress {
    background: white;
    border-radius: 15px;
    padding: 15px 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 120px;
    z-index: 100;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    cursor: pointer;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step.active .step-number {
    background: #ff6b00;
    color: white;
    border-color: #ff6b00;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2);
}

.step.completed .step-number {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.step-title {
    font-size: 0.7rem;
    color: #6c757d;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1.0;
}

.step.active .step-title {
    color: #ff6b00;
    font-weight: bold;
}

.step.completed .step-title {
    color: #28a745;
}

.progress-bar {
    height: 3px;
    background: #e9ecef;
    border-radius: 2px;
    position: absolute;
    top: 16px;
    left: 56px;
    right: 56px;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b00, #ff8c42);
    transition: width 0.5s ease;
    border-radius: 3px;
}

/* Admission Form */
.admission-form {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 15px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.form-step h3 i {
    color: #e74c3c;
    margin-right: 10px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-control.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
}

/* Course Selection */
.course-selection {
    margin-bottom: 30px;
}

.course-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.course-info h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: #495057;
}

.course-meta i {
    color: #e74c3c;
}

/* Document Upload */
.document-upload {
    margin-bottom: 30px;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.upload-item {
    text-align: center;
}

.upload-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2c3e50;
}

.file-upload {
    position: relative;
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-preview {
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-preview:hover {
    border-color: #e74c3c;
    background: #fff5f5;
}

.file-preview i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 10px;
    display: block;
}

.file-preview span {
    color: #6c757d;
    font-size: 0.9rem;
}

.file-uploaded {
    border-color: #28a745 !important;
    background: #f8fff9 !important;
}

.file-uploaded i {
    color: #28a745 !important;
}

.file-uploaded span {
    color: #28a745 !important;
}

/* Payment Section */
.payment-section {
    margin-bottom: 30px;
}

.payment-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.payment-summary h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.summary-item.discount {
    color: #28a745;
}

.summary-item.total {
    border-top: 2px solid #e9ecef;
    padding-top: 10px;
    font-size: 1.2rem;
    color: #e74c3c;
}

.payment-methods h5 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.payment-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.payment-option {
    flex: 1;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option .option-content {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .option-content {
    border-color: #e74c3c;
    background: #fff5f5;
}

.payment-option .option-content i {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 10px;
    display: block;
}

.payment-option .option-content span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.payment-option .option-content small {
    color: #6c757d;
    font-size: 0.875rem;
}

.terms-conditions {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-label span {
    color: #495057;
    font-size: 0.9rem;
}

.checkbox-label a {
    color: #e74c3c;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Review Section */
.review-section {
    margin-bottom: 30px;
}

.review-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.review-summary h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.review-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item strong {
    color: #495057;
    width: 150px;
    display: inline-block;
}

.final-actions {
    text-align: center;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-success {
    background: #28a745;
    color: white;
    border: none;
}

.btn-success:hover {
    background: #218838;
}

.btn-primary {
    background: #e74c3c;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #c0392b;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-next {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-next:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.loading-spinner p {
    font-size: 1.2rem;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.site-footer h4 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer ul li a:hover {
    color: #e74c3c;
}

.site-footer p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav-links {
        list-style: none;
        display: flex;
        gap: 25px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .admission-progress {
        position: static;
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .step {
        min-width: 100px;
        flex: 0 0 auto;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-title {
        font-size: 0.75rem;
    }
    
    .progress-bar {
        display: none;
    }
    
    .admission-form {
        padding: 20px;
        margin-top: 0;
    }
    
    .col-md-6,
    .col-md-4,
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 0 15px 0;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-navigation button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .admission-header h2 {
        font-size: 1.8rem;
    }
    
    .logo-section h1 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .admission-form {
        padding: 15px;
    }
    
    .form-step h3 {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-in {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}
