/* custom.css - Additional Custom Styles */

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

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

/* Badge Styles */
.badge-custom {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Progress Bar */
.progress-custom {
    height: 8px;
    border-radius: 4px;
}

/* Quote Styling */
.blockquote-custom {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    font-style: italic;
}

/* Code Blocks */
.code-block {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

/* Tooltip Enhancement */
.custom-tooltip {
    --bs-tooltip-bg: var(--primary);
    --bs-tooltip-color: white;
}

/* Loader */
.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Form Validation */
.is-valid {
    border-color: var(--success) !important;
}

.is-invalid {
    border-color: var(--danger) !important;
}

/* Accordion Custom */
.accordion-button:not(.collapsed) {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary);
}

/* Table Styling */
.table-custom {
    --bs-table-striped-bg: rgba(52, 152, 219, 0.05);
}

/* Modal Backdrop */
.modal-backdrop-custom {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Toast Notification */
.toast-custom {
    background-color: white;
    border-left: 4px solid var(--primary);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.02);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card .quote {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--primary);
    border-radius: 50%;
}

/* Counters */
.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Shadows */
.shadow-soft {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow-medium {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.shadow-hard {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
}

/* Border Radius */
.rounded-top-left {
    border-top-left-radius: 1rem !important;
}

.rounded-top-right {
    border-top-right-radius: 1rem !important;
}

/* Spacing Utilities */
.mt-6 {
    margin-top: 4rem !important;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Text Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary), #1a252f) !important;
}

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    transition: box-shadow 0.3s ease;
}

/* Focus States */
.focus-shadow:focus {
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25) !important;
}

/* Custom Transitions */
.transition-all {
    transition: all 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* Custom Opacity */
.opacity-10 {
    opacity: 0.1;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

/* Custom Width & Height */
.w-20 {
    width: 20% !important;
}

.h-20 {
    height: 20% !important;
}

/* Z-index Utilities */
.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.z-3 {
    z-index: 3;
}

/* Custom Cursor */
.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

/* Selection Color */
::selection {
    background-color: rgba(52, 152, 219, 0.3);
    color: inherit;
}
