/*
 * Dreams & Designs - Homepage/Front Page Styles
 * Version: 2.0.0
 */

/* ==========================================================================
   Front Page Specific Styles
   ========================================================================== */

/* White Background Sections */
.fp-section-white {
    background: #ffffff;
    padding: 3rem 0;
}

.fp-section-white .section-title {
    color: #000000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.fp-section-white .section-subtitle,
.fp-section-white .icon-box-text,
.fp-section-white .service-description,
.fp-section-white p {
    color: #333333;
}

/* Dark Grey Background Sections */
.fp-section-darkgrey {
    background: #333333;
    padding: 3rem 0;
}

.fp-section-darkgrey .section-title {
    color: #E6E6E6;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.fp-section-darkgrey .section-subtitle,
.fp-section-darkgrey .story-text,
.fp-section-darkgrey .testimonial-text,
.fp-section-darkgrey .testimonial-author,
.fp-section-darkgrey .testimonial-position,
.fp-section-darkgrey p {
    color: #CCCCCC;
}

/* Learning Formats Grid */
.fp-learning-formats .icon-box {
    background: #F2F2F2;
    border: 1px solid #CCCCCC;
}

/* Four Pillars Section */
.four-pillars-section .icon-boxes {
    grid-template-columns: repeat(4, 1fr);
}

/* Our Story Section */
.hero-section-story {
    position: relative;
    height: 70vh;
    min-height: 500px;
    align-items: center;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    color: var(--color-white);
}

.story-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.story-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
}

.story-feature i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.story-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--color-primary-dark);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

/* School Section */
.school-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;	
}

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

.school-feature h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 1rem 0;
}

.school-feature p {
    color: #CCCCCC;
}

/* Contact CTA */
.contact-cta-section {
    background: var(--color-primary-dark);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .four-pillars-section .icon-boxes {
        grid-template-columns: 1fr;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .school-grid {
        grid-template-columns: 1fr;
    }
}