/* CEICAR - Custom Styles */

* {
    font-family: 'Montserrat', sans-serif;
}

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(45, 55, 72, 0.7) 100%);
}

/* Page Header Overlay */
.page-header-overlay {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(97, 206, 112, 0.8) 100%);
}

/* Text Highlight */
.highlight {
    color: #61ce70;
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(97, 206, 112, 0.3);
}

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

.card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Ticker Animation */
.ticker {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Sticky Header */
.sticky-header {
    transition: all 0.3s ease;
}

.sticky-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Active Navigation Link */
.nav-link.active {
    color: #61ce70;
    font-weight: 600;
}

/* Page Header */
.page-header {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #61ce70;
}

/* Service Detail */
.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(97, 206, 112, 0.1);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

/* Event Card Badge */
.event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #61ce70;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Blog Post Image Overlay */
.blog-post-image {
    position: relative;
    overflow: hidden;
}

.blog-post-image img {
    transition: transform 0.5s ease;
}

.blog-post-image:hover img {
    transform: scale(1.05);
}

/* Stats Counter */
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #61ce70;
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 4rem;
    }
}

/* Testimonial Quote */
.testimonial-quote {
    font-size: 3rem;
    color: #61ce70;
    line-height: 1;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: #61ce70;
    border-color: #61ce70;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #61ce70;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4db85e;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Image Grayscale Effect */
.img-grayscale {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.img-grayscale:hover {
    filter: grayscale(0%);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: #e5e7eb;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #61ce70;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(97, 206, 112, 0.1);
    color: #61ce70;
}

/* Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
