/* ============================================
   INDEX PAGE - SPECIFIC STYLES
   Fully Responsive - Mobile First
   ============================================ */

/* ============================================
   HERO BANNER
   ============================================ */

.hero-banner {
    position: relative;
    background: linear-gradient(rgba(85, 139, 47, 0.72), rgba(124, 179, 66, 0.55)), var(--site-hero-image, url('/admin/assets/images/tsst-hero.png'));
    background-size: cover;
    background-position: center;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 2.25rem 1rem 2rem;
}

.hero-content {
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    color: white;
}

.hero-content h1{
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.hero-content > p {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
    opacity: 0.95;
    max-width: 36rem;
    line-height: 1.55;
    font-weight: 400;
}

/* Search Box */
.search-box {
    background: white;
    padding: 1.1rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    max-width: 100%;
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,0.35);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.search-form .form-group {
    margin-bottom: 0;
}

.search-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.search-form .form-group label i {
    color: var(--accent);
    font-size: 0.85rem;
}

.search-form .form-group select,
.search-form .form-group input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: var(--transition);
    background: white;
    color: #111;
}

.search-form .form-group select:focus,
.search-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.search-btn {
    background: var(--primary);
    color: white;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.search-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: none;
    box-shadow: var(--shadow-hover);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    padding: 1.75rem 1rem;
    background: #faf7f3;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    text-align: center;
    padding: 1rem 0.65rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.stat-icon {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: var(--primary);
}

.stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.15rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ============================================
   PROFILES SECTION
   ============================================ */

.profiles-section {
    padding: 2.25rem 1rem;
    background: var(--bg-primary);
}

.profiles-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.profile-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #d2c4b4;
}

.profile-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.profile-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.profile-info {
    padding: 1.25rem;
}

.profile-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.profile-id {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.profile-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.profile-detail i {
    color: var(--accent);
    width: 18px;
    font-size: 0.8rem;
}

.profile-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 0.8rem;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.profile-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: 2.25rem 1rem;
    background: #faf7f3;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: #d2c4b4;
}

.service-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.05rem;
    color: white;
    box-shadow: none;
    margin: 0 0 0.85rem;
}

.service-card h3 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.55;
    font-size: 0.86rem;
}

/* ============================================
   SUCCESS STORIES
   ============================================ */

.success-section {
    padding: 2.25rem 1rem;
    background: white;
}

.stories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.story-card {
    background: #faf7f3;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: none;
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
    position: relative;
}

.story-card::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 12px;
    font-size: 2.5rem;
    color: var(--primary);
    font-family: Georgia, serif;
    opacity: 0.15;
}

.story-card:hover {
    transform: none;
    box-shadow: var(--shadow-hover);
}

.story-quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ============================================
   INSPIRATION SECTION
   ============================================ */

.inspiration-section {
    padding: 2.25rem 1rem;
    background: #faf7f3;
}

.inspiration-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.inspiration-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.inspiration-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.inspiration-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.inspiration-content {
    padding: 1.25rem;
}

.inspiration-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.inspiration-date {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.inspiration-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 2.25rem 1rem;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.cta-btn-primary,
.cta-btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-btn-primary {
    background: var(--gold);
    color: #1B2E0F;
    font-weight: 700;
}

.cta-btn-primary:hover {
    background: var(--accent-light);
    color: #1B2E0F;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 216, 53, 0.4);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ============================================
   TABLET (min-width: 576px)
   ============================================ */

@media (min-width: 576px) {
    .hero-banner {
        padding: 2.75rem 1.5rem 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.85rem;
    }
    
    .hero-content > p {
        font-size: 0.95rem;
    }
    
    .search-box {
        padding: 1.25rem;
    }
    
    .search-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    
    .search-btn {
        grid-column: span 2;
        max-width: 220px;
        margin: 0 auto;
    }
    
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.45rem;
    }
    
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .inspiration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: auto;
        max-width: none;
        padding: 0.7rem 1.35rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   TABLET LANDSCAPE (min-width: 768px)
   ============================================ */

@media (min-width: 768px) {
    .hero-banner {
        padding: 3.25rem 2rem 3rem;
        min-height: 0;
    }
    
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .hero-content > p {
        font-size: 0.98rem;
        max-width: 34rem;
    }
    
    .search-box {
        padding: 1.35rem;
        max-width: 720px;
    }
    
    .stats-section {
        padding: 2rem 1.5rem;
    }
    
    .stat-box {
        padding: 1.1rem 0.75rem;
    }
    
    .profiles-section,
    .services-section,
    .success-section,
    .inspiration-section {
        padding: 2.75rem 1.5rem;
    }
    
    .profile-image {
        height: 220px;
    }
    
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .inspiration-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .cta-banner {
        padding: 2.75rem 2rem;
    }
    
    .cta-title {
        font-size: 1.55rem;
    }
}

/* ============================================
   DESKTOP (min-width: 1024px)
   ============================================ */

@media (min-width: 1024px) {
    .hero-banner {
        min-height: 0;
        padding: 3.5rem 2rem 3.25rem;
    }
    
    .hero-content h1 {
        font-size: 2.35rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content > p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        max-width: 38rem;
    }
    
    .search-box {
        max-width: 920px;
        margin-top: 1.15rem;
        padding: 1.15rem 1.25rem;
    }
    
    .search-form {
        grid-template-columns: repeat(4, 1fr) auto;
        align-items: end;
        gap: 0.75rem;
    }
    
    .search-btn {
        grid-column: auto;
        max-width: none;
        width: auto;
        padding: 0.6rem 1.35rem;
        white-space: nowrap;
    }
    
    .stats-section {
        padding: 2.25rem 2rem;
    }
    
    .stat-box {
        padding: 1.15rem 1rem;
    }
    
    .stat-icon {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.72rem;
    }
    
    .profiles-section,
    .services-section,
    .success-section,
    .inspiration-section {
        padding: 3.25rem 2rem;
    }
    
    .profiles-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.1rem;
    }
    
    .profile-image {
        height: 200px;
        font-size: 2.25rem;
    }
    
    .profile-info {
        padding: 1rem;
    }
    
    .profile-name {
        font-size: 1.02rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.1rem;
    }
    
    .service-card {
        padding: 1.35rem 1.2rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.02rem;
    }
    
    .service-card p {
        font-size: 0.84rem;
    }
    
    .stories-grid {
        gap: 1.1rem;
    }
    
    .story-card {
        padding: 1.35rem;
    }
    
    .story-card::before {
        font-size: 2.75rem;
    }
    
    .story-quote {
        font-size: 0.92rem;
        line-height: 1.6;
    }
    
    .author-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .inspiration-image {
        height: 160px;
        font-size: 2rem;
    }
    
    .inspiration-content {
        padding: 1rem;
    }
    
    .inspiration-title {
        font-size: 1.05rem;
    }
    
    .cta-banner {
        padding: 3rem 2rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 0.98rem;
        margin-bottom: 1.35rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   LARGE DESKTOP (min-width: 1200px)
   ============================================ */

@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content > p {
        font-size: 1.02rem;
    }
    
    .search-form .form-group label {
        font-size: 0.8rem;
    }
    
    .search-form .form-group select,
    .search-form .form-group input {
        padding: 0.55rem 0.7rem;
        font-size: 0.88rem;
    }
    
    .search-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.4rem;
    }
}
