﻿/* Main Card Section */
.main-card {
    height: 100vh; /* Full viewport height for the main card */
}

.inner-card {
    height: 60%; /* Adjust this based on the desired size of the inner card */
}

/* Section 4: Team Section */
.team-section {
    background-color: #f8f9ff;
    padding: 4rem 0;
}

.team-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 3rem;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 3rem 1.5rem 1.5rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: inline-block;
    width: 250px;
    margin-right: 1rem;
    position: relative;
    word-wrap: break-word; /* Ensures long words break properly */
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #4169E1;
    padding: 3px;
    margin: 0 auto 1rem;
    position: absolute;
    top: -40px; /* Adjusted to place image outside the card */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Ensures the image is above the card */
}

.title-primary {
    color: #4169E1;
    margin-bottom: 0.5rem;
}

.role {
    color: #333;
    font-weight: 600;
}

.qualification {
    font-size: 0.9rem;
    color: #666;
}

.social-links {
    margin-top: 1.5rem;
}

    .social-links a {
        color: #4169E1;
        margin: 0 0.5rem;
        font-size: 1.2rem;
        text-decoration: none;
    }

.read-more {
    color: #4169E1;
    text-decoration: none;
    font-weight: 500;
}

/* Make images and text responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.fs-1, .fs-2, .fs-3, .fs-4, .fs-5, .fs-6 {
    font-size: calc(1.5rem + 1vw);
}

/* Make the text and layout responsive */
.text-center {
    text-align: center;
}

/* Mobile responsiveness for cards */

/* Section 5: Contact Us */
.contact-btn {
    background-color: #6678f3;
    box-shadow: 0 4px 0px yellow;
}

/* Card responsiveness */
.card {
    border-radius: 20px;
}
