/* ========================================
   Modern Contact Section 2025
   Premium Design with Animations
   ======================================== */

.contact-section-2025 {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* Background Decorations */
.contact-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 94, 21, 0.05), rgba(255, 140, 66, 0.05));
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.contact-section-2025 > .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   Section Header
   ======================================== */

.contact-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge-2025 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 94, 21, 0.1);
    border: 1px solid rgba(255, 94, 21, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-badge-2025 .badge-icon {
    width: 36px;
    height: 36px;
    background: #ff5e15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-badge-2025 .badge-icon i {
    font-size: 16px;
    color: #ffffff;
}

.section-badge-2025 .badge-text {
    color: #ff5e15;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title-center {
    font-size: 42px;
    font-weight: 700;
    color: #002052;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #ff5e15, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-center {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Left Side - Contact Info Cards
   ======================================== */

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.info-card-modern {
    background: #fff;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.info-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 94, 21, 0.15);
    border-color: #ff5e15;
}

.info-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff5e15, #ff8c42);
    border-radius: 12px;
    color: #fff;
    font-size: 24px;
}

.info-card-modern h3 {
    font-size: 18px;
    font-weight: 700;
    color: #002052;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.info-card-modern p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.info-card-modern a,
.info-card-modern span {
    font-size: 15px;
    font-weight: 600;
    color: #ff5e15;
    text-decoration: none;
    display: block;
    line-height: 1.5;
}

.info-card-modern a:hover {
    color: #002052;
}

/* Working Hours Card */
.working-hours {
    background: linear-gradient(135deg, #002052, #003d8f);
    color: #fff;
}

.working-hours h3,
.working-hours p,
.working-hours span {
    color: #fff;
}

.working-hours .info-icon-box {
    background: rgba(255, 255, 255, 0.2);
}

.working-hours:hover {
    border-color: #fff;
}

/* ========================================
   Right Side - Contact Form
   ======================================== */

.contact-form-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid rgba(255, 94, 21, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #002052;
    margin: 0 0 8px 0;
}

.form-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.modern-contact-form {
    margin-bottom: 20px;
}

.form-group-modern {
    margin-bottom: 25px;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #002052;
    margin-bottom: 10px;
}

.form-group-modern label i {
    color: #ff5e15;
    font-size: 14px;
}

.form-group-modern label .optional {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    font-style: italic;
}

.form-input-modern,
.form-textarea-modern,
select.form-input-modern {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    color: #1a1a1a;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

select.form-input-modern {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-input-modern:focus,
.form-textarea-modern:focus {
    background: #fff;
    border-color: #ff5e15;
    box-shadow: 0 0 0 3px rgba(255, 94, 21, 0.1);
}

.form-input-modern::placeholder,
.form-textarea-modern::placeholder {
    color: #999;
}

.form-textarea-modern {
    resize: vertical;
    min-height: 140px;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.char-counter span {
    font-weight: 600;
    color: #666;
}

/* Submit Button */
.submit-button-modern {
    width: 100%;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff5e15, #ff8c42);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(255, 94, 21, 0.3);
    margin-top: 10px;
}

.submit-button-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 94, 21, 0.4);
}

.submit-button-modern:active {
    transform: translateY(0);
}

.submit-button-modern i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.submit-button-modern:hover i {
    transform: translateX(3px);
}

/* Trust Badges Row */
.trust-badges-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(255, 94, 21, 0.05), rgba(255, 140, 66, 0.05));
    border-radius: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 160px;
    justify-content: center;
    padding: 8px 12px;
}

.trust-badge-item i {
    color: #ff5e15;
    font-size: 22px;
    flex-shrink: 0;
}

.trust-badge-item span {
    font-size: 14px;
    color: #002052;
    font-weight: 600;
    line-height: 1.3;
}

/* ========================================
   Bottom CTA Section
   ======================================== */

.contact-bottom-cta {
    margin-top: 60px;
    padding: 0;
}

.cta-content {
    background: linear-gradient(135deg, #002052, #003d8f);
    padding: 35px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0, 32, 82, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 94, 21, 0.1));
    pointer-events: none;
}

.cta-content > i {
    font-size: 48px;
    color: #ff5e15;
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
}

.cta-text h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
}

.cta-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #ff5e15;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 94, 21, 0.3);
    flex-shrink: 0;
}

.cta-button:hover {
    background: #ff8c42;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 94, 21, 0.4);
    color: #fff;
}

.cta-button i {
    font-size: 18px;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .contact-section-2025 {
        padding: 80px 0;
    }

    .section-title-center {
        font-size: 36px;
    }

    .contact-info-cards {
        margin-bottom: 30px;
    }

    .contact-form-box {
        padding: 30px;
    }

    .form-header h3 {
        font-size: 22px;
    }

    .cta-content {
        padding: 30px;
    }

    .cta-content > i {
        font-size: 40px;
    }

    .cta-text h4 {
        font-size: 20px;
    }
}

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

    .contact-header-center {
        margin-bottom: 40px;
    }

    .section-title-center {
        font-size: 32px;
    }

    .section-subtitle-center {
        font-size: 15px;
    }

    .contact-form-box {
        padding: 25px 20px;
    }

    .form-header h3 {
        font-size: 20px;
    }

    .form-input-modern,
    .form-textarea-modern,
    select.form-input-modern {
        padding: 12px 16px;
        font-size: 14px;
    }

    .submit-button-modern {
        padding: 14px 25px;
        font-size: 15px;
    }

    .trust-badges-row {
        flex-direction: column;
        gap: 12px;
    }

    .trust-badge-item {
        width: 100%;
        min-width: auto;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .cta-text h4 {
        font-size: 18px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 16px;
    }

    .decoration-circle {
        display: none;
    }
}

@media (max-width: 576px) {
    .contact-section-2025 {
        padding: 50px 0;
    }

    .section-badge-2025 {
        font-size: 12px;
        padding: 8px 20px;
    }

    .section-title-center {
        font-size: 26px;
    }

    .section-subtitle-center {
        font-size: 14px;
    }

    .info-card-modern {
        padding: 25px 20px;
    }

    .info-icon-box {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-form-box {
        padding: 20px 15px;
    }

    .form-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .form-header h3 {
        font-size: 18px;
    }

    .form-header p {
        font-size: 13px;
    }

    .trust-badges-row {
        padding: 15px;
    }

    .trust-badge-item {
        font-size: 12px;
    }

    .trust-badge-item i {
        font-size: 16px;
    }

    .contact-bottom-cta {
        margin-top: 40px;
    }

    .cta-content > i {
        font-size: 36px;
    }

    .cta-text h4 {
        font-size: 16px;
    }

    .cta-text p {
        font-size: 13px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ========================================
   Hover Effects & Animations
   ======================================== */

.info-card-modern {
    animation: fadeInUp 0.6s ease-out;
}

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

.form-input-modern:hover,
.form-textarea-modern:hover,
select.form-input-modern:hover {
    border-color: rgba(255, 94, 21, 0.3);
}

.submit-button-modern {
    position: relative;
    overflow: hidden;
}

.submit-button-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button-modern:hover::before {
    width: 300px;
    height: 300px;
}

/* Loading State */
.submit-button-modern.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-button-modern.loading span::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Success State */
.form-input-modern.success,
.form-textarea-modern.success {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

/* Error State */
.form-input-modern.error,
.form-textarea-modern.error {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* ========================================
   Accessibility
   ======================================== */

.form-input-modern:focus-visible,
.form-textarea-modern:focus-visible,
select.form-input-modern:focus-visible,
.submit-button-modern:focus-visible,
.cta-button:focus-visible {
    outline: 3px solid #ff5e15;
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .info-card-modern,
    .contact-form-box {
        border: 2px solid #000;
    }
    
    .submit-button-modern,
    .cta-button {
        border: 2px solid #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .decoration-circle {
        animation: none;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .contact-section-2025 {
        background: #fff;
        padding: 20px 0;
    }

    .contact-form-box,
    .info-card-modern {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .submit-button-modern,
    .contact-bottom-cta,
    .decoration-circle {
        display: none;
    }

    .trust-badges-row {
        background: #f5f5f5;
    }
}


/* ========================================
   Form Validation Styles
   ======================================== */

.error-message {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ========================================
   Notification Styles
   ======================================== */

.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    min-width: 320px;
    max-width: 450px;
    transform: translateX(500px);
    opacity: 0;
    transition: all 0.3s ease;
}

.form-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.form-notification.success {
    border-left: 4px solid #28a745;
}

.form-notification.error {
    border-left: 4px solid #dc3545;
}

.form-notification i:first-child {
    font-size: 24px;
    flex-shrink: 0;
}

.form-notification.success i:first-child {
    color: #28a745;
}

.form-notification.error i:first-child {
    color: #dc3545;
}

.form-notification span {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.close-notification {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.close-notification:hover {
    color: #333;
}

/* Mobile Notification */
@media (max-width: 576px) {
    .form-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        padding: 15px 18px;
    }
    
    .form-notification span {
        font-size: 13px;
    }
}
