/* Modern Design Improvements for Helper Website */

/* ===== Hero Section Improvements ===== */
#hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

#hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.03), transparent);
    transform: rotate(45deg);
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    color: #333 !important;
    font-weight: 700;
    animation: fadeInUp 1s ease;
    position: relative;
}

#hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

#hero p {
    color: #555 !important;
    font-size: 18px;
    animation: fadeInUp 1.2s ease;
}

#hero .btn-get-started {
    animation: fadeInUp 1.4s ease;
}

#hero .btn-watch-video {
    animation: fadeInUp 1.6s ease;
    color: #333 !important;
}

#hero .hero-img img {
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border-radius: 15px;
}

#hero .hero-img img:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* ===== Header Glassmorphism Effect ===== */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Service Cards Improvements ===== */
.service-item {
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.service-item .icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-item .icon i {
    color: white !important;
    font-size: 24px;
}

.service-item:hover .icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ===== CTA Buttons Animated Gradient ===== */
.btn-get-started,
.btn-read-more,
.cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-get-started:hover,
.btn-read-more:hover,
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white !important;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== Portfolio Items Hover Effects ===== */
.portfolio-item {
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-info {
    background: linear-gradient(to top, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    backdrop-filter: blur(10px);
}

.portfolio-info h4,
.portfolio-info p {
    color: white !important;
}

/* ===== Team Cards Enhancement ===== */
.member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.member .pic {
    overflow: hidden;
    position: relative;
}

.member .pic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member:hover .pic::after {
    opacity: 1;
}

.member .pic img {
    transition: transform 0.5s ease;
}

.member:hover .pic img {
    transform: scale(1.1);
}

/* ===== Features Tabs Enhancement ===== */
.nav-tabs .nav-link {
    background: white;
    border-radius: 10px;
    margin: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-tabs .nav-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    transform: translateY(-3px);
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-color: transparent;
}

.nav-tabs .nav-link h4 {
    margin-bottom: 10px;
}

.nav-tabs .nav-link i {
    font-size: 28px;
}

.nav-tabs .nav-link.active h4,
.nav-tabs .nav-link.active i {
    color: white !important;
}

/* ===== Testimonials Enhancement ===== */
.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.15);
}

.testimonial-item .quote-icon-left,
.testimonial-item .quote-icon-right {
    color: #667eea;
    font-size: 26px;
}

/* ===== FAQ Items Enhancement ===== */
.faq-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.15);
    transform: translateX(5px);
}

.faq-item.faq-active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid #667eea;
}

.faq-icon {
    color: #667eea;
}

/* ===== Footer Enhancement ===== */
#footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-top {
    padding: 60px 0 40px 0;
}

.logo_footer {
    transition: transform 0.3s ease;
}

.logo_footer:hover {
    transform: scale(1.05);
}

/* ===== Contact Form Enhancement ===== */
.php-email-form input,
.php-email-form textarea {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

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

.php-email-form button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 40px;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.php-email-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ===== Info Items Enhancement ===== */
.info-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.info-item i {
    color: #667eea;
    font-size: 32px;
    margin-bottom: 15px;
}

/* ===== Scroll to Top Button Enhancement ===== */
.scroll-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* ===== Section Titles Enhancement ===== */
.section-title h2 {
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* ===== Social Links Enhancement ===== */
.header-social-links a,
.social a {
    transition: all 0.3s ease;
}

.header-social-links a:hover,
.social a:hover {
    transform: translateY(-3px) scale(1.1);
    color: #667eea !important;
}

/* ===== About Section Image Enhancement ===== */
.about img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about img:hover {
    transform: scale(1.02);
}

/* ===== Call to Action Enhancement ===== */
#call-to-action {
    position: relative;
    overflow: hidden;
}

#call-to-action img {
    filter: brightness(0.7);
    transition: transform 0.3s ease;
}

#call-to-action:hover img {
    transform: scale(1.05);
}

/* ===== Loading Animation ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===== Responsive Improvements ===== */
@media (max-width: 768px) {
    .service-item:hover {
        transform: translateY(-5px);
    }

    .portfolio-item:hover {
        transform: translateY(-5px);
    }

    .member:hover {
        transform: translateY(-5px);
    }
}