/* Contact Page Styles */

.contact-page {
    background: #f8f9fa;
}

/* Hero Section */
.hero-contact {
    min-height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-contact .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/hero/contact-hero.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-contact .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-contact .hero-inner {
    position: relative;
    z-index: 3;
}

.hero-contact .hero-content {
    text-align: center;
    color: #ffffff;
}

.hero-contact .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    color: #ffffff !important;
}

.hero-contact .hero-content .lead {
    font-size: 1.4rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff !important;
}

/* Contact Cards Section */
.contact-cards {
    padding: 60px 0;
    background: #ffffff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #0b6393;
    /* Match nav color */
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0b6393;
    /* Match nav color */
}

.card-main {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0b6393;
    /* Match nav color */
}

.card-main a {
    color: #0b6393;
    /* Match nav color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-main a:hover {
    color: #084a6e;
    text-decoration: underline;
}

.card-meta {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0.25rem 0;
}

.card-meta a {
    color: #0b6393;
    /* Match nav color */
    text-decoration: none;
}

.card-meta a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #ffffff;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #0b6393;
    /* Match nav color */
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.form-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

.contact-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0b6393;
    /* Match nav color */
    box-shadow: 0 0 0 3px rgba(11, 99, 147, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-footer {
    text-align: center;
}

.form-note {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.form-note a {
    color: #0b6393;
    /* Match nav color */
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0b6393 0%, #084a6e 100%);
    /* Match nav color */
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #084a6e 0%, #053048 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 99, 147, 0.3);
}

/* Additional Info Section */
.contact-info-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0b6393;
    /* Match nav color */
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0b6393;
    /* Match nav color */
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #495057;
    line-height: 1.5;
}

.info-card ul li::before {
    content: "•";
    color: #0b6393;
    /* Match nav color */
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-contact .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-contact .hero-content .lead {
        font-size: 1.1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Footer */
.kb-footer {
    background: #0b6393;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    margin-top: 0;
}

.kb-footer p {
    margin: 0;
    opacity: 0.9;
}