/* About Page Styles */
.about-hero {
    position: relative;
    height: 425px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 91px;
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
}

.about-hero-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.about-hero-arrow:hover {
    transform: translateX(-50%) scale(1.1);
}

.about-expand-arrow {
    width: 46px;
    height: 25px;
    object-fit: contain;
    display: block;
}

/* About Content Sections */
.about-content-section {
    padding: 112px 0;
    background: #FFFFFF;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    width: 100%;
    text-align: center;
}

.about-text {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.about-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    margin-bottom: 32px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

.about-text p {
    margin-bottom: 24px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Statistics Section */
.about-stats-section {
    padding: 80px 0;
    background: #EBEBEB;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #696969;
    transform: scale(1.1);
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #696969;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Images Grid - Two images above text */
.about-images-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

/* About Images Grid - Three images below text */
.about-images-grid-three {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.about-image-left {
    grid-row: span 2;
}

.about-image-right {
    grid-column: 2;
}

/* Legacy About Images Grid */
.about-images-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.about-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: #FFFFFF;
    min-height: 200px;
}

.about-image-large {
    grid-row: span 2;
    min-height: 420px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.05) contrast(1.1);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image-info {
    text-align: center;
    color: #FFFFFF;
    transform: translateY(15px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image-info h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-image-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Hover Effects */
.about-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-image-item:hover .about-image {
    transform: scale(1.05);
}

.about-image-item:hover .about-image-overlay {
    opacity: 1;
}

.about-image-item:hover .about-image-info {
    transform: translateY(0);
}

/* About Image Item Animations */
.about-image-item:nth-child(1) {
    animation: aboutImageFloat 6s ease-in-out infinite;
}

.about-image-item:nth-child(2) {
    animation: aboutImageFloat 6s ease-in-out infinite 1.5s;
}

.about-image-item:nth-child(3) {
    animation: aboutImageFloat 6s ease-in-out infinite 3s;
}

.about-image-item:nth-child(4) {
    animation: aboutImageFloat 6s ease-in-out infinite 4.5s;
}

.about-image-item:nth-child(5) {
    animation: aboutImageFloat 6s ease-in-out infinite 6s;
}

@keyframes aboutImageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.about-image-item:hover {
    animation-play-state: paused;
}

/* Ripple Effect for About Image Items */
.about-image-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.about-image-item:active::before {
    width: 200px;
    height: 200px;
}

/* Timeline Section */
.about-timeline-section {
    padding: 112px 0;
    background: #FFFFFF;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #EBEBEB;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
}

.timeline-year {
    position: absolute;
    top: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: 20px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: 20px;
}

.timeline-content {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: #FFFFFF;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: #FFFFFF;
}

.timeline-content h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}

.timeline-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #696969;
    line-height: 1.6;
    margin: 0;
}

.stat-number.plus::after {
    content: '+';
    margin-left: 2px;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced hover effects for content */
.about-content {
    transition: transform 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
}

.about-heading {
    transition: color 0.3s ease, letter-spacing 0.3s ease;
    position: relative;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: #000000;
    transition: width 0.3s ease;
}

.about-content:hover .about-heading::after {
    width: 50px;
}

.about-content:hover .about-heading {
    color: #696969;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Floating animation for stats */
.stat-item {
    animation: float 6s ease-in-out infinite;
}

.stat-item:nth-child(1) {
    animation-delay: 0s;
}

.stat-item:nth-child(2) {
    animation-delay: 1.5s;
}

.stat-item:nth-child(3) {
    animation-delay: 3s;
}

.stat-item:nth-child(4) {
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse effect for timeline years */
.timeline-year {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* About Page Responsive Styles */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 42px;
    }
    
    .about-content-wrapper {
        gap: 40px;
        padding: 0 16px;
    }
    
    .about-content {
        padding: 0;
    }
    
    .about-text {
        padding: 0;
    }
    
    .about-heading {
        font-size: 28px;
    }
    
    /* About Images responsive */
    .about-images-grid-two {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 500px;
        margin: 40px auto 0 auto;
    }
    
    .about-images-grid-three {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
        max-width: 500px;
        margin: 40px auto 0 auto;
    }
    
    .about-image-left {
        grid-row: span 1;
    }
    
    .about-image-right {
        grid-column: 1;
    }
    
    .about-images-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
        max-width: 500px;
        margin: 40px auto 0 auto;
    }
    
    .about-image-large {
        grid-row: span 1;
        min-height: 200px;
    }
    
    .about-image-item {
        min-height: 150px;
    }
    
    .about-image-info h4 {
        font-size: 16px;
    }
    
    .about-image-info p {
        font-size: 12px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px !important;
        padding-right: 0 !important;
    }
    
    .timeline-year {
        left: 0 !important;
        right: auto !important;
        font-size: 18px;
    }
    
    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        border-right-color: #FFFFFF !important;
        border-left-color: transparent !important;
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 32px;
    }
    
    .about-heading {
        font-size: 24px;
    }
    
    /* About Images mobile responsive */
    .about-images-grid-two {
        max-width: 100%;
        gap: 12px;
        margin: 30px auto 0 auto;
    }
    
    .about-images-grid-three {
        max-width: 100%;
        gap: 12px;
        margin: 30px auto 0 auto;
    }
    
    .about-images-grid {
        max-width: 100%;
        gap: 12px;
        margin: 30px auto 0 auto;
    }
    
    .about-image-item {
        min-height: 120px;
        border-radius: 6px;
    }
    
    .about-image-large {
        min-height: 150px;
    }
    
    .about-image-info h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .about-image-info p {
        font-size: 11px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .timeline-item {
        margin-bottom: 40px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 18px;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
} 