/* Contact & Support Page Styles - Teal-Orange Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fff8dc;
    /* Cream background from education.css */
    color: #2c3e50;
    /* Dark gray from education.css */
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Enhanced shadow from education.css */
    padding: 15px 0;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #008080;
    /* Teal primary */
}

.logo span {
    color: #ff7f50;
    /* Orange primary */
}

nav ul {
    display: flex;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.4s ease;
    /* Smooth transition from education.css */
}

nav ul li a:hover {
    color: #008080;
    /* Teal primary */
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(0, 80, 80, 0.85), rgba(230, 92, 53, 0.85));
    /* Teal-orange gradient from education.css */
    color: white;
    padding: 80px 0;
    /* Increased padding */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-size: 3.5rem;
    /* Larger font from education.css */
    margin-bottom: 20px;
    animation: fadeInDown 1.2s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.page-header p {
    font-size: 1.4rem;
    /* Larger font from education.css */
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info {
    background: white;
    border-radius: 15px;
    /* Rounded corners from education.css */
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Enhanced shadow */
    border: 1px solid rgba(0, 128, 128, 0.1);
    /* Teal border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Smooth transition */
}

.contact-info:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-info h2 {
    color: #004d4d;
    /* Teal dark */
    margin-bottom: 20px;
    font-size: 24px;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, #008080, #ff7f50);
    /* Teal to orange gradient */
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
}

.contact-method i {
    background: linear-gradient(135deg, #008080, #ff7f50);
    /* Teal-orange gradient */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.contact-method h3 {
    margin-bottom: 5px;
    font-size: 18px;
    color: #004d4d;
    /* Teal dark */
}

.contact-method p {
    color: #2c3e50;
    /* Dark gray */
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    /* Rounded corners from education.css */
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Enhanced shadow */
    border: 1px solid rgba(0, 128, 128, 0.1);
    /* Teal border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Smooth transition */
}

.contact-form:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-form h2 {
    color: #004d4d;
    /* Teal dark */
    margin-bottom: 20px;
    font-size: 24px;
    position: relative;
    display: inline-block;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, #008080, #ff7f50);
    /* Teal to orange gradient */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #004d4d;
    /* Teal dark */
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    /* Gray medium from education.css */
    border-radius: 8px;
    /* Slightly rounded */
    font-size: 16px;
    transition: all 0.4s ease;
    /* Smooth transition */
    background: #f5f7fa;
    /* Gray light from education.css */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #008080;
    /* Teal primary */
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    background: linear-gradient(to right, #008080, #ff7f50);
    /* Teal to orange gradient */
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    /* Rounded button */
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #004d4d, #e65c35);
    /* Darker teal to orange */
}

.btn:hover::before {
    left: 100%;
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 15px;
    /* Rounded corners from education.css */
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Enhanced shadow */
    margin-bottom: 50px;
    border: 1px solid rgba(0, 128, 128, 0.1);
    /* Teal border */
}

.faq-section h2 {
    color: #004d4d;
    /* Teal dark */
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #008080, #ff7f50);
    /* Teal to orange gradient */
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    /* Gray medium */
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #008080;
    /* Teal primary */
}

.faq-question {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #004d4d;
    /* Teal dark */
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #008080;
    /* Teal primary */
}

.faq-question i {
    color: #ff7f50;
    /* Orange primary */
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    color: #2c3e50;
    /* Dark gray */
    display: none;
    padding-top: 10px;
}

.faq-question.active+.faq-answer {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.2rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 16px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #008080, #ff7f50);
    /* Teal to orange */
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: #ddd;
}