/* Additional Page Styles for EduBlock Demo */

/* Page Header Styles */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #003966 0%, #0056b3 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: 'Alegreya', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: #ffffff;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-family: 'Alegreya', serif;
    font-size: 2.5rem;
    color: #003966;
    margin-bottom: 2rem;
}

.mission-text p {
    font-size: 1.1rem;
    color: #6C6C77;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-item .value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ee771d, #ff9933);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(238, 119, 29, 0.3);
}

.value-item h3 {
    font-family: 'Alegreya', serif;
    font-size: 1.3rem;
    color: #003966;
    margin-bottom: 1rem;
}

.value-item p {
    color: #6C6C77;
    line-height: 1.6;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background: #ffffff;
}

.history-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text h2 {
    font-family: 'Alegreya', serif;
    font-size: 2.5rem;
    color: #003966;
    margin-bottom: 2rem;
}

.history-text p {
    font-size: 1.1rem;
    color: #6C6C77;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.history-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.history-stats .stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.history-stats .stat-item:hover {
    transform: translateY(-5px);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    font-family: 'Alegreya', serif;
    font-size: 1.3rem;
    color: #003966;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #ee771d;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: #6C6C77;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: #ececec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003966;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #003966;
    color: #ffffff;
}

/* Features Showcase */
.features-showcase {
    padding: 80px 0;
    background: #ffffff;
}

.features-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-showcase-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #ececec;
    transition: all 0.3s ease;
}

.feature-showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #003966;
}

.feature-showcase-item .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #003966, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-showcase-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 57, 102, 0.3);
}

.feature-showcase-item h3 {
    font-family: 'Alegreya', serif;
    font-size: 1.2rem;
    color: #003966;
    margin-bottom: 1rem;
}

.feature-showcase-item p {
    color: #6C6C77;
    line-height: 1.6;
}

/* Contact Main Section */
.contact-main {
    padding: 80px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Contact Form Styles */
.contact-form-section .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #2e2e2e;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ececec;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003966;
    box-shadow: 0 0 0 3px rgba(0, 57, 102, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card,
.support-hours-card,
.social-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-card h3,
.support-hours-card h3,
.social-card h3 {
    font-family: 'Alegreya', serif;
    font-size: 1.5rem;
    color: #003966;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003966, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: #003966;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #6C6C77;
    margin-bottom: 0.25rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ececec;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: #2e2e2e;
}

.time {
    color: #6C6C77;
}

.emergency-support {
    background: rgba(238, 119, 29, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ee771d;
}

.emergency-support p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #2e2e2e;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #003966;
    color: #ffffff;
    transform: translateX(5px);
}

.social-link i {
    width: 20px;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    font-family: 'Alegreya', serif;
    font-size: 1.2rem;
    color: #003966;
    margin: 0;
}

.faq-question i {
    color: #6C6C77;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: #f8f9fa;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #003966;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #6C6C77;
    line-height: 1.6;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #ffffff;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-content {
    text-align: center;
    padding: 2rem;
}

.map-content i {
    font-size: 4rem;
    color: #003966;
    margin-bottom: 1rem;
}

.map-content h3 {
    font-family: 'Alegreya', serif;
    font-size: 1.5rem;
    color: #003966;
    margin-bottom: 1rem;
}

.map-content p {
    color: #6C6C77;
    margin-bottom: 1.5rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .features-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .history-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info-card,
    .support-hours-card,
    .social-card {
        padding: 1.5rem;
    }
}
