﻿/* Custom styles for ChildConnect */

/* Base styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #444;
    line-height: 1.6;
    background-color: #f5f7ff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #212529;
}

/* Navbar */
.navbar {
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #4361ee, #3f37c9);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(67, 97, 238, 0.9), rgba(67, 97, 238, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.card-header {
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    border-bottom: none;
}

/* Icon boxes */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

/* Feature cards */
.feature-card {
    border-left: 4px solid #4cc9f0;
}

/* Buttons */
.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
    font-weight: 500;
    letter-spacing: 0.5px;
}

    .btn-primary:hover {
        background-color: #3f37c9;
        border-color: #3f37c9;
        transform: translateY(-2px);
    }

.btn-success {
    background-color: #4bb543;
    border-color: #4bb543;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(67, 97, 238, 0.1);
    color: #4361ee;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(67, 97, 238, 0.25);
}

/* Stats boxes */
.stat-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 0.5rem;
}

/* Team members */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

    .team-member img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-bottom: 1rem;
    }

/* Testimonials */
.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

    .testimonial:before {
        content: "";
        font-family: Georgia, serif;
        font-size: 4rem;
        color: rgba(67, 97, 238, 0.1);
        position: absolute;
        top: 10px;
        left: 10px;
    }

/* Footer */
footer {
    background: linear-gradient(135deg, #212529, #343a40);
    color: white;
    padding: 3rem 0 1rem;
}

    footer a {
        color: #4cc9f0;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: white;
        }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

    .social-icons a:hover {
        background-color: #4cc9f0;
        transform: translateY(-3px);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .stat-box {
        margin-bottom: 1rem;
    }

    .team-member {
        margin-bottom: 2rem;
    }
}
