/* About Page Styles */
.about-page .page-title {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('../assets/img/about/bg-pattern.png') repeat;
    padding: 80px 0 40px;
    border-bottom: 1px solid #e8f4fc;
}

.about-page .page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.about-page .breadcrumbs {
    background: transparent;
    padding: 0;
}

.about-page .breadcrumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-page .breadcrumbs ol li {
    display: flex;
    align-items: center;
}

.about-page .breadcrumbs ol li a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-page .breadcrumbs ol li a:hover {
    color: #2980b9;
}

.about-page .breadcrumbs ol li.current {
    color: #7f8c8d;
}

.about-page .breadcrumbs ol li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #bdc3c7;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.image-stack {
    position: relative;
    height: 600px;
}

.main-image-wrapper {
    position: relative;
    width: 85%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
    z-index: 2;
}

.floating-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 22px;
}

.floating-card h6 {
    margin: 0 0 6px;
    color: #2c3e50;
    font-size: 16px;
}

.floating-card p {
    color: #7f8c8d;
    font-size: 13px;
    margin: 0;
}

.secondary-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 8px solid white;
}

.secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Wrapper */
.content-wrapper {
    padding-left: 40px;
}

.content-wrapper .badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.content-wrapper h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.content-wrapper .lead {
    font-size: 1.2rem;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 25px;
}

.content-wrapper p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Milestone Timeline */
.milestone-timeline {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
}

.milestone-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
}

.milestone-item:last-child {
    margin-bottom: 0;
}

.milestone-item::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 40px;
    bottom: -25px;
    width: 2px;
    background: #3498db;
    opacity: 0.3;
}

.milestone-item:last-child::before {
    display: none;
}

.milestone-year {
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.milestone-content {
    flex: 1;
}

.milestone-content h5 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 18px;
}

.milestone-content p {
    color: #7f8c8d;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-explore, .btn-video {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-explore {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.btn-explore:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    color: white;
}

.btn-video {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-video:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Features Showcase */
.features-showcase {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #ecf0f1;
}

.features-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.features-header p {
    color: #7f8c8d;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-visual img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-overlay {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3498db;
}

.feature-details {
    padding: 25px;
}

.feature-details h4 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-details p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Heritage Sites */
.heritage-sites {
    padding: 80px 0;
}

.section-title .description-title {
    display: inline-block;
    color: #3498db;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.heritage-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.heritage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.heritage-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.heritage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.heritage-card:hover .heritage-image img {
    transform: scale(1.05);
}

.heritage-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2c3e50;
}

.heritage-content {
    padding: 20px;
}

.heritage-content h4 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 10px;
}

.heritage-content p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.distance {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #95a5a6;
    font-size: 13px;
}

.distance i {
    color: #3498db;
}

/* Team Section */
.our-team {
    padding: 80px 0;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.team-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h4 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 5px;
}

.team-content span {
    display: block;
    color: #3498db;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-content p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .image-stack {
        height: 550px;
    }
    
    .main-image-wrapper {
        height: 400px;
    }
    
    .secondary-image {
        height: 250px;
    }
}

@media (max-width: 991px) {
    .image-stack {
        height: 500px;
        margin-bottom: 60px;
    }
    
    .content-wrapper {
        padding-left: 0;
    }
    
    .floating-card {
        right: 0;
        bottom: -30px;
    }
}

@media (max-width: 767px) {
    .about-page .page-title {
        padding: 60px 0 30px;
        text-align: center;
    }
    
    .about-page .page-title h1 {
        font-size: 2rem;
    }
    
    .about-page .breadcrumbs {
        justify-content: center;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .main-image-wrapper {
        height: 320px;
        width: 90%;
    }
    
    .secondary-image {
        height: 200px;
        right: 5%;
    }
    
    .floating-card {
        position: relative;
        width: 100%;
        max-width: 200px;
        margin: -30px auto 0;
        right: auto;
        bottom: auto;
    }
    
    .content-wrapper h2 {
        font-size: 1.8rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-explore, .btn-video {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .about-section {
        padding: 60px 0;
    }
    
    .image-stack {
        height: 350px;
    }
    
    .main-image-wrapper {
        height: 280px;
    }
    
    .secondary-image {
        height: 180px;
    }
    
    .milestone-year {
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
    
    .milestone-item::before {
        left: 30px;
    }
}

/* Animation classes for AOS */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .heritage-card,
    .team-card,
    .floating-card,
    .btn,
    .btn-explore,
    .btn-video {
        transition: none;
    }
    
    .feature-visual img,
    .heritage-image img,
    .team-image img {
        transition: none;
    }
}