/* ===================================
   SERVICES ADMINISTRATIFS PAGE
   =================================== */

/* Hero Section */
.services-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.services-hero .hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-content {
    text-align: left;
}

.services-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 15px 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.3rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-content {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: 400px;
}

.hero-image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(231, 76, 60, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Services Menu Section */
.services-menu-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.services-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-sticky {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-sticky h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.services-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 500;
}

.service-nav-link i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-nav-link:hover,
.service-nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: translateX(5px);
}

.service-nav-link:hover i,
.service-nav-link.active i {
    color: var(--white);
}

/* Main Content */
.services-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-section {
    scroll-margin-top: 100px;
}

.section-header-admin {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.section-header-admin i {
    font-size: 2rem;
    color: var(--primary-color);
}

.section-header-admin h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Service Cards */
.service-card-admin {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card-admin:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h3 i {
    font-size: 1.4rem;
}

.badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 25px;
}

.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.info-item:hover {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item > i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.info-item ul {
    margin: 0;
    padding-left: 0;
}

.info-item li {
    color: var(--text-light);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.info-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-hero .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text-content {
        text-align: center;
    }

    .hero-features {
        align-items: center;
    }

    .hero-image-content {
        height: 350px;
    }

    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-sidebar {
        position: relative;
        top: 0;
    }

    .services-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-nav-link {
        flex: 1 1 calc(50% - 10px);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 60px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .hero-image-content {
        height: 280px;
    }

    .feature-item {
        font-size: 0.95rem;
    }

    .section-header-admin h2 {
        font-size: 1.5rem;
    }

    .section-header-admin i {
        font-size: 1.5rem;
    }

    .service-nav-link {
        flex: 1 1 100%;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .info-item {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 100px 0 40px;
    }

    .services-hero h1 {
        font-size: 1.6rem;
    }

    .services-hero p {
        font-size: 0.9rem;
    }

    .hero-image-content {
        height: 220px;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    .feature-item i {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .sidebar-sticky {
        padding: 20px;
    }

    .sidebar-sticky h3 {
        font-size: 1.1rem;
    }

    .service-nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .section-header-admin h2 {
        font-size: 1.3rem;
    }

    .card-header h3 {
        font-size: 1rem;
    }

    .card-body {
        padding: 18px;
    }

    .info-item {
        padding: 12px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }
}

/* Smooth Scroll Animation */
.service-card-admin {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card-admin:nth-child(1) { animation-delay: 0.1s; }
.service-card-admin:nth-child(2) { animation-delay: 0.2s; }
.service-card-admin:nth-child(3) { animation-delay: 0.3s; }
.service-card-admin:nth-child(4) { animation-delay: 0.4s; }

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