2026-01-12 18:07:17 +05:30

636 lines
11 KiB
CSS

/* Page Wrapper */
.page {
animation: fadeIn 0.6s ease-out;
background-color: var(--background);
color: var(--text-primary);
padding-top: 5rem;
}
.container {
max-width: 1280px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* --- Hero Section (Ref: Inner Banner from About) --- */
.hero {
padding: 8rem 0;
text-align: center;
background-image: url('/hero-inner-bg.png');
/* Use same image as About */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
/* Overlay for text readability */
}
.heroContent {
position: relative;
z-index: 1;
max-width: 900px;
margin: 0 auto;
}
.heroTitle {
font-size: clamp(2.5rem, 6vw, 4rem);
font-weight: 800;
margin-bottom: 1rem;
line-height: 1.2;
color: #fff;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.breadcrumbs {
font-size: 1rem;
color: rgba(255, 255, 255, 0.9);
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.breadcrumbs a {
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
transition: color 0.3s ease;
}
.breadcrumbs a:hover {
color: #fff;
}
.breadcrumbs span {
color: #fff;
font-weight: 600;
}
/* --- Section 1: About (Icons) --- */
.aboutSection {
padding: 4rem 0;
background: #fff;
}
.aboutGrid {
display: grid;
grid-template-columns: 1fr;
gap: 4rem;
align-items: center;
}
@media (min-width: 992px) {
.aboutGrid {
grid-template-columns: 1fr 1fr;
}
}
.aboutImages {
position: relative;
min-height: 500px;
}
.aboutMainImgWrapper {
position: absolute;
top: 0;
left: 0;
width: 80%;
height: 85%;
z-index: 1;
border-radius: 12px;
overflow: hidden;
}
.aboutSubImgWrapper {
position: absolute;
bottom: 0;
right: 0;
width: 55%;
height: 50%;
z-index: 2;
border: 8px solid #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.aboutContent {
padding-left: 1rem;
}
.sectionSubtitle {
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 2px;
color: var(--primary);
margin-bottom: 1rem;
display: block;
font-weight: 600;
}
.sectionTitle {
font-size: clamp(2rem, 4vw, 3rem);
line-height: 1.2;
margin-bottom: 1.5rem;
color: var(--text-primary);
font-weight: 700;
}
.aboutDescription {
color: var(--text-secondary);
margin-bottom: 2rem;
line-height: 1.7;
font-size: 1.1rem;
}
.aboutPoints {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
.aboutPoints {
grid-template-columns: 1fr 1fr;
}
}
.aboutPointItem {
display: flex;
align-items: center;
gap: 1rem;
}
.aboutPointIcon svg {
width: 28px;
height: 28px;
color: var(--primary);
}
.aboutPointText {
font-weight: 600;
color: var(--text-primary);
}
/* --- Section 2: Benefits --- */
.benefitsSection {
padding: 4rem 0;
background: var(--background-secondary);
}
.benefitsContainer {
display: grid;
grid-template-columns: 1fr;
gap: 4rem;
align-items: center;
}
@media (min-width: 992px) {
.benefitsContainer {
grid-template-columns: 1fr 1.5fr;
}
}
.benefitsGrid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
@media (min-width: 640px) {
.benefitsGrid {
grid-template-columns: repeat(2, 1fr);
}
}
.benefitCard {
background: #fff;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.benefitCard:hover {
background: var(--primary);
transform: translateY(-5px);
}
.benefitCard:hover * {
color: #fff !important;
}
.benefitIcon {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--primary);
transition: color 0.3s ease;
}
.benefitCardTitle {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--text-primary);
transition: color 0.3s ease;
}
.benefitCardDesc {
font-size: 0.9rem;
color: var(--text-secondary);
transition: color 0.3s ease;
}
/* --- Section 3: Testimonial (Update: Left Images Grid, Right Slider) --- */
.testimonialSection {
padding: 4rem 0;
background: #fff;
overflow: hidden;
}
.testimonialGrid {
display: grid;
grid-template-columns: 1fr;
gap: 4rem;
align-items: center;
}
@media (min-width: 992px) {
.testimonialGrid {
grid-template-columns: 0.8fr 1.2fr;
/* Images < Slider */
}
}
/* Left side: 2 Image Grid */
.testimonialImages {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.testImgWrapper {
border-radius: 12px;
overflow: hidden;
height: 300px;
background: #f0f0f0;
}
.testImgWrapper:nth-child(2) {
margin-top: 3rem;
/* Stagger effect */
}
/* Right side: Slider Styles (Used by Client Component) */
.testimonialSliderContainer {
position: relative;
padding: 2rem 2rem 0;
}
.testSliderContent {
min-height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
animation: fadeIn 0.5s ease-in-out;
}
.testStars {
display: flex;
gap: 4px;
margin-bottom: 1.5rem;
}
.testQuoteFade {
font-size: clamp(1.25rem, 2.5vw, 1.75rem);
font-weight: 500;
line-height: 1.4;
color: var(--text-primary);
margin-bottom: 2rem;
font-style: italic;
}
.testAuthorBlock {
display: flex;
align-items: center;
gap: 1rem;
}
.testAuthorAvatar {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
}
.testAuthorInfo h4 {
margin: 0;
font-size: 1.1rem;
font-weight: 700;
}
.testAuthorInfo span {
font-size: 0.9rem;
color: var(--text-secondary);
}
.sliderDots {
display: flex;
gap: 0.5rem;
margin-top: 2rem;
}
.dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: #E2E8F0;
border: none;
cursor: pointer;
transition: background 0.3s;
}
.activeDot {
background: var(--primary);
}
/* --- Section 4: Blogs --- */
.resourcesSection {
padding: 4rem 0;
background: var(--background-secondary);
}
.blogGrid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
margin-top: 3rem;
}
@media (min-width: 768px) {
.blogGrid {
grid-template-columns: repeat(3, 1fr);
}
}
.blogCard {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}
.blogCard:hover {
transform: translateY(-5px);
}
.blogImageWrapper {
height: 200px;
overflow: hidden;
}
.blogImage {
width: 100%;
height: 100%;
object-fit: cover;
}
.blogContent {
padding: 1.5rem;
}
.blogCategory {
color: var(--primary);
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 0.5rem;
display: block;
}
.blogTitle {
font-size: 1.25rem;
margin-bottom: 0.75rem;
line-height: 1.4;
}
.blogExcerpt {
font-size: 0.95rem;
color: var(--text-secondary);
margin-bottom: 1rem;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
line-clamp: 2;
}
.readMoreLink {
color: var(--primary);
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
}
/* --- Section 5: FAQ --- */
.faqSection {
padding: 4rem 0;
background: #fff;
}
.faqGrid {
display: grid;
grid-template-columns: 1fr;
gap: 4rem;
align-items: flex-start;
}
@media (min-width: 992px) {
.faqGrid {
grid-template-columns: 1fr 1fr;
}
}
.faqImageWrapper {
border-radius: 20px;
overflow: hidden;
}
.accordionItem {
border-bottom: 1px solid var(--border-color);
margin-bottom: 1rem;
}
.accordionTrigger {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 0;
background: none;
border: none;
text-align: left;
cursor: pointer;
font-size: 1.1rem;
font-weight: 600;
color: var(--text-primary);
}
.accordionContentOpen {
animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.accordionIcon {
font-size: 1.5rem;
font-weight: 300;
}
/* --- Section 6: CTA (Full Width Floating) --- */
/* --- Section 6: CTA (Full Width Floating) --- */
.ctaFullWidth {
position: relative;
padding: 4rem 0;
background-color: #F8FAFC;
/* Light fallback */
background-image: url('/images/cta-bg-light.png');
/* User requested image */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
overflow: hidden;
color: var(--text-primary);
text-align: center;
display: flex;
align-items: center;
justify-content: center;
border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.ctaContentCentered {
position: relative;
z-index: 10;
max-width: 700px;
padding: 0 1.5rem;
}
.ctaFullTitle {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 800;
margin-bottom: 1.5rem;
line-height: 1.1;
color: var(--text-primary);
}
.ctaFullText {
font-size: 1.25rem;
color: var(--text-secondary);
margin-bottom: 2.5rem;
}
.ctaFullBtn {
background: var(--primary);
/* Primary purple/blue */
color: white;
padding: 1rem 3rem;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 700;
transition: transform 0.2s;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
display: inline-block;
text-decoration: none;
}
.ctaFullBtn:hover {
transform: translateY(-3px) scale(1.05);
background: var(--primary-dark, #5b21b6);
}
/* Floating Elements */
.floatElem {
position: absolute;
opacity: 0.15;
pointer-events: none;
}
.floatLeft {
left: 5%;
top: 20%;
width: 150px;
animation: float 6s ease-in-out infinite;
}
.floatRight {
right: 5%;
bottom: 20%;
width: 180px;
animation: float 8s ease-in-out infinite reverse;
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
100% {
transform: translateY(0px);
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}