/* JIPSAAN Admission Portal - Custom Styles */

:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #eff6ff;
    --green-primary: #059669;
    --yellow-warning: #f59e0b;
    --gray-text: #6b7280;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header Styles */
.gradient-header {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.gradient-hero {
    background: linear-gradient(90deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}

.gradient-info {
    background: linear-gradient(90deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
}

/* Glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
}

/* Course Cards */
.course-card {
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Warning and Info Boxes */
.warning-box {
    background-color: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    transition: all 0.3s ease;
}

.warning-box:hover {
    background-color: #fde68a;
}

.help-box {
    background-color: #ecfdf5;
    border: 1px solid #6ee7b7;
    transition: all 0.3s ease;
}

.help-box:hover {
    background-color: #d1fae5;
}

/* Diploma Course Items */
.diploma-item {
    background-color: var(--light-blue);
    border: 1px solid #bfdbfe;
    color: var(--primary-blue);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.diploma-item:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Custom Buttons */
.btn-disabled-custom {
    background-color: #9ca3af;
    border-color: #9ca3af;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-disabled-custom:hover {
    background-color: #9ca3af;
    border-color: #9ca3af;
    color: white;
    opacity: 0.7;
}

.btn-success {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #047857;
    border-color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Hero Section */
.registration-icon {
    width: 128px;
    height: 128px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.registration-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Contact Icons */
.contact-icon {
    width: 24px;
    height: 24px;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.25rem !important;
    }
    
    .logo-circle {
        width: 48px;
        height: 48px;
    }
    
    .logo-circle i {
        font-size: 1.5rem !important;
    }
    
    .registration-icon {
        width: 96px;
        height: 96px;
    }
    
    .registration-icon i {
        font-size: 3rem !important;
    }
    
    .diploma-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .glass-card {
        margin: 0 1rem;
    }
}

/* Text Color Utilities */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

/* Focus States for Accessibility */
.btn:focus,
.btn-success:focus,
.btn-disabled-custom:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.5);
    outline: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    .btn,
    .glass-card,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .course-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .course-card {
        border: 2px solid #000;
    }
    
    .warning-box {
        border: 2px solid #000;
    }
    
    .help-box {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .course-card:hover,
    .glass-card:hover,
    .diploma-item:hover {
        transform: none;
    }
}