/*body {*/
/*    background-color: #f8f5ef;*/
/*    color: #333;*/
/*    font-family: "Segoe UI", sans-serif;*/
/*}*/

/* =========================
   HERO
========================= */

.hero {
    background:
            linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
            url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=1600&auto=format&fit=crop');

    background-size: cover;
    background-position: center;

    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* =========================
   TYPOGRAPHY
========================= */

.section-title {
    color: #7a4b1f;
    font-weight: 700;
}

/* =========================
   CARDS
========================= */

.card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.teacher-card {
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);

    box-shadow:
            0 10px 30px rgba(0,0,0,0.12);
}

/* =========================
   IMAGES
========================= */

.teacher-image-wrapper {
    width: 100%;
    height: 260px;

    border-radius: 14px;
    overflow: hidden;

    background-color: #fffaf2;
    border: 1px solid #ead8bd;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.2rem;
}

.teacher-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.teacher-photo-wrapper {
    width: 100%;
    min-height: 420px;

    border-radius: 18px;
    overflow: hidden;

    background-color: #fffaf2;
    border: 1px solid #ead8bd;

    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;

    object-fit: cover;
    object-position: center;
}

/* =========================
   PLACEHOLDER
========================= */

.teacher-placeholder {
    color: #8b5e34;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.teacher-photo-wrapper .teacher-placeholder {
    font-size: 4rem;
}

/* =========================
   BADGES
========================= */

.badge-soft {
    background-color: #fffaf2;
    color: #7a4b1f;

    border: 1px solid #ead8bd;

    font-weight: 500;

    padding: 0.45rem 0.7rem;
    border-radius: 999px;
}

/* =========================
   BUTTONS
========================= */

.btn-earth {
    background-color: #8b5e34;
    color: white;
    border: none;
}

.btn-earth:hover {
    background-color: #6f4b2b;
    color: white;
}

.filter-btn.active {
    background-color: #8b5e34;
    color: white;
    border-color: #8b5e34;
}

/* =========================
   TIMELINE
========================= */

.timeline {
    position: relative;
    padding-left: 1.5rem;

    border-left: 3px solid #ead8bd;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.8rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: "";

    position: absolute;
    left: calc(-1.5rem - 8px);
    top: 4px;

    width: 14px;
    height: 14px;

    background-color: #8b5e34;

    border-radius: 50%;
    border: 3px solid #f8f5ef;
}

/* =========================
   SEARCH
========================= */

.input-group-text {
    border-radius: 12px 0 0 12px;
}

.form-control {
    border-radius: 0 12px 12px 0;
}

.form-control:focus {
    border-color: #8b5e34;
    box-shadow: 0 0 0 0.2rem rgba(139, 94, 52, 0.15);
}

/* =========================
   LINKS
========================= */

a {
    color: #7a4b1f;
}

a:hover {
    color: #5d3918;
}

/* =========================
   FOOTER
========================= */

/*footer {*/
/*    background-color: #2d2a26;*/
/*    color: #ddd;*/

/*    padding: 30px 0;*/
/*    margin-top: 50px;*/
/*}*/

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {

    .hero {
        padding: 70px 0;
    }

    .teacher-photo-wrapper {
        min-height: 320px;
    }

    .teacher-photo {
        min-height: 320px;
    }
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.3rem;
    }

    .teacher-image-wrapper {
        height: 220px;
    }

    .teacher-photo-wrapper {
        min-height: 280px;
    }

    .teacher-photo {
        min-height: 280px;
    }
}