/* Services Page Styles */

/* Service Cards */
.info-card {
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card-header {
    background-color: #f8f9fa;
    padding: 2rem;
    border-bottom: 1px solid #eaeaea;
}

.service-card-header .service-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}

.service-card-header .service-subtitle {
    font-size: 1.35rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.4;
}

.service-card-content {
    background-color: #fff;
    padding: 2rem;
}

.service-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444;
}

.service-description ul {
    padding-left: 1.5rem;
    list-style-type: disc;
    margin-top: 1rem;
}

.service-description ul li {
    margin-bottom: 0.75rem;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

.service-detail-content {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
}

/* Service Grid */
.grid-section {
    margin: 3rem 0;
}

.grid-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.grid-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #333;
    display: flex;
    align-items: center;
}

.grid-card h3 i {
    margin-right: 0.75rem;
    color: #cc0000;
    font-size: 1.5rem;
}

.grid-card ul {
    list-style-type: none;
    padding-left: 0.5rem;
    margin-left: 0.5rem;
}

.grid-card li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.5;
}

.grid-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #cc0000;
    font-weight: bold;
}

.and-more-container {
    text-align: center;
    margin: 3rem auto 2rem;
    padding: 2rem;
    position: relative;
    max-width: 600px;
}

.and-more-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #cc0000;
}

.and-more-container:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #cc0000;
}

.and-more {
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 1rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.and-more:before, .and-more:after {
    content: "★";
    color: #cc0000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.and-more:before {
    left: -2rem;
}

.and-more:after {
    right: -2rem;
}

.and-more-container p:last-child {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.and-more-container a {
    color: #cc0000;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.and-more-container a:hover {
    color: #990000;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    margin-bottom: 1.5rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    color: #cc0000;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #990000;
    text-decoration: underline;
}

.breadcrumb-link i {
    margin-right: 0.5rem;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .service-card-header {
        padding: 1.5rem;
    }

    .service-card-header .service-title {
        font-size: 1.75rem;
    }

    .service-card-header .service-subtitle {
        font-size: 1.15rem;
    }

    .service-card-content {
        padding: 1.5rem;
    }

    .info-card .columns.is-vcentered {
        display: block;
    }

    .info-card .columns.is-vcentered .column.is-4,
    .info-card .columns.is-vcentered .column.is-8 {
        width: 100%;
        max-width: 100%;
    }

    .info-card .columns.is-vcentered .column.is-4 {
        margin-bottom: 1.5rem;
    }

    .grid-card h3 {
        font-size: 1.25rem;
    }

    .and-more-container {
        padding: 1.5rem 1rem;
        margin: 2rem auto 1.5rem;
    }

    .and-more {
        font-size: 1.75rem;
    }

    .and-more:before, .and-more:after {
        font-size: 1rem;
    }

    .and-more:before {
        left: -1.5rem;
    }

    .and-more:after {
        right: -1.5rem;
    }

    .and-more-container p:last-child {
        font-size: 1.1rem;
    }

    .breadcrumb-link {
        font-size: 1rem;
    }
}

/* SEO Improvements */
.lined-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

.lined-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #cc0000;
}

/* Category Card Styles */
.category-card-content {
    padding: 1rem 0;
}

.category-description-container {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.category-icon-container {
    flex: 0 0 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
}

.category-icon-container i {
    font-size: 2.5rem;
    color: #cc0000;
}

/* Decorative element styles */
.decorative-element {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
}

.decorative-element:before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 2px dashed #cc0000;
    opacity: 0.7;
    animation: rotate 20s linear infinite;
}

.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cc0000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dot-1 {
    top: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.dot-2 {
    left: 10px;
    animation: pulse 2s ease-in-out infinite 0.6s;
}

.dot-3 {
    right: 10px;
    animation: pulse 2s ease-in-out infinite 1.2s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.category-description {
    flex: 1;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444;
}

.category-description h3 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-description ul {
    padding-left: 1.5rem;
    list-style-type: disc;
    margin-top: 1rem;
}

.category-description ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.category-description ul li strong {
    color: #333;
    font-weight: bold;
}

.service-description strong {
    color: #333;
    font-weight: bold;
}

.category-detail-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-left: 4px solid #cc0000;
}

.category-detail-header {
    background-color: #f5f5f5;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

.category-detail-header .icon {
    margin-right: 0.75rem;
    color: #cc0000;
}

.category-detail-content {
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.category-detail-content p {
    margin-bottom: 1rem;
}

.category-detail-content p:last-child {
    margin-bottom: 0;
}

/* Responsive styles for category cards */
@media screen and (max-width: 768px) {
    .category-description-container {
        flex-direction: column;
        padding: 1.25rem;
    }

    .category-icon-container {
        margin-bottom: 1rem;
        justify-content: flex-start;
    }

    .category-detail-header {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }

    .category-detail-content {
        padding: 1.25rem;
    }
}

/* Accessibility Improvements */
.service-description a:focus,
.grid-card a:focus,
.and-more-container a:focus,
.breadcrumb-link:focus,
.category-description a:focus,
.category-detail-content a:focus {
    outline: 2px solid #cc0000;
    outline-offset: 2px;
}
