﻿:root {
    --primary-blue: #3498db;
    --dark-blue: #2980b9;
    --light-blue: #d6eaf8;
    --primary-green: #2ecc71;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --gradient-start: #1abc9c;
    --gradient-end: #3498db;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #f9f9f9;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Three.js Background */
#threejs-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* Header Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    }

.hero-title {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .hero-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: white;
        border-radius: 2px;
    }

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
        border-radius: 2px;
    }

/* Team Cards */
.team-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
    border: none;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    min-height: 710px;
}

    .team-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(52, 152, 219, 0.05));
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .team-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

        .team-card:hover::before {
            opacity: 1;
        }

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin: 18px auto 20px;
    display: block;
    position: relative;
    z-index: 2;
    background: #f1f1f1;
}

.team-card .card-body {
    padding: 30px;
    text-align: center;
}

.team-name {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-position {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.team-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .social-links a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--light-blue);
        color: var(--primary-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }

        .social-links a:hover {
            background: var(--primary-blue);
            color: white;
            transform: translateY(-3px);
        }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (min-width: 557px) and (max-width: 992px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .nav-max-witdh {
        max-width: 100% !important;
    }

    .hero-section {
        padding: 100px 0 60px;
        height: 513.92px !important;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        line-height: 2 !important;
        padding-top: 10px !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-section {
        padding: 30px 0 !important;
    }
}

@media (min-width : 768px) and (max-width : 992px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .Adeel-Ahmad-Card-tab {
        height: 94% !important;
    }

    .Muhammad-Zunair-Card-tab {
        height: 97% !important;
    }

    .Wafa-Zainab-Card-tab {
        height: 96% !important;
    }
}

@media (min-width: 320px) and (max-width: 575px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .hero-section {
        height: 400px !important;
    }

    .hero-title {
        font-size: 1.3rem !important;
    }

    .hero-subtitle {
        font-size: 0.7rem !important;
    }

    .hero-subtitle-p {
        margin-bottom: 8px !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .team-img {
        width: 120px;
        height: 120px;
        /*        margin-top: -60px;*/
    }

    .team-section {
        padding: 30px 0 !important;
    }

    .team-name {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
    }

    .team-card .card-body {
        padding: 15px !important;
        padding-top: 10px !important;
    }

    .team-position {
        color: var(--primary-blue);
        font-weight: 300;
        margin-bottom: 12px;
        display: block;
    }
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgb(56 147 57 / 56%) !important;
}

#SecondCard {
    min-height: 663px !important;
}