* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Updated `main-content` rule to expand and push footer down */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    padding-top: 5rem;
    /* Added to prevent content from hiding behind the fixed header */
    flex: 1;
}

/* Animated Background Elements */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
}

.shape:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Page Title */
.page-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: #081F5C;
    margin-bottom: 1rem;
    position: relative;
    background: linear-gradient(135deg, #081F5C, #334EAC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #081F5C, #334EAC);
    border-radius: 2px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Vision & Mission Section */
.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(8, 31, 92, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(8, 31, 92, 0.15);
}

.info-card-icon {
    font-size: 3rem;
    color: #334EAC;
    margin-bottom: 1.5rem;
    display: block;
}

.info-card h2 {
    color: #081F5C;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Decorative Elements */
.section-decoration {
    text-align: center;
    margin: 4rem 0;
    position: relative;
}

.decoration-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #334EAC, transparent);
    margin: 2rem 0;
    position: relative;
}

.decoration-circle {
    width: 20px;
    height: 20px;
    background: #334EAC;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Team Section */
.team-section {
    padding: 3rem 0;
    position: relative;
}

.team-section h2 {
    color: #081F5C;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #081F5C, #334EAC);
    border-radius: 2px;
}

.team-intro {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Team Grid Layout */
.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.team-row {
    display: grid;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

.team-row.four-members {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
}

.team-row.three-members {
    grid-template-columns: repeat(3, 1fr);
    max-width: 750px;
    justify-self: center;
}

.team-member {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(8, 31, 92, 0.2);
}

.member-photo {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.linkedin-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0A66C2, #004182);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, 0.9);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.linkedin-icon svg {
    width: 20px;
    height: 20px;
}

.linkedin-icon:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 30px rgba(10, 102, 194, 0.4);
}

.member-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-name {
    color: #081F5C;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-id {
    color: #7096D1;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    margin: 5rem 0;
    text-align: center;
}

.values-section h2 {
    color: #081F5C;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 800;
    position: relative;
}

.values-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #081F5C, #334EAC);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #081F5C, #334EAC, #7096D1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(8, 31, 92, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #081F5C, #334EAC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(360deg);
}

.value-card h3 {
    color: #081F5C;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-row.four-members {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .team-row.three-members {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .team-section h2 {
        font-size: 2.2rem;
    }

    .team-row.four-members,
    .team-row.three-members {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .vision-mission-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    .values-section h2 {
        font-size: 2.2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .team-section h2 {
        font-size: 1.8rem;
    }

    .member-photo {
        height: 250px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content>* {
    animation: fadeInUp 0.6s ease forwards;
}

.team-member:nth-child(1) {
    animation-delay: 0.1s;
}

.team-member:nth-child(2) {
    animation-delay: 0.2s;
}

.team-member:nth-child(3) {
    animation-delay: 0.3s;
}

.team-member:nth-child(4) {
    animation-delay: 0.4s;
}