:root {
    --primary-color: #2148C0;
    --secondary-color: #FF5722;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* navbar (identical to index.php) */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s 0.2s backwards;
}

/* section Title (matches index.php) */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 45px 0 70px;
}

.about-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

.about-content {
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(33, 72, 192, 0.15);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #2148C0, #7c3aed, #ec4899, #FF5722);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
}

.about-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 72, 192, 0.08), transparent);
    animation: shimmer 3s infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.about-content>* {
    position: relative;
    z-index: 1;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(33, 72, 192, 0.25);
    transition: all 0.4s ease;
}

/* colored top banner, fills the space above the heading so the card never looks like it has an empty gap */
.about-topbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    margin: -40px -40px 28px -40px;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 20px 20px 0 0;
}

.about-heading {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 32px;
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s backwards;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text {
    text-align: justify;
    line-height: 2;
    font-size: 16px;
    color: #555;
}

.text-slide {
    display: inline;
    opacity: 0;
    animation: slideInText 0.8s ease-out forwards;
}

.text-slide:nth-child(1) {
    animation-delay: 0.3s;
}

.text-slide:nth-child(2) {
    animation-delay: 0.6s;
}

.text-slide:nth-child(3) {
    animation-delay: 0.9s;
}

@keyframes slideInText {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* stats Section (gradient matching index.php hero) */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Mission Vision */
.mission-vision-section {
    padding: 80px 0;
    background: #bfd1ea;
}

.mission-vision-card {
    background: white;
    border: 2px solid #ffc107;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mission-vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border-color: #ffb300;
}

.mission-vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(33, 72, 192, 0.25);
}

.mission-vision-card h3 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.mission-vision-card p {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: #eef1fb;
}

.value-box {
    text-align: center;
    padding: 34px 22px 28px;
    background: #fff;
    border: 2px solid #ffc107;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(33, 72, 192, 0.12);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.value-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(33, 72, 192, 0.2);
    border-color: var(--primary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(33, 72, 192, 0.25);
}

.value-box h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.value-box p {
    color: #555;
    line-height: 1.6;
    text-align: center;
}

/* on phones, show 2 cards per row instead of 1 full-width card at a time */
@media (max-width: 767px) {
    .values-section {
        padding: 50px 0;
    }

    .value-box {
        padding: 20px 12px 16px;
        border-radius: 14px;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .value-box h5 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .value-box p {
        font-size: 0.78rem;
        line-height: 1.4;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-card {
    background: white;
    border: 2px solid #ffc107;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border-color: #ffb300;
}

.team-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    flex-shrink: 0;
}

.team-info {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info h4 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.team-info .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-info p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 0;
    text-align: center;
}

.team-sub-list {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 4px 0 0;
    flex: 1;
}

.team-sub-list li {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    padding: 8px 0 8px 20px;
    position: relative;
    border-bottom: 1px dashed #eee;
}

.team-sub-list li:last-child {
    border-bottom: none;
}

.team-sub-list li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 9px;
    font-size: 0.8rem;
}

.team-sub-list .sub-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.team-sub-list .sub-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-top: 1px;
}

.team-sub-list .sub-contact {
    color: #888;
    font-size: 0.8rem;
    margin-top: 2px;
}

.team-sub-list .sub-contact i {
    font-size: 0.72rem;
    margin-right: 3px;
}

/* footer (identical to index.php) */
.footer {
    background: linear-gradient(180deg, var(--bs-emphasis-color) 0%, #2c3e50 100%);
    color: white;
    padding: 40px 0 20px;
    border-top: 3px solid var(--secondary-color);
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    cursor: pointer;
}

.footer a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #34495e;
    color: #bbb;
}

/* animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .navbar-brand img {
        height: 50px;
    }

    .about-content {
        padding: 25px;
        border-radius: 15px;
        height: auto;
    }

    .about-topbar {
        margin: -25px -25px 20px -25px;
        padding: 12px 25px;
        border-radius: 15px 15px 0 0;
    }

    .about-image {
        min-height: 220px;
    }

    .about-heading {
        font-size: 24px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}