/**
 * Contact Page Styles
 */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-red);
}

.breadcrumb-separator {
    color: #adb5bd;
}

.breadcrumb-current {
    color: #212529;
    font-weight: 500;
}


/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.contact-detail {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #495057;
}

.contact-detail a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #991b1b;
    text-decoration: underline;
}

.contact-description {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert p {
    margin: 5px 0;
}

.alert p:first-child {
    margin-top: 0;
}

.alert p:last-child {
    margin-bottom: 0;
}


/* Side Information */
.contact-side-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.side-info-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-red);
}

.side-info-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.side-info-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list li i {
    color: var(--primary-red);
    font-size: 16px;
    flex-shrink: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #495057;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

/* 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(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-red);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* Buttons */
.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: white;
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-side-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .contact-form-container {
        padding: 30px 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-item {
        padding: 25px 20px;
    }

}

@media (max-width: 480px) {
    .contact-info-section,
    .contact-form-section,
    .faq-section {
        padding: 60px 0;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Typing Animation */
.typing-text {
    display: inline-block;
    min-height: 1.2em;
    position: relative;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}