/* Hero Section and text styles moved to style.css for consistency */

/* Hero Contact Visual - Stylish right-side element */
.hero-contact-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    margin-top: 2rem;
}

.contact-hub {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Central Hub */
.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: hubPulse 3s ease-in-out infinite;
    z-index: 10;
}

.company-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.company-avatar i {
    font-size: 1.5rem;
    color: white;
}

.hub-center h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1;
}

.hub-center span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
}

/* Contact Orbit */
.contact-orbit {
    position: relative;
    width: 100%;
    height: 100%;
    animation: orbitRotate 20s linear infinite;
}

.contact-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: nodeFloat 4s ease-in-out infinite;
}

.contact-node:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.contact-node i {
    font-size: 1.2rem;
    color: white;
}

/* Position nodes around the orbit */
.contact-phone {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.contact-email {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.contact-location {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.contact-chat {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 3s;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    animation: connectionPulse 4s ease-in-out infinite;
}

.line-1 {
    top: 25px;
    left: 50%;
    width: 2px;
    height: 75px;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    right: 25px;
    width: 75px;
    height: 2px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.line-3 {
    bottom: 25px;
    left: 50%;
    width: 2px;
    height: 75px;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.line-4 {
    top: 50%;
    left: 25px;
    width: 75px;
    height: 2px;
    transform: translateY(-50%);
    animation-delay: 3s;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 6s ease-in-out infinite;
}

.floating-icon i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 30%;
    right: 15%;
    animation-delay: 2s;
}

.icon-3 {
    top: 60%;
    left: 5%;
    animation-delay: 4s;
}

/* Tooltips */
.contact-node[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 100;
}

/* Animations */
@keyframes hubPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes nodeFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-15px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(15px) rotate(240deg);
        opacity: 0.8;
    }
}

/* Contact Section */
.contact-section {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    border-radius: 30px 30px 0 0;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--neutral-500);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 1.5rem 1.5rem 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-blue);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-item h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin: 0;
}

.contact-item p {
    color: var(--neutral-600);
    line-height: 1.5;
    margin: 0;
    margin-bottom: 0;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-blue);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

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

.form-label {
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control-modern {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    background: white;
    transition: var(--transition);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control-modern::placeholder {
    color: var(--neutral-400);
}

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

.btn-submit {
    background: var(--gradient-secondary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* Map Section */
.map-section {
    padding: var(--section-padding) 0 0;
    background: var(--neutral-100);
}

.map-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 450px;
    margin-top: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Quick Contact */
.quick-contact {
    background: var(--neutral-900);
    color: white;
    padding: var(--section-padding) 0;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.quick-contact-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.quick-contact-item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 1rem;
}

.quick-contact-item p {
    color: var(--neutral-300);
    margin: 0;
}



/* Status Messages */
.status-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-weight: 500;
}

.status-success {
    background: var(--brand-green-bg);
    color: var(--brand-green);
    border: 1px solid var(--brand-green-light);
}

.status-error {
    background: var(--brand-coral-bg);
    color: var(--brand-coral);
    border: 1px solid var(--brand-coral-light);
}

.loading {
    display: none;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-contact-visual {
        height: 350px;
        margin-top: 3rem;
    }

    .contact-hub {
        width: 250px;
        height: 250px;
    }

    .hub-center {
        width: 100px;
        height: 100px;
    }

    .company-avatar {
        width: 45px;
        height: 45px;
    }

    .company-avatar i {
        font-size: 1.3rem;
    }

    .hub-center h4 {
        font-size: 0.8rem;
    }

    .hub-center span {
        font-size: 0.65rem;
    }

    .contact-node {
        width: 45px;
        height: 45px;
    }

    .contact-node i {
        font-size: 1.1rem;
    }

    .floating-icon {
        width: 30px;
        height: 30px;
    }

    .floating-icon i {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Hero title responsive styles moved to style.css */

    .hero-contact-visual {
        height: 300px;
        margin-top: 2rem;
    }

    .contact-hub {
        width: 200px;
        height: 200px;
    }

    .hub-center {
        width: 80px;
        height: 80px;
    }

    .company-avatar {
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
    }

    .company-avatar i {
        font-size: 1rem;
    }

    .hub-center h4 {
        font-size: 0.7rem;
    }

    .hub-center span {
        font-size: 0.55rem;
    }

    .contact-node {
        width: 35px;
        height: 35px;
    }

    .contact-node i {
        font-size: 0.9rem;
    }

    .floating-icon {
        width: 25px;
        height: 25px;
    }

    .floating-icon i {
        font-size: 0.8rem;
    }

    /* Reduce animation intensity on mobile for better performance */
    .contact-orbit {
        animation-duration: 30s;
    }

    .contact-form {
        padding: 2rem;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}