@media (max-width: 768px) {

    /* Services Section Mobile Adjustments */
    .services-section {
        margin-top: 100px;
        padding: 0 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    /* Pricing Section Mobile Adjustments */
    .pricing-section {
        padding: 40px 15px;
        margin-top: 60px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Services Section Styles */
.services-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #111;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #0e76bc;
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #444;
}

.service-card a {
    font-size: 14px;
    text-decoration: none;
    color: #0e76bc;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0e76bc;
    transition: width 0.3s ease;
}

.service-card:hover a::after {
    width: 100%;
}

.service-card a span {
    margin-left: 5px;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover a span {
    transform: translateX(5px);
}

/* Pricing Section Styles */
.pricing-section {
    text-align: center;
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.pricing-section .subtitle {
    color: #4f76ff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pricing-section .title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 50px;
}

.pricing-section .title span {
    color: #4f76ff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.pricing-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 40px 30px;
    background: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(0.5s + var(--card-index, 0) * 0.1s);
}

.pricing-card:hover {
    transform: translateY(-10px);
    background-color: #3366ff;
    color: white;
    box-shadow: 0 15px 30px rgba(51, 102, 255, 0.2);
}

.pricing-card:hover .price,
.pricing-card:hover .tag,
.pricing-card:hover .features li,
.pricing-card:hover .features li::before {
    color: white;
}

.pricing-card .price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: normal;
    color: #555;
}

.pricing-card .tag {
    background-color: #f2f6ff;
    color: #111;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 500;
    width: fit-content;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover .tag {
    background-color: #3366ff;
    color: white;
    box-shadow: 0 2px 8px rgba(51, 102, 255, 0.2);
}

.pricing-card .tag.blue {
    background-color: #3366ff;
    color: white;
    box-shadow: 0 2px 8px rgba(51, 102, 255, 0.2);
    letter-spacing: 0.5px;
}

.pricing-card.featured:hover .tag.blue {
    background-color: #2851d9;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.pricing-card .features li {
    margin: 12px 0;
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}

.pricing-card .features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #111;
    font-size: 14px;
}

.pricing-card .features li.disabled {
    color: #aaa;
}

.pricing-card .features li.disabled::before {
    color: #ccc;
}

.pricing-card .btn {
    background-color: #111;
    color: white;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #111;
    border-radius: 2px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    background-color: white;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn.white {
    background: white;
    color: #111;
    border: 1px solid #ccc;
}

.pricing-card .btn.white:hover {
    background-color: #111;
    color: white;
    border-color: #111;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background-color: #3366ff;
    color: white;
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 10px 30px rgba(51, 102, 255, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    background-color: #2851d9;
}

.pricing-card.featured .price span,
.pricing-card.featured .features li {
    color: white;
}

.pricing-card.featured .features li.disabled {
    opacity: 0.8;
}

.pricing-card.featured .features li::before {
    color: white;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: white;
    color: #377dff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .footer-col .subscribe-form input[type="email"] {
        width: 100%;
        margin-bottom: 8px;
    }
}