/* ===================================
   ATTRACTIVE WEBSITE ENHANCEMENTS
   Modern, Eye-catching Design Updates
   =================================== */

/* ========== CALL NOW BUTTON - SUPER ATTRACTIVE ========== */

/* Pulse animation for Call Now button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Enhanced Call Now Button in Header */
.btn-call {
    position: relative;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    padding: 0.7rem 1.8rem !important;
    font-weight: 700 !important;
    white-space: nowrap;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    overflow: hidden;
    color: white !important;
    text-decoration: none;
}

.btn-call::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;
}

.btn-call:hover::before {
    left: 100%;
}

.btn-call:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.6);
    animation: none; /* Stop pulse on hover */
    color: white !important;
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
}

.btn-call:active {
    transform: translateY(0) scale(0.98);
}

/* ========== FLOATING CONTACT BUTTONS - SUPER ATTRACTIVE ========== */

/* Pulse animation for floating buttons */
@keyframes floatPulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 102, 255, 0.5);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.floating-btn {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    position: relative;
    animation: floatPulse 3s infinite ease-in-out;
}

/* Ripple effect on floating buttons */
.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:hover::before {
    width: 80px;
    height: 80px;
    opacity: 0;
}

.floating-btn svg {
    width: 32px !important;
    height: 32px !important;
    fill: currentColor;
    position: relative;
    z-index: 1;
}

.floating-btn:hover {
    transform: scale(1.15) rotate(5deg);
    animation: bounce 0.6s ease;
}

.floating-btn:active {
    transform: scale(0.95);
}

/* Enhanced Call Button */
.floating-btn.call {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.floating-btn.call:hover {
    box-shadow: 0 8px 35px rgba(0, 102, 255, 0.6);
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
}

/* Enhanced WhatsApp Button */
.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.floating-btn.whatsapp:hover {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #1da851 0%, #128c3f 100%);
}

/* Add notification badge (optional - for future use) */
.floating-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

/* ========== BUTTONS GENERAL ENHANCEMENTS ========== */

.btn {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    color: white !important;
    text-decoration: none;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.btn:active {
    transform: translateY(-1px);
}

/* Primary Button Enhancement */
.btn-primary {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.5);
    color: white !important;
}

/* Gradient Button Enhancement */
.btn-gradient {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    color: white !important;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #0052cc 0%, #00b3e6 100%);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.5);
    transform: translateY(-3px) scale(1.02);
    color: white !important;
}

/* Secondary Button Enhancement */
.btn-secondary {
    color: white !important;
}

.btn-secondary:hover {
    color: white !important;
}

/* Ensure SVG icons in buttons are white */
.btn svg,
.btn-call svg,
.btn-primary svg,
.btn-gradient svg,
.btn-secondary svg {
    fill: white !important;
}

/* ========== CARD ENHANCEMENTS ========== */

.service-card,
.package-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.service-card::before,
.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 204, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
    z-index: -1;
}

.service-card:hover::before,
.package-card:hover::before {
    opacity: 1;
}

.service-card:hover,
.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Featured Package Extra Shine */
.package-card.featured {
    border: 2px solid #0066ff;
    position: relative;
    overflow: hidden;
}

.package-card.featured::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 102, 255, 0.1),
        transparent
    );
    animation: shine 3s infinite;
}

/* ========== HERO SECTION ENHANCEMENTS ========== */

.hero {
    position: relative;
    overflow: hidden;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

/* Hero stats enhancement */
.hero-stats {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
}

/* ========== SECTION ANIMATIONS ========== */

.section-header {
    animation: fadeInUp 0.8s ease-out;
}

/* ========== LOCATION LINKS ENHANCEMENT ========== */

.location-link {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.location-link:hover::before {
    width: 100%;
}

.location-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.2);
    color: #0066ff;
}

/* ========== LOGO ENHANCEMENT ========== */

.logo-img {
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 5px 10px rgba(0, 102, 255, 0.3));
}

/* ========== NAVIGATION ENHANCEMENTS ========== */

.nav-menu a {
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

/* ========== SMOOTH SCROLL BEHAVIOR ========== */

html {
    scroll-behavior: smooth;
}

/* ========== LOADING SPINNER (Optional) ========== */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0066ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* ========== MOBILE RESPONSIVENESS ========== */

@media (max-width: 768px) {
    .floating-btn {
        width: 55px !important;
        height: 55px !important;
    }
    
    .floating-btn svg {
        width: 26px !important;
        height: 26px !important;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 15px;
    }
    
    .btn-call {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem;
    }
}

/* ========== ACCESSIBILITY ========== */

/* Focus states for keyboard navigation */
.btn:focus,
.floating-btn:focus,
.btn-call:focus {
    outline: 3px solid rgba(0, 102, 255, 0.5);
    outline-offset: 3px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
