/* About Page Styles */

/* General Styles */
.section-title {
    margin-bottom: 2.5rem;
}

    .section-title .subtitle {
        display: inline-block;
        font-size: 0.875rem;
        font-weight: 600;
        color: #0d6efd;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
        letter-spacing: 1px;
    }

    .section-title .title {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 1rem;
        position: relative;
        color: #212529;
    }

        .section-title .title:after {
            content: '';
            display: block;
            width: 70px;
            height: 4px;
            background: #0d6efd;
            margin-top: 15px;
        }

    .section-title.text-center .title:after {
        margin-left: auto;
        margin-right: auto;
    }

/* Hero Section */
.hero-about-section {
    min-height: 500px;
    position: relative;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-white-outline {
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

    .btn-white-outline:hover {
        background: #fff;
        color: #0d6efd;
    }

.scroll-down {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* About Section */
.about-showcase-wrapper {
    position: relative;
    padding: 1.5rem;
}

.about-main-image-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: 4px solid #ffffff;
}

.about-main-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-showcase-wrapper:hover .about-main-image-frame img {
    transform: scale(1.03);
}

/* Floating Stats Badges */
.floating-stat-card {
    position: absolute;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid #e2e8f0;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(13, 110, 253, 0.18);
}

.floating-stat-card.bottom-left {
    bottom: 0px;
    left: 0px;
}

.floating-stat-card.top-right {
    top: 0px;
    right: 0px;
}

.floating-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.floating-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
}

.floating-stat-label {
    font-size: 0.725rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Value Feature Boxes */
.about-value-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.25rem;
    transition: all 0.3s ease;
    height: 100%;
}

.about-value-box:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.08);
    transform: translateY(-3px);
}

.about-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 575.98px) {
    .about-showcase-wrapper {
        padding: 0.5rem;
    }
    .floating-stat-card.top-right {
        top: -10px;
        right: -5px;
    }
    .floating-stat-card.bottom-left {
        bottom: -10px;
        left: -5px;
    }
}

/* Service Cards */
.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .service-card .icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: rgba(13, 110, 253, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
    }

        .service-card .icon-wrapper i {
            color: #0d6efd;
            font-size: 2rem;
        }

    .service-card:hover .icon-wrapper {
        background-color: #0d6efd;
    }

        .service-card:hover .icon-wrapper i {
            color: #fff;
        }

    .service-card h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .service-card p {
        color: #6c757d;
        margin-bottom: 1.5rem;
    }

.btn-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .btn-link i {
        margin-left: 0.5rem;
        transition: all 0.3s ease;
    }

    .btn-link:hover {
        color: #0a58ca;
    }

        .btn-link:hover i {
            transform: translateX(5px);
        }

/* Why Choose Us */
.why-choose-image {
    position: relative;
}

.stats-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 80%;
    overflow: hidden;
}

.stat-item {
    background-color: #fff;
    transition: all 0.3s ease;
}

    .stat-item:hover {
        background-color: #f8f9fa;
    }

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d6efd;
}

.stat-label {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Tree Timeline Section Styles */
.timeline-tree-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central vertical trunk */
.timeline-tree-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6 0%, #06b6d4 50%, #0d6efd 100%);
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-tree-item {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-tree-item:last-child {
    margin-bottom: 0;
}

/* Central Node Dot / Icon */
.timeline-tree-node {
    position: absolute;
    left: 50%;
    top: 28px;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #0d6efd;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #0d6efd;
    z-index: 2;
    transition: all 0.35s ease;
}

.timeline-tree-item:hover .timeline-tree-node {
    transform: translate(-50%, -50%) scale(1.15);
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 0 0 8px rgba(13, 110, 253, 0.25), 0 10px 20px rgba(13, 110, 253, 0.3);
}

.timeline-tree-item.current .timeline-tree-node {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.25), 0 0 20px rgba(37, 99, 235, 0.4);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4), 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(13, 110, 253, 0), 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0), 0 8px 16px rgba(0, 0, 0, 0.1);
    }
}

/* Timeline Cards (Left & Right Branches) */
.timeline-tree-card {
    position: relative;
    width: calc(50% - 45px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-tree-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(13, 110, 253, 0.12);
    border-color: #93c5fd;
}

/* Left Branch */
.timeline-tree-item:nth-child(odd) .timeline-tree-card {
    margin-left: 0;
    margin-right: auto;
}

/* Right Branch */
.timeline-tree-item:nth-child(even) .timeline-tree-card {
    margin-left: auto;
    margin-right: 0;
}

/* Branch connector pointer lines */
.timeline-tree-item:nth-child(odd) .timeline-tree-card::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    transform: rotate(45deg);
    transition: border-color 0.35s ease;
}

.timeline-tree-item:nth-child(even) .timeline-tree-card::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    transform: rotate(45deg);
    transition: border-color 0.35s ease;
}

.timeline-tree-item:hover .timeline-tree-card::after {
    border-color: #93c5fd;
}

/* Current active card variant */
.timeline-tree-card.active-now {
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    border: 2px solid #0d6efd;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.18);
}

.timeline-tree-card.active-now::after {
    border-color: #0d6efd !important;
}

.timeline-tree-card .year-badge {
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.timeline-tree-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
}

.timeline-tree-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive tree for tablets and mobile */
@media (max-width: 991.98px) {
    .timeline-tree-container::before {
        left: 26px;
    }

    .timeline-tree-node {
        left: 26px;
    }

    .timeline-tree-card {
        width: calc(100% - 65px);
        margin-left: auto !important;
        margin-right: 0 !important;
        padding: 1.5rem;
    }

    .timeline-tree-item:nth-child(odd) .timeline-tree-card::after,
    .timeline-tree-item:nth-child(even) .timeline-tree-card::after {
        left: -8px;
        right: auto;
        border-top: none;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        border-left: 1px solid #e2e8f0;
    }
}

/* Core Philosophy Pillar Cards */
.philosophy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(13, 110, 253, 0.12);
    border-color: #93c5fd;
}

.philosophy-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.philosophy-card:hover .philosophy-icon-wrap {
    transform: scale(1.1);
}

.philosophy-card .pillar-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: #e2e8f0;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-family: monospace, sans-serif;
}

.philosophy-card:hover .pillar-number {
    color: #93c5fd;
    opacity: 0.9;
}

.philosophy-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.philosophy-card p {
    color: #64748b;
    font-size: 0.885rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Color theme variants */
.philosophy-icon-blue {
    background-color: #eff6ff;
    color: #2563eb;
}
.philosophy-icon-purple {
    background-color: #f5f3ff;
    color: #7c3aed;
}
.philosophy-icon-emerald {
    background-color: #ecfdf5;
    color: #059669;
}
.philosophy-icon-amber {
    background-color: #fffbeb;
    color: #d97706;
}

.number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Team Section */
.team-member {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(13, 110, 253, 0.12);
    border-color: #93c5fd;
}

.member-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #0d6efd 0%, #06b6d4 100%);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover .member-avatar-wrapper {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(13, 110, 253, 0.35);
}

.member-avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #ffffff;
    background-color: #f1f5f9;
    display: block;
}

.member-info {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-info .name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.member-info .position {
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.825rem;
    display: inline-block;
    margin: 0 auto 0.75rem;
    background: rgba(13, 110, 253, 0.08);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
}

.member-info .bio {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 0;
    flex-grow: 1;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
}

.member-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.member-socials a:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Achievements Section */
.achievement-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    background-size: cover;
    background-position: center;
}

.stat-box {
    background: #fff;
    transition: all 0.3s ease;
}

    .stat-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

.stat-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.achievement-card {
    height: 100%;
}

.certification-icon {
    color: #0d6efd;
    font-size: 2rem;
}

/* Client Section */
.client-logo-item {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .client-logo-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.testimonial-card {
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    }

/* Additional Custom Utilities for About Page */
.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.workflow-step {
    transition: all 0.3s ease;
}

    .workflow-step:hover {
        background-color: #e9ecef !important;
        transform: translateX(5px);
    }

/* Contact & Map Section Styles */
.contact-info-panel {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-box {
    background: #0d6efd;
    color: #ffffff;
    transform: scale(1.08);
}

.contact-item-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-value {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0;
}

.contact-item-value a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-value a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.contact-social-bar {
    display: flex;
    gap: 0.6rem;
}

.contact-social-bar a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-bar a:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.contact-form-panel {
    background-color: #ffffff;
}

.contact-form-panel .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
    margin-bottom: 0.4rem;
}

.contact-form-panel .form-control {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.contact-form-panel .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
}

.map-feature-icon {
    transition: transform 0.3s ease;
}

.map-feature-icon:hover {
    transform: scale(1.1);
}

/* CTA Section Styles */
.cta-section {
    position: relative;
    padding: 3rem 0;
}

.bg-gradient-primary-to-secondary {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d6efd 50%, #06b6d4 100%) !important;
    position: relative;
}

.cta-section .card {
    border-radius: 1.25rem !important;
    border: none;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.25) !important;
    position: relative;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.3;
}

.cta-section p.lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

.max-w-220 {
    max-width: 220px;
}

.cta-section .btn-light {
    background-color: #ffffff !important;
    color: #0d6efd !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.cta-section .btn-light:hover {
    background-color: #f0f7ff !important;
    color: #0056b3 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cta-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-section .btn-outline-light:hover {
    background-color: #ffffff !important;
    color: #0d6efd !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fs-7 {
    font-size: 0.85rem !important;
}

