/* Modern Contact Page Styles */

/* Enhanced Hero Section */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b9d 100%);
    padding: 140px 0 100px;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Enhanced Contact Section */
.modern-contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #fff5f8 100%);
    position: relative;
    padding: 120px 0;
}

.modern-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 234, 167, 0.08) 0%, transparent 50%);
    animation: backgroundShift 8s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(10px) translateY(10px); }
}

.contact-content {
    position: relative;
    z-index: 2;
}

/* Enhanced Contact Info Items */
.contact-info-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b9d, #6c5ce7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-item:hover::before {
    transform: scaleX(1);
}

.contact-info-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    background: linear-gradient(135deg, #ff6b9d, #6c5ce7);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    position: relative;
}

.contact-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #ff6b9d, #6c5ce7);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 107, 157, 0.1);
    transition: all 0.3s ease;
}

.location-link:hover {
    background: #ff6b9d;
    color: white;
    transform: translateX(5px);
}

.support-note {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* Enhanced Social Media Section */
.social-media-section {
    margin-top: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: white;
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #f77737, #fccc63);
    color: white;
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced Contact Form */
.modern-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 48px;
    transition: all 0.3s ease;
}

.modern-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.modern-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #ff6b9d, #6c5ce7, #ffeaa7);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.form-header h3 {
    background: linear-gradient(135deg, #ff6b9d, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 12px;
    font-size: 1rem;
}

.form-group label i {
    color: #ff6b9d;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.15), 0 8px 25px rgba(255, 107, 157, 0.1);
    transform: translateY(-3px) scale(1.02);
    background: white;
}

.form-input:valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.form-input:focus::placeholder {
    color: #6c757d;
    transform: translateY(-2px);
}

.submit-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff6b9d, #6c5ce7);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    margin-top: 20px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-note {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 16px;
    font-style: italic;
}

/* Enhanced Map Section */
.map-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.map-section .section-header h2 {
    color: white;
    background: linear-gradient(135deg, #ffffff, #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.map-container {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1.2);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-info h4 {
    color: #2d3436;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-info p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.map-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff6b9d;
    color: #ff6b9d;
}

.btn-outline:hover {
    background: #ff6b9d;
    color: white;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(108, 92, 231, 0.05));
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(108, 92, 231, 0.1));
}

.faq-question h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3436;
    margin: 0;
}

.faq-question i {
    color: #ff6b9d;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 32px 24px;
    max-height: 200px;
}

.faq-answer p {
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

/* Animation Classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.animate-fade-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.animate-fade-up-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.6s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Loading Animation */
.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Success Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #28a745;
    stroke-miterlimit: 10;
    margin: 20px auto;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.success-checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #28a745;
    }
}

/* Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

.floating-delayed {
    animation: floating 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Glowing Effect */
.glow-on-hover {
    position: relative;
    overflow: hidden;
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.glow-on-hover:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        gap: 60px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item {
        padding: 20px 24px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 80px;
        min-height: 60vh;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .stat-item {
        padding: 16px 20px;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-form {
        padding: 32px 24px;
    }
    
    .contact-info-item {
        padding: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 20px;
        max-width: none;
    }
    
    .map-container {
        height: 400px;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-answer {
        padding: 0 24px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 24px 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0 60px;
        min-height: 50vh;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .modern-form {
        padding: 24px 16px;
    }
    
    .contact-info-item {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .map-container {
        height: 300px;
        border-radius: 12px;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 16px;
    }
}