/* ========================================
   About Us Page - Unique Modern Design
   ======================================== */

/* Page Header with Diagonal Shape */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    margin-top: 80px;
}

.header-shape {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(187, 95, 32, 0.1);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.page-tag {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Story Section with Animated Stats */
.story-section {
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content .section-tag {
    color: var(--secondary-color);
}

.story-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0 30px;
    line-height: 1.2;
}

.story-text p {
    font-size: 1.0625rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Animated Stats Cards */
.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(1, 52, 109, 0.3);
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    box-shadow: 0 10px 30px rgba(187, 95, 32, 0.3);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #1a5a9e 0%, #01346d 100%);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.stat-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    display: block;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.stat-plus {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.stat-card:nth-child(2) .stat-plus {
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 400;
    margin-top: 10px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Values Section - Hexagon Grid */
.values-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.values-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/backround4.jpg') center/cover no-repeat fixed;
}

.values-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 52, 109, 0.85) 0%, rgba(1, 42, 90, 0.90) 100%);
}

.values-section .container {
    position: relative;
    z-index: 2;
}

.values-section .section-header.light .section-tag {
    color: var(--secondary-color);
}

.values-section .section-header.light .section-title {
    color: var(--text-white);
}

.values-hexagon {
    max-width: 800px;
    margin: 60px auto 0;
}

.hexagon-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: -40px;
}

.hexagon-row.center {
    margin: -20px 0;
}

.hexagon {
    width: 280px;
    height: 320px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hexagon-inner {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hexagon:hover {
    transform: translateY(-15px) scale(1.05);
    z-index: 10;
}

.hexagon:hover .hexagon-inner {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hexagon h3 {
    color: var(--primary-color);
    transition: color 0.4s ease;
}

.hexagon p {
    color: var(--text-light);
    transition: color 0.4s ease;
}

.hexagon:hover .hexagon-icon {
    background: var(--secondary-color);
}

.hexagon-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.hexagon-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-white);
}

.hexagon h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.4s ease;
}

.hexagon p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.4s ease;
}

/* Team Section - Profile Reveal */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.team-showcase {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.team-profile {
    position: relative;
}

.profile-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.profile-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(1, 52, 109, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-image:hover .profile-overlay {
    opacity: 1;
}

.profile-social {
    display: flex;
    gap: 15px;
}

.profile-social a {
    width: 45px;
    height: 45px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.profile-social svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.profile-social a:hover svg {
    color: var(--text-white);
}

.profile-info {
    text-align: center;
    margin-top: 25px;
}

.profile-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.profile-title {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.profile-credentials {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.team-bio {
    background: var(--text-white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.team-bio::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 40px;
    font-family: 'Georgia', serif;
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
}

.bio-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.bio-content p {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.highlight {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.highlight:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.highlight:hover span {
    color: var(--text-white);
}

.highlight span {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Partners Marquee */
.partners-section {
    padding: 80px 0;
    text-align: center;
}

.partners-section .section-header.light .section-tag {
    color: var(--secondary-color);
}

.partners-section .section-header.light .section-title,
.partners-section .section-header.light .section-subtitle {
    color: var(--text-white);
}

.partners-marquee {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 80px;
    animation: marquee 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .story-stats {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .team-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-profile {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hexagon {
        width: 240px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .story-title {
        font-size: 2rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hexagon-row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
        gap: 20px;
    }
    
    .hexagon-row.center {
        margin: 20px 0;
    }
    
    .hexagon {
        width: 280px;
        height: 320px;
    }
    
    .team-bio {
        padding: 30px;
    }
    
    .bio-highlights {
        grid-template-columns: 1fr;
    }
    
    .profile-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .hexagon {
        width: 260px;
        height: 300px;
    }
}
