/* ============================================
   CARDCODE - PAGE CONTENT STYLES
   ============================================ */

/* Breadcrumb styling for pages */
.breadcrumb {
    background-color: #ffffff;
    padding: 15px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #d9534f;
    text-decoration: none;
}

.hero {
    background-color: var(--bg-white);
    padding: 30px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
}

.page-content {
    padding: 60px 20px;
    background-color: var(--bg-white);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 28px;
    font-weight: 400;
    margin: 40px 0 20px 0;
    color: var(--text-dark);
}

.content-wrapper h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 30px 0 15px 0;
    color: var(--text-dark);
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-wrapper li {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}

.services-list {
    list-style-type: disc;
}

.features-list {
    list-style-type: none;
    margin-left: 0;
}

.features-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

.link-button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.link-button:hover {
    color: #1557b0;
    border-bottom-color: #1557b0;
}

/* CONTACT FORM STYLES */
.contact-form {
    max-width: 600px;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.full {
    grid-column: 1 / -1;
}

/* FILE INPUT STYLES */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-label {
    display: block;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #ffffff;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.file-input:hover + .file-label {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* CHECKBOX STYLES */
.checkbox-group {
    margin-top: 25px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    position: relative;
    width: auto;
    height: auto;
    margin: 5px 10px 0 0;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-group span {
    flex: 1;
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
    width: 100%;
}

.form-submit:hover {
    background-color: #1557b0;
    box-shadow: var(--shadow-lg);
}

/* TABLE STYLES */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrapper th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.table-wrapper td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.table-wrapper tr:hover {
    background-color: var(--bg-light);
}

/* BLOCKQUOTE STYLES */
blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-light);
}

/* CONTACT PAGE STYLES - NEW LAYOUT */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 60px 0;
}

.info-box {
    background-color: #f5f5f5;
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-box h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #2c5aa0;
}

.info-box p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.info-box a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.info-box a:hover {
    text-decoration: underline;
}

/* FORM SECTION */
.form-section {
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.form-section h2 {
    margin-bottom: 40px;
}

.form-section .contact-form {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

/* MAP FULL WIDTH */
.map-full-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin: 40px 0;
}

.map-full {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-full iframe {
    display: block;
    width: 100%;
}

/* OLD STYLES - DEPRECATED */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 40px 0;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333333;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #2c5aa0;
}

.detail-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.detail-item a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.detail-item a:hover {
    text-decoration: underline;
}

/* MAP IN SIDEBAR */
.detail-map {
    margin-top: 30px;
}

.map-small {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.map-small iframe {
    display: block;
    width: 100%;
    height: 300px;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333333;
}

.form-note {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 10px;
}

/* SERVICES DETAIL STYLES */
.services-detailed {
    margin: 0;
}

.service-detail {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    scroll-margin-top: 100px; /* Offset pro anchor scrolling */
}

.service-detail:first-child {
    padding-top: 0;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail h3 {
    margin-bottom: 20px;
    color: #333333;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.service-detail p {
    color: #666666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
}

/* PROCESS LIST STYLES */
.process-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
}

.process-list li {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.8;
}

.process-list strong {
    color: var(--text-dark);
}

/* FAQ STYLES */
.faq {
    margin: 40px 0;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 14px;
}

/* RESPONSIVE PAGE CONTENT */
@media (max-width: 768px) {
    .page-content {
        padding: 40px 20px;
    }

    .content-wrapper h2 {
        font-size: 24px;
    }

    .content-wrapper h3 {
        font-size: 18px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 30px 15px;
    }

    .content-wrapper h2 {
        font-size: 20px;
    }

    .content-wrapper h3 {
        font-size: 16px;
    }

    .content-wrapper p {
        font-size: 14px;
    }

    .contact-form {
        padding: 15px;
    }

    .table-wrapper {
        font-size: 14px;
    }

    .table-wrapper th,
    .table-wrapper td {
        padding: 8px;
    }
}
