.container {
    max-width: 1100px;
    margin: 0px auto;
    padding: 20px;
}

/* Main card */
.main-card {
    display: flex;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

/* Left card with image */
.left-card {
    flex: 1;
    text-align: center;
    background: #f1f1f1;
    padding: 30px;
    border-radius: 5px;
}

.left-card img {
    width: 100%;
    height: 100%;
    max-width: 450px;
    transition: 0.3s;
}

.left-card img:hover {
    transform: scale(1.1);
}

.profile-name {
    font-size: 22px;
    color: #031121;
    margin-top: 15px;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Right card with info */
.right-card {
    flex: 2;
    padding: 30px;
    height: 50%;
    border-radius: 12px;
    background: #f1f1f1;
}

.right-card h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

#profile-details {
    font-size: 22px;
    text-align: center;
    color: #0d11f9;
    font-weight: bold;
    border-bottom: 2px solid #0d11f9;
    padding-bottom: 15px;
}

label {
    font-family: Georgia, serif;
    font-weight: bold;
    color: black;
}

span {
    color: #333333;
    margin-left: 10px;
    font-family: Courier New, monospace;
    font-weight: bold;
}

.profile-description {
    font-size: 14px;
    font-family: 'Trebuchet MS', sans-serif;
    font-style: italic;
}

.main-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.follow-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 8px 100px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    outline: none;
    margin-top: 15px;
    margin-bottom: 15px;
}

.follow-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.follow-btn:active {
    transform: translateY(2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .main-card {
        flex-direction: column;
        gap: 20px;
    }

    .left-card img {
        max-width: 350px;
    }
}

/* Card Styling */
.info-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.info-card h2 {
    font-size: 32px;
    color: #0d11f9;
    font-weight: bold;
}

.info-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

/* Row Layout */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Left Side - Our Team */
.team-section {
    flex: 1;
    padding: 40px;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    color: white;
    text-align: center;
    border-right: 3px solid #ccc;
}

.team-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

/* Image Grid with 2 Rows */
.team-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
}

.team-images img {
    width: 130px;
    height: 160px;
    border-radius: 20%;
    object-fit: cover;
    border: 2px solid white;
    transition: transform 0.4s, box-shadow 0.4s;
    cursor: pointer;
}

.team-images img:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.7);
}

/* Right Side - Who We Are */
.about-section {
    flex: 2;
    padding: 40px;
    background: white;
}

.about-section p {
    text-align: justify;
}
.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Button Styles */
.btn-primary {
    background: #004aad;
    border: none;
    padding: 10px 25px;
    font-size: 18px;
    color: #fff;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
    }

    .team-section, .about-section {
        flex: 1;
        padding: 30px;
        border: none;
    }

    .team-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-images img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .team-images {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .team-images img {
        width: 250px !important;
        height: 250px !important;
        object-fit: cover;
        border-radius: 10px;
    }
}