/* ========================================
   CONTACT PAGE - Modern Professional Design
   ======================================== */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #001F3F 0%, #0A1628 100%);
    overflow: hidden;
}

.contact-hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-gradient-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0066FF 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat 8s infinite ease-in-out;
}

.hero-gradient-orb.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #00B8FF 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: orbFloat 8s infinite ease-in-out 2s;
}

.hero-gradient-orb.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6B8CFF 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation: orbFloat 8s infinite ease-in-out 4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.contact-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: rgba(0, 184, 255, 0.15);
    border: 1px solid rgba(0, 184, 255, 0.3);
    border-radius: 50px;
    color: #00D4FF;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #00D4FF;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.contact-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.title-line {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
}

.title-highlight {
    background: linear-gradient(135deg, #00B8FF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CONTACT MAIN SECTION
   ======================================== */

.contact-main-section {
    padding: 6rem 0;
    background: #F9FAFB;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

/* ========================================
   CONTACT INFORMATION
   ======================================== */

.contact-info-section {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-info-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #6B7280;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    transition: all 0.3s;
}

.info-card:hover {
    border-color: #0066FF;
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.12);
    transform: translateY(-4px);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0066FF 0%, #00B8FF 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.info-card:hover .info-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-card-content {
    flex: 1;
}

.info-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.info-card-text {
    font-size: 1rem;
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-card-subtext {
    font-size: 0.875rem;
    color: #6B7280;
}

/* Social Section */
.contact-social-section {
    padding: 2rem;
    background: linear-gradient(135deg, #E6F2FF 0%, #F9FAFB 100%);
    border-radius: 16px;
    border-left: 4px solid #0066FF;
}

.social-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
}

.social-link-contact {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066FF;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #E5E7EB;
}

.social-link-contact:hover {
    background: linear-gradient(135deg, #0066FF 0%, #00B8FF 100%);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form-section {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Alerts */
.alert {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #D1FAE5;
    border: 2px solid #10B981;
}

.alert-error {
    background: #FEE2E2;
    border: 2px solid #EF4444;
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-success .alert-icon {
    color: #10B981;
}

.alert-error .alert-icon {
    color: #EF4444;
}

.alert-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.alert-success .alert-title {
    color: #065F46;
}

.alert-error .alert-title {
    color: #991B1B;
}

.alert-text {
    font-size: 0.9375rem;
}

.alert-success .alert-text {
    color: #047857;
}

.alert-error .alert-text {
    color: #B91C1C;
}

/* Form Card */
.form-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.08);
    border: 2px solid #E5E7EB;
}

.form-header {
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

.form-subtitle {
    font-size: 1rem;
    color: #6B7280;
}

/* Form Elements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.form-label i {
    color: #0066FF;
}

.required {
    color: #EF4444;
}

.form-input,
.form-textarea {
    padding: 1rem 1.25rem;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #111827;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0066FF;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Inquiry Type Grid */
.inquiry-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.inquiry-type-option {
    position: relative;
    cursor: pointer;
}

.inquiry-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
}

.option-content i {
    font-size: 1.5rem;
    color: #6B7280;
    transition: all 0.3s;
}

.option-content span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.inquiry-type-option input[type="radio"]:checked + .option-content {
    background: linear-gradient(135deg, #0066FF 0%, #00B8FF 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.inquiry-type-option input[type="radio"]:checked + .option-content i,
.inquiry-type-option input[type="radio"]:checked + .option-content span {
    color: #FFFFFF;
}

/* Submit Button */
.form-actions {
    margin-top: 1rem;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #0066FF 0%, #00B8FF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading .btn-icon {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   MAP SECTION
   ======================================== */

.map-section {
    padding: 6rem 0;
    background: #FFFFFF;
}

.map-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.map-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

.map-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.12);
    animation: fadeIn 0.8s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .contact-layout {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .inquiry-type-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 4rem;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .contact-main-section {
        padding: 4rem 0;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-social-links {
        flex-wrap: wrap;
    }
    
    .map-section {
        padding: 4rem 0;
    }
    
    .map-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .title-line {
        font-size: 1.75rem;
    }
    
    .contact-hero-description {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-card-icon {
        margin: 0 auto;
    }
}