167 lines
2.7 KiB
CSS
167 lines
2.7 KiB
CSS
.section {
|
|
padding: 80px 0;
|
|
background: #fff;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 1.1fr 0.9fr;
|
|
gap: 6rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Left - Dark Green Card */
|
|
.leftCard {
|
|
background-color: var(--color-primary); /* #014d33 */
|
|
border-radius: 20px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: stretch;
|
|
min-height: 380px;
|
|
}
|
|
|
|
.cardContent {
|
|
padding: 3.5rem 3rem;
|
|
width: 55%;
|
|
max-width: 400px;
|
|
color: #fff;
|
|
z-index: 2;
|
|
}
|
|
|
|
.cardTitle {
|
|
font-family: var(--font-serif);
|
|
font-size: 2.4rem;
|
|
line-height: 1.2;
|
|
margin-bottom: 1.5rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.cardDescription {
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.btnExplore {
|
|
display: inline-block;
|
|
background-color: var(--color-secondary);
|
|
color: #fff;
|
|
padding: 0.8rem 2rem;
|
|
border-radius: 30px;
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btnExplore:hover {
|
|
background-color: var(--color-secondary-hover);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(217, 156, 67, 0.4);
|
|
}
|
|
|
|
.cardImageWrap {
|
|
position: absolute;
|
|
right: -70px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 280px;
|
|
height: 85%;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 15px 30px rgba(0,0,0,0.3);
|
|
z-index: 3;
|
|
}
|
|
|
|
.cardImage {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
/* Right - Text Content */
|
|
.rightContent {
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
.stepCircle {
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: var(--color-secondary);
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.rightTitle {
|
|
font-family: var(--font-serif);
|
|
font-size: 2.4rem;
|
|
color: var(--color-primary);
|
|
line-height: 1.2;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.rightDescription {
|
|
font-size: 1.05rem;
|
|
color: var(--color-text-medium);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 4rem;
|
|
}
|
|
|
|
.leftCard {
|
|
margin-right: 40px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.leftCard {
|
|
flex-direction: column;
|
|
margin-right: 0;
|
|
min-height: auto;
|
|
}
|
|
|
|
.cardContent {
|
|
width: 100%;
|
|
padding: 2.5rem 2rem 150px;
|
|
}
|
|
|
|
.cardImageWrap {
|
|
position: absolute;
|
|
right: 50%;
|
|
transform: translateX(50%);
|
|
bottom: -60px;
|
|
top: auto;
|
|
width: 85%;
|
|
height: 200px;
|
|
}
|
|
|
|
.rightContent {
|
|
padding-right: 0;
|
|
margin-top: 3rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.section {
|
|
padding: 40px 0;
|
|
}
|
|
}
|