/* ============================================
   CHIEDZA CHILD CARE - HOME PAGE CSS
   Page-specific styles
   ============================================ */

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-bg img {
    transform: scale(1);
    animation: zoomOut 8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes zoomOut {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    max-width: 800px;
    text-align: center;
    color: white;
    padding: 3rem;
    z-index: 10;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transform: translate(-50%, -50%) scale(0.95);
}

.slide.active .slide-content {
    animation: glassReveal 8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes glassReveal {
    0% {
        background: rgba(255, 255, 255, 0);
        backdrop-filter: blur(0px);
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0;
    }
    15% {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(3px);
        opacity: 0.5;
    }
    30% {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        transform: translate(-50%, -50%) scale(0.98);
        opacity: 0.8;
    }
    100% {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px);
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.slide-badge {
    display: inline-block;
    background: rgba(244, 185, 66, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e3a2f;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-badge {
    animation: fadeInUp 0.6s ease forwards 0.5s;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-title {
    animation: fadeInUp 0.6s ease forwards 1s;
}

.slide-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-subtitle {
    animation: fadeInUp 0.6s ease forwards 1.5s;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-buttons {
    animation: fadeInUp 0.6s ease forwards 2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(244, 185, 66, 0.9);
    transform: translateY(-50%) scale(1.1);
    color: #1e3a2f;
}

.prev-slide { left: 2rem; }
.next-slide { right: 2rem; }

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: #f4b942;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 20;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Pillars Section */
.pillars-section {
    background: var(--bg-accent);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.pillar-card {
    position: relative;
    padding: 1.8rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pillar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pillar-icon i {
    font-size: 2rem;
}

.pillar-number {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.06;
}

.pillar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pillar-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.pillar-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pillar-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card:hover .pillar-details {
    max-height: 150px;
    margin-top: 1rem;
}

.pillar-details p {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.pillar-stat {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(244, 185, 66, 0.12);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.pillar-stat i {
    margin-right: 0.5rem;
    color: var(--color-secondary);
}

.pillar-heart {
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 3rem;
    opacity: 0.06;
}

/* Heart CTA Section */
.heart-cta {
    background: var(--bg-primary);
}

.cta-wrapper {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.15), rgba(30, 58, 47, 0.08));
    border-radius: var(--radius-xl);
}

.cta-heart {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-wrapper h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Impact Story Section */
.impact-story {
    background: var(--bg-accent);
}

.impact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.impact-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 1rem 0;
}

.impact-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.story-author {
    margin: 1.5rem 0;
}

.story-author strong {
    display: block;
    color: var(--text-dark);
}

.story-author span {
    font-size: 0.85rem;
    color: var(--color-secondary);
}

.impact-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.impact-number-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
}

.impact-number-card .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.impact-number-card .label {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-content {
        padding: 2rem;
        width: 90%;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .impact-numbers {
        order: -1;
    }
    
    .cta-wrapper h2 {
        font-size: 1.8rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-slide { left: 1rem; }
    .next-slide { right: 1rem; }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .impact-numbers {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-wrapper {
        padding: 2rem;
    }
}










/* Model Page Specific Styles */

/* Hero Section */
.model-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, #1a3a28, #0f2a20);
    color: white;
}

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

.model-hero .hero-badge {
    display: inline-block;
    background: rgba(244, 185, 66, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f4b942;
    margin-bottom: 1rem;
}

.model-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.model-hero .hero-title .highlight {
    color: #f4b942;
}

.model-hero .hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Second Chance Section */
.second-chance-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.learning-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.learning-stat-card {
    text-align: center;
    padding: 2rem;
}

.learning-stat-card .stat-icon i {
    font-size: 2.5rem;
    color: #f4b942;
    margin-bottom: 1rem;
}

.learning-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a2f;
}

.learning-stat-card .stat-label {
    font-size: 0.9rem;
    color: #2d5a4a;
}

.learning-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
}

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

.feature-item i {
    font-size: 2rem;
    color: #f4b942;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1e3a2f;
}

.feature-item p {
    font-size: 0.85rem;
    color: #2d5a4a;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-accent);
}

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

.service-card {
    padding: 2rem;
    text-align: center;
}

.service-icon i {
    font-size: 2rem;
    color: #f4b942;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #1e3a2f;
}

.service-card > p {
    font-size: 0.85rem;
    color: #2d5a4a;
    margin-bottom: 1rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feature-tag {
    font-size: 0.75rem;
    color: #4a6658;
    display: inline-block;
}

.feature-tag i {
    font-size: 0.7rem;
    margin-right: 0.3rem;
    color: #f4b942;
}

/* Journey Timeline */
.journey-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.journey-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    background: rgba(244, 185, 66, 0.05);
    transform: translateX(10px);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: #f4b942;
    min-width: 70px;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e3a2f;
}

.step-content p {
    color: #2d5a4a;
}

/* Metrics Section */
.metrics-section {
    padding: 5rem 0;
    background: var(--bg-accent);
}

.metrics-wrapper {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.metrics-content i {
    font-size: 3rem;
    color: #f4b942;
    margin-bottom: 1rem;
}

.metrics-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e3a2f;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-item {
    text-align: center;
}

.metric-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f4b942;
}

.metric-label {
    font-size: 0.8rem;
    color: #2d5a4a;
}

/* Model CTA */
.model-cta {
    padding: 5rem 0;
}

.cta-wrapper {
    text-align: center;
    padding: 3rem;
}

.cta-heart {
    font-size: 3rem;
    color: #f4b942;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .learning-stats-grid,
    .learning-features,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .model-hero .hero-title {
        font-size: 2rem;
    }
    
    .learning-stats-grid,
    .learning-features,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-step {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}


/* Pillars Gallery Section */
.pillars-gallery-section {
    padding: 5rem 0;
    background: var(--bg-accent, linear-gradient(145deg, #eef3ea, #e8f0e7));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: 1rem 1rem 0 0;
}

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

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.overlay-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.overlay-content p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
}

.pillar-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: #2d5a4a;
    margin: 0;
}

/* Success Story Card */
.success-story-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    align-items: center;
}

.success-image {
    border-radius: 1rem;
    overflow: hidden;
    height: 250px;
}

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

.success-image:hover img {
    transform: scale(1.05);
}

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

.success-content i {
    font-size: 2rem;
    color: #f4b942;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.success-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2d5a4a;
    font-style: italic;
    margin-bottom: 1rem;
}

.success-content h4 {
    font-size: 1rem;
    color: #1e3a2f;
    margin-bottom: 0.2rem;
}

.success-content span {
    font-size: 0.8rem;
    color: #f4b942;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .success-story-card {
        grid-template-columns: 1fr;
    }
    
    .success-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .pillars-gallery-section {
        padding: 3rem 0;
    }
    
    .success-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-image {
        height: 180px;
    }
    
    .success-story-card {
        padding: 1rem;
    }
}