/* ===================================
   HOMEPAGE PREMIUM DESIGN
   =================================== */

/* Hero Section - Full Screen Impact */
.hero-home {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 120px; /* accommodate taller centered header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
    z-index: 2;
}

.hero-home .container {
    position: relative;
    z-index: 3;
}

.hero-home .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Hero Dot Decorations */
.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(168, 192, 176, 0.6);
    border-radius: 50%;
}

/* Main Title */
.hero-main-title {
    font-size: clamp(2.75rem, 6.5vw, 4.5rem);
    font-weight: 400;
    color: #FFF1EF;
    margin: 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

/* Services List */
.hero-services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.hero-service-name {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: #FFF1EF;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

/* Hero Book Button */
.btn-hero {
    background: rgba(168, 192, 176, 0.85);
    color: #ffffff;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 400;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    background: rgba(168, 192, 176, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-service-name {
        font-size: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }
}

/* Trust Bar Enhancement */
.trust-bar {
    background: #ffffff;
    padding: 3rem 0;
    box-shadow: 0 4px 12px rgba(59, 95, 86, 0.08);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.75rem;
    color: #2B2B2B;
    font-weight: 500;
    font-size: 0.95rem;
}

.trust-badge-logo {
    gap: 1rem;
}

.trust-logo-img {
    height: 28px;
    width: auto;
    opacity: .95;
    filter: none;
    object-fit: contain;
}
.trust-icon {
    width: 24px;
    height: 24px;
    color: var(--deep-sage);
    flex-shrink: 0;
}

/* Services Section Enhancement */
.services-home {
    background: linear-gradient(to bottom, 
        #F7F3EF 0%, 
        rgba(255, 255, 255, 0.5) 100%);
    padding: 5rem 0;
}

.services-home .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Enhanced Service Cards for Homepage */
.services-home .service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(59, 95, 86, 0.08);
    transition: all 0.3s ease;
    border: none;
    display: flex;
    flex-direction: row;
    min-height: 320px;
}

.services-home .service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(59, 95, 86, 0.15);
}

/* Image Column - Left Side */
.service-image-column {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.service-image-column .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-home .service-card:hover .service-image {
    transform: scale(1.08);
}

/* Content Column - Right Side */
.service-content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: #F5F0EB;
    min-width: 0; /* allow content to shrink inside flex row */
}

/* Remove decorative lines on homepage services */
.services-home .title-line-left,
.services-home .title-line-right,
.services-home .service-separator-line { display: none !important; }

/* Service Header with Short Lines */
.service-title-row {
    display: flex;
    flex-direction: column; /* stack for centered layout */
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    text-align: center;
}

.title-line-left,
.title-line-right {
    height: 1px;
    background: var(--deep-sage);
    flex: 1 1 60px;
    min-width: 40px;
    max-width: 120px;
}

.services-home .service-title {
    font-size: 1.75rem;
    color: var(--deep-sage);
    margin: 0;
    flex: 0 1 auto;
    overflow-wrap: anywhere;
    text-align: center;
}

.service-pills-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-left: 0; /* reset from right-aligned */
    justify-content: center; /* center the chips */
}

.service-pills-inline .pill-duration {
    background: #ffffff;
    color: var(--deep-sage);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid var(--deep-sage);
}

.service-pills-inline .pill-price {
    background: var(--gold-accent);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    border: 1.5px solid var(--gold-accent);
}

.service-separator-line {
    height: 1px;
    background: var(--deep-sage);
    width: 100%;
    max-width: 460px;
    margin: 0.5rem 0 1.25rem;
}

/* Service Summary and Button */
.service-content-column .service-summary {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    font-style: italic;
    flex: 1;
}

.service-content-column .btn-learn {
    background: var(--deep-sage);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: center; /* center the CTA under centered content */
}

.service-content-column .btn-learn:hover {
    background: #2E4A43;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .services-home .service-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-image-column {
        flex: 0 0 250px;
    }
    
    .service-title-row { flex-wrap: wrap; gap: 0.75rem; }
    .title-line-left { width: 40px; }
    .title-line-right { width: 40px; }
    
    .services-home .service-title {
        font-size: 1.5rem;
    }
    
    .service-pills-inline {
        width: 100%;
        justify-content: center; /* keep centered on mobile */
    }
}

/* Section Header Improvements */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    color: #3B5F56;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #5a5a5a;
    line-height: 1.7;
}

.divider {
    width: 80px;
    height: 4px;
    background: #3B5F56;
    margin: 1.5rem auto 2rem;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hero-home {
        min-height: 70vh;
    }
    
    .hero-home .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-home .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-home .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 2rem;
    }
    
    .hero-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-service-box h3 {
        font-size: 0.95rem;
    }
    
    .pill-duration,
    .pill-price {
        font-size: 0.8rem;
        padding: 0.35rem 0.85rem;
    }
    
    .hero-service-icon {
        width: 60px;
        height: 60px;
    }
    
    .hero-service-link {
        padding: 1rem 0.5rem;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-home .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
