/* Modern Contact Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.contact-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fffceb;
    line-height: 1.6;
    color: #362921;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: #F6C945;
    padding: 80px 0 180px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: #F6C945;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 200px;
    height: 200px;
    background: #F6C945;
    border-radius: 50%;
    transform: translateY(50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #362921;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.email-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Contact Container */
.contact-container {
    /* margin-top: -100px; */
    position: relative;
    z-index: 10;
    padding: 0 20px 80px;
}

.contact-form-wrapper {
    /* background: #ffffff; */
    border-radius: 24px;
    padding: 3rem;
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); */
    /* border: 1px solid rgba(237, 137, 54, 0.1); */
    position: relative;
    overflow: hidden;
}

/* .contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f6d55c, #ed8936);
} */

/* Form Styles */
.modern-form {
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #362921;
}

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.select-wrapper .input-icon {
    right: 1rem;
    left: auto;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #362921;
    position: relative;
    z-index: 1;
}

.select-wrapper .form-control {
    padding-right: 3rem;
    appearance: none;
    background-image: none;
    cursor: pointer;
}

.textarea-wrapper .form-control {
    padding: 1rem;
    min-height: 120px;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: #ed8936;
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #a0aec0;
}

.input-wrapper.focused .input-icon,
.select-wrapper.focused .input-icon {
    color: #ed8936;
}

/* Validation States */
.form-control.is-invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    color: #e53e3e;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
}

/* Submit Button */
.form-actions {
    margin-top: 0;
    text-align: left;
    height: 100%;
    /* display: flex; */
    align-items: end;
}

.btn-submit {
    background: #4E3D32;
    color: #F6C945;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    justify-content: center;
    height: 60px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(237, 137, 54, 0.4);
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    color: white;
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon:not(.fa-spinner) {
    transform: translateX(3px);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    padding-left: 2rem;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(237, 137, 54, 0.1);
    margin-bottom: 2rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ed8936, #f6d55c);
    border-radius: 3px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #f7fafc;
    transform: translateX(5px);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ed8936, #f6d55c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-info-icon i {
    color: white;
    font-size: 1.1rem;
}

.contact-info-content strong {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

.response-time {
    background: #edf2f7;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1rem;
}

.response-time p {
    margin: 0;
    color: #4a5568;
    font-weight: 500;
}

.contact-image-wrapper {
    text-align: center;
}

.contact-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 5rem 0;
    color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text p {
    font-size: 1.1rem;
    margin: 0;
    color: #e2e8f0;
    line-height: 1.6;
    font-family: "Poppins", sans-serif;
}

.newsletter-form {
    flex: 0 0 400px;
}

.input-group {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.input-group .form-control {
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    box-shadow: none;
}

.input-group .form-control:focus {
    border: none;
    box-shadow: none;
    transform: none;
}

.btn-subscribe {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, #dd6b20, #c05621);
}

/* Locations Section */
.locations-section {
    padding: 6rem 0;
    background: #f7fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    color: #362921;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ed8936, #f6d55c);
    border-radius: 4px;
}

.locations-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(237, 137, 54, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ed8936, #f6d55c);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.location-header {
    margin-bottom: 1.5rem;
}

.location-header h3 {
    font-size: 1.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #362921;
    margin-bottom: 0.5rem;
}

.location-badge {
    background: linear-gradient(135deg, #ed8936, #f6d55c);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.location-info i {
    color: #ed8936;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.location-info p {
    margin: 0;
    color: #4a5568;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
}

/* Offices Grid */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.office-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.office-card:hover,
.office-card.hovered {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: rgba(237, 137, 54, 0.3);
}

.office-card h4 {
    font-size: 1.25rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #362921;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #edf2f7;
}

.office-info p {
    margin-bottom: 0.5rem;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
}

.office-info i {
    color: #ed8936;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-size: 0.9rem;
}

/* Alert Styles */
.alert {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: none;
    display: flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
}

.alert-success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 5px 15px -5px rgba(72, 187, 120, 0.3);
}

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #ed8936, #f6d55c);
    color: white;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2.5rem;
}

.success-icon {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
    font-family: "Poppins", sans-serif;
}

.modal-footer .btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border: none;
    transition: all 0.3s ease;
}

.modal-footer .btn:hover {
    background: linear-gradient(135deg, #dd6b20, #c05621);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-info-sidebar {
        padding-left: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 22px;
    }
    
    .contact-info-sidebar {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex: none;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 140px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .contact-container {
        /* margin-top: -80px; */
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .locations-grid {
        gap: 1.5rem;
    }
    
    .location-card {
        padding: 2rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .input-group .form-control {
        border-radius: 12px 12px 0 0;
    }
    
    .btn-subscribe {
        border-radius: 0 0 12px 12px;
        padding: 1rem;
    }
    
    .form-actions {
        text-align: center;
        align-items: center;
        margin-top: 1rem;
    }
    
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0 120px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-container {
        /* margin-top: -60px; */
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .btn-submit {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .location-card {
        padding: 1.5rem;
    }
    
    .office-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.form-control:focus,
.btn-submit:focus,
.btn-subscribe:focus {
    outline: 2px solid #ed8936;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    /* .contact-form-wrapper,
    .contact-info-sidebar {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    } */
    
    .hero-section {
        background: #F6C945 !important;
        color: #000 !important;
    }
}

/* Hero Logo Background */
.hero-logo-bg {
    width: 587.477px;
    height: 403px;
    aspect-ratio: 587.48/403.00;
    position: absolute;
    right: -231.477px;
    bottom: -100px;
    background: url('/images/logo-freetext.png') lightgray 50% / cover no-repeat;
    mix-blend-mode: luminosity;
    z-index: 1;
}