/* Contact Page Modern Styles */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.dark-mode .contact-hero {
    background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: pulse 2s infinite;
}

.contact-icon i {
    font-size: 36px;
    color: white;
}

.contact-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.contact-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    animation: float 20s infinite ease-in-out;
}

.contact-orb-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.contact-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation-delay: 7s;
}

/* Contact Content */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Contact Info Cards */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.dark-mode .info-card {
    background: #1e293b;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.info-card-icon i {
    font-size: 24px;
    color: white;
}

.info-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.dark-mode .info-card-title {
    color: #f1f5f9;
}

.info-card-content {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.dark-mode .info-card-content {
    color: #94a3b8;
}

.info-card-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card-content a:hover {
    color: #764ba2;
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dark-mode .contact-form-section {
    background: #1e293b;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.dark-mode .form-title {
    color: #f1f5f9;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.dark-mode .form-label {
    color: #cbd5e1;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    background: white;
    transition: all 0.3s ease;
}

.dark-mode .form-input,
.dark-mode .form-textarea {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

.form-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Social Section */
.social-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 20px;
    border-radius: 24px;
    text-align: center;
}

.dark-mode .social-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.social-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}

.dark-mode .social-title {
    color: #f1f5f9;
}

.social-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
}

.dark-mode .social-subtitle {
    color: #94a3b8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.dark-mode .social-link {
    background: #1e293b;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.social-link i {
    font-size: 24px;
}

.social-link.twitter i { color: #1DA1F2; }
.social-link.facebook i { color: #1877F2; }
.social-link.instagram i { color: #E4405F; }
.social-link.linkedin i { color: #0A66C2; }
.social-link.youtube i { color: #FF0000; }
.social-link.github i { color: #333; }
.dark-mode .social-link.github i { color: #f1f5f9; }

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

@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);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Flash Messages */
.flash-messages-container {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.flash-message {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    animation: slideInDown 0.4s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flash-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.flash-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.flash-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.flash-content {
    flex: 1;
}

.flash-text {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.flash-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 32px 24px;
    }
    
    .flash-message {
        padding: 12px 16px;
    }
    
    .flash-text {
        font-size: 14px;
    }
}
