/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: linear-gradient(to right, #f0f0f0, #e6e6e6); /* Soft gradient background */
    color: #333; /* Dark gray text for better readability */
}

/* Home Section */
#home {
    margin-top: 50px;
}

/* Paragraph Styles */
.text p {
    text-align: justify;
    line-height: 1.7;
    word-wrap: break-word;
}

/* Image Hover Effect */
.image img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Heading and Paragraph Styles */
h1 {
    font-family: 'Georgia', serif;
    color: #222; /* Darker shade for headings */
}

p {
    font-family: 'Times New Roman', Times, serif;
    font-size: small;
}

/* Content Layout */
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 150px;
    gap: 20px;
    padding: 20px;
    background: white; /* Clean white background for content */
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Text Section */
.text {
    flex: 1;
    padding-right: 20px;
}

/* Image Section */
.image {
    flex: 1;
    text-align: center;
}

.image img {
    height: 300px;
    width: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Padding */
section {
    padding: 3rem 5%;
    text-align: center;
}

/* Responsive Media Queries */

/* For Laptop Screens */
@media (min-width: 1024px) {
    .content {
        max-width: 90%;
        margin: auto;
    }

    .text p {
        font-size: 1.2rem;
    }

    .image img {
        height: 350px;
    }
}

/* For Tablets and Small Screens */
@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }

    .text {
        padding-right: 0;
        width: 100%;
    }

    .image {
        width: 100%;
    }

    .image img {
        width: 80%;
        height: auto;
    }
}

/* For Mobile Screens */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .text {
        width: 100%;
        text-align: center;
    }

    .image img {
        width: 100%;
        height: auto;
    }

    section {
        padding: 2rem 3%;
}
}
