Files
Gyannetra_website/css/backup/10-case-studies-enhanced.css
ectasy663 67c46fedb4 Major website redesign: Complete CSS architecture overhaul
- Reorganized CSS into modular architecture (core.css, pages.css, responsive.css, components.css)
- Implemented comprehensive design system with CSS custom properties for theming
- Added responsive navigation with hamburger menu and dropdown systems
- Created modern card-based component system for courses, expertise, and services
- Enhanced all HTML pages with updated styling and improved user experience
- Added extensive animation system with smooth transitions and hover effects
- Implemented mobile-first responsive design with comprehensive breakpoints
- Established industry-specific color theming system
- Moved old CSS files to backup folder for reference
- Updated all service, education, and industry pages with consistent styling
2025-06-04 14:23:55 +05:30

530 lines
12 KiB
CSS

/* ===== CASE STUDIES PAGE ENHANCED STYLING ===== */
/* Enhanced Case Studies Hero Section */
.case-studies-hero {
padding: 8rem 0 4rem 0;
text-align: center;
background:
radial-gradient(circle at 30% 40%, rgba(82, 238, 245, 0.1) 0%, transparent 60%),
radial-gradient(circle at 70% 60%, rgba(162, 171, 255, 0.08) 0%, transparent 60%),
rgba(10, 10, 26, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(82, 238, 245, 0.2);
position: relative;
overflow: hidden;
min-height: 60vh;
display: flex;
align-items: center;
justify-content: center;
}
.case-studies-hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
linear-gradient(135deg, rgba(82, 238, 245, 0.05) 0%, transparent 50%),
linear-gradient(45deg, transparent 50%, rgba(162, 171, 255, 0.05) 100%);
pointer-events: none;
z-index: 1;
}
.case-studies-hero .container {
position: relative;
z-index: 2;
max-width: 1000px;
margin: 0 auto;
padding: 0 2rem;
}
.case-studies-hero h1 {
font-family: var(--font-headings);
font-size: 4rem;
color: #52eef5;
text-transform: uppercase;
letter-spacing: 3px;
margin-bottom: 2rem;
text-shadow: 0 0 30px rgba(82, 238, 245, 0.6);
animation: glow 3s ease-in-out infinite alternate;
line-height: 1.1;
font-weight: 400;
}
@keyframes glow {
from {
text-shadow: 0 0 20px rgba(82, 238, 245, 0.5);
transform: scale(1);
}
to {
text-shadow: 0 0 40px rgba(82, 238, 245, 0.8), 0 0 60px rgba(82, 238, 245, 0.3);
transform: scale(1.02);
}
}
.case-studies-hero p {
font-family: var(--font-body);
font-size: 1.4rem;
color: var(--text-light);
max-width: 800px;
margin: 0 auto 2rem auto;
line-height: 1.7;
opacity: 0.9;
text-align: center;
}
/* Enhanced Filters Section */
.case-studies-filters {
padding: 2rem 0;
background: rgba(15, 15, 30, 0.8);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border-bottom: 1px solid rgba(82, 238, 245, 0.1);
position: sticky;
top: 80px;
z-index: 100;
}
.filter-controls {
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}
.dropdown-filter .dropdown-toggle-filter {
background: rgba(20, 20, 40, 0.8);
color: var(--fg);
padding: 1rem 2rem;
border: 2px solid rgba(82, 238, 245, 0.3);
border-radius: 12px;
font-size: 1.1rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
min-width: 200px;
transition: all 0.3s ease;
font-family: var(--font-body);
font-weight: 500;
}
.dropdown-filter .dropdown-toggle-filter:hover {
border-color: #52eef5;
background: rgba(82, 238, 245, 0.1);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(82, 238, 245, 0.2);
}
.dropdown-filter .dropdown-toggle-filter i {
margin-left: 0.8rem;
transition: transform 0.3s ease;
}
.dropdown-filter .dropdown-toggle-filter:hover i {
transform: rotate(180deg);
}
.search-filter {
display: flex;
align-items: center;
background: rgba(20, 20, 40, 0.8);
padding: 0.5rem 1.5rem;
border: 2px solid rgba(82, 238, 245, 0.3);
border-radius: 12px;
min-width: 300px;
transition: all 0.3s ease;
}
.search-filter:focus-within {
border-color: #52eef5;
background: rgba(82, 238, 245, 0.1);
box-shadow: 0 8px 25px rgba(82, 238, 245, 0.2);
}
.search-filter i {
margin-right: 1rem;
color: #52eef5;
font-size: 1.2rem;
}
.search-filter input[type="text"] {
background: transparent;
border: none;
color: var(--fg);
font-size: 1.1rem;
width: 100%;
padding: 0.8rem 0;
outline: none;
font-family: var(--font-body);
}
.search-filter input[type="text"]::placeholder {
color: rgba(236, 236, 236, 0.6);
transition: color 0.3s ease;
}
.search-filter input[type="text"]:focus::placeholder {
color: rgba(82, 238, 245, 0.8);
}
/* Enhanced Case Studies Grid */
.case-studies-grid-section {
padding: 4rem 0;
background: rgba(5, 5, 15, 0.8);
}
.articles-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2.5rem;
margin-top: 2rem;
}
.article-card {
background: rgba(20, 20, 40, 0.7);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(82, 238, 245, 0.2);
border-radius: 20px;
padding: 2.5rem;
transition: all 0.4s ease;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
}
.article-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(82, 238, 245, 0.1), transparent);
transition: left 0.6s ease;
}
.article-card:hover::before {
left: 100%;
}
.article-card:hover {
transform: translateY(-10px) scale(1.02);
border-color: rgba(82, 238, 245, 0.5);
box-shadow:
0 20px 60px rgba(82, 238, 245, 0.3),
0 0 40px rgba(82, 238, 245, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.case-study-img {
width: 80px;
height: 80px;
object-fit: contain;
margin-bottom: 1.5rem;
filter: brightness(1.2) contrast(1.1);
transition: all 0.3s ease;
}
.article-card:hover .case-study-img {
transform: scale(1.1) rotate(5deg);
filter: brightness(1.4) contrast(1.2);
}
.article-card h3 {
font-family: var(--font-headings);
font-size: 1.8rem;
color: #52eef5;
margin-bottom: 1rem;
line-height: 1.3;
font-weight: 400;
transition: color 0.3s ease;
}
.article-card:hover h3 {
color: #ffffff;
text-shadow: 0 0 10px rgba(82, 238, 245, 0.5);
}
.article-card p {
font-family: var(--font-body);
font-size: 1.1rem;
color: var(--text-light);
line-height: 1.6;
margin-bottom: 2rem;
flex-grow: 1;
}
.read-more-link {
display: inline-flex;
align-items: center;
color: #52eef5;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
align-self: flex-start;
position: relative;
}
.read-more-link::after {
content: '→';
margin-left: 0.5rem;
transition: transform 0.3s ease;
}
.read-more-link:hover {
color: #ffffff;
text-shadow: 0 0 10px rgba(82, 238, 245, 0.8);
}
.read-more-link:hover::after {
transform: translateX(5px);
}
/* Enhanced CTA Section */
.discuss-project-cta {
padding: 5rem 0;
text-align: center;
background:
radial-gradient(circle at 50% 50%, rgba(82, 238, 245, 0.1) 0%, transparent 70%),
rgba(15, 15, 30, 0.9);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-top: 1px solid rgba(82, 238, 245, 0.2);
position: relative;
overflow: hidden;
}
.discuss-project-cta::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
linear-gradient(45deg, rgba(82, 238, 245, 0.05) 0%, transparent 50%),
linear-gradient(-45deg, transparent 50%, rgba(162, 171, 255, 0.05) 100%);
pointer-events: none;
}
.discuss-project-cta .container {
position: relative;
z-index: 2;
}
.discuss-project-cta h2 {
font-family: var(--font-headings);
font-size: 3rem;
color: #52eef5;
margin-bottom: 2rem;
text-transform: uppercase;
letter-spacing: 2px;
text-shadow: 0 0 20px rgba(82, 238, 245, 0.5);
}
.btn-discuss-project {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 1.2rem 3rem;
background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #a855f7 100%);
color: #ffffff;
text-decoration: none;
border-radius: 12px;
font-size: 1.2rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
border: 2px solid transparent;
position: relative;
overflow: hidden;
}
.btn-discuss-project::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.6s ease;
}
.btn-discuss-project:hover::before {
left: 100%;
}
.btn-discuss-project:hover {
transform: translateY(-3px) scale(1.05);
background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
border-color: rgba(255, 255, 255, 0.3);
box-shadow:
0 15px 50px rgba(109, 40, 217, 0.4),
0 0 30px rgba(168, 85, 247, 0.3);
text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
/* Responsive Design */
@media (max-width: 1024px) {
.case-studies-hero h1 {
font-size: 3.5rem;
}
.articles-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
}
@media (max-width: 768px) {
.case-studies-hero {
padding: 6rem 0 3rem 0;
min-height: 50vh;
}
.case-studies-hero h1 {
font-size: 2.5rem;
letter-spacing: 2px;
margin-bottom: 1.5rem;
}
.case-studies-hero p {
font-size: 1.2rem;
padding: 0 1rem;
}
.case-studies-filters {
position: static;
padding: 1.5rem 0;
}
.filter-controls {
flex-direction: column;
gap: 1rem;
}
.dropdown-filter .dropdown-toggle-filter,
.search-filter {
width: 100%;
min-width: auto;
}
.articles-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.article-card {
padding: 2rem;
margin: 0 1rem;
}
.discuss-project-cta h2 {
font-size: 2.2rem;
margin-bottom: 1.5rem;
}
.btn-discuss-project {
padding: 1rem 2rem;
font-size: 1.1rem;
width: 100%;
max-width: 300px;
}
}
@media (max-width: 480px) {
.case-studies-hero {
padding: 5rem 0 2rem 0;
min-height: 40vh;
}
.case-studies-hero h1 {
font-size: 2rem;
letter-spacing: 1px;
}
.case-studies-hero p {
font-size: 1.1rem;
}
.article-card {
padding: 1.5rem;
margin: 0 0.5rem;
}
.case-study-img {
width: 60px;
height: 60px;
}
.article-card h3 {
font-size: 1.5rem;
}
.discuss-project-cta {
padding: 3rem 0;
}
.discuss-project-cta h2 {
font-size: 1.8rem;
}
}
/* Enhanced focus states for accessibility */
.dropdown-filter .dropdown-toggle-filter:focus,
.search-filter input:focus,
.read-more-link:focus,
.btn-discuss-project:focus {
outline: 2px solid rgba(82, 238, 245, 0.6);
outline-offset: 2px;
}
/* Smooth scroll behavior */
html {
scroll-behavior: smooth;
}
/* Performance optimizations */
.case-studies-hero,
.article-card,
.discuss-project-cta {
will-change: transform;
transform: translateZ(0);
}
/* Loading state animation */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.article-card {
animation: fadeInUp 0.6s ease forwards;
}
.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }