/* Base and Common Styles from gov.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    margin-bottom: 15px;
}

a {
    color: #0066cc;
    text-decoration: none;
}
/* Common elements */
h1 {
    font-size: 28px;
    margin-bottom: 10px;
    border-bottom: 2px solid #4d94ff;
    padding-bottom: 10px;
    display: inline-block;
}

h2 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4d94ff;
}

h3 {
    color: #333;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

a {
    color: #0066cc;
    text-decoration: none;
}

/* Page Specific Styles */
.page-header {
    border-bottom: 2px solid #99ccff;
    color: #0066cc;
    text-align: center;
    padding: 25px 30px;
    margin: 20px auto;
    width: 100%;
}

.breadcrumb {
    font-size: 14px;
    color: #0066cc;
}

.services-content {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.services-intro {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(77, 148, 255, 0.1);
    margin-bottom: 30px;
}

.services-intro h2 {
    color: #333;
    margin-bottom: 15px;
}

.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-category {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(77, 148, 255, 0.1);
}

.service-category h3 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #4d94ff;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-category:hover {
    box-shadow: 0 4px 12px rgba(77, 148, 255, 0.2);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.service-category h3 i {
    color: #333;
}

.service-category ul {
    list-style-type: none;
    padding: 0;
}

.service-category li {
    margin-bottom: 10px;
}

.service-category li a {
    display: block;
    padding: 8px 10px;
    background-color: #e6f2ff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.service-category li a:hover {
    background-color: #b3d9ff;
}

.downloads-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(77, 148, 255, 0.1);
    margin-bottom: 30px;
}

.downloads-section h2 {
    border-bottom: 2px solid #4d94ff;
    padding-bottom: 5px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.download-item {
    background: #e6f2ff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 2px 6px rgba(77, 148, 255, 0.1);
}

.download-item:hover {
    transform: translateY(-5px);
}

.download-item i {
    font-size: 40px;
    color: #4d94ff;
    margin-bottom: 10px;
}

.download-btn {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #218838;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services-categories,
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

.service-details {
    width: 100%;
    background: white;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(77, 148, 255, 0.1);
    overflow: hidden;
    margin: 20px auto;
}

.service-details h2 {
    background: #0066cc;
    color: white;
    padding: 20px 25px;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: left;
}

.service-details h2 i {
    margin-right: 12px;
    font-size: 26px;
}

.service-accordion {
    padding: 10px;
}

.accordion-item {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(77, 148, 255, 0.05);
    border-left: 4px solid #4d94ff;
}

.accordion-item:nth-child(2) {
    border-left-color: #4d94ff;
}

.accordion-item:nth-child(3) {
    border-left-color: #4d94ff;
}

.accordion-header {
    background: #e6f2ff;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #b3d9ff;
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.accordion-icon {
    font-size: 20px;
    font-weight: bold;
    color: #4d94ff;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    padding-left: 20px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
}

.accordion-content-inner {
    padding: 20px;
}

.accordion-item.active .accordion-content {
    max-height: 700px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content h4 {
    color: #333;
    margin: 15px 0 8px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.accordion-content h4:first-child {
    margin-top: 0;
}

.accordion-content h4 i {
    margin-right: 8px;
    color: #4d94ff;
    font-size: 14px;
}

.accordion-content p, 
.accordion-content li {
    color: #333;
    line-height: 1.6;
    font-size: 15px;
    border: 1px solid #e6f2ff;
    border-radius: 5px;
    padding: 10px;
    background: #e6f2ff;
    cursor: pointer;
}

.accordion-content ul {
    padding-left: 20px;
    margin: 10px 0;
}

.accordion-content li {
    margin-bottom: 8px;
    position: relative;
}

.accordion-content li:before {
    content: "";
    color: #4d94ff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media (max-width: 600px) {
    .service-details h2 {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .accordion-header {
        padding: 15px;
    }
    
    .accordion-header h3 {
        font-size: 16px;
    }
    
    .accordion-content-inner {
        padding: 15px;
    }
}