/* Contact Form Section */
.contact-form-section {
    padding: 2rem;
    position: relative;
    margin-top: 8em;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 800px;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid rgba(0, 160, 211, 0.2);
    background: transparent;
    color: #333;
    transition: all 0.3s ease;
    resize: vertical;
    max-width: 100%;
}

.input-group textarea {
    min-height: 100px;
    max-height: 200px;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -1rem;
    font-size: 0.8rem;
    color: #00a0d3;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00a0d3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.input-group input:focus ~ .input-line,
.input-group textarea:focus ~ .input-line {
    transform: scaleX(1);
}

.form-footer {
    text-align: right;
}

.submit-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00a0d3;
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #0088b3;
}

/* Contact Info */
.contact-info {
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-group {
    margin-bottom: 3rem;
    position: relative;
    padding-left: 2rem;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-group::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 20px;
    background: #00a0d3;
    border-radius: 2px;
}

.info-group h3 {
    font-size: 1.2rem;
    color: #00a0d3;
    margin-bottom: 1rem;
}

.info-group p {
    color: #666;
    line-height: 1.8;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.popup-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.popup.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #00a0d3;
}

.popup-icon {
    font-size: 3rem;
    color: #00a0d3;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.popup-message {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 2rem;
    }
} 