/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header-container {
    background-color: #008000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    flex-wrap: wrap;
}

.header-container h3 {
    margin: 0;
    font-size: 18px; /* Smaller size for ग्रामपंचायत आळसंद */
    font-weight: normal;
}

.header-container h1 {
    flex: 1;
    text-align: center;
    font-size: 26px; /* Main title is bigger */
    font-weight: bold;
    margin: 0;
}

/* Responsive Image */
.header-container img {
    width: 60px;  /* Smaller image */
    height: auto;
    max-width: 100%;
}

/* Tree Section Layout */
#tree-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Tree Info Container */
.component--cta-image {
    margin: 10px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 90%;
    max-width: 900px;
    transition: transform 0.3s ease;
}

/* Hover Effect */
.component--cta-image:hover {
    transform: scale(1.02);
}

/* Left Image Section */
.component--cta-image__left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.first-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
}

/* Right Text Section */
.component--cta-image__right {
    flex: 1;
    padding: 20px;
}

.component--cta-image__right-wrapper--content {
    text-align: left;
}

h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

p {
    margin: 5px 0;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .component--cta-image {
        flex-direction: column;
        text-align: center;
    }

    .component--cta-image__left, 
    .component--cta-image__right {
        width: 100%;
        padding: 10px;
    }

    .first-image img {
        width: 80%;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }
}

/* Footer (Fixed at Bottom) */
footer {
    background-color: #008000;
    color: white;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

a {
    text-decoration: none;
    color: white;
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    .header-container h3 {
        margin: 5px;
        width: 10px;
        font-size: 10px; /* Even smaller for tiny screens */
    }

    .header-container h1 {
        font-size: 20px; /* Adjust main title */
    }

    .header-container img {
        width: 30px; /* Reduce image size further */
    }
}
