/* ============================================================================
Modern About Page Styling with 3D Effects
============================================================================ */
:root {
--primary: #4361ee;
--primary-light: #4895ef;
--secondary: #3f37c9;
--dark: #242424;
--light: #f8f9fa;
--success: #4cc9f0;
--danger: #f72585;
--warning: #ff9e00;
--info: #4895ef;
--gradient-1: linear-gradient(to right, #4361ee, #4cc9f0);
--gradient-2: linear-gradient(to right, #f72585, #ff9e00);
--shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
--shadow-md: 0 15px 25px rgba(0, 0, 0, 0.08);
--shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.1);
--transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
}
/* General Styles */
body {
overflow-x: hidden;
background-color: var(--light);
perspective: 1000px;
}
.section-padding {
padding: 100px 0;
}
.section-title {
margin-bottom: 50px;
text-align: center;
position: relative;
}
.section-title h2 {
font-size: 2.5rem;
font-weight: 700;
position: relative;
display: inline-block;
margin-bottom: 20px;
background: var(--gradient-1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.section-title p {
font-size: 1.1rem;
color: var(--dark);
max-width: 700px;
margin: 0 auto;
}
/* 3D Button Styles */
.btn-3d {
position: relative;
display: inline-block;
padding: 12px 30px;
background: var(--gradient-1);
color: white;
border: none;
border-radius: var(--radius-sm);
font-weight: 600;
letter-spacing: 0.5px;
text-transform: uppercase;
overflow: hidden;
box-shadow: 0 6px 30px -10px rgba(67, 97, 238, 0.3);
transition: all 0.4s ease;
transform-style: preserve-3d;
transform: perspective(1000px) translateZ(0);
text-decoration: none;
}
.btn-3d:hover {
transform: perspective(1000px) translateZ(10px);
box-shadow: 0 10px 30px -10px rgba(67, 97, 238, 0.5);
color: white;
}
.btn-3d:active {
transform: perspective(1000px) translateZ(5px);
}
.btn-3d::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: var(--transition);
}
.btn-3d:hover::before {
left: 100%;
}
/* Page Banner */
.page-banner {
position: relative;
background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
color: white;
padding: 120px 0;
text-align: center;
overflow: hidden;
transform-style: preserve-3d;
}
.page-banner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2ZmZmZmZiI+PHBhdGggZD0iTTEyODAgMy40QzEwNTAuNTkgMTggMTAxOS40IDg0Ljg5IDczNC40MiA4NC44OWMtMzIwIDAtMzIwLTg0LjMtNjQwLTg0LjNDNTkuNC41OSAyOC4yIDEuNiAwIDMuNFYxNDBoMTI4MHoiIGZpbGwtb3BhY2l0eT0iLjMiLz48cGF0aCBkPSJNMCAyNC4zMWM0My40Ni01LjY5IDk0LjU2LTkuMjUgMTU4LjQyLTkuMjUgMzIwIDAgMzIwIDg5LjI0IDY0MCA4OS4yNCAyNTYuMTMgMCAzMDcuMjgtNTcuMTYgNDgxLjU4LTgwVjE0MEgweiIgZmlsbC1vcGFjaXR5PSIuNSIvPjxwYXRoIGQ9Ik0xMjgwIDUxLjc2Yy0yMDEtMTYuNzctMjQyLjQ1LTUzLjQtNTEzLjU1LTUzLjQtMzIwIDAtMzIwIDU3LTY0MCA1Ny00OC44NS4wMS05MC4yMS0xLjM1LTEyNi40NS0zLjZWMTQwaDEyODB6Ii8+PC9nPjwvc3ZnPg==');
background-size: 100% 150px;
transform: translateZ(-1px);
z-index: 0;
}
.page-banner-content {
position: relative;
z-index: 2;
transform-style: preserve-3d;
}
.page-banner .page-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 20px;
text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
transform: translateZ(20px);
}
.breadcrumb {
display: flex;
justify-content: center;
align-items: center;
list-style: none;
padding: 0;
margin: 0;
}
.breadcrumb li {
display: inline-block;
margin: 0 10px;
font-size: 1.1rem;
position: relative;
}
.breadcrumb li:not(:last-child)::after {
content: "/";
position: absolute;
right: -15px;
top: 0;
color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: var(--transition);
}
.breadcrumb a:hover {
color: white;
}
/* About Section */
.about-section {
position: relative;
overflow: hidden;
}
.about-image {
position: relative;
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-lg);
transform-style: preserve-3d;
transform: perspective(1000px) rotateY(10deg);
transition: var(--transition);
}
.about-image:hover {
transform: perspective(1000px) rotateY(0deg);
}
.about-image img {
width: 100%;
border-radius: var(--radius-md);
transition: var(--transition);
}
.about-image:hover img {
transform: scale(1.05);
}
.about-experience {
position: absolute;
bottom: 30px;
right: -30px;
background: var(--primary);
color: white;
padding: 20px;
border-radius: var(--radius-sm);
text-align: center;
box-shadow: var(--shadow-md);
transform: translateZ(20px);
}
.about-experience h3 {
font-size: 2.5rem;
font-weight: 700;
margin: 0;
line-height: 1;
}
.about-experience p {
margin: 0;
font-size: 0.9rem;
opacity: 0.9;
}
.about-content {
padding-left: 30px;
}
.about-content h2 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 20px;
color: var(--dark);
}
.about-content p {
margin-bottom: 20px;
font-size: 1.1rem;
color: #666;
line-height: 1.8;
}
.about-list {
padding-left: 20px;
margin-bottom: 30px;
}
.about-list li {
margin-bottom: 15px;
position: relative;
padding-left: 25px;
font-size: 1.05rem;
color: #666;
}
.about-list li::before {
content: "✓";
position: absolute;
left: 0;
top: 0;
color: var(--primary);
font-weight: 700;
}
/* Features Section */
.features-section {
position: relative;
overflow: hidden;
}
.feature-box {
background: white;
border-radius: var(--radius-md);
padding: 40px 30px;
text-align: center;
box-shadow: var(--shadow-sm);
margin-bottom: 30px;
transform-style: preserve-3d;
transition: var(--transition);
height: 100%;
position: relative;
top: 0;
}
.feature-box:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-10px);
}
.feature-icon {
width: 80px;
height: 80px;
margin: 0 auto 25px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: linear-gradient(to bottom right, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
color: var(--primary);
font-size: 2rem;
transition: var(--transition);
}
.feature-box:hover .feature-icon {
background: var(--gradient-1);
color: white;
transform: rotateY(360deg);
}
.feature-box h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--dark);
}
.feature-box p {
font-size: 1rem;
color: #666;
margin-bottom: 0;
}
/* Stats Section */
.stats-section {
position: relative;
background: #f8f9fa;
overflow: hidden;
}
.stat-box {
background: white;
border-radius: var(--radius-md);
padding: 40px 30px;
text-align: center;
box-shadow: var(--shadow-sm);
transition: var(--transition);
transform-style: preserve-3d;
height: 100%;
}
.stat-box:hover {
box-shadow: var(--shadow-md);
transform: translateY(-10px);
}
.stat-value {
font-size: 3.5rem;
font-weight: 700;
color: var(--primary);
margin-bottom: 10px;
line-height: 1;
background: var(--gradient-1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.stat-label {
font-size: 1.1rem;
color: var(--dark);
font-weight: 500;
}
/* Skill Bars */
.skill-bars {
margin-top: 50px;
}
.skill-item {
margin-bottom: 30px;
}
.skill-info {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.skill-info h6 {
font-size: 1.1rem;
font-weight: 600;
margin: 0;
color: var(--dark);
}
.skill-info span {
font-size: 1rem;
font-weight: 600;
color: var(--primary);
}
.progress {
height: 10px;
border-radius: 5px;
overflow: hidden;
background-color: #f0f0f0;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.progress-bar {
height: 100%;
background: var(--gradient-1);
border-radius: 5px;
position: relative;
overflow: hidden;
transition: width 1.5s ease;
}
.progress-bar::after {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
animation: progressShine 2s infinite;
}
@keyframes progressShine {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(400%);
}
}
/* Team Section */
.team-section {
position: relative;
overflow: hidden;
}
.team-member {
background: white;
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-sm);
margin-bottom: 30px;
transform-style: preserve-3d;
transition: var(--transition);
height: 100%;
}
.team-member:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-10px);
}
.member-image {
position: relative;
overflow: hidden;
height: 300px;
}
.member-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}
.team-member:hover .member-image img {
transform: scale(1.05);
}
.member-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
opacity: 0;
transition: var(--transition);
}
.team-member:hover .member-overlay {
opacity: 1;
}
.member-social {
position: absolute;
bottom: 30px;
left: 0;
width: 100%;
display: flex;
justify-content: center;
gap: 15px;
transform: translateY(20px);
opacity: 0;
transition: var(--transition);
z-index: 2;
}
.team-member:hover .member-social {
transform: translateY(0);
opacity: 1;
}
.member-social a {
width: 40px;
height: 40px;
background: white;
color: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
text-decoration: none;
}
.member-social a:hover {
background: var(--primary);
color: white;
transform: translateY(-5px);
}
.member-info {
padding: 25px;
text-align: center;
}
.member-info h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 5px;
color: var(--dark);
}
.member-info span {
font-size: 1rem;
color: var(--primary);
display: block;
margin-bottom: 15px;
}
.member-info p {
font-size: 0.95rem;
color: #666;
margin-bottom: 0;
}
/* Testimonials Section */
.testimonials-section {
position: relative;
background-color: #f8f9fa;
overflow: hidden;
}
.testimonial-card {
background: white;
border-radius: var(--radius-md);
padding: 40px 30px;
margin-bottom: 30px;
box-shadow: var(--shadow-sm);
transition: var(--transition);
height: 100%;
transform-style: preserve-3d;
transform: perspective(1000px) rotateX(0) rotateY(0);
}
.testimonial-card:hover {
box-shadow: var(--shadow-lg);
transform: perspective(1000px) rotateX(5deg) rotateY(3deg);
}
.testimonial-content {
position: relative;
margin-bottom: 30px;
font-size: 1.1rem;
line-height: 1.8;
color: #666;
}
.testimonial-content::before {
content: """;
font-size: 5rem;
line-height: 1;
color: rgba(67, 97, 238, 0.1);
font-family: Georgia, serif;
position: absolute;
top: -20px;
left: -15px;
z-index: -1;
}
.testimonial-client {
display: flex;
align-items: center;
}
.client-image {
width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden;
margin-right: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.client-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.client-info h4 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 5px;
color: var(--dark);
}
.client-info span {
font-size: 0.95rem;
color: #666;
}
.testimonial-rating {
margin-top: 10px;
}
.testimonial-rating i {
color: #ffb900;
font-size: 0.9rem;
margin-right: 2px;
}
/* Gallery Section */
.gallery-section {
position: relative;
overflow: hidden;
}
.gallery-item {
margin-bottom: 30px;
}
.gallery-box {
position: relative;
overflow: hidden;
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
height: 100%;
transform-style: preserve-3d;
transition: var(--transition);
}
.gallery-box:hover {
box-shadow: var(--shadow-lg);
transform: perspective(1000px) rotateY(5deg);
}
.gallery-img {
position: relative;
overflow: hidden;
height: 250px;
}
.gallery-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}
.gallery-box:hover .gallery-img img {
transform: scale(1.1);
}
.gallery-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(67, 97, 238, 0.8);
opacity: 0;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}
.gallery-box:hover .gallery-overlay {
opacity: 1;
}
.gallery-overlay a {
width: 50px;
height: 50px;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
font-size: 1.2rem;
transform: scale(0);
transition: var(--transition);
text-decoration: none;
}
.gallery-box:hover .gallery-overlay a {
transform: scale(1);
}
.gallery-overlay a:hover {
background: var(--primary);
color: white;
}
.gallery-info {
padding: 20px;
background: white;
}
.gallery-info h4 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 10px;
color: var(--dark);
}
.gallery-info p {
font-size: 0.95rem;
color: #666;
margin-bottom: 0;
}
/* Responsive Styles */
@media (max-width: 992px) {
.section-padding {
padding: 70px 0;
}
.page-banner {
padding: 80px 0;
}
.page-banner .page-title {
font-size: 2.5rem;
}
.about-content {
padding-left: 0;
margin-top: 50px;
}
.about-experience {
bottom: 20px;
right: 20px;
}
}
@media (max-width: 768px) {
.page-banner {
padding: 60px 0;
}
.page-banner .page-title {
font-size: 2rem;
}
.about-content h2 {
font-size: 2rem;
}
.feature-box,
.stat-box,
.testimonial-card {
padding: 30px 20px;
}
.feature-icon {
width: 70px;
height: 70px;
font-size: 1.8rem;
}
}
/* Animation Classes */
.fade-in {
animation: fadeIn 1s ease forwards;
}
.fade-in-up {
animation: fadeInUp 1s ease forwards;
}
.fade-in-down {
animation: fadeInDown 1s ease forwards;
}
.fade-in-left {
animation: fadeInLeft 1s ease forwards;
}
.fade-in-right {
animation: fadeInRight 1s ease forwards;
}
.scale-in {
animation: scaleIn 1s ease forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* 3D Tilt Effect */
.tilt-element {
transform-style: preserve-3d;
transform: perspective(1000px);
transition: transform 0.5s;
}