/* Main Styles for HIT Online Application */

:root {
    --primary-color: #3e3f95;    /* Dark Blue/Purple */
    --secondary-color: #F4C13F;  /* Yellow/Gold */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --light-color: #f8f9fa;
    --dark-color: #2d2d5a;
    --gray-color: #6b7280;
    --accent-color: #F4C13F;
    --primary-gradient: linear-gradient(135deg, #3e3f95 0%, #2d2d5a 100%);
    --secondary-gradient: linear-gradient(135deg, #F4C13F 0%, #e6b800 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient), url('../images/hit-campus.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Application Process Cards */
.process-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(62, 63, 149, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(62, 63, 149, 0.1);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-gradient);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(62, 63, 149, 0.2);
}

.process-card .icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(244, 193, 63, 0.3);
}

.process-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.process-card h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Form Styles */
.form-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 86, 219, 0.25);
}

/* Stepper Component */
.stepper-container {
    margin-bottom: 30px;
}

.stepper-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stepper-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 12px;
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    z-index: 0;
}

.stepper-item.completed::after {
    background-color: var(--primary-color);
}

.stepper-icon {
    transition: all 0.3s ease;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d2d5a 0%, #1f1f3a 100%);
    border-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 63, 149, 0.3);
}

.btn-warning {
    background: var(--secondary-gradient);
    border-color: var(--secondary-color);
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e6b800 0%, #d4a800 100%);
    border-color: #e6b800;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 193, 63, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 63, 149, 0.3);
}

/* Document Upload Styles */
.upload-box {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: var(--primary-color);
}

.upload-icon {
    font-size: 2rem;
    color: var(--gray-color);
    margin-bottom: 15px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(62, 63, 149, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(62, 63, 149, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #333;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(244, 193, 63, 0.3);
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(62, 63, 149, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(62, 63, 149, 0.2);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Dashboard Styles */
.dashboard-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-draft {
    background-color: #e5e7eb;
    color: #4b5563;
}

.status-submitted {
    background-color: #bfdbfe;
    color: #1e40af;
}

.status-paid {
    background-color: #a7f3d0;
    color: #065f46;
}

.status-under-review {
    background-color: #fef3c7;
    color: #92400e;
}

.status-accepted {
    background-color: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Progress Bar */
.progress {
    height: 8px;
    margin-bottom: 10px;
}

/* Receipt Styles */
.receipt-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 30px auto;
    max-width: 800px;
}

.receipt-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.receipt-logo {
    max-width: 150px;
}

.receipt-details {
    margin-bottom: 30px;
}

.receipt-table {
    width: 100%;
    margin-bottom: 30px;
}

.receipt-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    text-align: center;
}

/* About Page Styles */
.timeline-marker {
    background: var(--primary-color) !important;
}

.contact-info .fas {
    color: var(--primary-color);
}

.social-links .btn {
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 63, 149, 0.2);
}

.about-stats h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.about-stats p {
    color: var(--gray-color);
    font-weight: 500;
}

/* Enhanced hero section for about page */
.hero-section .img-fluid {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-section .img-fluid:hover {
    opacity: 1;
    transform: scale(1.05);
}
