Files
Gyannetra_website/css/training-courses.css

776 lines
16 KiB
CSS

/* ===== ENSURE IDENTICAL SECTION WIDTHS ===== */
/* Force both sections to have identical container dimensions with high specificity */
section#custom-training-workflow.container.workflow-section,
section#transform-cta-section.why-choose-us-section.container.benefits-section,
section#transform-cta-section.container {
width: 98% !important;
max-width: 1600px !important;
margin: 0 auto !important;
padding: 0 2rem !important;
box-sizing: border-box !important;
}
/* Additional override to ensure no padding conflicts */
.why-choose-us-section.container,
.benefits-section.container {
padding: 0 2rem !important;
}
/* ===== TRAINING COURSES AND WORKFLOW SECTION STYLES ===== */
/* ===== FEATURED COURSES SECTION STYLES ===== */
/* Training Programs Section Header */
.training-programs-section {
padding: 4rem 0;
position: relative;
}
.training-programs-section .section-heading {
text-align: center;
margin-bottom: 3rem;
position: relative;
}
.training-programs-section .section-heading::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background: linear-gradient(90deg, #5a6bff 0%, #a2b0ff 70%, #ffffff 100%);
}
/* Courses Grid Layout */
.courses-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
gap: 2.5rem;
margin-top: 2rem;
}
/* Course Card Styling */
.course-card {
background: linear-gradient(135deg, rgba(25, 35, 55, 0.9) 0%, rgba(35, 45, 65, 0.95) 100%);
border: 1px solid rgba(var(--primary-color-rgb), 0.3);
border-radius: 15px;
padding: 1.5rem;
transition: all 0.3s ease;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 50px rgba(var(--primary-color-rgb), 0.1);
backdrop-filter: blur(10px);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
}
.course-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
animation: shimmer 3s ease-in-out infinite;
}
.course-card:hover {
transform: translateY(-8px);
border-color: rgba(var(--primary-color-rgb), 0.6);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(var(--primary-color-rgb), 0.2);
}
/* Course Video Container */
.course-video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
overflow: hidden;
border-radius: 10px;
margin-bottom: 1.5rem;
background: rgba(0, 0, 0, 0.3);
}
.course-video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
border-radius: 10px;
}
/* Course Thumbnail Styles - Static Display */
.course-thumbnail {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
display: block;
position: absolute;
top: 0;
left: 0;
}
/* Course Information */
.course-info {
display: flex;
flex-direction: column;
flex: 1;
height: 100%;
}
.course-info h3 {
font-size: 1.6rem;
color: #52eef5;
margin-bottom: 1rem;
font-weight: 600;
}
.course-info p {
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 1.5rem;
font-size: 1.1rem;
flex: 1;
}
/* Course Highlights */
.course-highlights {
display: flex;
flex-wrap: nowrap;
gap: 0.6rem;
margin-bottom: 1.5rem;
margin-top: auto;
align-items: center;
min-height: 40px;
flex-shrink: 0;
overflow-x: auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
}
.course-highlights::-webkit-scrollbar {
display: none; /* Chrome, Safari and Opera */
}
.course-highlights .highlight-item {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
padding: 6px 10px;
border-radius: 20px;
font-size: 0.85rem;
display: flex;
align-items: center;
gap: 0.3rem;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: background 0.3s ease, transform 0.3s ease;
flex-shrink: 0;
white-space: nowrap;
line-height: 1.2;
}
.course-highlights .highlight-item:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.course-highlights .highlight-item i {
font-size: 0.8rem;
}
/* Course CTA Button */
.course-card .btn-primary {
width: 100%;
padding: 0.8rem 1.5rem;
font-size: 1rem;
font-weight: 600;
border-radius: 8px;
background: linear-gradient(135deg, var(--primary-color) 0%, rgba(var(--primary-color-rgb), 0.8) 100%);
border: 2px solid var(--primary-color);
color: #ffffff;
text-decoration: none;
text-align: center;
transition: all 0.3s ease;
display: inline-block;
position: relative;
overflow: hidden;
margin-top: auto;
align-self: stretch;
}
.course-card .btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.course-card .btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.4);
background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.9) 0%, var(--primary-color) 100%);
}
.course-card .btn-primary:hover::before {
left: 100%;
}
/* Responsive Design for Courses */
@media (max-width: 1024px) {
.courses-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.course-card {
padding: 1.25rem;
}
}
@media (max-width: 768px) {
.courses-grid {
gap: 1.5rem;
}
.course-card {
padding: 1rem;
}
.course-info h3 {
font-size: 1.4rem;
}
.course-info p {
font-size: 1rem;
}
.course-highlights {
gap: 0.5rem;
flex-wrap: nowrap;
overflow-x: auto;
min-height: 45px;
}
.course-highlights .highlight-item {
font-size: 0.8rem;
padding: 0.3rem 0.6rem;
white-space: nowrap;
flex-shrink: 0;
}
}
@media (max-width: 480px) {
.course-video-container {
padding-bottom: 60%; /* Slightly taller aspect ratio for mobile */
}
.course-info h3 {
font-size: 1.3rem;
}
.course-highlights {
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
justify-content: flex-start;
min-height: 50px;
overflow-x: auto;
gap: 0.4rem;
padding-bottom: 2px;
}
.course-highlights .highlight-item {
align-self: center;
font-size: 0.7rem;
padding: 0.2rem 0.4rem;
white-space: nowrap;
flex-shrink: 0;
}
.course-card .btn-primary {
padding: 0.75rem 1rem;
font-size: 0.9rem;
}
/* Mobile play overlay adjustments */
.play-overlay {
width: 50px;
height: 50px;
font-size: 18px;
}
}
/* ===== END FEATURED COURSES SECTION STYLES ===== */
/* ===== CUSTOM TRAINING WORKFLOW SECTION STYLES ===== */
.workflow-section {
padding: 4rem 0;
background: linear-gradient(135deg, rgba(15, 15, 25, 0.6) 0%, rgba(25, 25, 45, 0.7) 100%);
border-radius: 20px;
margin: 3rem 0;
position: relative;
overflow: hidden;
}
/* Widen the workflow section container for better visual impact */
#custom-training-workflow.container {
width: 98%;
max-width: 1600px;
margin: 0 auto;
padding: 0 2rem;
}
.workflow-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 20%, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(82, 238, 245, 0.1) 0%, transparent 50%);
pointer-events: none;
}
.workflow-intro {
text-align: center;
max-width: 900px;
margin: 0 auto 3rem auto;
position: relative;
z-index: 2;
padding: 0 1rem;
}
.workflow-intro p {
font-size: 1.3rem;
color: var(--text-light);
line-height: 1.7;
font-weight: 400;
}
.workflow-benefits {
margin: 3rem 0;
position: relative;
z-index: 2;
}
.workflow-benefits h3 {
font-size: 2.2rem;
color: #52eef5;
text-align: center;
margin-bottom: 2rem;
font-family: 'VT323', monospace;
letter-spacing: 1px;
}
.benefits-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
margin: 2rem auto;
max-width: 1200px;
padding: 0 1rem;
}
.benefit-item {
background: rgba(25, 35, 55, 0.5);
border: 1px solid rgba(var(--primary-color-rgb), 0.3);
border-radius: 12px;
padding: 1.5rem;
display: flex;
align-items: flex-start;
gap: 1rem;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.benefit-item:hover {
transform: translateY(-5px);
border-color: rgba(var(--primary-color-rgb), 0.6);
box-shadow: 0 12px 25px rgba(var(--primary-color-rgb), 0.4);
}
.benefit-item i {
font-size: 1.8rem;
color: var(--primary-color);
margin-top: 0.2rem;
flex-shrink: 0;
}
.benefit-item h4 {
font-size: 1.3rem;
color: #52eef5;
margin-bottom: 0.5rem;
font-weight: 600;
}
.benefit-item p {
color: var(--text-light);
font-size: 1rem;
line-height: 1.5;
margin: 0;
}
.workflow-process {
margin: 4rem 0;
position: relative;
z-index: 2;
}
.workflow-process h3 {
font-size: 2.2rem;
color: #52eef5;
text-align: center;
margin-bottom: 3rem;
font-family: 'VT323', monospace;
letter-spacing: 1px;
}
.workflow-visualization {
position: relative;
max-width: 1000px;
margin: 0 auto;
padding: 0 1rem;
}
.workflow-step {
display: flex;
align-items: flex-start;
gap: 2rem;
margin-bottom: 3rem;
padding: 2rem;
background: rgba(20, 30, 50, 0.4);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
transition: all 0.3s ease;
backdrop-filter: blur(15px);
}
.workflow-step:hover {
background: rgba(25, 35, 55, 0.6);
border-color: rgba(var(--primary-color-rgb), 0.4);
transform: translateX(10px);
}
.workflow-step:last-child {
margin-bottom: 0;
}
.workflow-step:last-child .step-connector {
display: none;
}
.step-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
flex-shrink: 0;
position: relative;
overflow: hidden;
}
.step-icon::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
animation: shimmer 3s ease-in-out infinite;
}
.step-icon i {
font-size: 2rem;
color: #fff;
z-index: 2;
position: relative;
}
.step-content {
flex: 1;
}
.step-content h4 {
font-size: 1.6rem;
color: #52eef5;
margin-bottom: 1rem;
font-weight: 600;
}
.step-content p {
color: var(--text-light);
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 1rem;
}
.step-details {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.step-details span {
color: var(--text-muted);
font-size: 0.95rem;
padding-left: 1rem;
position: relative;
}
.step-details span::before {
content: '✓';
position: absolute;
left: 0;
color: var(--primary-color);
font-weight: bold;
font-size: 1.1rem;
}
.step-connector {
position: absolute;
right: -1rem;
top: 50%;
transform: translateY(-50%);
width: 2rem;
height: 2px;
background: linear-gradient(90deg, var(--primary-color), transparent);
z-index: 3;
}
.step-connector::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-left: 8px solid var(--primary-color);
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
}
.workflow-cta {
background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.15) 0%, rgba(82, 238, 245, 0.1) 100%);
border-radius: 16px;
padding: 3rem 2rem;
text-align: center;
border: 1px solid rgba(var(--primary-color-rgb), 0.3);
position: relative;
z-index: 2;
margin-top: 3rem;
}
/* Widen the transform CTA section for better visual impact */
#transform-cta-section.container {
width: 98%;
max-width: 1600px;
margin: 0 auto;
padding: 0 2rem;
}
/* Enhanced workflow-cta styling for transform section */
#transform-cta-section .workflow-cta {
background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.15) 0%, rgba(82, 238, 245, 0.1) 100%);
border-radius: 20px;
padding: 4rem 3rem;
text-align: center;
border: 1px solid rgba(var(--primary-color-rgb), 0.3);
position: relative;
z-index: 2;
margin-top: 3rem;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(var(--primary-color-rgb), 0.15);
backdrop-filter: blur(15px);
}
/* Transform section CTA buttons styling */
.transform-cta-buttons {
display: flex;
gap: 1.5rem;
justify-content: center;
align-items: center;
margin-top: 2.5rem;
flex-wrap: wrap;
}
.transform-cta-buttons .workflow-cta-btn {
margin: 0;
min-width: 280px;
padding: 1rem 2.5rem;
font-size: 1.1rem;
border-radius: 12px;
transition: all 0.3s ease;
}
.transform-cta-buttons .workflow-cta-btn:hover {
transform: translateY(-4px);
}
/* Responsive Design for Workflow Section */
@media (max-width: 1024px) {
.benefits-list {
grid-template-columns: repeat(2, 1fr);
gap: 1.3rem;
}
}
@media (max-width: 768px) {
.workflow-section {
padding: 2.5rem 0;
margin: 2rem 0;
} #custom-training-workflow.container {
width: 92%;
max-width: 1200px;
margin: 0 auto;
}
#transform-cta-section.container {
width: 92%;
max-width: 1200px;
margin: 0 auto;
}
.workflow-intro p {
font-size: 1.1rem;
}
.workflow-benefits h3,
.workflow-process h3 {
font-size: 1.8rem;
} .benefits-list {
grid-template-columns: repeat(2, 1fr);
gap: 1.2rem;
padding: 0 1rem;
max-width: 100%;
}
.benefit-item {
margin: 0;
padding: 1.25rem;
}
.benefit-item {
padding: 1.2rem;
flex-direction: column;
text-align: center;
gap: 0.8rem;
}
.workflow-step {
padding: 1.5rem;
margin-bottom: 2rem;
flex-direction: column;
text-align: center;
gap: 1rem;
}
.workflow-step:hover {
transform: translateY(-5px);
}
.step-icon {
width: 70px;
height: 70px;
align-self: center;
}
.step-icon i {
font-size: 1.8rem;
}
.step-content {
text-align: center;
}
.step-content h4 {
font-size: 1.4rem;
}
.step-details span {
font-size: 0.9rem;
}
.step-connector {
display: none;
}
.workflow-cta {
padding: 2rem 1.5rem;
}
.cta-content h3 {
font-size: 1.6rem;
}
.cta-content p {
font-size: 1.1rem;
}
.workflow-cta-btn {
padding: 0.7rem 1.5rem;
font-size: 1rem;
max-width: 260px;
width: 100%;
}
.transform-cta-buttons {
gap: 1rem;
margin-top: 2rem;
}
.transform-cta-buttons .workflow-cta-btn {
min-width: 240px;
padding: 0.8rem 1.8rem;
}
}
@media (max-width: 480px) {
.workflow-intro {
margin-bottom: 2rem;
}
.workflow-step {
gap: 1rem;
}
.benefits-list {
grid-template-columns: 1fr;
gap: 1rem;
}
}
/* Shimmer animation for course cards and step icons */
@keyframes shimmer {
0% {
transform: translateX(-100%) scaleX(1);
}
49.9% {
transform: translateX(0%) scaleX(1);
}
50% {
transform: translateX(0%) scaleX(1);
}
100% {
transform: translateX(100%) scaleX(1);
}
}
/* ===== END CUSTOM TRAINING WORKFLOW SECTION STYLES ===== */