:root {
    --primary: #1A3557;
    --primary-dark: #15295e;
    --secondary: #435b9b;
    --accent: #8BC34A;
    --dark: #1e293b;
    --light: #F7F4ED;
    --gray: #64748b;
}
        
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--primary);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

section {
    scroll-margin-top: 70px;
}

.text-primary {
    color: var(--primary) !important;
}

.display-1 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar-brand img {
    width: 150px;
    height: auto;
}

.navbar.scrolled .navbar-brand img {
    width: 90px;
    height: auto;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    /* min-height: 100vh; */
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 160px 0 30px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    right: -50px;
    animation: float 10s ease-in-out infinite;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: #162a5f;
    top: 50%;
    right: 20%;
    animation: float 12s ease-in-out infinite;
}

.gradient-text-animated {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    padding: 3px 0;
}

.gradient-text-animated::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: gradientSwitch 8s infinite;
    padding: 3px 0;
}

@keyframes gradientSwitch {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.floating {
    animation: floating 8s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.data-flow {
    animation: flowAnimation 8s linear infinite;
}

@keyframes flowAnimation {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

.data-nodes circle {
    filter: drop-shadow(0 0 5px rgba(79, 70, 229, 0.6));
}

.rotate {
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating animation for icons only */
.floating-icons g {
    animation: floatIcon 6s ease-in-out infinite;
}

/* Staggered animations */
.floating-icons g:nth-child(1) {
    animation-delay: 0s;
}
.floating-icons g:nth-child(2) {
    animation-delay: 1.5s;
}
.floating-icons g:nth-child(3) {
    animation-delay: 1s;
}
.floating-icons g:nth-child(4) {
    animation-delay: 2s;
}

/* @keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
} */

/* Data flow animation */
.data-flow {
    animation: flowAnimation 8s linear infinite;
}

@keyframes flowAnimation {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* Node glow effect */
.data-nodes circle {
    filter: drop-shadow(0 0 5px rgba(79, 70, 229, 0.6));
}

.z-index-1 {
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-gradient {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
}

.card-gradient .fa-check-circle:before {
    color: white;
}

.slogan {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    padding: 18px 0;
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.slogan h3 {
    margin: 0;
    font-weight: 500;
    position: relative;
    display: inline-block;
    /* padding: 0 20px; */
}

.slogan h3::before,
.slogan h3::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: white;
    opacity: 0.5;
}

.slogan h3::before {
    left: -60px;
}

.slogan h3::after {
    right: -60px;
}

@media (max-width: 767px) {
    .slogan h3::before,
    .slogan h3::after {
        position: relative;
        display: flex;
        margin: 0 auto;
    }
    .slogan h3::before {
        left: inherit;
    }

    .slogan h3::after {
        right: inherit;
        top: 5px;
    }
}

/* Features */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent));
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stats-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.stats-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 10%;
}

.stats-item {
    text-align: center;
    padding: 2rem;
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    display: inline-block;
    min-width: 120px;
}

/* Services */
.service-card {
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    transition: all 0.5s;
    z-index: -1;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    color: white;
}

.service-card:hover::before {
    height: 100%;
    opacity: 1;
}

.service-card:hover .service-icon {
    background: white;
    color: var(--accent);
}

.service-card:hover h4,
.service-card:hover p {
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.service-card:hover .btn-outline-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    display: flex;
    align-items: center;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.services-list .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-right: 1.25rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
}

.bg-blue {
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    border-color: #4361ee;
}

.bg-purple {
    background: linear-gradient(135deg, #7209b7, #560bad);
    border-color: #7209b7;
}

.bg-green {
    background: linear-gradient(135deg, #2ec4b6, #219ebc);
    border-color: #2ec4b6;
}

.bg-orange {
    background: linear-gradient(135deg, #ff9f1c, #f48c06);
    border-color: #ff9f1c;
}

.bg-pink {
    background: linear-gradient(135deg, #f72585, #b5179e);
    border-color: #f72585;
}

.bg-teal {
    background: linear-gradient(135deg, #4cc9f0, #4895ef);
    border-color: #4cc9f0;
}

.bg-red {
    background: linear-gradient(135deg, #e71d36, #c1121f);
    border-color: #e71d36;
}

.service-item.blue-item { border-left-color: #4361ee; }
.service-item.purple-item { border-left-color: #7209b7; }
.service-item.green-item { border-left-color: #2ec4b6; }
.service-item.orange-item { border-left-color: #ff9f1c; }
.service-item.pink-item { border-left-color: #f72585; }
.service-item.teal-item { border-left-color: #4cc9f0; }
.service-item.red-item { border-left-color: #e71d36; }

.approach-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative; 
    overflow: hidden;
    /* border-top: 5px solid #4361ee; */
}

.approach-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.approach-text {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}


/* Testimonials */
.testimonial-card {
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 1rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Contact */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-shape {
    position: absolute;
    z-index: 0;
}

.contact-shape-1 {
    top: 0;
    right: 0;
    width: 30%;
    height: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.contact-shape-2 {
    bottom: 0;
    left: 0;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-info-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: rgba(79, 70, 229, 0.3);
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-item  p > a {
    color: var(--primary);
}

.contact-info-item  p > a:hover {
    text-decoration: underline !important;
}

.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Team Member Card Styles */
.team-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-image {
    transition: all 0.5s ease;
}

.team-overlay {
    background: linear-gradient(to top, rgba(79, 70, 229, 0.8) 0%, rgba(124, 58, 237, 0.4) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card .social-icon {
    transition: all 0.3s ease;
}

.team-card .social-icon:hover {
    transform: translateY(-3px);
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #4f46e5, #7c3aed);
    margin: 15px auto 0;
    border-radius: 2px;
}


/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer .gradient-text-animated {
    background: linear-gradient(90deg, var(--light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
}

footer .gradient-text-animated::after {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* Footer Shapes */
.footer-shape {
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}
.footer-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}
.footer-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    background: rgba(143, 194, 93, 0.1);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    color: var(--primary);
    margin-right: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

footer .social-icon {
    border: 1px solid var(--light);
    color: var(--light);
}

footer .social-icon:hover {
   border: 1px solid #707581;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

/* Animations */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
    
    .stats-number {
        font-size: 2rem;
        min-width: 100px;
    }
}

/* Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0.5;
    transition: transform 0.1s, opacity 0.3s;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 9999;
    transition: width 0.1s;
}

/* Tabs */
.custom-tab {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border: none;
    color: var(--gray);
}

.custom-tab.active {
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 1.25rem;
    font-weight: 600;
    background-color: white;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(99, 102, 241, 0.05);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.fa-check-circle:before {
    color: var(--accent);
    font-size: .975rem;
}

/* Tooltip */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    bottom: 135%;
}

/* Our Team */
.team-section {
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1300px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.profile-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Hidden by default */
}

.profile-svg {
    display: block;
    /* Shown by default */
}

/* Show SVG only when image fails to load */
.profile-image-wrapper:not(:has(img:not([style*="display:none"]))) .profile-svg {
    display: block;
}
        
.profile-img-placeholder {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.8) 0%, rgba(124, 58, 237, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.profile-img-placeholder svg {
    width: 100%;
    height: 100%;
    color: white;
    opacity: 0.8;
}

.team-member-name {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.team-card:hover .team-member-name {
    color: var(--primary);
}

.team-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* margin: 16px; */
}

.team-image {
    transition: transform 0.6s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-card .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    transition: all 0.3s ease;
    margin: 0 5px;
    opacity: 0;
    transform: translateY(20px);
}

.team-card:hover .social-icon {
    opacity: 1;
    transform: translateY(0);
}

.team-card .social-icon:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card .social-icon:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card .social-icon:nth-child(3) {
    transition-delay: 0.3s;
}

.team-card .social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}