/* Enhanced Visual Design for Aman Trust Finity Visa Landing Page */

/* Improved Hero Section with Gradient Overlay */
.hero {
    background-image: linear-gradient(rgba(10, 26, 47, 0.85), rgba(10, 26, 47, 0.85)), url('../images/luxury_estate.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease-out;
}

/* Enhanced Buttons with Hover Effects */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.primary-button {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.primary-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.primary-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.primary-button:hover::after {
    left: 100%;
}

/* Enhanced Section Titles */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 60px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* Enhanced Package Cards */
.package-card {
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    background: linear-gradient(145deg, rgba(15, 40, 71, 0.9), rgba(10, 26, 47, 0.95));
}

.package-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.package-icon {
    transition: all 0.5s ease;
}

.package-card:hover .package-icon {
    transform: scale(1.1) rotate(5deg);
}

.package-title {
    position: relative;
    padding-bottom: 15px;
}

.package-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.package-card:hover .package-title::after {
    width: 80px;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.package-card:hover .package-price {
    transform: scale(1.1);
    color: var(--primary-gold);
}

/* Enhanced Trust Badges */
.trust-badges {
    margin: 60px 0;
}

.trust-badge {
    transition: all 0.4s ease;
    padding: 15px;
    border-radius: 10px;
}

.trust-badge:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-badge-icon {
    transition: all 0.4s ease;
}

.trust-badge:hover .trust-badge-icon {
    transform: scale(1.2);
    color: var(--secondary-gold);
}

/* Enhanced Countdown Timer */
.countdown-container {
    background: linear-gradient(145deg, rgba(15, 40, 71, 0.9), rgba(10, 26, 47, 0.95));
    border: 1px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.countdown-value {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.countdown-value::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.countdown-value:hover::after {
    opacity: 1;
}

/* Enhanced FAQ Section */
.faq-item {
    transition: all 0.4s ease;
    margin-bottom: 25px;
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-question {
    background: linear-gradient(145deg, rgba(15, 40, 71, 0.9), rgba(10, 26, 47, 0.95));
    border-left: 3px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(145deg, rgba(20, 50, 90, 0.9), rgba(15, 35, 60, 0.95));
}

.faq-toggle {
    transition: all 0.3s ease;
}

.faq-question:hover .faq-toggle {
    transform: rotate(90deg);
    color: var(--secondary-gold);
}

/* Enhanced Contact Methods */
.contact-method {
    transition: all 0.5s ease;
    transform-style: preserve-3d;
}

.contact-method:hover {
    transform: translateY(-10px) rotateY(5deg);
    background: linear-gradient(145deg, rgba(15, 40, 71, 0.8), rgba(10, 26, 47, 0.9));
    border-color: var(--primary-gold);
}

.contact-icon {
    transition: all 0.5s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.2);
    color: var(--secondary-gold);
}

.contact-button {
    position: relative;
    overflow: hidden;
}

.contact-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.contact-button:hover::after {
    left: 100%;
}

/* Enhanced Footer */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.footer-title {
    position: relative;
}

.footer-title::after {
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after {
    width: 70px;
}

.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    transform: translateX(5px);
}

/* Enhanced WhatsApp Float Button */
.whatsapp-float {
    animation: pulse 2s infinite;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Enhanced Language Switcher */
.language-switcher {
    z-index: 1000;
}

.language-switch {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.language-switch::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.language-switch:hover::after {
    width: 100%;
}

.language-switch.active {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Country Selection */
.country-dropdown {
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-select {
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-select:hover {
    border-color: var(--secondary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.dropdown-arrow {
    transition: all 0.3s ease;
}

.country-dropdown:hover .dropdown-arrow {
    color: var(--secondary-gold);
    transform: translateY(-50%) scale(1.2);
}

/* Enhanced Success Stories */
.success-story {
    transition: all 0.5s ease;
}

.success-story:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.success-story::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--primary-gold) transparent transparent;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-story:hover::after {
    opacity: 1;
}

.video-container {
    transition: all 0.5s ease;
}

.success-story:hover .video-container {
    transform: scale(1.02);
    border-color: var(--secondary-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.success-story-quote {
    position: relative;
    transition: all 0.3s ease;
}

.success-story-quote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 3rem;
    color: var(--primary-gold);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.success-story:hover .success-story-quote::before {
    opacity: 0.6;
    transform: translateY(-5px);
}

/* Responsive Enhancements */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .package-card:hover {
        transform: translateY(-10px) rotateY(0);
    }
    
    .success-story:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .package-card:hover {
        transform: translateY(-5px);
    }
    
    .success-story:hover {
        transform: translateY(-5px);
    }
}
