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

.contact-info-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-info-section__title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-info-section__divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

.contact-info-section__description {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.contact-info-section__description p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.contact-info-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-item__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-item__content {
    flex: 1;
}

.contact-info-item__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.contact-info-item__text {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

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

.contact-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-section__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

/* Team Member Cards */
.team-member {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-member__image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.team-member__info {
    flex: 1;
}

.team-member__name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.team-member__position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member__contact-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.team-member__description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.team-member__contact-info {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

/* Map Section */
.map-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    min-height: 450px;
}

.map-container__iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-form-section__header {
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
}

.contact-form-section__subtitle {
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contact-form-section__title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.contact-form-section__description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form-section__description a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-form-section__description a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form__row--full {
    grid-template-columns: 1fr;
}

.contact-form__group {
    position: relative;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    background-color: #e9ecef;
    box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.25);
}

.contact-form__textarea {
    height: 150px;
    resize: vertical;
    font-family: inherit;
}

.contact-form__label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form__textarea+.contact-form__label {
    top: 30px;
}

.contact-form__input:focus+.contact-form__label,
.contact-form__input:not(:placeholder-shown)+.contact-form__label,
.contact-form__textarea:focus+.contact-form__label,
.contact-form__textarea:not(:placeholder-shown)+.contact-form__label {
    top: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
    transform: translateY(0);
}

.contact-form__submit {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: start;
}

.contact-form__submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up--delay-1 {
    animation-delay: 0.1s;
}

.fade-in-up--delay-2 {
    animation-delay: 0.2s;
}

.fade-in-up--delay-3 {
    animation-delay: 0.3s;
}

.fade-in-up--delay-5 {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-info-section__grid {
        gap: 30px;
    }

    .contact-section__grid {
        gap: 30px;
    }

    .contact-form-section__title {
        font-size: 2rem;
    }

    .contact-info-section__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: 60px 0;
    }

    .contact-info-section__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-info-item {
        padding: 25px;
    }

    .contact-info-section__title {
        font-size: 2rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-section__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .team-member__image {
        width: 100px;
        height: 100px;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form-section__title {
        font-size: 1.8rem;
    }

    .map-container {
        min-height: 300px;
    }

    .map-container__iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {

    .contact-info-section__container,
    .contact-section__container {
        padding: 0 15px;
    }

    .contact-form-section {
        padding: 20px;
    }

    .contact-form-section__title {
        font-size: 1.5rem;
    }

    .contact-info-section__title {
        font-size: 1.8rem;
    }

    .team-member {
        padding: 20px;
    }

    .contact-form__submit {
        width: 100%;
        justify-self: stretch;
    }
}