/* General Page Styles */
.hero-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #6c757d;
}

/* Card Styles */
.card {
    transition: transform 0.2s ease-in-out;
}

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

.card-body {
    padding: 2rem;
}

/* Feature Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Pricing Styles */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.pricing-toggle .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin: 0 1rem;
}

.pricing-toggle .form-check-label {
    font-size: 1.1rem;
    color: var(--bs-gray-600);
}

.pricing .display-4 {
    font-weight: 700;
    color: #212529;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #dee2e6;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    color: #0d6efd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    position: relative;
    width: calc(50% - 2rem);
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

/* Team Styles */
.team-card {
    padding: 2rem;
}

.team-card img {
    border: 4px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Blog Styles */
.blog-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-section .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

/* Webinar Styles */
.webinar-date {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.webinar-date .h4 {
    color: #0d6efd;
    margin-bottom: 0;
}

/* Community Styles */
.community-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

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

/* CTA Section Styles */
.cta-section {
    background-color: #0d6efd;
    color: #fff;
}

.cta-section .btn-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-date {
        left: 0;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 2rem);
        margin-left: 2rem !important;
    }

    .team-card {
        margin-bottom: 2rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

    .pricing-toggle {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-toggle .form-check-input {
        margin: 0.5rem 0;
    }
}

/* Animation Styles */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Print Styles */
@media print {
    .hero-section,
    .cta-section {
        background-color: #fff !important;
        color: #000 !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }

    .btn {
        display: none !important;
    }

    .back-to-top,
    .pricing-toggle,
    .navbar-toggler {
        display: none !important;
    }

    .accordion-button::after {
        display: none;
    }

    .accordion-collapse {
        display: block !important;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bs-primary-dark);
    transform: translateY(-2px);
}

/* Mobile Navigation */
.nav-open {
    overflow: hidden;
}

.nav-open .navbar-collapse {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    padding: 2rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

/* Dropdown Hover Effect */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Form Validation Styles */
.was-validated .form-control:invalid {
    border-color: var(--bs-danger);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid {
    border-color: var(--bs-success);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Lazy Loading Image Placeholder */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[src] {
    opacity: 1;
}

/* FAQ Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--bs-primary);
}

.accordion-button::after {
    transition: transform 0.2s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* Timeline Animation */
.timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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