/* ========================================
   CAPABILITIES PAGE - STYLES
   ======================================== */

/* ========================================
   PAGE HERO
   ======================================== */
.page-hero {
    height: 65vh;
    min-height: 400px;
    background: linear-gradient(rgba(10, 30, 66, 0.5), rgba(6, 15, 36, 0.7)), url('../images/team.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 46, 95, 0.3);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
	padding-top: 65px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* ========================================
   COMPANY DESCRIPTION
   ======================================== */
.company-description {
    padding: 4rem 0;
    background-color: #ffffff;
}

body.dark-mode .company-description {
    background-color: var(--dark-navy);
}

.description-box {
    background-color: rgba(10, 30, 66, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--gold);
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .description-box {
    background-color: rgba(248, 246, 240, 0.05);
}

.description-box p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
    text-align: justify;
}

body.dark-mode .description-box p {
    color: var(--ivory);
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

body.dark-mode .team-section {
    background-color: var(--navy-blue);
}

.team-member {
    text-align: center;
    margin: 0 auto 3rem auto;
    transition: all 0.3s ease;
    max-width: 280px;
}

.team-member:hover {
    transform: translateY(-10px);
}

/* ========================================
   MEMBER IMAGE
   ======================================== */
.member-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 4/5;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.team-member:hover .member-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Social Overlay */
.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 30, 66, 0.9), transparent);
    padding: 1rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
	color:#d4af37;
	
}

.member-social a {
    color: var(--gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.member-social a:hover {
    color: var(--ivory);
    transform: translateY(-3px);
}

/* ========================================
   MEMBER NAME & POSITION
   ======================================== */
.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

body.dark-mode .member-name {
    color: var(--gold);
}

.member-position {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
}

body.dark-mode .member-position {
    color: var(--light-gray);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .page-hero {
        height: 50vh;
        min-height: 350px;
        background-attachment: scroll;
    }

    .member-image {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 45vh;
        min-height: 300px;
        padding: 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
		padding-top: 60px;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .description-box {
        padding: 1.5rem;
    }

    .description-box p {
        font-size: 0.95rem;
        text-align: left;
    }

    .team-section {
        padding: 3rem 0;
    }

    .team-member {
        margin-bottom: 2rem;
    }

    .member-image {
        max-width: 220px;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .member-image {
        max-width: 180px;
    }

    .team-member {
        margin-bottom: 1.5rem;
    }
}

/* ========================================
   TOUCH FEEDBACK (Mobile/Tablet)
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .team-member:active {
        transform: scale(0.98);
    }

    .member-social a:active {
        transform: scale(1.1);
        color: var(--ivory);
    }
}