/* ================= FONT FIX (BANGLA) ================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
     font-family: "Poppins", sans-serif;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    letter-spacing: 0.2px;
    color: #111827;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: #1a3c8b;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffd166;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffd166;
}

.login-btn {
    background-color: #ffd166;
    color: #1a3c8b !important;
    padding: 8px 20px !important;
    border-radius: 4px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/court.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    position: relative;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffd166;
}

.hero-btn {
    display: inline-block;
    background-color: #ffd166;
    color: #1a3c8b;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    background-color: #ffc145;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Common */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a3c8b;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ffd166;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #1a3c8b;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: #1a3c8b;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1a3c8b;
    margin-bottom: 15px;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: #f0f4ff;
}

.team-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.team-image {
    flex: 1;
    min-width: 300px;
}

.team-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-info {
    flex: 1;
    min-width: 300px;
}

.lawyer-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #ffd166;
}

.lawyer-card h3 {
    color: #1a3c8b;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.designation {
    color: #ffd166;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Case Search */
.case-search {
    padding: 80px 0;
    background-color: white;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1.1rem;
    font-family: 'Hind Siliguri', sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: #1a3c8b;
}

.search-box button {
    background-color: #1a3c8b;
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Hind Siliguri', sans-serif;
}

.search-box button:hover {
    background-color: #152c6e;
}

.search-result {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-details {
    width: 100%;
}

.case-details h3 {
    color: #1a3c8b;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.case-info {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.case-field {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.case-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.case-label {
    font-weight: 600;
    color: #1a3c8b;
    min-width: 150px;
}

.case-value {
    flex: 1;
}

.status-pending {
    color: #e74c3c;
    font-weight: 600;
}

.status-finished {
    color: #27ae60;
    font-weight: 600;
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    overflow: hidden;
}

.chatbot-header {
    background-color: #1a3c8b;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    font-size: 1.2rem;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chatbot-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.chatbot-messages {
    margin-bottom: 20px;
    min-height: 100px;
}

.bot-message {
    background-color: #f0f4ff;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #ffd166;
}

.chatbot-questions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.question-btn {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: left;
    cursor: pointer;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.question-btn:hover {
    background-color: #e9ecef;
    border-color: #1a3c8b;
}

/* Footer */
.footer {
    background-color: #1a3c8b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffd166;
}

.footer-logo p {
    color: #ccc;
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #ffd166;
    width: 20px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffd166;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd166;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.scroll-top-btn {
    background-color: #ffd166;
    color: #1a3c8b;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.scroll-top-btn:hover {
    background-color: #ffc145;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #1a3c8b;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .hero h2 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box button {
        padding: 15px;
    }
    
    .chatbot-container {
        width: 300px;
        right: 10px;
        bottom: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .chatbot-container {
        width: calc(100% - 20px);
        right: 10px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 60, 139, 0.8), rgba(26, 60, 139, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffd166;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    background-color: #ffd166;
    color: #1a3c8b;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    background-color: #ffc145;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-bg-image {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero {
        height: 80vh;
        min-height: 500px;
    }
}

/* Team Section - Updated */
.team {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 60, 139, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3c8b;
    text-decoration: none;
    transition: all 0.3s;
}

.team-social a:hover {
    background-color: #ffd166;
    transform: translateY(-3px);
}

.team-card-content {
    padding: 25px;
}

.team-card-content h3 {
    color: #1a3c8b;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.designation {
    color: #ffd166;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.experience {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.experience::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
}

.specialization {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.team-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cases-handled {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cases-handled i {
    color: #ffd166;
}

.consult-btn {
    background-color: #1a3c8b;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.consult-btn:hover {
    background-color: #152c6e;
    transform: translateY(-2px);
}

/* Responsive Team */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-card-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .team-card {
        margin: 0 10px;
    }
    
    .team-card-content {
        padding: 20px;
    }
    
    .team-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .consult-btn {
        text-align: center;
    }
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.copyright {
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.update-info, .developer-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.update-info span, .developer-info span {
    color: rgba(255, 255, 255, 0.7);
}

.update-date {
    color: #ffd166;
    font-weight: 500;
}

.developer-link {
    color: #ffd166;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 2px 5px;
    border-radius: 3px;
}

.developer-link:hover {
    color: white;
    background-color: rgba(255, 209, 102, 0.2);
    text-decoration: none;
}

/* Remove scroll to top button styles from CSS */
.scroll-top-btn {
    display: none;
}

/* Responsive Footer Bottom */
@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .update-info, .developer-info {
        justify-content: center;
        flex-direction: column;
        gap: 3px;
    }
    
    .copyright p {
        font-size: 0.9rem;
    }
    
    .update-info, .developer-info {
        font-size: 0.8rem;
    }
}

/* ================= LAW CHATBOT – PREMIUM UI ================= */
.law-chatbot-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Hind Siliguri', sans-serif;
}

/* Floating Button */
.law-chatbot-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}

.law-chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* Notification Badge */
.law-chatbot-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Chat Window */
.law-chatbot-window {
    position: absolute;
    bottom: 86px;
    right: 0;
    width: 360px;
    max-height: 520px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatFadeUp .35s ease;
}

.law-chatbot-window.active {
    display: flex;
}

/* Header */
.law-chatbot-header {
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
}

.law-chatbot-header button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Body (messages area) */
.law-chatbot-body {
    flex: 1;
    padding: 16px;
    background: #f1f5f9;
    overflow-y: auto;
}

/* Bot message */
.law-bot-msg {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Questions section (STAYS ALWAYS) */
.law-chatbot-questions {
    padding: 14px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.law-chatbot-questions button {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    border: 1px solid #1e3a8a;
    background: #f8fafc;
    font-size: 13.5px;
    cursor: pointer;
    text-align: left;
    transition: all .25s ease;
}

.law-chatbot-questions button:hover {
    background: #1e3a8a;
    color: #fff;
    transform: translateX(4px);
}

/* Scrollbar */
.law-chatbot-body::-webkit-scrollbar {
    width: 6px;
}
.law-chatbot-body::-webkit-scrollbar-thumb {
    background: #cbd5f5;
    border-radius: 10px;
}

/* Animation */
@keyframes chatFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .law-chatbot-window {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 80px;
    }
}



/* ===== OVERLAY ===== */
.team-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

/* ===== SOCIAL BUTTON ===== */
.team-social {
    transform: translateY(20px); /* 🔽 makes it a little lower */
}

.team-social a {
    width: 56px;
    height: 56px;
    background: #1877F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 22px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: all 0.3s ease;
}

/* Hover effect = REAL BUTTON FEEL */
.team-social a:hover {
    transform: scale(1.15);
    background: #0d5bd7;
}

/* Icon fine-tuning */
.team-social i {
    line-height: 1;
    transform: translateX(1px); /* Facebook icon optical centering */
}

