/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333333;
    text-align: center;  
    overflow-x: hidden;
}


/* Hero Section */
.activity-heading-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/activitiesbg.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.activity-heading-text {
    color: white;
    font-size: 4rem;
    letter-spacing: 2px;
    /* text-align: center; */
    transition: transform 0.3s ease-in-out;
}

.activity-heading-text:hover {
    transform: scale(1.5);
}


.activity-quote {
    font-family: 'Lobster', cursive;
    font-size: 1.8em;
    text-align: center;
    color: red;
    margin: 20px auto;
    padding: 0 20px;
    max-width: 800px;
}

.activity-description {
    text-align: center;
    margin-top: 10px;
    font-size: 1.2em;
    color: #666;
}

/* Content Wrapper */
.activity-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
}

.activity-image-container {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.activity-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.6s;
    border-radius: 8px;
}

.activity-image-container:hover img {
    transform: rotateY(180deg);
}

.activity-text-container {
    flex: 1;
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    margin: 0 20px;
}

.activity-text-container:hover {
    background-color: #f9c74f;
}

.activity-additional-info {
    padding: 20px;
    background-color: #ADD8E6;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.activity-additional-info p {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    padding: 15px;
    border-radius: 4px;
}

/* Cow Care Section */
.activity-cow-care-section {
    padding: 20px;
}

.activity-cow-care-section h1 {
    font-size: 2.5em;
    color: #333;
    margin: 30px 0;
}

.activity-content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px auto;
    width: 80%;
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
}

/* Collage Section */
.activity-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* Two columns */
    grid-template-rows: repeat(2, auto);  /* Two rows */
    gap: 10px;
    width: 55%;
    margin: 0 auto;
}

.activity-collage img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.big-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* Takes up both rows */
}

.small-image-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.small-image-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.activity-six-mothers-container {
    width: 40%;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    margin: 20px auto;
}

.activity-six-mothers-container:hover {
    background-color: #00a94f;
    color: white;
}

.activity-six-mothers-container ul {
    list-style: none;
    padding: 0;
    font-size: 1.2em;
}

.activity-six-mothers-container ul li {
    margin-bottom: 10px;
}

/* Paragraph Section */
.activity-paragraph-container {
    background-color: #ADD8E6;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    text-align: center;
}

.activity-paragraph-container p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
}

/* Media Queries for Responsive Design */

/* For Tablets and Smaller Screens */
@media (max-width: 768px) {
    .activity-heading-text {
        font-size: 2.5rem;
    }

    .activity-main-section {
        padding: 15px;
    }

    .activity-quote {
        font-size: 1.5em;
        padding: 0 15px;
    }

    .activity-description {
        font-size: 1em;
    }

    .activity-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .activity-text-container {
        margin: 20px 0;
    }

    .activity-collage {
        width: 90%;
        grid-template-columns: 1fr; /* Single column layout */
        grid-template-rows: repeat(3, auto); /* Three rows */
    }

    .activity-six-mothers-container {
        width: 90%;
    }
}

/* For Mobile Phones */
@media (max-width: 480px) {
    .activity-heading-text {
        font-size: 1.8rem;
    }

    .activity-main-section {
        padding: 10px;
    }

    .activity-quote {
        font-size: 1.2em;
        padding: 0 10px;
    }

    .activity-description {
        font-size: 0.9em;
    }

    .activity-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .activity-text-container {
        margin: 10px 0;
        padding: 15px;
    }

    .activity-collage {
        width: 100%;
        grid-template-columns: 1fr; /* Single column layout */
        grid-template-rows: repeat(6, auto); /* Six rows */
    }

    .activity-six-mothers-container {
        width: 100%;
    }

    .activity-paragraph-container {
        padding: 20px;
    }

    .activity-paragraph-container p {
        font-size: 1em;
    }
}
