2026-01-19 17:48:51 +05:30

762 lines
14 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('/images/inner-banner/channel-banner.webp');
/* 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: #fff;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.breadcrumbs a {
color: #fff;
text-decoration: none;
transition: opacity 0.3s ease;
font-weight: 400;
}
.breadcrumbs a:hover {
opacity: 0.8;
}
.breadcrumbs span {
color: #fff;
font-weight: 400;
}
.breadcrumbs .breadcrumbActive {
font-weight: 700;
}
/* --- 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;
display: flex;
justify-content: center;
align-items: center;
/* min-height: 400px; Reduced to decrease vertical space */
/* padding: 2rem 0; */
/* Reduced padding */
}
.aboutMainImgWrapper {
position: relative;
z-index: 2;
width: 100%;
max-width: 400px;
/* Reduced from 500px */
aspect-ratio: 1;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.aboutImageFrame {
position: absolute;
top: 50%;
left: 50%;
z-index: 1;
width: 100%;
max-width: 400px;
/* Reduced to match wrapper */
height: auto;
/* Let it match aspect ratio via padding-bottom usually, but here using aspect-ratio property */
aspect-ratio: 1;
border: 2px solid var(--primary);
border-radius: 24px;
transform: translate(-50%, -50%) translate(-24px, 24px);
}
@media (max-width: 500px) {
.aboutImageFrame {
display: none !important;
}
}
.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);
}
.benefitsHeader {
text-align: center;
max-width: 700px;
margin: 0 auto 4rem;
}
.sectionDescriptionCentered {
color: var(--text-secondary);
font-size: 1.125rem;
line-height: 1.7;
}
.benefitsGrid {
display: grid;
grid-template-columns: 1fr;
gap: 3rem 1.5rem;
}
@media (min-width: 768px) {
.benefitsGrid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Card Styles */
.benefitCard {
position: relative;
padding-left: 40px;
/* Space for the circle */
transition: transform 0.3s ease;
}
.benefitCard:hover {
transform: translateY(-5px);
}
/* Card Theme Colors */
.benefitCard:nth-child(1) {
--card-theme: var(--primary);
}
.benefitCard:nth-child(2) {
--card-theme: var(--secondary);
}
.benefitCard:nth-child(3) {
--card-theme: var(--dark-blue);
}
.benefitCard:nth-child(4) {
--card-theme: var(--accent);
}
.benefitNumber {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 80px;
height: 80px;
background-color: var(--card-theme);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 1.75rem;
font-weight: 800;
z-index: 10;
box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
border: 4px solid var(--background-secondary);
/* Matches bg to look like cutout */
}
.benefitCardContent {
background: #fff;
padding: 2rem 2rem 2rem 3.5rem;
/* Extra padding left for circle */
border-radius: 16px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
position: relative;
z-index: 1;
min-height: 160px;
display: flex;
flex-direction: column;
justify-content: center;
overflow: hidden;
}
/* Decorative Accent on Right */
.benefitCardContent::after {
content: '';
position: absolute;
right: 0;
top: 15%;
bottom: 15%;
width: 6px;
background: var(--card-theme);
border-radius: 4px 0 0 4px;
opacity: 0.7;
}
.benefitCardTitle {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 0.75rem;
color: var(--text-primary);
}
.benefitCardDesc {
font-size: 0.95rem;
color: var(--text-secondary);
line-height: 1.5;
}
/* --- Section 3: Testimonials (New Split Layout) --- */
.testimonialSection {
padding: 4rem 0;
background: #fff;
overflow: hidden;
}
.testimonialCenteredHeader {
text-align: center;
max-width: 800px;
margin: 0 auto 4rem;
}
.channelTestimonialContainer {
display: grid;
grid-template-columns: 1fr;
gap: 3rem;
align-items: stretch;
max-width: 1000px;
margin: 0 auto;
}
@media (min-width: 992px) {
.channelTestimonialContainer {
grid-template-columns: 0.8fr 1.2fr;
}
}
/* Left Side: Large Image */
.sliderLeftImage {
transition: opacity 0.3s ease-in-out;
height: 100%;
}
.sliderImageWrapper {
width: 100%;
height: 100%;
/* aspect-ratio removed for stretch */
border-radius: 24px;
overflow: hidden;
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}
.sliderMainImage {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* Right Side: Content Box */
.sliderRightContent {
width: 100%;
height: 100%;
}
.testimonialCard {
background: var(--gradient-primary);
/* Pink/Blue Gradient as "Our theme color" */
border-radius: 24px;
padding: 3rem;
color: #fff;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
position: relative;
overflow: hidden;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
/* Subtle background accent for the card if needed, currently gradient is enough */
.testCardHeader {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 2rem;
}
.quoteIcon {
opacity: 0.6;
}
.testStars {
display: flex;
gap: 4px;
}
.testQuoteText {
font-size: clamp(1.1rem, 2vw, 1.25rem);
line-height: 1.6;
font-weight: 500;
margin-bottom: 2.5rem;
opacity: 0.95;
font-style: italic;
min-height: 100px;
/* Prevent height jump */
}
.testAuthorRow {
display: flex;
align-items: center;
gap: 1rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.testAuthorAvatarWrapper {
width: 50px;
height: 50px;
border-radius: 50%;
overflow: hidden;
border: 2px solid rgba(255, 255, 255, 0.5);
flex-shrink: 0;
}
.testSmallAvatar {
width: 100%;
height: 100%;
object-fit: cover;
}
.testAuthorInfoWhite h4 {
margin: 0;
font-size: 1.1rem;
font-weight: 700;
color: #fff;
}
.testAuthorInfoWhite span {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
display: block;
}
/* Slider Controls */
.sliderDotsWhite {
display: flex;
gap: 0.5rem;
margin-top: 1.5rem;
}
.dotWhite {
width: 24px;
height: 6px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.3);
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.activeDotWhite {
background: #fff;
width: 36px;
}
/* Animations */
.fadeIn {
opacity: 1;
}
.fadeOut {
opacity: 0.6;
}
.fadeInText {
animation: fadeIn 0.4s ease-out forwards;
}
.fadeOutText {
opacity: 0;
}
/* --- 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;
}
/* --- 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;
}