/* Contact Page Specific Styles */

/* Contact Hero */
.contact-hero {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
padding: 4rem 0;
text-align: center;
position: relative;
overflow: hidden;
}

.contact-hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('../img/patterns/clean-pattern.svg') no-repeat center center;
background-size: cover;
opacity: 0.1;
}

.contact-hero h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1rem;
position: relative;
}

.contact-hero .subtitle {
font-size: 1.2rem;
opacity: 0.9;
max-width: 500px;
margin: 0 auto;
position: relative;
}

/* Contact Content */
.contact-content {
padding: 4rem 0;
background: var(--background-light);
}

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: start;
}

.contact-form-section, .contact-info-section {
background: white;
padding: 2.5rem;
border-radius: 12px;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
border: 1px solid var(--border-color);
}

.section-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--border-color);
}

/* Form Styles */
.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--text-dark);
}

.form-control {
width: 100%;
padding: 1rem;
border: 2px solid var(--border-color);
border-radius: 8px;
font-size: 1rem;
transition: all 0.3s ease;
font-family: inherit;
}

.form-control:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control textarea {
min-height: 150px;
resize: vertical;
}

.submit-btn {
background: var(--primary-color);
color: white;
padding: 1rem 2rem;
border: none;
border-radius: 8px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
position: relative;
}

.submit-btn:hover:not(:disabled) {
background: var(--secondary-color);
transform: translateY(-2px);
}

.submit-btn:disabled {
background: var(--text-light);
cursor: not-allowed;
transform: none;
}

.submit-btn.loading {
color: transparent;
}

.submit-btn.loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 20px;
height: 20px;
border: 2px solid transparent;
border-top: 2px solid white;
border-radius: 50%;
animation: spin 1s linear infinite;
}

/* Contact Information */
.contact-info-item {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 2rem;
padding: 1.5rem;
background: var(--background-light);
border-radius: 8px;
border-left: 4px solid var(--primary-color);
}

.contact-icon {
font-size: 1.5rem;
color: var(--primary-color);
min-width: 40px;
}

.contact-details h4 {
margin: 0 0 0.5rem 0;
color: var(--text-dark);
font-size: 1.1rem;
}

.contact-details p {
margin: 0;
color: var(--text-light);
line-height: 1.6;
}

.business-hours {
background: var(--primary-color);
color: white;
padding: 1.5rem;
border-radius: 8px;
margin-top: 2rem;
}

.business-hours h4 {
margin: 0 0 1rem 0;
font-size: 1.1rem;
}

/* Form Messages */
.form-message {
padding: 1rem 1.5rem;
border-radius: 8px;
margin-bottom: 1.5rem;
font-weight: 600;
border-left: 4px solid transparent;
animation: slideDown 0.3s ease-out;
}

.form-message.success {
background: #d1fae5;
color: #065f46;
border-left-color: #10b981;
}

.form-message.error {
background: #fee2e2;
color: #991b1b;
border-left-color: #ef4444;
}

.form-message small {
font-weight: normal;
opacity: 0.8;
margin-top: 0.5rem;
display: block;
}

.required-field::after {
content: " *";
color: #ef4444;
}

.field-error {
color: #ef4444;
font-size: 0.875rem;
margin-top: 0.25rem;
display: none;
}

.char-counter {
text-align: right;
font-size: 0.8rem;
color: var(--text-light);
margin-top: 0.5rem;
}

/* Privacy Notice */
.privacy-notice {
background: #f0f9ff;
border: 1px solid #bae6fd;
border-radius: 8px;
padding: 1rem;
margin-top: 1.5rem;
font-size: 0.9rem;
color: #0369a1;
}

.privacy-notice strong {
display: block;
margin-bottom: 0.5rem;
}

/* Trust Signals */
.trust-signal {
margin-top: 2rem;
padding: 1.5rem;
background: #f0fdf4;
border: 1px solid #bbf7d0;
border-radius: 8px;
}

.trust-signal h4 {
margin: 0 0 1rem 0;
color: #166534;
display: flex;
align-items: center;
gap: 0.5rem;
}

.trust-signal p {
margin: 0;
color: #166534;
font-size: 0.9rem;
line-height: 1.5;
}

/* Animations */
@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Responsive Design */
@media (max-width: 968px) {
.contact-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.contact-hero h1 {
    font-size: 2.5rem;
}
}

@media (max-width: 768px) {
.contact-hero {
padding: 3rem 0;
}

.contact-hero h1 {
    font-size: 2rem;
}

.contact-hero .subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
}

.contact-content {
    padding: 3rem 0;
}

.contact-form-section, .contact-info-section {
    padding: 1.5rem;
}

.contact-info-item {
    padding: 1rem;
}

}

@media (max-width: 480px) {
.contact-hero {
padding: 2rem 0;
}.contact-content {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.3rem;
}}


/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/patterns/clean-pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
}