/* ================================
   About Page Specific Styles
================================ */

/* Global Safety Fix */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* ================================
   About Hero
================================ */
.about-hero {
    background: linear-gradient(rgba(10, 31, 68, 0.9), rgba(10, 31, 68, 0.95)),
        url('../images/about_img/BG_Image.JPG');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 90px;
}

.about-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--light-blue);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    font-size: 0.8rem;
}

/* ================================
   Mission & Vision
================================ */
.mission-vision {
    padding: 100px 0;
    background-color: #0c1120;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.mv-card {
    background-color: var(--secondary-blue);
    padding: 40px;
    border-radius: 10px;
    transition: var(--transition);
    border-left: 5px solid transparent;
}

.mv-card.mission {
    border-left-color: var(--accent-blue);
}

.mv-card.vision {
    border-left-color: #4fd1c7;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 111, 165, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--light-blue);
    font-size: 1.8rem;
}

.mv-card.vision .mv-icon {
    color: #4fd1c7;
}

.mv-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.mv-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ================================
   History Section
================================ */
.history {
    padding: 100px 0;
    background-color: var(--primary-blue);
}

.history-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.history-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.history-image:hover img {
    transform: scale(1.05);
}

.history-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.history-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.milestone {
    text-align: center;
    padding: 15px;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 8px;
    border-top: 3px solid var(--accent-blue);
}

.milestone h4 {
    color: var(--light-blue);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.milestone p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ================================
   Team Section
================================ */
.team {
    padding: 100px 0;
    background-color: #0c1120;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--secondary-blue);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid rgba(74, 111, 165, 0.3);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: white;
}

.member-role {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.member-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(74, 111, 165, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-blue);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
}

.team-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: var(--secondary-blue);
    border-radius: 10px;
}

.team-cta p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Activities Section
================================ */
.activities {
    padding: 100px 0;
    background-color: var(--primary-blue);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.activity-card {
    background-color: var(--secondary-blue);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.activity-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent-blue);
    box-shadow: var(--shadow);
}

.activity-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 111, 165, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--light-blue);
    font-size: 1.8rem;
}

.activity-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

.activity-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.activity-list {
    list-style: none;
}

.activity-list li {
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 25px;
}

.activity-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* ================================
   Advisors Section
================================ */
.advisors {
    padding: 100px 0;
    background-color: #0c1120;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.advisor-card {
    background-color: var(--secondary-blue);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 40px 30px;
    transition: var(--transition);
}

.advisor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.advisor-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 5px solid rgba(74, 111, 165, 0.3);
}

.advisor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: white;
}

.advisor-title {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.advisor-bio {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ================================
   Responsive Styles
================================ */
@media (max-width: 992px) {
    .about-hero-title {
        font-size: 3rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .history-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 150px 15px 80px;
        margin-top: 80px;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
    }

    .mv-card {
        padding: 30px;
    }
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    gap: 15px;
    text-align: center;
}

@media (max-width: 576px) {
    .about-hero {
        padding: 120px 15px 70px;
        margin-top: 70px;
    }

    .mv-card {
        padding: 22px;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .member-image {
        width: 130px;
        height: 130px;
    }

    .advisor-image {
        width: 150px;
        height: 150px;
    }

    .milestones {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .milestones {
        grid-template-columns: 1fr;
    }
}

/* Special styling for each logo */
.footer-logo .logo-icon:nth-child(1) {
    /* SEUSL Logo */
    width: 60px;
    height: 60px;
}

.footer-logo .logo-icon:nth-child(2) {
    /* Union Logo */
    width: 55px;
    height: 55px;
}

.footer-logo .logo-icon:nth-child(3) {
    /* Heart of Agni Logo */
    width: 50px;
    height: 50px;
}

.footer-logo-text {
    margin-left: 10px;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.footer-logo-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================
   Footer Logo Layout Fix
================================ */
.footer-logo {
    display: block;
    flex-direction: row;
    margin-bottom: 20px;
}

.footer-logo .footer-logo-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Special styling for each logo */
.footer-logo .logo-icon:nth-child(1) {
    /* SEUSL Logo */
    width: 60px;
    height: 60px;
}

.footer-logo .logo-icon:nth-child(2) {
    /* Union Logo */
    width: 55px;
    height: 55px;
}

.footer-logo .logo-icon:nth-child(3) {
    /* Heart of Agni Logo */
    width: 50px;
    height: 50px;
}

.footer-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    text-align: center;
}

.footer-logo-text h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 5px;
}

.footer-logo-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-about {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive adjustments for footer logo */
@media (max-width: 768px) {
    .logo-icons-row {
        gap: 15px;
    }

    .footer-logo .logo-icon:nth-child(1) {
        width: 50px;
        height: 50px;
    }

    .footer-logo .logo-icon:nth-child(2) {
        width: 45px;
        height: 45px;
    }

    .footer-logo .logo-icon:nth-child(3) {
        width: 40px;
        height: 40px;
    }

    .footer-logo-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo-icons-row {
        gap: 10px;
    }

    .footer-logo .logo-icon:nth-child(1) {
        width: 45px;
        height: 45px;
    }

    .footer-logo .logo-icon:nth-child(2) {
        width: 40px;
        height: 40px;
    }

    .footer-logo .logo-icon:nth-child(3) {
        width: 35px;
        height: 35px;
    }

    .footer-logo-text h3 {
        font-size: 1.3rem;
    }

}
