/* ========== DAILY LIFE PAGE - DAGORETTI SPECIAL SCHOOL ========== */
/* Colors: Green #2F6B3E, White #FFFFFF, Yellow #F5B041, Brown #8B5A2B */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.5;
    color: #2C2B2B;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVIGATION BAR ========== */
.navbar {
    background-color: rgba(47, 107, 62, 0.8);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #F5B041;
    border-bottom: 2px solid #F5B041;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, #2F6B3E 0%, #1F4A2C 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========== SECTIONS ========== */
.section {
    padding: 4rem 0;
}

/* ========== BEHAVIOR SUPPORT PHILOSOPHY ========== */
.behavior-section {
    background: #F9F7F2;
}

.behavior-section .section-title {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.behavior-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #F5B041;
    margin: 8px auto 0 auto;
}

.behavior-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #5A4A3A;
}

.behavior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.behavior-card {
    background: white;
    padding: 1.8rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-bottom: 4px solid #2F6B3E;
}

.behavior-card:hover {
    transform: translateY(-5px);
}

.behavior-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.behavior-card h3 {
    color: #2F6B3E;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.behavior-card p {
    color: #5A4A3A;
    line-height: 1.5;
    font-size: 0.9rem;
}

.behavior-policy {
    background: #FFF9F0;
    border-left: 5px solid #8B5A2B;
    padding: 1.5rem;
    border-radius: 16px;
    max-width: 700px;
    margin: 2rem auto 1rem auto;
}

.behavior-policy h4 {
    color: #8B5A2B;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.behavior-policy ul {
    list-style: none;
    padding: 0;
}

.behavior-policy li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: #5A4A3A;
}

.behavior-note {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* ========== PARENT RESOURCES & WORKSHOPS ========== */
.resources-section {
    background: white;
}

.resources-section .section-title {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.resources-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #F5B041;
    margin: 8px auto 0 auto;
}

.resources-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #5A4A3A;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.resource-card {
    background: #F9F7F2;
    padding: 1.8rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #E8E4DC;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: #2F6B3E;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.resource-card p {
    color: #5A4A3A;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.resource-card ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #5A4A3A;
    font-size: 0.85rem;
}

.resource-card li {
    padding: 0.2rem 0;
}

.resource-tag {
    background: #F5B04120;
    padding: 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #2F6B3E;
    margin-top: 1rem;
}

.resources-contact {
    text-align: center;
    background: #2F6B3E;
    color: white;
    padding: 1.2rem;
    border-radius: 50px;
    max-width: 600px;
    margin: 0 auto;
}

.resources-contact strong {
    color: #F5B041;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #2C2B2B;
    color: #DDD;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.footer-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.footer-grid h4 {
    color: #F5B041;
    margin-bottom: 0.5rem;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid a {
    color: #DDD;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #F5B041;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.8rem;
}

/* ========== DAILY LIFE SECTION - 3 PART LAYOUT ========== */
.daily-life-section {
    padding: 60px 20px;
    background-color: #f5f5f0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.daily-life-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* TOP ROW: Two Columns (Left + Right Cards) */
.top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: stretch;
}

/* PART 1: LEFT CARD STYLES */
.left-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Heading inside left card */
.card-heading {
    font-size: 36px;
    color: #2c5f2d;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 4px solid #ffc107;
    display: inline-block;
}

.left-card .intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.products-heading {
    font-size: 22px;
    color: #2c5f2d;
    margin: 30px 0 10px 0;
    border-left: 4px solid #ffc107;
    padding-left: 15px;
}

.products-heading span {
    font-size: 16px;
    font-weight: normal;
    color: #666;
}

.products-note {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
    font-style: italic;
}

/* PART 2: RIGHT CARD STYLES */
.right-card {
    background: #2c5f2d;
    color: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.right-card-title {
    font-size: 26px;
    margin-bottom: 25px;
    border-bottom: 3px solid #ffc107;
    display: inline-block;
    padding-bottom: 8px;
}

.contact-details p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-details a {
    color: #ffc107;
    text-decoration: none;
    word-break: break-all;
}

.contact-details a:hover {
    text-decoration: underline;
}

.note-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 18px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 4px solid #ffc107;
}

.note-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.mini-support {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.mini-support p {
    font-size: 14px;
    margin-bottom: 10px;
}

.thankyou-small {
    font-size: 16px;
    margin-top: 15px;
}

/* PART 3: PRODUCT GALLERY (Below both cards) */
.product-gallery {
    margin-top: 20px;
}

/* Centered title for Our Student-Made Products */
.gallery-title {
    font-size: 28px;
    color: #2c5f2d;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffc107;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    background-color: #e8e8e8;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-card .product-title {
    font-size: 18px;
    color: #2c5f2d;
    margin: 15px 15px 8px 15px;
}

.product-card .product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 15px 20px 15px;
}

/* Logo Link */
.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-image {
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 0;
        margin-top: 1rem;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        padding: 0.8rem 0;
        border-top: 1px solid #4B8B5A;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .behavior-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .resources-contact {
        margin: 1rem;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .logo-image {
        height: 40px;
    }

    /* Daily life mobile adjustments */
    .daily-life-section {
        padding: 40px 15px;
    }

    .card-heading {
        font-size: 28px;
    }

    .top-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .left-card,
    .right-card {
        padding: 25px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-heading {
        font-size: 20px;
    }

    .right-card-title {
        font-size: 22px;
    }

    .product-image {
        height: 200px;
    }

    .gallery-title {
        font-size: 24px;
    }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .behavior-intro,
    .resources-intro {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .behavior-card {
        padding: 1.2rem;
    }

    .behavior-card h3 {
        font-size: 1.1rem;
    }

    .resource-card {
        padding: 1.2rem;
    }

    .resource-card h3 {
        font-size: 1.1rem;
    }

    .resources-contact {
        font-size: 0.8rem;
    }
}

/* Large Screen Adjustments for Daily Life */
@media (min-width: 1400px) {
    .daily-life-section .container {
        max-width: 1400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== CHALLENGES SECTION - OPTION A ========== */
.challenges-section {
    background: white;
    padding: 4rem 0;
}

.challenges-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    color: #5A4A3A;
    line-height: 1.6;
}

/* ========== NB CALLOUT BOX ========== */
.challenges-callout {
    background: linear-gradient(135deg, #2F6B3E 0%, #1F4A2C 100%);
    color: white;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(47, 107, 62, 0.25);
    border-left: 6px solid #F5B041;
}

.callout-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.callout-content h3 {
    font-size: 1.4rem;
    color: #F5B041;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.callout-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* ========== CHALLENGES GRID ========== */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.challenge-card {
    background: #F9F7F2;
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #8B5A2B;
    display: flex;
    flex-direction: column;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.challenge-full {
    grid-column: 1 / -1;
    max-width: 700px;
    margin: 0 auto;
    border-top-color: #2F6B3E;
}

.challenge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.challenge-card h3 {
    color: #2F6B3E;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.challenge-card p {
    color: #5A4A3A;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.challenge-response {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-top: auto;
    border-left: 3px solid #F5B041;
}

.response-label {
    font-weight: bold;
    color: #2F6B3E;
    display: block;
    font-size: 0.85rem;
}

.response-text {
    color: #5A4A3A;
    font-size: 0.85rem;
}

/* ========== CALL TO ACTION ========== */
.challenges-cta {
    text-align: center;
    background: #F9F7F2;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #E8E4DC;
}

.challenges-cta p {
    font-size: 1.2rem;
    color: #2C2B2B;
    margin-bottom: 1.2rem;
}

.challenges-cta .btn-primary {
    background-color: #2F6B3E;
    color: white;
    border: 2px solid #2F6B3E;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.challenges-cta .btn-primary:hover {
    background-color: #1F4A2C;
    transform: scale(1.02);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .challenge-full {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .challenges-section {
        padding: 2.5rem 0;
    }
    
    .challenges-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .challenges-callout {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .callout-icon {
        font-size: 2.8rem;
    }
    
    .callout-content h3 {
        font-size: 1.1rem;
    }
    
    .callout-content p {
        font-size: 0.9rem;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .challenge-card {
        padding: 1.2rem;
    }
    
    .challenge-full {
        grid-column: 1;
        max-width: 100%;
    }
    
    .challenges-cta {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }
    
    .challenges-cta p {
        font-size: 1rem;
    }
}