/* Main style file incorporating existing theme */

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #333;
}

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #51A66F;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #51A66F;
}

/* Page Headers */
.page-header {
    /* background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://source.unsplash.com/1600x400/?school,education'); */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('BlueAndWHiteB.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 76px;
    text-align: center;
}

/* Cards and Boxes */
.content-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
}

/* Timeline Style */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: #51A66F;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Form Styling */
.form-control {
    border-radius: 20px;
    padding: 12px 20px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #51A66F;
    box-shadow: 0 0 0 0.2rem rgba(81, 166, 111, 0.25);
}

/* Team Member Cards */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

/* Gallery Grid */
.gallery-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* customizing....................... */
/* 
.team-member {
    padding: 0.5rem 1rem;
}

.team-member h4 {
    margin-bottom: 0rem;
    font-size: 1rem;
}

.team-member .text-muted {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    
}

.team-member p {
    font-size: 0.7rem;
    line-height: 1.6;
    margin-bottom: 0.2rem;
}

.team-member .social-links {

    margin-top: 0.4rem;
} */
/* ............done.......................... */

/* Responsive Design */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
}

@media (max-width: 576px) {
    .page-header {
        height: 200px;
    }
    
    .content-box {
        padding: 20px;
    }
}
