/* ==========================================================================
   Talash Net - About Page - Custom Styles
   ========================================================================== */

:root {
    --navy-900: #0a1338;
    --navy-800: #101c54;
    --navy-700: #16215f;
    --navy-600: #1d2c76;
    --navy-500: #26398f;
    --red: #e6423a;
    --red-dark: #cf332c;
    --gold: #e0a905;
    --bg-light: #f6f8fc;
    --bg-light-2: #eef2fb;
    --text-dark: #1b2340;
    --text-muted: #6b7484;
    --border-light: #e6eaf5;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(20, 30, 80, .06);
    --shadow-md: 0 12px 30px rgba(20, 30, 80, .10);
    --shadow-lg: 0 20px 45px rgba(20, 30, 80, .16);
    --radius: 16px;
    --transition: all .35s cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: AzarMehr, IranYekan, Tahoma, sans-serif;
    color: #646464;
    background: var(--white);
    overflow-x: hidden;
}


img { max-width: 100%; }

a { text-decoration: none; color: inherit; }

h2{
	font-size:1.5rem!important;
}

main section{
	margin-top:50px;
	margin-bottom:50px;
}

.bg-dark {
    background-color: #343a40 !important;
}

.section-eyebrow {
    display: inline-block;
    color: var(--red);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .5rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 2.5rem;
}

.section-title.text-center { text-align: center; }

.text-accent { color: var(--gold); }

/* Buttons ------------------------------------------------------------- */

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .92rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-cta-red {
    background: var(--red);
    color: var(--white);
}
.btn-cta-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-cta-blue {
    background: transparent;
    color: var(--navy-700);
    border: 1.5px solid var(--navy-600);
}
.btn-cta-blue:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }

.btn-cta-lg {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--red);
    color: var(--white);
    padding: .85rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.7rem !important;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(230, 66, 58, .35);
}
.btn-cta-lg:hover { background: var(--red-dark); transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 32px rgba(230, 66, 58, .45); color: var(--white); }
.btn-cta-lg .chevron { transition: transform .3s; }
.btn-cta-lg:hover .chevron { transform: translateX(-4px); }

.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--navy-700);
    color: var(--white);
    padding: .7rem 1.7rem;
    border-radius: 10px;
    font-weight: 500;
    transition: var(--transition);
	font-size: 0.7rem!important;
}
.btn-outline-navy:hover { background: var(--navy-900); transform: translateY(-2px); color: var(--white); }
.btn-outline-navy:hover .chevron { transform: translateX(-4px); }
.btn-outline-navy .chevron { transition: transform .3s; }

.btn-primary {
    color: #fff;
    background-color: #242f6f;
    border-color: #242f6f;
}

.navbar .btn-primary {
        border-radius:0 15px 15px 0!important;
}

.btn-primary:hover {
    color: #242f6f;
    background-color: #fff;
    border-color: #242f6f;
}

.btn-danger {
    color: #fff;
    background-color: #d11118;
    border-color: #d11118;
    border-radius: 15px 0 0 15px!important;
}

.btn-danger:hover {
    color: #d11118;
    background-color: #fff;
    border-color: #d11118;
}

.btn-call{
    color: #242f6f!important;
}

.btn-crm {
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 18px 0px -15px;
    padding: 8px 24px;
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    color: var(--white);
	margin: 0 2.3rem 3rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-right{
	padding-right: 12%;
}

.hero-left{
	padding-left: 10%;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 2rem;
	font-size: 0.9rem;
}

.img-fluid {max-width: 98%;}



/* entrance animation base */
[data-animate] { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-in"] { transform: translateY(0); }
[data-animate="fade-left"] { transform: translateX(-40px); }
[data-animate="fade-right"] { transform: translateX(40px); }
[data-animate="zoom-in"] { transform: scale(.92); }
[data-animate].in-view { opacity: 1; transform: translate(0, 0) scale(1); }

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-section { padding: 3.5rem 10rem; background: var(--white); margin-top: -2.5rem; position: relative; z-index: 2; }

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.2rem .8rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.stat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--bg-light-2);
    margin-bottom: 1rem;
	margin-top: -2rem;
}
.stat-icon img { width: 36px; height: 36px; object-fit: contain;}

.stat-number { font-size: 1.2rem; font-weight: 600; color: var(--gold); }
.stat-title { font-weight: 500; margin-top: .2rem; }
.stat-sub { font-size: .65rem; color: var(--text-muted); margin-top: .2rem; }

/* ==========================================================================
   Our Story
   ========================================================================== */

.story-section { position: relative; padding: 2rem 5rem; background: var(--bg-light);background-image:
    linear-gradient(to left,
        #f6f8fc 0%,
        #f6f8fc 30%,
        rgba(246, 248, 252, 0) 110%
    ),
    url("https://talashnet.com/img/footer/one-zero-bg.png");
background-size: 100% 100%, contain;  margin: 0 6rem;
    border-radius: 30px; }

.story-shape {
    position: absolute;
    top: -80px; left: -120px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(38, 57, 143, .10) 0%, rgba(38, 57, 143, 0) 70%);
    border-radius: 50%;
}

.story-image img { border-radius: var(--radius);}

.section-text { line-height: 2.1; color: var(--text-muted); margin-bottom: 1.8rem; text-align: justify; font-size: 0.9rem;}

/* ==========================================================================
   Why Us
   ========================================================================== */

.why-section { padding: 3.5rem 10rem; background: var(--white); }

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.7rem 1.2rem 1.3rem 0.6rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: right;
}
.feature-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    flex-shrink: 0;
    border-radius: 100px;
    background: var(--bg-light-2);
    transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--navy-700); transform: rotate(-6deg) scale(1.08); }
.feature-icon img { width: 38px; height: 38px; object-fit: contain; }
.feature-card:hover .feature-icon img { filter: brightness(0) invert(1); }

.feature-content { flex: 1; min-width: 0; }
.feature-title { font-weight: 500;
    font-size: 1rem; margin-bottom: .7rem; color: var(--navy-800); }
.feature-desc { color: var(--text-muted); font-size: .72rem; line-height: 1.9; }

/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline-section { padding: 3rem 0; background: var(--bg-light-2); margin: 0 6rem;
    border-radius: 30px;}

.timeline {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    position: relative;
    gap: 1rem;
    padding-top: 1rem;
}

.timeline-line {
    position: absolute;
    top: 25px;
    right: 126px; left: 0;
    height: 1px;
    background: #1d2c7675;
	    width: 81%;
}

.timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    padding-top: 2.2rem;
}

.timeline-year {
    position: absolute;
    top: -1.5rem;
    right: 50%;
    transform: translateX(50%);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--navy-800);
    white-space: nowrap;
}

.timeline-dot {
    position: absolute;
    top: 3px;
    right: 50%;
    transform: translateX(50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px var(--white);
    transition: var(--transition);
}
.timeline-item:hover .timeline-dot { background: var(--red-dark); transform: translateX(50%) scale(1.3); }

.timeline-text { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.timeline-text strong { display: block; color: var(--navy-800); font-weight: 600; margin-bottom: .1rem; }

@media (max-width: 991.98px) {
    .timeline { flex-direction: column; align-items: flex-start; gap: 2.2rem; padding-right: 8.2rem; }
    .timeline-line { top: 22px;
        bottom: 0;
        left: auto;
        right: 33.5%;
        width: 1px;
        height: 82%; }
    .timeline-item { text-align: right; padding-top: 0; padding-right: 1.8rem; width: 100%; }
    .timeline-year { position: static; transform: none; display: block; margin-bottom: .3rem; }
    .timeline-dot { top: 6px; right: -1.2rem; transform: none; }
    .timeline-item:hover .timeline-dot { transform: scale(1.3); }
}

/* ==========================================================================
   Values
   ========================================================================== */

.values-section { padding: 3.5rem 10rem; background: var(--white); }

.value-card {
    text-align: center;
    padding: 1.2rem .8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    height: 100%;
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    margin-bottom: .8rem;
	display:none;
}
.value-icon img { width: 60px; height: 60px; }

.value-title { font-weight: 500; color: var(--navy-800); margin-bottom: .4rem; font-size: 1.1rem;}
.value-desc { font-size: .85rem; color: var(--text-muted); margin-top: 15px; }

/* ==========================================================================
   Team
   ========================================================================== */

.team-section { padding: 5rem 0; background: var(--bg-light); }

.team-carousel { display: flex; align-items: center; gap: 1rem; }

.team-track-wrap { overflow: hidden; flex: 1; }

.team-track { display: flex; transition: transform .5s cubic-bezier(.22,.61,.36,1); }

.team-card {
    flex: 0 0 calc(20% - 0.5rem);
    margin: 0 0.25rem;
    padding: 1.5rem .7rem;
    text-align: center;
    background-color: #ffffff80;
    border-radius: 10px;
}

@media (max-width: 991.98px) { .team-card { flex-basis: calc(33.333% - 0.5rem); } }
@media (max-width: 767.98px) { .team-card { flex-basis: calc(50% - 0.5rem); } }
@media (max-width: 575.98px) { .team-card { flex-basis: calc(100% - 0.5rem); } }

.team-photo {
    width: 110px; height: 110px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--bg-light-2);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-photo { border-color: var(--red); transform: scale(1.05); }

.team-name { font-weight: 500; font-size: 1rem; color: var(--navy-800); margin-bottom: .6rem; }
.team-role { font-size: .82rem; color: var(--text-muted); margin-bottom: .3rem; }
.team-ext { font-size: .75rem; color: var(--gold); }

.team-nav {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--navy-700);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.team-nav:hover { background: var(--navy-700); color: var(--white); }

.team-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.8rem; }
.team-dots .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}
.team-dots .dot.active { background: var(--red); width: 22px; border-radius: 6px; }

/* ==========================================================================
   Sub-members (supervisor cards)
   ========================================================================== */

.sub-members {
    display: flex;
    justify-content: center;
    margin-top: .7rem;
}

.sub-member {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light-2);
    border: 3px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.sub-member:not(:first-child) { margin-right: -14px; }

.sub-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.sub-member:nth-child(1) { opacity: .55; z-index: 1; }
.sub-member:nth-child(2) { opacity: .65; z-index: 2; }
.sub-member:nth-child(3) { opacity: .75; z-index: 3; }
.sub-member:nth-child(4) { opacity: .85; z-index: 4; }
.sub-member:nth-child(5) { opacity: .93; z-index: 5; }
.sub-member:nth-child(6) { opacity: 1;   z-index: 6; }

.sub-member:hover {
    opacity: 1;
    transform: scale(1.15);
    z-index: 10;
    border-color: var(--gold);
}

/* ==========================================================================
   Certificates
   ========================================================================== */

.certificates-section { padding: 5rem 10rem ; background: var(--white); }

.cert-card {
    text-align: center;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: .5rem .5rem;
    filter: grayscale(.5);
    opacity: .75;
    transition: var(--transition);
    height: 100%;
}
.cert-card:hover { filter: grayscale(0); opacity: 1; transform: translateY(-6px); box-shadow: var(--shadow-sm); }

.cert-badge-img { width: 80px; height: 80px; object-fit: contain; margin-bottom: .5rem; }
.cert-label { display: block; font-size: .72rem; color: var(--text-muted); line-height: 1.6; }


.certificates-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
}

@media (max-width:991px){
    .certificates-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:767px){
    .certificates-grid{
        grid-template-columns:repeat(2,1fr);
    }
}


/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-section {
    position: relative;
    color: var(--white);
	margin: 3rem;
	padding: 2rem 0 2rem;
}

.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}
.cta-icon img { width: 100px; height: auto; }

.cta-global-icon {
    position: absolute;
    top: 50%;
    right: 9%;
    transform: translateY(-50%);
    width: 300px;
    opacity: .35;
    z-index: 0;
    pointer-events: none;
}

.cta-message-icon {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 220px;
    z-index: 0;
    pointer-events: none;
}

.cta-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .8rem; }
.cta-text { color: rgba(255, 255, 255, .8); margin-bottom: 1.8rem; }



/* ==========================================================================
   Utilities
   ========================================================================== */

section { scroll-margin-top: 90px; }

/* ==========================================================================
   Responsive adjustments for desktop-only spacing overrides above
   ========================================================================== */

@media (max-width: 1199.98px) {
    .stats-section,
    .why-section,
    .values-section { padding-left: 3rem; padding-right: 3rem; }
}

@media (max-width: 991.98px) {
    
    .navbar .btn-primary{border-radius:15px 0 0 15px!important;}
    .navbar .btn-danger{border-radius: 0 15px 15px 0 !important;}
    
    .hero-section { margin: 1.5rem 0; padding: 3.5rem 0; }
    .hero-right, .hero-left { padding-right: 0; padding-left: 0; }

    .stats-section,
    .why-section,
    .values-section { padding-left: 1.25rem; padding-right: 1.25rem; }

    .story-section,
    .timeline-section { margin: 0 1.25rem; border-radius: 20px; }

    .cta-section { margin: 1.5rem; padding: 5rem 0 5rem; }

    .feature-card { text-align: center; flex-direction: column; align-items: center; }
    .feature-icon { margin: 0 auto; }
}

@media (max-width: 575.98px) {
    .hero-section { margin: 1rem 0.5rem 0; padding: 2rem 4rem 0; text-align: center;}
    .hero-bg-mobile{background-position: center top;}
    .hero-title{margin: 0 -1rem 1.2rem;}
    
    .stats-section,
    .why-section,
    .values-section,
	.certificates-section 	{ padding-left: .75rem; padding-right: .75rem; }
	
	.stats-section{margin-top:-1rem;}

    .story-section,
    .timeline-section { margin: 0 .75rem; border-radius: 16px; }
    
    .story-section{padding:1.5rem .5rem;}
    .img-fluid {        max-width: 140%;
        right: -22%;
        top:-20px;
        position: relative;}
    .story-image img{margin-bottom: -120px;}
    
    .why-section{margin-top:6rem;}

    .cta-section { margin: .75rem; }
	.cta-icon img {width: 300px; position: relative;top: -105px;}
	.cta-title,
	.cta-text,
	.cta-section .btn-cta-lg{position: relative;top: -80px;}
	.cta-text{font-size: 0.8rem;}
	.cta-global-icon{top: 100%;}
}
