/* About Page Specific Styles */

/* About Hero Section */
.about-hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 80px;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="%23d4af37"/><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    animation: fadeInDown 1s ease;
}

.about-hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

/* Introduction Section */
.about-introduction {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.intro-text p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;

}

/* About features (new simplified details) */
.about-features {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, #ffffff 0%, #fbfbfb 100%);
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    background: rgba(212,175,55,0.08);
    border-radius: 8px;
}

.feature-body h4 {
    margin: 0 0 6px 0;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.feature-body p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Key Details Section */
.key-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 2px solid #f0f0f0;
}

.detail-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.detail-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item h4 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.detail-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.image-placeholder p {
    font-size: 1rem;
    color: #999;
    margin-top: 10px;
}

/* Tabs in intro-image */
.tabs {
    background: transparent;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.tab-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    max-height: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.details-panel {
    background: linear-gradient(135deg, #ffffff 0%, #fbfbfb 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.details-panel h4 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

/* Details Modal Popup */
.details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.details-modal.open {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-content h4 {
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.modal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .modal-content {
        padding: 25px;
        margin: 20px;
    }
    
    .modal-content h4 {
        font-size: 1.2rem;
    }
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.details-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: #555;
}

.details-list li strong {
    color: var(--primary-color);
}

/* Details features inside the Details tab */
.details-features .detail-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.details-features .detail-row i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 34px;
}

.details-features .detail-row h5 {
    margin: 0 0 6px 0;
    color: var(--secondary-color);
    font-size: 1rem;
}

.details-features .detail-row p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}


@media (max-width: 992px) {
    display flex
    align-items center
    justify-content center::after


    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Modal Gallery Styles for About Page */
.about-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.about-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-modal-content {
    position: relative;
    background: black;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
}

.modal {
    display: none;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    background: black;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    z-index: 1999;
    border: none;
    text-decoration: none;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    font-size: 35px;
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .nav-arrow {
        font-size: 24px;
        padding: 8px 15px;
    }

    .nav-arrow.prev {
        left: 10px;
    }

    .nav-arrow.next {
        right: 10px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 35px;
    }
}
.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Timeline Section */
.our-story {
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    top: 0;
}

.timeline-item {
    margin-bottom: 50px;
    display: flex;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    top: 25px;
    z-index: 5;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    width: calc(50% - 40px);
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
}

.timeline-content:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.timeline-content .year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Mission Vision Section */
.mission-vision {
    background: var(--white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mv-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.mv-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--light-gray);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.reason-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.reason-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.reason-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Section */
.our-team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    padding: 30px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    color: var(--white);
}

.team-member h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.team-member .bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-member .contact {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Statistics Section */
.by-numbers {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card .stars {
    margin-bottom: 15px;
}

.testimonial-card .stars i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-right: 3px;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* CTA About Section */
.cta-about {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-about .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-about .btn-primary:hover {
    background: #f0f0f0;
}

.cta-about .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-about .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 3rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 400px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero .subtitle {
        font-size: 1rem;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero .subtitle {
        font-size: 0.95rem;
    }

    .intro-text h2,
    .section-header h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .intro-text p {
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .mv-card {
        padding: 25px 20px;
    }

    .mv-icon {
        font-size: 2.5rem;
    }
}

/* Ensure Details modal keeps its white styling (override gallery modal rules) */
.details-modal .modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    color: #333;
}

.details-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #666;
}

.details-modal .modal-close:hover {
    color: var(--secondary-color);
}

.details-modal .modal-content h4 {
    color: var(--secondary-color);
}

.details-modal .modal-content p {
    color: #666;
}
