/* Buttons and reusable components */

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-highlight);
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyan);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.btn:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: transparent;
}

.btn-secondary {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-highlight-secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    box-shadow: var(--shadow-glow-secondary), var(--shadow-md);
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Parallax effect for section backgrounds */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.glow-effect {
    position: relative;
}
.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cyan);
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-effect:hover::after {
    opacity: 0.4;
}

/* === CARDS === */
/* Base Card */
.card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 2.5rem 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 20px rgba(0, 212, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 212, 176, 0.4);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 1.5rem;
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 108, 225, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.4rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

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

/* === SECTIONS === */
/* Hero Sections */
.hero {
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Feature Sections */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Testimonial Sections */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 8rem;
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: var(--gray-light);
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--gray-dark);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray);
}

/* Pricing Sections */
.pricing-section {
    background-color: var(--light);
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-plan {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
}

.pricing-plan:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.pricing-plan.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-highlight);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius-sm);
}

.plan-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.plan-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--dark);
}

.plan-header p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.plan-price {
    padding: 2rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.plan-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0 2rem;
    margin: 0;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.plan-features i.fa-times {
    color: var(--gray);
}

.plan-cta {
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

/* Button variants */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: white;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* === FAQ COMPONENTS === */
.faq-section {
    padding: 4rem 0;
    background-color: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    background-color: white;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

.faq-question:hover {
    background-color: var(--light);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background: var(--light);
    padding: 0 2rem;
    color: var(--gray-dark);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 500px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.faq-answer p {
    margin: 0 0 1rem 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
} 