* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fdfdfd;
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    font-size: 50px;
}

p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(216, 115, 33);
    height: 250px;
    margin-top: 300px;
}

.card {
    background: whitesmoke;
    width: 350px;
    height: 650px;
    margin: 10px;
    border-radius: 15px;
    padding: 30px 30px 30px 30px;
    transition: all 1s;
}

.card:hover {
    transform: scale(1.3);
    background-image: linear-gradient(-225deg, rgb(216, 115, 33) 0%, #e5ddb6 100%);
}

.card-image {
    height: 220px;
    margin-bottom: 20px;
    background-size: cover;
}

.card-1 {
    animation: slide-left;
    animation-duration: 2s;
}

@keyframes slide-left {
    from {
        margin-right: 400px;
    }

    to {
        margin-right: 0px;
    }
}

.card-2 {
    animation: slide-up;
    animation-duration: 2s;
}

@keyframes slide-up {
    from {
        margin-bottom: 400px;
    }

    to {
        margin-bottom: 0px;
    }
}

.card-3 {
    animation: slide-right;
    animation-duration: 2s;
}

@keyframes slide-right {
    from {
        margin-left: 400px;
    }

    to {
        margin-left: 0px;
    }
}

.card-1 h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-2 h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-3 h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-3 p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-1 {
    background-image: url(VaikunthaWEBPAGE/4img-1.jpg);
}

.car-2 {
    background-image: url(VaikunthaWEBPAGE/4img-2.jpg);
}

.car-3 {
    background-image: url(VaikunthaWEBPAGE/4img-3.jpg);
}

.about {
    background: url(VaikunthaWEBPAGE/4img-fade.png) no-repeat;
    background-size: 70%;
    height: 400px;
    background-position: center;
    background-color: #fdfdfd;
    overflow: hidden;
    padding: 100px 0;
    margin-top: 300px;
}

.inner-right {
    height: 420px;
    width: 50%;
    float: right;
    background-color: rgb(255, 255, 255);
    padding: 80px;
    box-shadow: 8px 8px 8px 8px rgba(45, 45, 45, 0.3);
    border-radius: 20px;
    position: relative;
    bottom: 50px;
    right: 40px;

}

.inner-right h1 {
    margin-top: -50px;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
}

.inner-left {
    height: 370px;
    width: 35%;
    float: left;
    background-color: rgb(216, 115, 33);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    left: 50px;
    bottom: 110px;
}

.inner-left-text {
    margin-top: -10px;
    font-size: 60px;
    color: antiquewhite;

}

.text {
    font-size: 15px;
    color: #545454;
    line-height: 27px;
    text-align: justify;
    margin-bottom: 40px;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 20px;
        margin-top: 30px;
    }

    p {
        font-size: 20px;
    }

    .container {
        flex-direction: column;
        height: auto;
        margin-top: 50px;
    }

    .card {
        width: 90%;
        margin: 20px auto;
        height: auto;
    }

    .card:hover {
        transform: scale(1.05);
    }
    
    .card-1, .card-2, .card-3 {
        animation: none;
        margin: 20px auto !important;
    }
    
    @keyframes none {
        from { }
        to { }
    }

    .about {
        background-size: 100%;
        height: 250px;
        margin-top: 50px;
        padding: 50px 0;
        background-position: top center;
        background-repeat: no-repeat;
        overflow: visible;
    }

    .inner-right {
        width: 90%;
        height: auto;
        float: none;
        position: static;
        margin: 20px auto;
        padding: 20px;
        box-shadow: 4px 4px 4px 4px rgba(45, 45, 45, 0.3);
    }

    .inner-right h1 {
        font-size: 24px;
        margin-top: 0;
        text-align: center;
    }

    .inner-left {
        width: 90%;
        height: auto;
        float: none;
        position: static;
        margin: 20px auto;
        padding: 20px;
        text-align: center;
    }

    .inner-left-text {
        font-size: 30px;
        text-align: center;
    }

    .text {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }
}