﻿/* faculty.css - Complete Professional Styling with Proper Alignment */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
}

.faculty-wrapper {
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Modern Hero Section */
.faculty-hero-modern {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 120px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container-modern {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-left-modern {
    color: white;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

    .hero-badge-modern i {
        font-size: 14px;
    }

.hero-title-modern {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

    .hero-title-modern .highlight-text {
        color: #ffd700;
        position: relative;
        display: inline-block;
    }

.hero-description-modern {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-stats-modern {
    display: flex;
    gap: 40px;
}

.stat-item-modern {
    text-align: left;
}

.stat-number-modern {
    font-size: 36px;
    font-weight: 800;
    color: #ffd700;
    display: block;
    margin-bottom: 8px;
}

.stat-label-modern {
    font-size: 14px;
    opacity: 0.9;
}

.hero-right-modern {
    position: relative;
    height: 400px;
}

.hero-image-container {
    position: relative;
    height: 100%;
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

    .hero-floating-card i {
        font-size: 24px;
        color: #ffd700;
    }

    .hero-floating-card span {
        color: white;
        font-weight: 500;
    }

    .hero-floating-card:first-child {
        top: 20px;
        right: 20px;
        animation-delay: 0s;
    }

.card-2 {
    bottom: 80px;
    left: 0;
    animation-delay: 1s;
}

.card-3 {
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Faculty Introduction Section */
.faculty-intro-section {
    padding: 80px 0;
    background: white;
}

.intro-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #764ba2;
    background: rgba(118, 75, 162, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.intro-text-center h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-text-center p {
    color: #64748b;
    line-height: 1.7;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.intro-quote-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    margin-top: 20px;
}

    .intro-quote-card i {
        font-size: 48px;
        color: #764ba2;
        opacity: 0.3;
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .intro-quote-card p {
        font-size: 20px;
        font-weight: 500;
        color: #1e293b;
        line-height: 1.5;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
        font-style: italic;
    }

    .intro-quote-card span {
        color: #764ba2;
        font-weight: 600;
        display: block;
    }

/* Staff Section Redesigned */
.staff-section-redesigned {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header-custom {
    text-align: center;
    margin-bottom: 60px;
}

.header-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #764ba2;
    background: rgba(118, 75, 162, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header-custom h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-header-custom p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Tabs Container */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: white;
    border: none;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .tab-btn-custom i {
        font-size: 18px;
    }

.count-badge {
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    color: #64748b;
}

.tab-btn-custom.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

    .tab-btn-custom.active .count-badge {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

.tab-btn-custom:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Staff Grid */
.staff-grid-custom {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

    .staff-grid-custom.active {
        display: grid;
        animation: fadeInUp 0.5s ease;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Principal Card - Properly Aligned */
.staff-card-principal {
    grid-column: span 2;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

    .staff-card-principal:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

.principal-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 1px;
}

.card-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
}

.principal-image-wrapper {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principal-image {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .principal-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.4s ease;
    }

.staff-card-principal:hover .principal-image img {
    transform: scale(1.05);
}

.principal-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.3s ease;
}

.staff-card-principal:hover .principal-social {
    bottom: 0;
}

.principal-social a {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #764ba2;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .principal-social a:hover {
        background: #ffd700;
        color: #764ba2;
        transform: translateY(-3px);
    }

.principal-info {
    padding: 40px;
    background: white;
}

    .principal-info h3 {
        font-size: 28px;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 8px;
    }

.principal-title {
    color: #764ba2;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(118, 75, 162, 0.1);
    padding: 5px 16px;
    border-radius: 30px;
}

.principal-details {
    margin: 20px 0;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748b;
}

    .detail-row i {
        width: 20px;
        color: #764ba2;
        font-size: 14px;
    }

.principal-message-short {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    margin-top: 20px;
    position: relative;
}

    .principal-message-short i {
        font-size: 24px;
        color: #764ba2;
        opacity: 0.3;
        position: absolute;
        top: 15px;
        left: 15px;
    }

    .principal-message-short p {
        font-size: 14px;
        color: #475569;
        line-height: 1.6;
        font-style: italic;
        position: relative;
        z-index: 1;
    }

/* Regular Staff Cards */
.staff-card-custom {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

    .staff-card-custom:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

.staff-image-custom {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

    .staff-image-custom img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.staff-card-custom:hover .staff-image-custom img {
    transform: scale(1.05);
}

.staff-social-custom {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.3s ease;
}

.staff-card-custom:hover .staff-social-custom {
    bottom: 0;
}

.staff-social-custom a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #764ba2;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .staff-social-custom a:hover {
        background: #764ba2;
        color: white;
        transform: translateY(-3px);
    }

.staff-info-custom {
    padding: 24px;
}

    .staff-info-custom h3 {
        font-size: 20px;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 4px;
    }

.staff-position-custom {
    color: #764ba2;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 16px;
    display: inline-block;
    background: rgba(118, 75, 162, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.staff-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

    .staff-qualifications span {
        font-size: 12px;
        color: #64748b;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .staff-qualifications i {
        color: #764ba2;
        font-size: 11px;
    }

.staff-bio-custom {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    font-style: italic;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

/* Faculty Values Section */
.faculty-values-section {
    padding: 80px 0;
    background: white;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #764ba2;
    background: rgba(118, 75, 162, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.values-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-5px);
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .value-icon i {
        font-size: 40px;
        color: #764ba2;
    }

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
}

/* Join Us CTA */
.join-us-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.cta-container {
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

    .cta-content h2 span {
        color: #ffd700;
    }

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #764ba2;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        gap: 16px;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title-modern {
        font-size: 44px;
    }

    .card-inner {
        grid-template-columns: 280px 1fr;
    }

    .principal-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero-container-modern {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title-modern {
        font-size: 36px;
    }

    .hero-stats-modern {
        justify-content: center;
    }

    .hero-description-modern {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge-modern {
        margin-left: auto;
        margin-right: auto;
    }

    .intro-text-center h2 {
        font-size: 32px;
    }

    .intro-quote-card p {
        font-size: 18px;
    }

    .section-header-custom h2,
    .values-header h2,
    .cta-content h2 {
        font-size: 32px;
    }

    .staff-grid-custom {
        grid-template-columns: 1fr;
    }

    .staff-card-principal {
        grid-column: span 1;
    }

    .card-inner {
        grid-template-columns: 1fr;
    }

    .principal-image-wrapper {
        padding: 30px;
    }

    .principal-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .principal-info {
        text-align: center;
    }

    .detail-row {
        justify-content: center;
    }

    .principal-message-short {
        text-align: left;
    }

    .tabs-container {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn-custom {
        width: 100%;
        justify-content: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title-modern {
        font-size: 28px;
    }

    .hero-stats-modern {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .stat-item-modern {
        text-align: center;
    }

    .hero-floating-card {
        display: none;
    }

    .intro-text-center h2 {
        font-size: 28px;
    }

    .principal-info h3 {
        font-size: 22px;
    }

    .principal-details {
        text-align: left;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
