/* ================================
   Guest About Page CSS
   ================================ */

/* --- General Styles --- */
body {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
}

/* --- Section Titles --- */


/* --- About Main Section --- */
.about-main .row,
.about-second .row {
    display: flex;
    flex-direction: column; /* stack vertically by default */
    gap: 30px; /* space between posts */
}

/* For medium screens and up, display in two columns */
@media (min-width: 768px) {
    .about-main .row,
    .about-second .row {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* --- Post Card --- */
.about-main .col-md-6,
.about-second .col-md-6 {
    background-color: transparent;
    padding: 5px;
    margin: 5px auto; /* spacing between stacked cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%; /* make card take 90% of container width */
    max-width: 100%; /* ensure it never exceeds container */
}
/* --- Images --- */
.full-width-image {
    width: 100vw;          /* full viewport width */
    margin-left: calc(-50vw + 58%); /* align to screen edges */
     margin-right: calc(-50vw + 58%); /* align to screen edges */
   
    
}

.full-width-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: brightness(60%); /* lower = darker */
}
    


/* --- Titles --- */
.about-main h4,
.about-second h4 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.1rem;
    margin-bottom: 10px;
    color: #a4d378;
}

/* Make the container able to hold the title inside */
.image-with-title {
    position: relative;
}

/* Title overlay style */
.image-title {
    position: absolute;
    top: 50%;                 /* center vertically */
    left: 50%;                /* center horizontally */
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    font-family: 'Archivo Black', sans-serif;
    text-align: center;
    text-shadow: 0 4px 10px rgba(0,0,0,0.7);
    margin: 0;
    padding: 5px 20px;
    line-height: 1.2;
}



/* --- Paragraphs --- */
.about-main p,
.about-second p {
    font-size: 1.1rem;
    color: #555;
}

/* --- Spacing --- */
.about-main,
.about-second {
    padding: 40px 20px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .about-main .col-md-6,
    .about-second .col-md-6 {
        width: 100%;
    }
}
