/* ====== COMPONENT-SPECIFIC STYLES ====== */

/* ====== TIMELINE COMPONENTS ====== */

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--main-brand);
    color: var(--dark-shades);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 2rem;
    box-shadow: 0 4px 8px rgba(172, 98, 55, 0.2);
    z-index: 2;
}

.step-content {
    flex: 1;
    background: var(--light-shades);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--main-brand);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.step-content h5 {
    color: var(--main-brand);
    margin-bottom: 0.75rem;
}

/* Timeline for Registration Page */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--main-brand), var(--success-color));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    background: var(--light-shades);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.timeline-duration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--main-brand);
    color: var(--dark-shades);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ====== PRICING CARDS ====== */

.pricing-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card .card-header {
    border-bottom: none;
    font-weight: 600;
}

.pricing-card .price {
    margin: 1.5rem 0;
}

.pricing-card .currency {
    font-size: 1.25rem;
    color: var(--text-muted);
    vertical-align: super;
}

.pricing-card .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-brand);
    line-height: 1;
}

.pricing-card .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

/* ====== SERVICE CARDS ====== */

.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--light-shades);
    box-shadow: var(--shadow);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    color: var(--dark-shades);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Registration Cards */
.registration-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--light-shades);
    box-shadow: var(--shadow);
}

.registration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Audit Cards */
.audit-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--light-shades);
    box-shadow: var(--shadow);
}

.audit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Scheme Cards */
.scheme-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--light-shades);
    box-shadow: var(--shadow);
}

.scheme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scheme-icon {
    transition: transform 0.3s ease;
}

.scheme-card:hover .scheme-icon {
    transform: scale(1.1);
}

/* Document Cards */
.document-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--light-shades);
    box-shadow: var(--shadow);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ====== GALLERY COMPONENTS ====== */

.gallery-image {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ====== BENEFIT ITEMS ====== */

.benefit-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--light-shades);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--main-brand), var(--dark-accent));
    color: var(--dark-shades);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

/* ====== TEAM COMPONENTS ====== */

.team-member {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--light-shades);
    box-shadow: var(--shadow);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 4px solid var(--light-shades);
}

.team-member:hover .member-image {
    border-color: var(--main-brand);
    transform: scale(1.05);
}

.member-social a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: var(--light-accent);
    color: var(--light-shades);
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--main-brand);
    color: var(--dark-shades);
    transform: translateY(-2px);
}

/* ====== ACHIEVEMENT CARDS ====== */

.achievement-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: var(--light-shades);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-number {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ====== TECH CARDS ====== */

.tech-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: var(--light-shades);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}

/* ====== FORM ENHANCEMENTS ====== */

.contact-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--light-shades);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main-brand);
    color: var(--dark-shades);
    border-radius: 8px;
    flex-shrink: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark-shades);
    color: var(--light-shades);
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--main-brand);
    transform: translateY(-2px);
    color: var(--dark-shades);
}

/* ====== ACCORDION ENHANCEMENTS ====== */

.accordion-button {
    background: var(--light-shades);
    color: var(--text-color);
    font-weight: 500;
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background: var(--main-brand);
    color: var(--dark-shades);
}

.accordion-button:not(.collapsed) {
    background: var(--main-brand);
    color: var(--dark-shades);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* ====== BREADCRUMB ENHANCEMENTS ====== */

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--main-brand);
    font-weight: 500;
}

/* ====== MAP CONTAINER ====== */

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

/* ====== INFO WINDOW ====== */

.map-info-window {
    padding: 1rem;
    max-width: 300px;
}

.map-info-window h5 {
    color: var(--main-brand);
    margin-bottom: 0.5rem;
}

.map-info-window p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.map-info-window .btn {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
}

/* ====== NOTIFICATION SYSTEM ====== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-success {
    background: var(--success-color);
}

.notification-error {
    background: var(--danger-color);
}

.notification-warning {
    background: var(--warning-color);
}

.notification-info {
    background: var(--info-color);
}

/* ====== LOADING STATES ====== */

.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--main-brand);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ====== SCROLL TO TOP ====== */

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--main-brand);
    color: var(--dark-shades);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--dark-accent);
    transform: translateY(-3px);
}

/* ====== RESPONSIVE ADJUSTMENTS ====== */

/* Mobile Devices */
@media (max-width: 767.98px) {
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 10px;
        width: 15px;
        height: 15px;
    }
    
    .pricing-card .amount {
        font-size: 2rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-bottom: 1rem;
    }
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .pricing-card .amount {
        font-size: 2.5rem;
    }
}

/* ====== PRINT STYLES ====== */

@media print {
    .process-step,
    .timeline-item,
    .pricing-card,
    .service-card,
    .benefit-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .step-number,
    .timeline-dot {
        background: var(--primary-color) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}