/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
   
}

header {
    text-align: center;
    padding: 2rem;
    background-color: #ffcc00;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.2rem;
    color: #555;
}

/* About Section */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
}

.about-text {
    width: 60%;
}

.about-img {
    width: 35%;
    text-align: center;
}

.responsive-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Text Animations */
.about-text h2 {
    font-size: 1.8rem;
    color: #ffcc00;
    margin-top: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
}

.about-text p {
    font-size: 1rem;
    color: #333;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
}

/* Scroll-triggered animations */
.scroll-visible h2,
.scroll-visible p {
    opacity: 1;
    transform: translateY(0);
}

/* Image Hover Effect */
.responsive-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-text, .about-img {
        width: 100%;
    }
}


.back{
    text-align: center;
    margin: 20px;
  
    
}

.back button{
    color: white;
    background-color: red;
    border: none;
    font-family: sans-serif;
    cursor: pointer;
    padding: 10px;
    font-size: 1.2rem;
}
