/* ==========================================================================
   Company Page Styles
   ========================================================================== */

/* No Sidebar Layout */
.l-wrapper.no-sidebar {
    display: block;
    padding: 0 !important;
    margin: 0 !important;
}

.l-wrapper.no-sidebar .l-main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
}

/* Remove any parent padding */
body.page-template-page-company .l-wrapper.no-sidebar,
body.page-template-page-company .l-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Full width sections */
.company-strengths,
.company-info,
.company-history,
.company-services,
.company-access,
.company-faq,
.company-related-new {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

@media screen and (max-width: 768px) {
    .company-strengths,
    .company-info,
    .company-history,
    .company-services,
    .company-access,
    .company-faq,
    .company-related-new {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 640px) {
    .company-strengths,
    .company-info,
    .company-history,
    .company-services,
    .company-access,
    .company-faq,
    .company-related-new {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Wrapper for company page */
.company-stats .wrapper,
.company-strengths .wrapper,
.company-info .wrapper,
.company-history .wrapper,
.company-services .wrapper,
.company-access .wrapper,
.company-faq .wrapper,
.company-cta .wrapper,
.company-related .wrapper,
.company-related-new .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    .company-stats .wrapper,
    .company-strengths .wrapper,
    .company-info .wrapper,
    .company-history .wrapper,
    .company-services .wrapper,
    .company-access .wrapper,
    .company-faq .wrapper,
    .company-cta .wrapper,
    .company-related .wrapper,
    .company-related-new .wrapper {
        padding: 0 15px;
    }
}

@media screen and (max-width: 640px) {
    .company-stats .wrapper,
    .company-strengths .wrapper,
    .company-info .wrapper,
    .company-history .wrapper,
    .company-services .wrapper,
    .company-access .wrapper,
    .company-faq .wrapper,
    .company-cta .wrapper,
    .company-related .wrapper,
    .company-related-new .wrapper {
        padding: 0 15px;
    }
}

/* Section Title */
.company-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.company-section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #18499d;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.company-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #18499d, #1cafdd);
    border-radius: 2px;
}

.company-section-lead {
    font-size: 1.5rem;
    color: #666;
    margin-top: 20px;
}

/* Stats Section */
.company-stats {
    background: linear-gradient(135deg, #18499d 0%, #1cafdd 100%);
    padding: 60px 0;
    margin-bottom: 60px;
}

.company-stats .company-section-title h2 {
    color: #fff;
}

.company-stats .company-section-title h2::after {
    background: rgba(255, 255, 255, 0.5);
}

.company-stats .company-section-lead {
    color: rgba(255, 255, 255, 0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.stats-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stats-number {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: 'Lato', sans-serif;
}

.stats-unit {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.stats-label {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* Strengths Section */
.company-strengths {
    padding: 60px 0;
    background: #fff;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media screen and (max-width: 1200px) {
    .strengths-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}

.strength-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.strength-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(24, 73, 157, 0.08);
    font-family: 'Lato', sans-serif;
}

.strength-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.strength-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #18499d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.strength-text {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.7;
}

/* Company Info Section */
.company-info {
    padding: 60px 0;
}

.company-table-modern {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.company-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.company-row:last-child {
    border-bottom: none;
}

.company-row dt {
    width: 200px;
    flex-shrink: 0;
    padding: 20px 25px;
    background: #f8f9fa;
    font-weight: 700;
    color: #18499d;
    font-size: 1.4rem;
}

.company-row dd {
    flex: 1;
    padding: 20px 25px;
    font-size: 1.4rem;
    line-height: 1.8;
}

@media screen and (max-width: 640px) {
    .company-row {
        flex-direction: column;
    }

    .company-row dt {
        width: 100%;
        padding: 15px 20px;
    }

    .company-row dd {
        padding: 15px 20px;
    }
}

.company-row dd a {
    color: #1cafdd;
    text-decoration: none;
    transition: color 0.3s;
}

.company-row dd a:hover {
    color: #18499d;
    text-decoration: underline;
}

.tel-link {
    font-size: 1.6rem;
    font-weight: 700;
}

.map-link-inline {
    display: inline-block;
    margin-top: 5px;
}

.business-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.business-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1cafdd;
    font-weight: bold;
}

.business-list li a {
    color: #333;
}

.business-list li a:hover {
    color: #1cafdd;
}

.area-text {
    margin-bottom: 10px;
}

.area-link {
    display: inline-block;
}

.license-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.license-list-modern li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.license-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #18499d;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
}

.license-badge.cert {
    background: #28a745;
}

/* Award Section */
.award-section {
    margin-top: 40px;
}

.award-title {
    font-size: 2rem;
    font-weight: 700;
    color: #18499d;
    text-align: center;
    margin-bottom: 30px;
}

.award-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.award-item {
    text-align: center;
    max-width: 200px;
}

.award-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.award-item img:hover {
    transform: scale(1.05);
}

.award-caption {
    font-size: 1.3rem;
    color: #666;
    margin-top: 10px;
}

/* History Section */
.company-history {
    padding: 60px 0;
    background: #f8f9fa;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #18499d, #1cafdd);
}

@media screen and (max-width: 640px) {
    .history-timeline::before {
        left: 20px;
    }
}

.history-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.history-item::before {
    content: '';
    position: absolute;
    left: 72px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #1cafdd;
    border-radius: 50%;
    z-index: 1;
}

@media screen and (max-width: 640px) {
    .history-item::before {
        left: 12px;
    }
}

.history-year {
    width: 60px;
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #18499d;
    text-align: right;
}

@media screen and (max-width: 640px) {
    .history-item {
        flex-direction: column;
        padding-left: 50px;
        gap: 10px;
    }

    .history-year {
        width: auto;
        text-align: left;
    }
}

.history-content {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-left: 30px;
}

@media screen and (max-width: 640px) {
    .history-content {
        margin-left: 0;
    }
}

.history-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #18499d;
    margin-bottom: 10px;
}

.history-content p {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.7;
}

/* Services Section */
.company-services {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media screen and (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #1cafdd;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #18499d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-text {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-link {
    font-size: 1.3rem;
    color: #1cafdd;
    font-weight: 600;
}

/* Access Section */
.company-access {
    padding: 60px 0;
    background: #fff;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media screen and (max-width: 900px) {
    .map-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .map-grid {
        grid-template-columns: 1fr;
    }
}

.map-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.map-card-header {
    padding: 15px 20px;
    background: #18499d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #ff6b35;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
}

.map-badge.main {
    background: #ff6b35;
}

.map-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.map-card-body {
    padding: 0;
}

.map-card-body iframe {
    display: block;
}

.map-card-address {
    padding: 15px 20px;
    font-style: normal;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #666;
}

.map-card-address p {
    margin: 0;
}

.map-card-link {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    color: #1cafdd;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

.map-card-link:hover {
    background: #1cafdd;
    color: #fff;
}

/* FAQ Section */
.company-faq {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    transition: background 0.3s;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #18499d;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-icon.answer {
    background: #1cafdd;
}

.faq-answer {
    padding: 0 25px 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.faq-answer p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #666;
}

.faq-answer a {
    color: #1cafdd;
}

.faq-more {
    text-align: center;
    margin-top: 30px;
}

.faq-more-link {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #18499d;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #18499d;
    border-radius: 50px;
    transition: all 0.3s;
}

.faq-more-link:hover {
    background: #18499d;
    color: #fff;
}

/* CTA Section */
.company-cta {
    background: linear-gradient(135deg, #18499d 0%, #1cafdd 100%);
    padding: 60px 0;
}

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

.cta-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-tel {
    background: #fff;
    color: #18499d;
}

.cta-btn-tel:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-tel .cta-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-btn-tel .cta-btn-text small {
    font-size: 1.1rem;
    font-weight: 400;
}

.cta-btn-line {
    background: #06c755;
    color: #fff;
}

.cta-btn-line:hover {
    background: #05b04a;
    transform: scale(1.05);
}

.cta-btn-mail {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-btn-mail:hover {
    background: #fff;
    color: #18499d;
}

.cta-btn-icon {
    font-size: 1.8rem;
}

@media screen and (max-width: 640px) {
    .cta-title {
        font-size: 2rem;
    }

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

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

/* Related Pages Section - Warm & Friendly Design */
.company-related-new {
    padding: 60px 0;
    background: #faf8f5;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (max-width: 900px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #e8e4df;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #1cafdd;
}

.related-card-inner {
    padding: 25px 20px;
    position: relative;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .related-card-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 15px 18px;
        gap: 15px;
    }
    
    .related-card-label,
    .related-card-title,
    .related-card-desc {
        display: block;
        flex: 0 0 auto;
    }
    
    .related-card-label {
        margin-bottom: 4px;
    }
    
    .related-card-title {
        margin-bottom: 5px;
    }
    
    .related-card-desc {
        margin-bottom: 0;
    }
    
    .related-card-arrow {
        flex-shrink: 0;
        margin-left: auto;
    }
}

.related-card-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: #0f489f;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-family: 'Lato', sans-serif;
}

@media screen and (max-width: 640px) {
    .related-card-label {
        margin-bottom: 4px;
        font-size: 0.9rem;
    }
}

.related-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}

@media screen and (max-width: 640px) {
    .related-card-title {
        font-size: 1.5rem;
        margin: 0 0 5px;
    }
}

.related-card-desc {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.5;
}

@media screen and (max-width: 640px) {
    .related-card-desc {
        font-size: 1.1rem;
        margin: 0;
        line-height: 1.4;
    }
}

.related-card-arrow {
    display: inline-block;
    font-size: 1.4rem;
    color: #1cafdd;
    font-weight: 700;
    transition: all 0.3s ease;
}

@media screen and (max-width: 640px) {
    .related-card-arrow {
        font-size: 1.6rem;
        flex-shrink: 0;
    }
}

.related-card:hover .related-card-arrow {
    transform: translateX(5px);
}

@media screen and (max-width: 640px) {
    .related-links {
        flex-direction: column;
        align-items: center;
    }

    .related-links a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
