/* Quantum Chemistry Page Specific Styles */

/* Custom styles for the quantum chemistry page */
body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: #1e293b;
}

.hero-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 4rem 0;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.simulation-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.canvas-container {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

canvas {
    background: white;
    border-radius: 8px;
    width: 100% !important;
    height: 300px !important;
    display: block;
}

.btn-learn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-learn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ds-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
}

.ds-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ds-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.calculator-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.calculator-input {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.calculator-input:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #8b5cf6);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 40px);
}

.timeline-step {
    position: absolute;
    left: calc(50% - 10px);
    top: 0;
    width: 20px;
    height: 20px;
    background: #6366f1;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #6366f1;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.remember-tip {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
}

.highlight-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.concept-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 5px;
    border: none;
}

.interactive-element {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.formula-display {
    background: #f8fafc;
    border-left: 4px solid #6366f1;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
}

.key-concept {
    background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #8b5cf6;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.comparison-table th {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.mcq-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #10b981;
}

.example-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #3b82f6;
}

.daily-life-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.daily-life-card:hover {
    transform: translateY(-5px);
}

.daily-life-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.orbital-display {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 2px solid #c7d2fe;
}

.wave-function-plot {
    height: 200px;
    background: white;
    border-radius: 8px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

/* Accordion styles for examples */
.accordion .card {
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    border-radius: 8px !important;
}

.accordion .card-header {
    background: white;
    border: none;
    padding: 0;
}

.accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
}

.accordion .btn-link:hover {
    text-decoration: none;
    color: #1e293b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0 !important;
        width: 100%;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-step {
        left: 30px;
    }
    
    .section-title:after {
        width: 60px;
    }
}