/* Styles supplémentaires pour les pages spécifiques */

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #10b981 100%);
    color: white;
    text-align: center;
    position: relative;
}

.page-header::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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mission-card,
.vision-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.card-title {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.card-description {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Timeline */
.history {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6, #10b981);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
    max-width: 300px;
}

.timeline-title {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-description {
    color: #64748b;
    line-height: 1.6;
    font-weight: 400;
}

/* Values */
.values {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-title {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-description {
    color: #64748b;
    line-height: 1.6;
    font-weight: 400;
}

/* Leadership */
.leadership {
    padding: 80px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-image {
    height: 300px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    padding: 2rem;
}

.leader-name {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.leader-position {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
}

.leader-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.leader-social {
    display: flex;
    gap: 1rem;
}

.leader-social .social-link {
    width: 40px;
    height: 40px;
    background: #f8f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: background 0.3s ease;
}

.leader-social .social-link:hover {
    background: #667eea;
    color: white;
}

/* Accréditations */
.accreditations {
    padding: 80px 0;
    background: #f8f9ff;
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.accreditation-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.accreditation-item:hover {
    transform: translateY(-5px);
}

.accreditation-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.accreditation-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.accreditation-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.accreditation-description {
    color: #666;
    line-height: 1.6;
}

/* Programmes Navigation */
.programs-nav {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.programs-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.program-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #f8f9ff;
    border-radius: 50px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.program-tab:hover,
.program-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.program-tab i {
    font-size: 1.2rem;
}

/* Program Sections */
.program-section {
    display: none;
    padding: 60px 0;
}

.program-section.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.program-header {
    text-align: center;
    margin-bottom: 4rem;
}

.program-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.program-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Program Cards Detailed */
.program-card-detailed {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.program-card-detailed.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.program-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card-detailed:hover .program-image img {
    transform: scale(1.05);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.program-content {
    padding: 2rem;
}

.program-name {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.program-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.detail-item i {
    color: #667eea;
}

.program-skills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: #f8f9ff;
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Process Steps */
.admission-process {
    padding: 80px 0;
    background: #f8f9ff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.step-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-details {
    text-align: left;
}

.step-details ul {
    list-style: none;
    padding: 0;
}

.step-details li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.step-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Requirements */
.admission-requirements {
    padding: 80px 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.requirement-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
}

.requirement-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    text-align: center;
}

.requirement-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.requirement-icon i {
    font-size: 2rem;
}

.requirement-title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.requirement-content {
    padding: 2rem;
}

.requirement-subtitle {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.requirement-list li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.requirement-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.requirement-fee {
    background: #f8f9ff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.fee-label {
    color: #666;
    font-size: 0.9rem;
}

.fee-amount {
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-top: 0.5rem;
}

/* Calendar */
.admission-calendar {
    padding: 80px 0;
    background: #f8f9ff;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.calendar-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.calendar-item:hover {
    transform: translateY(-5px);
}

.calendar-date {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.calendar-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.calendar-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.calendar-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.calendar-description {
    color: #666;
    line-height: 1.6;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.form-section-title i {
    color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #f44336;
}

.form-file {
    width: 100%;
    padding: 1rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-file:hover {
    border-color: #667eea;
}

.form-file.error {
    border-color: #f44336;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox {
    margin-top: 0.2rem;
}

.checkbox-label {
    color: #666;
    line-height: 1.5;
}

.checkbox-label .link {
    color: #667eea;
    text-decoration: none;
}

.checkbox-label .link:hover {
    text-decoration: underline;
}

.form-submit-container {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.5;
}

.field-error {
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9ff;
    border-radius: 5px;
    font-size: 0.9rem;
}

.file-remove {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    padding: 0.2rem;
}

.file-remove:hover {
    background: #f44336;
    color: white;
    border-radius: 3px;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.form-description {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    margin-top: 2rem;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.2rem;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.info-text {
    color: #666;
    line-height: 1.6;
}

.info-text a {
    color: #667eea;
    text-decoration: none;
}

.info-text a:hover {
    text-decoration: underline;
}

.map-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.map-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.map-placeholder {
    height: 200px;
    background: #f8f9ff;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: #f8f9ff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9ff;
}

.faq-question h3 {
    color: #333;
    margin: 0;
    font-size: 1.2rem;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.notification-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.2rem;
}

.notification-close:hover {
    color: #333;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4rem;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        margin: 0;
        margin-top: 1rem;
    }
    
    .programs-nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .program-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .application-form {
        padding: 2rem 1rem;
    }
    
    .contact-form-container {
        padding: 2rem 1rem;
    }
}
