/* .container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 3px solid #2c3e50;
}

.main-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: normal;
}

.main-header p {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
}

.sections {
    margin-bottom: 6px;
    padding: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    color: #34495e;
    margin-bottom: 10px;
    font-weight: normal;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #3498db;
}

.academy-title:after {
    background-color: #e74c3c;
}

.hospital-title:after {
    background-color: #27ae60;
}

.school-title:after {
    background-color: #9b59b6;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.listing-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.listing-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.listing-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.listing-content {
    padding: 25px;
}

.listing-name {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: bold;
}

.listing-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}


@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .listings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .listing-content {
        padding: 20px;
    }
} */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Crimson+Text:wght@400;600&display=swap');

.main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #8b4513;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #8b4513, #d4af37);
}

.layout-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.layout-title {
    font-family: 'Playfair Display', serif;
    color: #8b4513;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.layout-title::before,
.layout-title::after {
    content: '❦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    font-size: 1.5rem;
}

.layout-title::before {
    left: -50px;
}

.layout-title::after {
    right: -50px;
}

.photo-container {
    position: relative;
    overflow: hidden;
    border: 4px solid #d4af37;
    border-radius: 8px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    background: #fff;
    margin-bottom: 10px;
}

.photo-container:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        inset 0 0 25px rgba(212, 175, 55, 0.2);
    border-color: #b8941f;
}

.photo-container::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    pointer-events: none;
    z-index: 2;
    border-radius: 4px;
}

.photo-container img {
    width: 100%;
    height: 200px;
    /* object-fit: cover; */
    transition: transform 0.4s ease;
}

.photo-container:hover img {
    transform: scale(1.05);
}

.photo-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1rem;
    color: #8b4513;
    text-align: center;
    margin: 10px 0 20px 0;
    padding: 0;
    letter-spacing: 0.5px;
}

#highlight {
    color: blue;
    text-decoration: underline;
}

/* Layout-specific styles */
.main-photo img {
    height: 420px;
    object-fit: contain;
}

@media(max-width:776px) {
    .main-photo img {
        height: auto;
    }

}

.tall-photo img {
    height: 180px;
}

.small-photo img {
    height: 175px;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    color: #8b4513;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.4rem;
    text-align: center;
}

@media (max-width: 768px) {

    .layout-title::before,
    .layout-title::after {
        display: none;
    }

    .photo-container {
        flex-direction: column;
        justify-content: space-between;
    }
}