/* Contact Page Styles */

/* Container */
.container {
    max-width: 1357px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reset form styles for contact page */
.contact-hero-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-area {
    padding-right: 20px;
}

.contact-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.title-highlight {
    color: #0066cc;
}

.contact-hero-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
}

/* Enhanced Contact Form */
.enhanced-contact-form {
    margin-bottom: 40px;
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

/* Contact form specific styling */
.template-contactpage .form-input,
.template-contactpage .form-textarea,
.template-contactpage .form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

.template-contactpage .form-input:focus,
.template-contactpage .form-textarea:focus,
.template-contactpage .form-select:focus {
    outline: none;
    border-color: #0073e6;
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.1);
}

/* Placeholder styling with high specificity */
.template-contactpage .form-input::placeholder,
.template-contactpage .form-textarea::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

.template-contactpage .form-input::-webkit-input-placeholder,
.template-contactpage .form-textarea::-webkit-input-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

.template-contactpage .form-input::-moz-placeholder,
.template-contactpage .form-textarea::-moz-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

.template-contactpage .form-input:-ms-input-placeholder,
.template-contactpage .form-textarea:-ms-input-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

.template-contactpage .form-full {
    margin-bottom: 15px;
}

.template-contactpage .form-textarea {
    margin-bottom: 15px;
    resize: vertical;
    min-height: 120px;
}

.template-contactpage .form-select {
    margin-bottom: 20px;
    background-color: #ffffff !important;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

.template-contactpage .form-select option {
    background-color: #ffffff;
    color: #1a1a1a;
}

.template-contactpage .btn-send-message-large {
    width: 100%;
    padding: 16px 30px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-transform: uppercase;
}

.btn-send-message-large:hover {
    background-color: #005bb5;
    transform: translateY(-1px);
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0073e6;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    white-space: nowrap;
}

/* Contact Image Area */
.contact-image-area {
    position: relative;
}

.contact-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.contact-image-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: #0052a3;
    border-radius: 8px;
    z-index: 1;
}

.contact-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* Smartest Step Section */
.smartest-step-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.smartest-step-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.smartest-step-image {
    position: relative;
}

.step-profile-image {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.smartest-step-content {
    max-width: 600px;
}

.smartest-step-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.smartest-highlight {
    color: #0066cc;
}

.smartest-step-text {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.btn-book-meeting {
    display: inline-block;
    padding: 14px 36px;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background-color 0.3s, transform 0.1s;
    text-transform: uppercase;
}

.btn-book-meeting:hover {
    background-color: #005bb5;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-image-wrapper {
        min-height: 400px;
    }
    
    .smartest-step-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .step-profile-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .smartest-step-content {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 36px;
    }
    
    .form-row-dual {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .smartest-step-title {
        font-size: 32px;
    }
    
    .contact-hero-section,
    .smartest-step-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 28px;
    }
    
    .smartest-step-title {
        font-size: 26px;
    }
    
    .contact-hero-section,
    .smartest-step-section {
        padding: 40px 0;
    }
    
    .btn-send-message-large,
    .btn-book-meeting {
        padding: 14px 25px;
        font-size: 14px;
    }
}

.icon-phone {
    width: 36px;
    height: 36px;
    color: white;
}

.icon-location {
    width: 36px;
    height: 36px;
    color: white;
}

.icon-email {
    width: 36px;
    height: 36px;
    color: white;
}
