/**
 * Connecting Home - Elementor Widgets Styles
 * Version: 1.0.0
 * Author: Craiber Digital Marketing Agency
 * Year: 2026
 */

/* ========================================
   Base Styles & Typography
   ======================================== */
.ch-hero *,
.ch-features-wrapper *,
.ch-about-section *,
.ch-services-section *,
.ch-treatment-section *,
.ch-founder-section *,
.ch-contact-section * {
    box-sizing: border-box;
}

/* Playfair Display for headings */
.ch-hero-title,
.ch-feature-title,
.ch-about-title,
.ch-services-title,
.ch-service-card h3,
.ch-treatment-title,
.ch-founder-section-title,
.ch-founder-name,
.ch-contact-info h2 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Inter for body text */
.ch-hero-description,
.ch-feature-description,
.ch-about-description,
.ch-services-subtitle,
.ch-service-card p,
.ch-treatment-subtitle,
.ch-treatment-item p,
.ch-founder-title,
.ch-founder-bio,
.ch-contact-info p,
.ch-contact-detail span,
.ch-form-group label,
.ch-form-group input,
.ch-form-group textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========================================
   Hero Section
   ======================================== */
.ch-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.ch-hero-content {
    max-width: 800px;
    z-index: 2;
}

.ch-hero-title {
    font-size: 56px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ch-hero-description {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.ch-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.ch-btn-primary,
.ch-btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ch-btn-primary {
    background: #1a7a6c;
    color: #fff;
}

.ch-btn-primary:hover {
    background: #156459;
    transform: translateY(-2px);
}

.ch-btn-secondary {
    background: #4a5568;
    color: #fff;
}

.ch-btn-secondary:hover {
    background: #3d4655;
    transform: translateY(-2px);
}

/* ========================================
   Features Card
   ======================================== */
.ch-features-wrapper {
    position: relative;
    z-index: 10;
}

.ch-features-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 50px;
    display: grid;
    gap: 40px;
    margin: 0 auto;
}

.ch-features-card.ch-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ch-features-card.ch-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ch-features-card.ch-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ch-feature-item {
    text-align: center;
}

.ch-feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a7a6c;
}

.ch-feature-icon i,
.ch-feature-icon svg {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.ch-feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.ch-feature-description {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   About Section
   ======================================== */
.ch-about-section {
    overflow: hidden;
}

.ch-about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ch-about-container.ch-image-left {
    direction: rtl;
}

.ch-about-container.ch-image-left > * {
    direction: ltr;
}

.ch-about-content {
    padding: 20px 0;
}

.ch-about-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.ch-about-underline {
    width: 50px;
    height: 3px;
    background: #d4a574;
    margin-bottom: 25px;
}

.ch-about-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.ch-about-link {
    color: #1a7a6c;
    font-size: 13px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.ch-about-link:hover {
    color: #156459;
}

.ch-about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Services Section
   ======================================== */
.ch-services-section {
    text-align: center;
}

.ch-services-header {
    margin-bottom: 50px;
}

.ch-services-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.ch-services-underline {
    width: 50px;
    height: 3px;
    background: #1a7a6c;
    margin: 0 auto 15px;
}

.ch-services-subtitle {
    font-size: 14px;
    color: #666;
}

.ch-services-grid {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.ch-services-grid.ch-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ch-services-grid.ch-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ch-services-grid.ch-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ch-service-card {
    text-align: center;
}

.ch-service-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ch-service-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ch-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ch-service-card:hover .ch-service-image img {
    transform: scale(1.1);
}

.ch-service-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.ch-service-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* ========================================
   Treatment Plans Section
   ======================================== */
.ch-treatment-section {
    position: relative;
    overflow: hidden;
}

.ch-treatment-decorative {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    border-radius: 0 0 0 100px;
}

.ch-treatment-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ch-treatment-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.ch-treatment-underline {
    width: 50px;
    height: 3px;
    background: #1a7a6c;
    margin: 0 auto 15px;
}

.ch-treatment-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 50px;
}

.ch-treatment-grid {
    display: grid;
    gap: 40px;
    text-align: left;
}

.ch-treatment-grid.ch-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ch-treatment-grid.ch-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ch-treatment-grid.ch-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ch-treatment-item {
    padding: 10px 0;
}

.ch-treatment-icon {
    margin-bottom: 12px;
    color: #1a7a6c;
}

.ch-treatment-icon i,
.ch-treatment-icon svg {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.ch-treatment-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.ch-treatment-item p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   Founder Section
   ======================================== */
.ch-founder-section {
    text-align: center;
}

.ch-founder-section-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.ch-founder-underline {
    width: 50px;
    height: 3px;
    background: #1a7a6c;
    margin: 0 auto 40px;
}

.ch-founder-card {
    display: inline-block;
    text-align: center;
}

.ch-founder-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ch-founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ch-founder-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.ch-founder-title {
    font-size: 12px;
    color: #1a7a6c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.ch-founder-bio {
    font-size: 14px;
    color: #666;
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.ch-founder-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.ch-founder-social a {
    color: #666;
    transition: color 0.3s ease;
}

.ch-founder-social a:hover {
    color: #1a7a6c;
}

.ch-founder-social svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Contact Section
   ======================================== */
.ch-contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ch-contact-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ch-contact-info {
    padding: 50px 40px;
}

.ch-contact-info h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.ch-contact-underline {
    width: 40px;
    height: 3px;
    background: #1a7a6c;
    margin-bottom: 20px;
}

.ch-contact-info > p {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ch-contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ch-contact-detail svg {
    width: 18px;
    height: 18px;
    color: #1a7a6c;
    flex-shrink: 0;
}

.ch-contact-detail span {
    font-size: 13px;
    color: #333;
}

.ch-contact-form {
    padding: 50px 40px;
    background: #fff;
}

.ch-form-group {
    margin-bottom: 20px;
}

.ch-form-group label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ch-form-group input,
.ch-form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: transparent;
}

.ch-form-group input:focus,
.ch-form-group textarea:focus {
    outline: none;
    border-bottom-color: #1a7a6c;
}

.ch-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.ch-contact-form .ch-btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 14px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .ch-hero-title {
        font-size: 44px;
    }

    .ch-features-card {
        padding: 30px;
        gap: 30px;
    }

    .ch-features-card.ch-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ch-about-container {
        gap: 40px;
    }

    .ch-about-title {
        font-size: 30px;
    }

    .ch-services-grid.ch-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ch-treatment-grid.ch-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ch-hero-title {
        font-size: 36px;
    }

    .ch-hero-description {
        font-size: 14px;
    }

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

    .ch-features-card {
        margin: -60px 20px 0;
    }

    .ch-features-card.ch-columns-2,
    .ch-features-card.ch-columns-3,
    .ch-features-card.ch-columns-4 {
        grid-template-columns: 1fr;
    }

    .ch-about-container,
    .ch-about-container.ch-image-left {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .ch-about-container.ch-image-left .ch-about-image {
        order: 2;
    }

    .ch-about-title {
        font-size: 28px;
    }

    .ch-services-grid.ch-columns-2,
    .ch-services-grid.ch-columns-3,
    .ch-services-grid.ch-columns-4 {
        grid-template-columns: 1fr;
    }

    .ch-treatment-decorative {
        width: 100%;
        height: 100px !important;
        border-radius: 0;
    }

    .ch-treatment-grid.ch-columns-2,
    .ch-treatment-grid.ch-columns-3,
    .ch-treatment-grid.ch-columns-4 {
        grid-template-columns: 1fr;
    }

    .ch-contact-container {
        grid-template-columns: 1fr;
    }

    .ch-contact-info,
    .ch-contact-form {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .ch-hero-title {
        font-size: 28px;
    }

    .ch-features-card {
        padding: 25px 20px;
        margin: -40px 15px 0;
    }

    .ch-about-title {
        font-size: 24px;
    }

    .ch-services-title,
    .ch-treatment-title,
    .ch-founder-section-title {
        font-size: 26px;
    }

    .ch-contact-info h2 {
        font-size: 24px;
    }
}

/* ========================================
   Animation Effects
   ======================================== */
.ch-feature-item,
.ch-service-card,
.ch-treatment-item {
    transition: transform 0.3s ease;
}

.ch-feature-item:hover,
.ch-treatment-item:hover {
    transform: translateY(-5px);
}

.ch-service-card:hover {
    transform: translateY(-8px);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* ========================================
   Mini Hero Banner
   ======================================== */
.ch-mini-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.ch-mini-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    margin: 0;
}

/* ========================================
   Mission Statement
   ======================================== */
.ch-mission-statement {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
}

/* ========================================
   Content with Sidebar Image
   ======================================== */
.ch-content-sidebar {
    overflow: hidden;
}

.ch-content-intro {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.ch-content-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    margin-bottom: 15px;
}

.ch-content-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.ch-content-text p {
    margin-bottom: 15px;
}

.ch-services-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 25px;
}

.ch-services-list {
    display: grid;
    gap: 25px;
}

.ch-services-list.ch-services-cols-1 {
    grid-template-columns: 1fr;
}

.ch-services-list.ch-services-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ch-services-list.ch-services-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ch-service-list-item h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ch-service-list-item p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.ch-sidebar-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   Icon Cards (Mission/Vision/Values)
   ======================================== */
.ch-icon-cards-grid {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
}

.ch-icon-cards-grid.ch-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ch-icon-cards-grid.ch-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ch-icon-cards-grid.ch-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ch-icon-card {
    text-align: center;
    position: relative;
}

.ch-icon-card-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ch-icon-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.ch-icon-card-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ch-icon-card-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
}

/* ========================================
   Bio Section
   ======================================== */
.ch-bio-section {
    overflow: hidden;
}

.ch-bio-container {
    margin: 0 auto;
}

.ch-bio-image img {
    width: 100%;
    height: auto;
}

.ch-bio-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    margin-bottom: 20px;
}

.ch-bio-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ch-bio-text p {
    margin-bottom: 15px;
}

/* ========================================
   Story Block
   ======================================== */
.ch-story-block {
    overflow: hidden;
}

.ch-story-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    margin-bottom: 20px;
}

.ch-story-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ch-story-text p {
    margin-bottom: 15px;
}

.ch-story-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   CTA Dark Section
   ======================================== */
.ch-cta-dark {
    overflow: hidden;
}

.ch-cta-dark-content p {
    margin-bottom: 20px;
}

.ch-cta-dark-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.ch-cta-dark-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   Centered Heading
   ======================================== */
.ch-centered-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
}

.ch-centered-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
}

/* ========================================
   Services Cards (Detailed)
   ======================================== */
.ch-services-cards-section {
    overflow: hidden;
}

.ch-services-cards-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    margin-bottom: 20px;
}

.ch-services-cards-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.ch-services-cards-grid {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
}

.ch-services-cards-grid.ch-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ch-services-cards-grid.ch-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ch-service-detail-card {
    display: flex;
    flex-direction: column;
}

.ch-service-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ch-service-detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ch-service-detail-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    margin-bottom: 15px;
}

.ch-service-detail-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
}

.ch-service-detail-content p {
    margin-bottom: 15px;
}

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

/* ========================================
   Responsive Styles for New Widgets
   ======================================== */
@media (max-width: 1024px) {
    .ch-services-list.ch-services-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ch-icon-cards-grid.ch-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ch-services-cards-grid.ch-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ch-content-sidebar-container {
        flex-direction: column !important;
    }
    
    .ch-content-area,
    .ch-sidebar-image {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .ch-sidebar-image {
        margin-top: 30px;
    }
    
    .ch-services-list.ch-services-cols-2,
    .ch-services-list.ch-services-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .ch-icon-cards-grid.ch-columns-2,
    .ch-icon-cards-grid.ch-columns-3,
    .ch-icon-cards-grid.ch-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .ch-icon-card {
        margin-bottom: 30px;
    }
    
    .ch-bio-container,
    .ch-story-container,
    .ch-cta-dark-container {
        flex-direction: column !important;
    }
    
    .ch-bio-image,
    .ch-bio-content,
    .ch-story-content,
    .ch-story-image,
    .ch-cta-dark-content,
    .ch-cta-dark-image {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .ch-bio-image,
    .ch-story-image,
    .ch-cta-dark-image {
        margin-top: 30px;
    }
    
    .ch-services-cards-grid.ch-columns-2,
    .ch-services-cards-grid.ch-columns-3 {
        grid-template-columns: 1fr;
    }
}
