deepsite / about-us.css
samsalai's picture
Upload 19 files
ead63a3 verified
raw
history blame
5.9 kB
/* Navigation Styles */
.nav-link-about {
position: relative;
}
.nav-link-about::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(to right, #3b82f6, #4f46e5);
transition: width 0.3s ease;
}
.nav-link-about:hover::after {
width: 100%;
}
/* Add top margin to account for fixed navbar */
body {
/* padding-top: 1rem; */ /* Removed to standardize with other pages */
}
/* Team Card Styles */
.team-card {
perspective: 1000px;
height: 300px;
cursor: pointer;
transition: transform 0.3s ease;
}
.team-card:hover {
transform: translateY(-10px);
}
.team-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
border-radius: 1rem;
background-color: white;
}
.team-card-front {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1.5rem;
border-radius: 1rem;
}
.team-avatar {
width: 150px;
height: 150px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Member Details Modal */
.member-detail-avatar {
overflow: hidden;
}
.member-gradient {
transition: all 0.3s ease;
}
#memberDetails {
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
#memberDetails.active {
opacity: 1;
pointer-events: auto;
}
#memberDetails .relative {
transform: scale(0.9);
opacity: 0;
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#memberDetails.active .relative {
transform: scale(1);
opacity: 1;
}
/* Animation for team cards */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.team-card {
opacity: 0;
animation: fadeInUp 0.6s ease forwards;
}
/* Department section styling */
.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }
.team-card:nth-child(7) { animation-delay: 0.7s; }
.team-card:nth-child(8) { animation-delay: 0.8s; }
.team-card:nth-child(9) { animation-delay: 0.9s; }
/* Department section styling */
.department-section {
padding: 3rem 0;
border-radius: 1rem;
margin-bottom: 3rem;
}
/* Department tabs styling */
.department-tabs {
display: flex;
justify-content: center;
margin-bottom: 2rem;
background: linear-gradient(to right, #f0f4ff, #e6eeff);
}
.department-tab {
padding: 1rem 2rem;
font-weight: 600;
color: #6b7280;
cursor: pointer;
position: relative;
transition: all 0.3s ease;
flex: 1;
text-align: center;
border-bottom: 3px solid transparent;
}
.department-tab.active {
color: #3b82f6;
background-color: rgba(255, 255, 255, 0.7);
border-bottom: 3px solid #3b82f6;
}
.department-tab:hover:not(.active) {
background-color: rgba(255, 255, 255, 0.3);
}
.department-section {
display: none;
animation: fadeIn 0.5s ease forwards;
margin-bottom: 3rem;
}
.department-section.active {
display: block;
}
/* Department section styling */
.founders-section {
background: linear-gradient(to right, rgba(59, 130, 246, 0.05), rgba(79, 70, 229, 0.05));
border-left: 4px solid #3b82f6;
}
.leaders-section {
background: linear-gradient(to right, rgba(245, 158, 11, 0.05), rgba(249, 115, 22, 0.05));
border-left: 4px solid #f59e0b;
}
.smm-section {
background: linear-gradient(to right, rgba(139, 92, 246, 0.05), rgba(79, 70, 229, 0.05));
border-left: 4px solid #8b5cf6;
}
.department-heading {
position: relative;
display: inline-block;
padding-bottom: 0.5rem;
}
.department-heading::after {
content: '';
position: absolute;
bottom: 0;
left: 25%;
width: 50%;
height: 3px;
border-radius: 2px;
}
.founders-heading::after {
background: linear-gradient(to right, #3b82f6, #4f46e5);
}
.leaders-heading::after {
background: linear-gradient(to right, #f59e0b, #f97316);
}
.smm-heading::after {
background: linear-gradient(to right, #8b5cf6, #4f46e5);
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Enhanced navbar styling */
#mainNav {
border-radius: 1rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
margin-top: 1rem;
width: 95%;
left: 2.5%;
right: 2.5%;
background-color: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.3);
transition: all 0.3s ease;
}
#mainNav.scrolled {
background-color: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.5);
}
/* Team card animation delays */
.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }
.team-card:nth-child(7) { animation-delay: 0.7s; }
.team-card:nth-child(8) { animation-delay: 0.8s; }
.team-card:nth-child(9) { animation-delay: 0.9s; }