/* ========== CONTACT PAGE STYLES ========== */

/* Contact Hero Section */
.contact-hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #0b5fa5, #1a5fb4, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    color: white;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 0),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 2px, transparent 0),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 0),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 0);
    background-size: 300px 300px;
    animation: floatParticles 20s infinite linear;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-300px) translateX(300px);
    }
}

.contact-hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.contact-hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

.contact-hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1.1s;
}

.contact-hero-stats {
    display: flex;
    gap: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1.4s;
}

.contact-stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #fff, #e69aff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.contact-hero-visual {
    position: relative;
    z-index: 2;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-icon {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    animation: pulse 3s infinite;
    z-index: 3;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.contact-hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.contact-hero-orbits {
    position: relative;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: orbitRotate 20s infinite linear;
}

.orbit-1 {
    width: 300px;
    height: 300px;
    animation-duration: 25s;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 100px;
    height: 100px;
    animation-duration: 15s;
}

@keyframes orbitRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Contact Main Section */
.contact-main {
    padding: 100px 5%;
    background: #f8fbff;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

/* Contact Information Section */
.contact-info-section {
    position: sticky;
    top: 100px;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0b5fa5;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-50px);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-method:hover {
    transform: translateX(-40px) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0b5fa5, #02a7d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-method-content {
    flex: 1;
}

.contact-method-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.contact-method-content > p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-method-details {
    margin-bottom: 25px;
}

.phone-number, .email-address, .office-address, .office-hours, .demo-info, .demo-duration {
    margin-bottom: 12px;
}

.phone-number strong, .email-address strong, .office-address strong, .office-hours strong, .demo-info strong, .demo-duration strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.phone-number span, .email-address span, .office-address span, .office-hours span, .demo-info span, .demo-duration span {
    color: #0b5fa5;
    font-weight: 500;
    line-height: 1.5;
}

.contact-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #0b5fa5, #02a7d9);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 95, 165, 0.3);
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
    padding: 50px;
    opacity: 0;
    transform: translateX(50px);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b5fa5;
    margin-bottom: 15px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #eef2f7;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0b5fa5;
    background: white;
    box-shadow: 0 0 0 3px rgba(11, 95, 165, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
    color: #666;
}

.submit-btn {
    padding: 18px;
    background: linear-gradient(135deg, #0b5fa5, #02a7d9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 95, 165, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.response-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

/* Map Section */
.map-section {
    padding: 100px 5%;
    background: white;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.map-placeholder {
    background: linear-gradient(135deg, #0b5fa5, #1a5fb4);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.map-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.map-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.map-content p {
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.map-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.map-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.office-details {
    opacity: 0;
    transform: translateY(30px);
}

.office-details h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #0b5fa5;
}

.office-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5fa5;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 5%;
    background: #f8fbff;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fbff;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #0b5fa5;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    background: linear-gradient(135deg, #0b5fa5, #1a5fb4);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(30px);
}

.faq-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #0b5fa5;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
    .contact-hero-title {
        font-size: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info-section {
        position: static;
    }
    
    .contact-method:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 992px) {
    .contact-hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 5% 50px;
    }
    
    .contact-hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .contact-hero-visual {
        width: 300px;
        height: 300px;
    }
    
    .contact-hero-icon {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }
    
    .orbit-1 {
        width: 250px;
        height: 250px;
    }
    
    .orbit-2 {
        width: 170px;
        height: 170px;
    }
    
    .orbit-3 {
        width: 90px;
        height: 90px;
    }
    
    .contact-hero-stats {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-container {
        padding: 30px 25px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .faq-cta {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-method {
        padding: 25px 20px;
    }
    
    .contact-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .map-btn {
        justify-content: center;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-cta {
        padding: 30px 25px;
    }
    
    .faq-cta h3 {
        font-size: 1.6rem;
    }
}