/* Homepage Enhanced Animations and Styles */

/* Hero Animations */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    font-size: 2rem;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: 20%;
    animation-delay: 4s;
    font-size: 2.5rem;
}

.floating-element:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.floating-element:nth-child(5) {
    top: 10%;
    left: 70%;
    animation-delay: 3s;
    font-size: 2.2rem;
}

.main-hero-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
    animation: pulse 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}

/* Contact Section Enhanced */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,105,180,0.1)"/><stop offset="100%" stop-color="rgba(255,105,180,0)"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="300" r="100" fill="url(%23a)"/><circle cx="300" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-info-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.05), rgba(255, 192, 203, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-info-item:hover::before {
    left: 100%;
}

.contact-info-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-left: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
    position: relative;
    z-index: 2;
}

.contact-details h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.contact-visual {
    text-align: center;
    padding: 2rem;
}

.contact-visual-icon {
    font-size: 12rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: contactPulse 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(255, 105, 180, 0.3));
}

@keyframes contactPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 20px rgba(255, 105, 180, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 15px 30px rgba(255, 105, 180, 0.5));
    }
}

.contact-decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact-decorative {
    position: absolute;
    color: rgba(255, 105, 180, 0.1);
    animation: float 8s ease-in-out infinite;
}

.contact-decorative:nth-child(1) {
    top: 10%;
    right: 10%;
    font-size: 2rem;
    animation-delay: 0s;
}

.contact-decorative:nth-child(2) {
    bottom: 20%;
    left: 15%;
    font-size: 1.5rem;
    animation-delay: 2s;
}

.contact-decorative:nth-child(3) {
    top: 50%;
    right: 5%;
    font-size: 1.8rem;
    animation-delay: 4s;
}

/* Responsive Design for Animations */
@media (max-width: 768px) {
    .hero-image {
        height: 300px;
    }
    
    .main-hero-icon {
        font-size: 5rem;
    }
    
    .floating-element {
        font-size: 1.2rem !important;
    }
    
    .contact-visual-icon {
        font-size: 8rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-info-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-left: 1rem;
    }
}

@media (max-width: 576px) {
    .main-hero-icon {
        font-size: 4rem;
    }
    
    .contact-visual-icon {
        font-size: 6rem;
    }
    
    .floating-element {
        font-size: 1rem !important;
    }
}