.hover-scale:hover {
transform: scale(1.05);
}
.hero-sections {
overflow: hidden;
}
.hero-img {
width: 100%;
object-fit: cover;
}
.hero-title {
font-size: 3rem;
}
.item-desc {
font-size:14px;
opacity:0;
height:0;
overflow:hidden;
transition:0.3s;
}
.cancer-item:hover .item-desc,
.cancer-item.active .item-desc {
opacity:1;
height:auto;
margin-top:6px;
}
.cancer-item.active {
background:rgba(255,255,255,0.25);
}
.feature-list li::before {
content: "";
position: absolute;
left: 0;
top: 6px;
width: 20px;
height: 20px;
background-image: url(https://dramitchakraborty.com/wp-content/uploads/2025/11/Vector-3-5.svg);
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
.feature-list li {
font-size: 16px;
color: #3E3B3C;
margin-bottom: 12px;
position: relative;
padding-left: 30px;
font-weight: 500;
}
.risk-card {
background: rgba(255, 255, 255, 0.07);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 22px;
backdrop-filter: blur(6px);
transition: 0.3s;
text-align:left;
}
.risk-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.30);
}
.risk-card h5 {
color: #fff;
}
.risk-card ul li {
font-size: 16px;
opacity: 0.9;
color: #fff;
}
.diag-card {
border-radius: 22px;
overflow: hidden;
}
.diag-img {
width: 100%;
object-fit: cover;
border-radius: 22px;
}
.diag-overlay {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 20px;
color: #fff;
text-align: left;
background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}
.diag-overlay h4 {
margin: 0;
font-size: 24px;
font-weight: 400;
}
.diag-overlay p {
margin: 5px 0 0;
font-size: 17px;
opacity: 0.9;
}
.faq-section {
padding: 60px 0;
}
.faq-image img {
border-radius: 18px;
width: 100%;
}
.faq-title {
font-size: 40px;
font-weight: 700;
color: #A6012D;
margin-bottom: 25px;
}
.my-faq-accordion .my-faq-item {
border: none;
border-bottom: 1px solid #ddd;
padding: 15px 0;
}
.my-faq-button {
background: none !important;
box-shadow: none !important;
font-size: 22px;
font-weight: 400;
padding-left: 0;
padding-right: 0;
width: 100%;
text-align: left;
position: relative;
}
.my-faq-button:not(.collapsed) {
color: #8b0030;
}
.my-faq-button::after {
content: "+";
font-size: 20px;
font-weight: 600;
background: #b30034;
color: #fff;
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-left: auto;
}
.my-faq-button:not(.collapsed)::after {
content: "−";
background: #e7bbc8;
color: #8b0030;
}
.my-faq-body {
padding-left: 0;
padding-right: 40px;
font-size: 15px;
color: #444;
}
.my-faq-button {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
width: 100% !important;
padding-right: 10px !important;
border: none !important;
} @media (max-width: 576px) {   
.diag-overlay h4 {
font-size: 18px;
}
}
@media (max-width: 768px) {
.hero-img {
height: 500px;
}
.hero-title {
font-size: 2rem;
padding: 0 15px;
line-height: 1.3;
width: 90%;
}
}
@media (max-width: 1024px) {
.timeline-right {
padding-left: 60px !important;
}
.timeline-left {
text-align: left;
padding-left: 25px !important;
}
.title {
font-size: 27px;
font-weight: 400;
margin-bottom: 8px;
}
.desc-title {
font-size: 20px !important;
font-weight: 400 !important;
margin-bottom: 5px !important;
}
}
@media(max-width: 767px) {
.timeline-item {
display: flex;
flex-direction: row-reverse;
}
.timeline-item .timeline-left {
text-align: left !important;
padding-left: 105px !important;
padding-right: 5px !important;
margin-bottom: 20px;
}
.title {
font-size: 23px;
font-weight: 400;
margin-bottom: 5px;
}
.timeline-item .timeline-right {
text-align: left !important;
padding-right: 5px !important;
padding-left: 105px !important;
}
.timeline-left, .timeline-right {
text-align: left !important;
padding: 0 !important;
}
.timeline-icon {
position: absolute;
left: 16px;
margin-bottom: 20px;
transform: none;
}
.timeline-line {
display: block;
left : 40px
}
}
@media (max-width: 767px) {
.my-faq-button {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
width: 100% !important;
font-size: 22px !important;
padding-right: 10px !important;
border: none !important;
}
.my-faq-button::after {
margin-left: auto !important;
flex-shrink: 0 !important;
}    
}
.treatment-card {
position: relative;
overflow: hidden;
border-radius: 25px;
height: 360px;
cursor: pointer;
transition: all .4s ease;
} .image-wrap {
height: 100%;
overflow: hidden;
border-radius: 25px;
}
.image-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform .6s ease;
}
.treatment-card:hover img {
transform: scale(1.1);
} .small-title {
position: absolute;
bottom: 18px;
width: 100%;
color: white;
text-align: center;
text-shadow: 0 0 6px black;
padding: 0 5px;
font-size: 18px;
transition: opacity .4s ease;
} .arrow-btn.small {
position: absolute;
top: 15px;
right: 15px;
background: #C20A28;
color: #fff;
padding: 10px 13px;
border-radius: 50px;
font-size: 16px;
z-index: 5;
transition: opacity .4s ease;
} .expanded-box {
position: absolute;
inset: 0;
padding: 25px;
display: flex;
flex-direction: column;
justify-content: flex-end;
background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
opacity: 0;
transition: opacity .5s ease;
} .expanded-box .arrow-btn {
background: white;
color: #A3132F;
padding: 10px 20px;
border-radius: 40px;
align-self: flex-start;
margin-bottom: auto;
} .treatment-card:hover .small-title,
.treatment-card:hover .arrow-btn.small {
opacity: 0;
} .treatment-card:hover .expanded-box {
opacity: 1;
}