/* About Us Page Styles */

/* Hero Section */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(22, 33, 62, 0.90) 100%), 
                url('../Designs/2. Commercial Design/Office buildings/Office.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 120px;
    text-align: center;
    overflow: visible;
    min-height: 65vh;
}

.hero-overlay {
    display: none;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Wiremesh Grid Pattern Overlay */
.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.about-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 24px;
    margin-top: 0;
    font-weight: 800;
    line-height: 1.2;
}

.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 2rem;
    color: #ffa500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Company Overview - First section after hero with rounded corners */
.company-overview {
    padding: 100px 0;
    background: #fff;
    position: relative;
    margin-top: -60px;
    z-index: 10;
    border-radius: 40px 40px 0 0;
    padding-top: 120px;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    display: inline-block;
    color: #ffa500;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.overview-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.overview-highlights {
    margin: 40px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.highlight-item i {
    font-size: 1.5rem;
    color: #ffa500;
    margin-top: 5px;
}

.highlight-item h4 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.highlight-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.overview-images {
    position: relative;
}

.image-stack {
    position: relative;
    padding: 30px;
}

.img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.img-floating {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 8px solid #fff;
    z-index: 2;
}

.image-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    flex: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: #ffa500;
    margin-bottom: 8px;
    font-weight: 800;
}

.stat-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Mission, Vision, Values */
.mission-vision {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.mvv-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.mvv-icon i {
    font-size: 2rem;
    color: #fff;
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 700;
}

.mvv-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: #666;
}

.values-list i {
    color: #ffa500;
    font-size: 1rem;
}

/* Why Choose Us */
.why-choose-about {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.why-card {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.why-card:hover {
    background: #fff;
    border-color: #ffa500;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon i {
    font-size: 1.8rem;
    color: #ffa500;
}

.why-card h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: #ffa500;
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.1s ease-in-out, transform 5s ease-out;
}

.team-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

@keyframes team-image-cycle {
    0% { opacity: 1; transform: scale(1); }
    21% { opacity: 1; transform: scale(1.10); }
    27%, 100% { opacity: 0; transform: scale(1.13); }
}

/* Four images × five seconds each. The overlap makes each hand-off a soft fade. */
.team-image .team-slide {
    animation: team-image-cycle 20s ease-in-out infinite;
    transform-origin: center center;
}
.team-image .team-slide:nth-child(1) { animation-delay: 0s; }
.team-image .team-slide:nth-child(2) { animation-delay: 5s; }
.team-image .team-slide:nth-child(3) { animation-delay: 10s; }
.team-image .team-slide:nth-child(4) { animation-delay: 15s; }

.team-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 165, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffa500;
}

.team-avatar i {
    font-size: 3rem;
    color: #ffa500;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

/* Team cards are informational only; do not reveal social links on hover. */
.team-overlay {
    display: none;
}

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

.team-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid #ffa500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffa500;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #ffa500;
    color: #fff;
    transform: scale(1.1);
}

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

.team-info h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 700;
}

.team-role {
    color: #ffa500;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 15px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.testimonial-quote {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    color: rgba(255, 165, 0, 0.2);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffa500;
    font-size: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffa500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 3px;
    font-weight: 700;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20% 30%, rgba(255, 165, 0, 0.3), transparent),
                      radial-gradient(2px 2px at 60% 70%, rgba(255, 165, 0, 0.3), transparent),
                      radial-gradient(1px 1px at 50% 50%, rgba(255, 165, 0, 0.3), transparent);
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-200px, -200px);
    }
}

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

.about-cta .cta-icon {
    font-size: 4rem;
    color: #ffa500;
    margin-bottom: 25px;
    animation: none !important;
    display: block;
}

.about-cta h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
}

.about-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Override btn-pulse animation for about page CTA */
.about-cta .btn-pulse {
    animation: none !important;
}

.about-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 165, 0, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 165, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
    transform: translateY(-3px);
}

.cta-contact {
    display: flex;
    gap: 40px;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.cta-contact span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-contact i {
    color: #ffa500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 20px 60px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .overview-content h2 {
        font-size: 2rem;
    }

    .img-floating {
        width: 50%;
        bottom: -20px;
        right: -20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-contact {
        flex-direction: column;
        gap: 15px;
    }

    .about-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .overview-content h2 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .about-cta h2 {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-slide { transition: none; animation: none !important; }
}

/* Compact spacing pass: keeps the page easy to scan without long empty breaks. */
.company-overview,
.mission-vision,
.why-choose-about,
.team-section,
.testimonials-section,
.about-cta {
    padding: 40px 0;
}

.overview-grid { gap: 32px; }
.overview-highlights { margin: 18px 0; }
.image-stats { margin-top: 18px; }
.mvv-grid,
.team-grid,
.testimonials-grid { margin-top: 24px; }
.mvv-grid { gap: 20px; }
.why-grid,
.team-grid,
.testimonials-grid { gap: 20px; }
.section-header { margin-bottom: 24px; }
.mvv-card,
.why-card,
.testimonial-card { padding: 24px; }

@media (max-width: 768px) {
    .company-overview,
    .mission-vision,
    .why-choose-about,
    .team-section,
    .testimonials-section,
    .about-cta { padding: 32px 0; }

    .overview-grid { gap: 24px; }
}
