/* Khimji-inspired layout for About Us page */

:root {
    --khimji-gold: var(--tp-theme-1, #3B7954);
    --khimji-dark: var(--tp-common-black, #10261A);
    --khimji-light: var(--tp-grey-1, #F8F9FA);
}

/* Sub-Navigation */
.about-sub-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-sub-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.about-sub-nav ul li a {
    display: block;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--khimji-dark);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.about-sub-nav ul li a:hover,
.about-sub-nav ul li a.active {
    color: var(--khimji-gold);
    border-bottom-color: var(--khimji-gold);
}

/* Hero Section Extension */
.about-hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.khimji-btn {
    display: inline-flex;
    align-items: center;
    background: var(--khimji-gold);
    color: #000;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.khimji-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.khimji-btn:hover {
    background: #000;
    color: var(--khimji-gold);
}

/* Section Layouts */
.khimji-section {
    padding: 100px 0;
}

.khimji-section .section-title {
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--khimji-dark);
}

/* Profile Section */
.profile-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.profile-grid.reverse {
    flex-direction: row-reverse;
}

.profile-img {
    flex: 1;
    overflow: hidden;
}

.profile-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-content {
    flex: 1;
}

.profile-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Purpose Section (Parallax) */
.purpose-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #fff;
    padding: 150px 0;
}

.purpose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.purpose-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.purpose-credo {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.6;
}

.purpose-credo span {
    display: block;
    margin-bottom: 10px;
}

.purpose-credo b {
    font-weight: 800;
    color: var(--khimji-gold);
}

@media (max-width: 991px) {
    .profile-grid {
        flex-direction: column !important;
        gap: 30px;
    }

    .khimji-section {
        padding: 60px 0;
    }

    .khimji-section .section-title {
        font-size: 32px;
    }
}

/* News Headline Ticker */
.news-ticker-area {
    background: var(--tp-theme-1);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-wrapper {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: tp-ticker 100s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-item span {
    color: var(--tp-theme-2);
    margin-right: 15px;
}

@keyframes tp-ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.news-ticker-area:hover .ticker-wrapper {
    animation-play-state: paused;
}


/* Reasons Our Customers Love Us Section */
.tp-reasons-area {
    background-color: #fdfdfd;
}

.tp-reasons-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tp-reasons-subtitle .star-icon {
    font-size: 24px;
}

.tp-reasons-desc {
    font-size: 16px;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 600;
}

.tp-reasons-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.tp-reasons-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.tp-reasons-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.tp-reasons-icon img {
    max-height: 100%;
    width: auto;
}

.tp-reasons-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0b2131;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tp-reasons-content p {
    font-size: 14px;
    color: #5f6c76;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

/* Brand Logo Hover Zoom */
.brand-logo-img {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tp-brand-thumb:hover .brand-logo-img {
    transform: scale(1.25);
}

/* Ensure continuous smooth flow */
.tp-brand-active .swiper-wrapper {
    transition-timing-function: linear !important;
}

.tp-brand-active:hover .swiper-wrapper {
    animation-play-state: paused !important;
}
/* Circle Team Member Design (No Cards) */
.tp-team-triangle-item {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    transition: all 0.4s ease;
    flex: 0 1 auto; /* Flexible card size */
}

.tp-team-triangle-thumb {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    position: relative;
}

.tp-team-triangle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.tp-team-triangle-item:hover .tp-team-triangle-thumb img {
    transform: scale(1.05);
    border-color: var(--khimji-gold);
}

.tp-team-triangle-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--khimji-dark);
    margin-bottom: 3px;
}

.tp-team-triangle-designation {
    display: block;
    font-size: 11px; /* Slightly smaller for better fit */
    color: var(--khimji-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.tp-team-triangle-about {
    font-size: 13px; /* Slightly smaller for better fit */
    color: #666;
    line-height: 1.5;
    width: 180px; /* Fixed width for text area as requested */
    margin: 0 auto 15px;
    font-weight: 500;
}

.tp-team-triangle-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.tp-team-triangle-social a {
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tp-team-triangle-social a:hover {
    color: var(--khimji-gold);
}

/* Pyramid Layout (Triangular Listing) */
.team-pyramid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%; /* Responsive container */
    padding: 0 20px;
    margin: 0 auto;
    gap: 10px;
}

.team-pyramid-row {
    display: flex;
    flex-wrap: wrap; /* Allow row wrapping to avoid scroll */
    justify-content: center;
    width: 100%;
    gap: 10px;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .team-pyramid-row {
        flex-wrap: wrap;
        gap: 30px;
    }
    .tp-team-triangle-thumb {
        width: 100px;
        height: 100px;
    }
    .tp-team-triangle-item {
        padding: 10px;
    }
}

/* Floating Labels for Contact Form */
.tp-contact-input-box {
    position: relative;
}

.tp-contact-input-box input, 
.tp-contact-input-box textarea {
    padding-top: 20px !important;
    padding-bottom: 5px !important;
    line-height: normal !important;
}

.tp-contact-input-box label {
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #888;
    font-size: 16px;
    margin-bottom: 0;
    z-index: 10;
}

.tp-contact-input-box textarea ~ label {
    top: 20px;
    transform: none;
}

.tp-contact-input-box input:focus ~ label,
.tp-contact-input-box input:not(:placeholder-shown) ~ label,
.tp-contact-input-box textarea:focus ~ label,
.tp-contact-input-box textarea:not(:placeholder-shown) ~ label {
    top: 8px;
    font-size: 11px;
    color: var(--tp-theme-1);
    transform: translateY(0);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
