/* ===== Services Page Styles ===== */

/* Services Hero Section */
.services-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 20, 60, 0.9) 0%,
        rgba(0, 40, 80, 0.85) 50%,
        rgba(0, 60, 100, 0.8) 100%
    );
    /* z-index: 1; */
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Floating Elements */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.float-element.doc {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-element.check {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.float-element.chart {
    background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%);
    top: 40%;
    right: 20%;
    animation-delay: 2s;
}

.float-element.seal {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

/* Background Elements */
.bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-element {
    position: absolute;
    font-size: 5rem;
    opacity: 0.05;
    animation: drift 20s infinite linear;
}

@keyframes drift {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-50px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(50px) rotate(270deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Services Navigation */
.services-navigation {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.service-nav-item i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--gold);
}

.service-nav-item:hover {
    color: var(--gold);
    background: white;
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.service-nav-item.active {
    background: var(--gold);
    color: var(--blue-dark);
    border-color: var(--gold);
}

.service-nav-item.active i {
    color: var(--blue-dark);
}

/* Service Category Sections */
.service-category-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--gold-light);
    color: var(--gold-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Service Card Styles */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.15);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
}

.service-title {
    font-size: 1.3rem;
    color: var(--blue-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Pricing Styles */
.pricing-container {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.price-label {
    font-size: 0.9rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 1.5rem;
    color: var(--blue);
    font-weight: 700;
}

.price-note {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-top: 5px;
    font-style: italic;
}

/* Category Tags */
.category-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gold-light);
    color: var(--gold-dark);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Table Styles for NCA Services */
.service-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-table .table {
    margin-bottom: 0;
}

.service-table th {
    background: var(--blue);
    color: white;
    border: none;
    padding: 20px;
    font-weight: 600;
}

.service-table td {
    padding: 20px;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.05);
}

.service-table tr:nth-child(even) {
    background: rgba(212, 175, 55, 0.03);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .float-element {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .service-nav-item {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .service-nav-item i {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px;
    }
}

/* Animation for scroll reveal */
.service-card,
.service-table {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.service-table.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add these styles to your existing services.css */

/* Service Actions */
.service-actions {
    display: flex;
    gap: 10px;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Pricing Card in Modal */
.pricing-card {
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '💼';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 6rem;
    opacity: 0.05;
    z-index: 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 51, 102, 0.2);
    position: relative;
    z-index: 1;
}

.price-type {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 500;
}

.price-item .price-amount {
    font-size: 1.2rem;
    color: var(--gold-dark);
    font-weight: 700;
}

/* Service Modal */
.service-modal .modal-content {
    border-radius: 15px;
    border: 2px solid var(--gold);
    overflow: hidden;
}

.service-modal .modal-header {
    border-radius: 13px 13px 0 0;
    padding: 20px 30px;
}

.service-modal .modal-body {
    padding: 30px;
}

.service-modal .modal-footer {
    padding: 20px 30px;
    background: rgba(248, 249, 250, 0.8);
}

/* Background elements for modals */
.modal-backdrop {
    background: rgba(0, 51, 102, 0.8);
}

/* Animation for modal entrance */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.fade .modal-dialog {
    animation: modalSlideIn 0.3s ease-out;
}

/* Responsive adjustments for modals */
@media (max-width: 768px) {
    .service-modal .modal-dialog {
        margin: 10px;
    }
    
    .service-modal .modal-body {
        padding: 20px;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .price-item .price-amount {
        font-size: 1rem;
    }
}

