﻿

.parallax {
    position: relative;
    height: 500px; /* Height of the parallax section */
    background-image: url('http://terawasta.eduteksolutions.in/bulidsnap.jpg'); /* Background image */
    background-attachment: fixed; /* Parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
}

.container .image-column, .container .text-column {
    width: 48%; /* Make them each take up about half the container */
}

/* Card content positioned over the parallax */
.mycard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 90%; /* Increase width to 90% */
    max-width: 800px; /* Set a max-width for the card */
    background-color: rgba(255, 255, 255, 0.5); /* White with 50% transparency */
    
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #333;
    text-align: center;
}


/* Image section inside .image-column */
.image-column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; 
}


.text-column {
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    border-radius: 8px;
}

    .text-column h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .text-column p {
        font-size: 1.2rem;
    }
