.memory-section .row, .row .rev{
    margin-bottom: 6rem;
}
section.about-home {
    background: #fffbfb;
}
.memory-section .memory-image img{
    width: 110%;
    display: block;
    height: 650px;
    object-fit: cover;
    box-shadow: 0px 0px 4px #060606;
    max-width: 107%;
    position: absolute;
}
.memory-section .img {
    width: 58.33333333%;
    position: relative;
}
.memory-section .content {
    width: 41.66666667%;
    position: relative;
    display: flex;
    align-items: center;
}

.memory-section .memory-item {
    position: relative;
    box-shadow: 0px 0px 1px #060606;
    right: 0;
    top: 0px;
    background: #fff;
    min-height: 435px;
    z-index: 1;
    padding: var(--p20);
    height: auto;
}
.memory-section h2{
    font-size: var(--f30);
    margin-bottom: var(--m10);
}
.memory-section h2 a{
    font-family: var(--secondary-font);
}
.memory-section .dot {
    position: absolute;
    right: -2rem;
    bottom: -3.6rem;
    left: auto;
    text-align: end;
    width: fit-content;
}

.memory-section .rev .memory-image img{
    right:0px;
}
.memory-section .row:nth-child(even) .dot {
    left: -2rem;
}

.memory-image {
    height: 650px;
    position: relative;
}
.row.align-items-center {
    margin: 0;
}
section.memory-section a.main-btn {
    display: block;
    width: 150px;
    text-align: center;
}
.memory-content {
    max-height: 405px;
    overflow: hidden;
    margin-bottom: var(--m20);
    height: 100%;
}
.memory-section .memory-content p{
    margin-bottom: 0px;
}
.pagination .active>.page-link{
    background-color: var(--btn-color);
    border-color: var(--btn-color);
    color: var(--white-color);
}
.pagination .page-link{
     color: var(--btn-color);
}
section.about-home .row{
    gap: 30px 0;
}
section.about-home .head-sec h2 {
    margin-bottom: var(--m40);
    text-align: center;
}
section.about-home .row a{
    background-color: var(--white-color);
    box-shadow: 0px 0px 10px #ccc;
    padding: 10px;
    display: block;
    border-radius: 10px;
}
section.about-home .img {
    overflow: hidden;
    border-radius: 10px;
    height: 350px;
}
section.about-home img {
    width: 100%;
    min-height: 300px;
    max-height: 350px;
    object-fit: cover;
    height: 350px;
    object-position: top;
    transition: 0.5s all;
    border-radius: 10px;
}
section.about-home .name {
    margin-top: var(--m20);
    text-align: center;
}
section.about-home .name h2 {
   font-size: var(--f24);
    font-weight: 600;
    height: 31px;
    overflow: hidden;
}
section.about-home .name h6 {
    font-weight: 500;
    margin-bottom: 0px;
}