/* ============================================
   DEMO 6 - BUILDCRAFT STYLE
   پالت رنگی: نارنجی آتشین + آبی-مشکی
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #f1f5f9;
    --secondary: #3b82f6;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --dark-3: #0f3460;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --bg-light: #f5f7fa;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 10px 40px rgba(26, 26, 46, 0.15);
    --radius: 4px;
    --transition: all 0.3s ease;
    --font: 'Vazirmatn', sans-serif;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 93, 4, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dark);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 1px;
}

.logo-text small {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.8) 50%, rgba(15, 52, 96, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 100px 0;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.subtitle-line {
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.hero-subtitle span {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 .highlight {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(232, 93, 4, 0.5);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== STATS BAR ===== */
.stats-bar {
    padding: 50px 0;
    background: var(--dark-2);
    border-top: 3px solid var(--primary);
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:first-child {
    border-left: none;
}

.stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.services-intro .section-subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.services-intro h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-intro h2 .highlight {
    color: var(--primary);
}

.services-intro p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 30px;
}

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

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    transform: translateX(-5px);
}

/* ===== PROJECTS ===== */
.projects {
    padding: 100px 0;
    background: var(--dark);
}

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

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header .section-subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-all-link {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
    border: 2px solid var(--white);
    padding: 12px 25px;
    border-radius: var(--radius);
}

.view-all-link:hover {
    gap: 15px;
    color: var(--primary);
    border-color: var(--primary);
}

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

.project-card {
    background: var(--dark-2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--primary);
}

.project-image {
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-link {
    color: var(--primary);
    font-size: 1.2rem;
    align-self: flex-end;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: translateX(-5px);
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    z-index: -1;
    border-radius: var(--radius);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-content .section-subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 .highlight {
    color: var(--primary);
}

.about-content > p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 35px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    transition: var(--transition);
}

.about-feature:hover .feature-icon {
    background: var(--primary-dark);
    transform: rotate(360deg);
}

.about-feature h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== PROCESS ===== */
.process {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.process-content .section-subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.process-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--dark);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--dark-2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(232, 93, 4, 0.5);
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonial-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.95) 0%, rgba(220, 47, 2, 0.9) 100%);
    z-index: 1;
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    gap: 40px;
    align-items: center;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content h2 span {
    color: var(--dark);
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text strong {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: 1px;
}

.footer-logo .logo-text span {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 1px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links li i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 16px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-wrapper,
    .about-wrapper,
    .process-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .stat-item {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps::before {
        display: none;
    }

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

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .section-header h2,
    .services-intro h2,
    .about-content h2,
    .process-content h2 {
        font-size: 2rem;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   DEMO 06 — SAZEH SAZAN BRAND REDESIGN
   Brand palette: deep navy / warm gold / clean white
   Overrides legacy blue palette and improves page hierarchy.
========================================================== */
:root {
  --primary: #F6C744;
  --primary-dark: #D99A25;
  --primary-light: #FFF4CE;
  --secondary: #D99A25;
  --dark: #06142E;
  --dark-2: #020B1C;
  --dark-3: #0B2B56;
  --text: #263246;
  --text-light: #667085;
  --text-muted: #8993A3;
  --white: #FFFFFF;
  --bg-light: #F5F7FC;
  --border: #DCE3EE;
  --shadow: 0 12px 34px rgba(6,20,46,.09);
  --shadow-lg: 0 22px 55px rgba(6,20,46,.16);
  --radius: 16px;
  --transition: all .3s ease;
  --font: 'Vazirmatn', sans-serif;
}

body { color: var(--text); background: #fff; font-family: var(--font); }
.container { max-width: 1280px; padding-inline: 24px; }
.btn { border-radius: 999px; letter-spacing: 0; text-transform: none; }
.btn-primary { color: #06142E !important; background: linear-gradient(135deg,#FFE28A,#F6C744 62%,#D99A25) !important; border-color: #F6C744 !important; box-shadow: 0 9px 24px rgba(217,154,37,.22); }
.btn-primary:hover { background: #EAB236 !important; border-color: #EAB236 !important; box-shadow: 0 13px 28px rgba(217,154,37,.3); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.btn-outline:hover { color: #06142E; background: #F6C744; border-color: #F6C744; }
.btn-outline-dark { color: #06142E; border-color: rgba(6,20,46,.25); }
.btn-outline-dark:hover { color: #06142E; background: #FFF4CE; border-color: #F6C744; }

/* Header and navigation */
.header { background: rgba(6,20,46,.98); border-bottom: 1px solid rgba(246,199,68,.18); box-shadow: 0 10px 30px rgba(2,11,28,.12); }
.header.scrolled { background: rgba(2,11,28,.99); }
.navbar { min-height: 82px; }
.logo { gap: 11px; }
.logo-icon { color: #06142E; background: linear-gradient(145deg,#FFE28A,#F6C744); border-radius: 13px; box-shadow: 0 7px 18px rgba(217,154,37,.2); }
.logo-text strong, .logo-text span { color: #fff; }
.logo-text small { color: rgba(255,255,255,.58); }
.nav-links a { color: rgba(255,255,255,.82); font-size: .84rem; }
.nav-links a:hover, .nav-links a.active { color: #F6C744; }
.nav-links a::after { background: #F6C744; }
.hamburger { border-color: rgba(246,199,68,.35); }
.hamburger span { background: #F6C744; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 610px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(105deg,rgba(2,11,28,.96),rgba(6,20,46,.84) 52%,rgba(11,43,86,.68)); }
.hero-bg { position: absolute; z-index: -2; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.hero-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(2,11,28,.96) 0%,rgba(6,20,46,.84) 52%,rgba(6,20,46,.30) 100%),linear-gradient(0deg,rgba(2,11,28,.42),transparent 60%); }
.hero .container { width: 100%; }
.hero-content { max-width: 720px; padding: 100px 0 115px; }
.hero-subtitle { color: #FFE7A0; font-size: .9rem; font-weight: 800; }
.subtitle-line { background: #F6C744; height: 2px; }
.hero h1 { color: #fff; font-size: clamp(2.8rem,5.5vw,5rem); font-weight: 950; line-height: 1.35; margin: 20px 0; }
.highlight, .hero .highlight { color: #F6C744; }
.hero-content > p { max-width: 630px; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 2.2; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* Statistics */
.stats-bar { position: relative; z-index: 2; padding: 30px 0; background: #020B1C; border-bottom: 1px solid rgba(246,199,68,.2); }
.stats-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.stat-item { display: flex; align-items: center; justify-content: center; gap: 13px; min-width: 0; padding: 18px 12px; background: linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; transition: .3s ease; }
.stat-item:hover { transform: translateY(-5px); border-color: rgba(246,199,68,.55); background: rgba(246,199,68,.08); }
.stat-icon { width: 46px; height: 46px; min-width: 46px; display: grid; place-items: center; color: #06142E; background: linear-gradient(145deg,#FFE28A,#F6C744); border-radius: 13px; font-size: 1.1rem; }
.stat-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.stat-number { display: inline; color: #F6C744; font-size: 1.8rem; font-weight: 950; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-info > span:nth-child(2) { color: rgba(255,255,255,.68); font-size: .73rem; }
.stat-info > span:first-child::after { content: "+"; color: #FFE7A0; margin-right: 3px; }

/* Section headings and general surfaces */
section.services, section.projects, section.about, section.testimonials { padding: 95px 0; }
.services { background: #F5F7FC; }
.section-subtitle { color: #A87917; font-weight: 900; }
.section-header h2, .services-intro h2, .about-content h2, .process-content h2 { color: #06142E; font-weight: 950; line-height: 1.65; }
.section-header .highlight, .about-content .highlight { color: #B27D17; }
.services-wrapper { display: grid; grid-template-columns: .85fr 1.5fr; gap: 48px; align-items: start; }
.services-intro { position: sticky; top: 120px; }
.services-intro p, .about-content > p { color: #667085; line-height: 2.2; }
.services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.service-card { position: relative; min-height: 220px; padding: 26px 23px; background: #fff; border: 1px solid #DCE3EE; border-radius: 17px; box-shadow: 0 8px 25px rgba(6,20,46,.045); transition: .3s ease; }
.service-card:hover { transform: translateY(-7px); border-color: #F6C744; box-shadow: 0 18px 40px rgba(6,20,46,.1); }
.service-icon, .feature-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #06142E; background: #FFF0BD; border: 1px solid rgba(246,199,68,.55); border-radius: 15px; font-size: 1.2rem; }
.service-card h3 { color: #06142E; font-size: 1.02rem; font-weight: 900; }
.service-card p { color: #667085; font-size: .82rem; line-height: 2; }
.service-link { color: #A87917; }

/* Projects with photo cards */
.projects { background: #fff; }
.header-row { align-items: flex-end; }
.view-all-link { color: #A87917; font-weight: 900; }
.projects-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.project-card { overflow: hidden; background: #fff; border: 1px solid #DCE3EE; border-radius: 18px; box-shadow: 0 10px 30px rgba(6,20,46,.06); transition: .3s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(6,20,46,.13); }
.project-image { height: 270px; overflow: hidden; background: #06142E; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }
.project-info { position: relative; padding: 20px 22px; }
.project-info h3 { color: #06142E; font-weight: 900; }
.project-location { color: #778195; font-size: .78rem; }
.project-link { color: #A87917; }

/* About and process */
.about { background: #F5F7FC; }
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; min-height: 430px; overflow: hidden; border-radius: 24px 5px 24px 5px; border: 1px solid rgba(246,199,68,.55); box-shadow: 0 22px 55px rgba(6,20,46,.14); }
.about-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.about-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin-top: 28px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; padding: 15px; background: #fff; border: 1px solid #E2E7EF; border-radius: 14px; }
.about-feature .feature-icon { width: 42px; height: 42px; min-width: 42px; font-size: .95rem; }
.about-feature h4 { color: #06142E; font-size: .85rem; font-weight: 900; }
.about-feature p { color: #778195; font-size: .72rem; }
.process { padding: 90px 0; color: #fff; background: linear-gradient(115deg,#020B1C,#06142E 60%,#0B2B56); }
.process-content h2 { color: #fff; }
.process .section-subtitle { color: #F6C744; }
.process-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.process-step { padding: 22px 14px; text-align: center; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-radius: 16px; transition: .3s ease; }
.process-step:hover { transform: translateY(-6px); border-color: rgba(246,199,68,.6); }
.step-number { color: #F6C744; font-weight: 950; }
.step-icon { color: #06142E; background: #F6C744; border-radius: 13px; }
.process-step h3 { color: #fff; font-size: .9rem; }
.process-step p { color: rgba(255,255,255,.62); font-size: .73rem; }

/* Testimonials */
.testimonials { background: #F5F7FC; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.testimonial-card { padding: 27px; background: #fff; border: 1px solid #DCE3EE; border-radius: 18px; box-shadow: 0 9px 26px rgba(6,20,46,.045); }
.quote-icon { color: #C18A1B; }
.testimonial-card > p { color: #536075; line-height: 2.1; }
.testimonial-author img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 2px solid #F6C744; }
.testimonial-author strong { color: #06142E; }
.testimonial-author span { color: #7A8494; }

/* CTA */
.cta-section { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0; background: #06142E; }
.cta-bg { position: absolute; z-index: -2; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(2,11,28,.96),rgba(6,20,46,.83)); }
.cta-wrapper { display: grid; grid-template-columns: auto 1.4fr 1fr auto; align-items: center; gap: 25px; padding: 35px; border: 1px solid rgba(246,199,68,.42); border-radius: 22px; background: rgba(255,255,255,.055); }
.cta-icon { color: #06142E; background: #F6C744; border-radius: 15px; }
.cta-content h2 { color: #fff; font-size: clamp(1.3rem,2.3vw,2rem); font-weight: 950; }
.cta-content h2 span { color: #F6C744; }
.cta-text p { color: rgba(255,255,255,.7); }

/* Main template pages */
.demo-pages { padding: 88px 0; background: #F5F7FC; }
.demo-pages-heading { margin-bottom: 30px; }
.demo-pages-heading h2 { margin: 10px 0 6px; color: #06142E; font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 950; }
.demo-pages-heading p { color: #667085; }
.demo-pages-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.demo-pages-grid > a { min-width: 0; min-height: 84px; display: flex; align-items: center; gap: 12px; padding: 13px; background: #fff; border: 1px solid #DCE3EE; border-radius: 14px; box-shadow: 0 6px 18px rgba(6,20,46,.035); transition: .25s ease; }
.demo-pages-grid > a:hover { transform: translateY(-4px); border-color: #F6C744; box-shadow: 0 14px 28px rgba(6,20,46,.08); }
.demo-pages-grid > a > i { width: 40px; height: 40px; min-width: 40px; display: grid; place-items: center; color: #06142E; background: #FFF0BD; border-radius: 12px; }
.demo-pages-grid > a span { display: flex; min-width: 0; flex-direction: column; }
.demo-pages-grid strong { color: #06142E; font-size: .8rem; font-weight: 900; }
.demo-pages-grid small { color: #8791A1; font-size: .66rem; }
.demo-pages-grid b { margin-right: auto; color: #A87917; }

/* Footer */
.footer { padding-top: 65px; color: rgba(255,255,255,.7); background: #020B1C; border-top: 1px solid rgba(246,199,68,.18); }
.footer h4 { color: #fff; }
.footer h4::after { background: #F6C744; }
.footer a:hover { color: #F6C744; }
.footer-logo .logo-icon { background: #F6C744; color: #06142E; }
.footer-bottom { border-top-color: rgba(255,255,255,.12); }

/* Responsive */
@media (max-width: 1050px) {
  .stats-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .services-wrapper { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .demo-pages-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .cta-wrapper { grid-template-columns: auto 1fr; }
  .cta-text { grid-column: 2; }
  .cta-action { grid-column: 2; }
}
@media (max-width: 800px) {
  .nav-links { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 18px 25px; background: #020B1C; border-top: 1px solid rgba(246,199,68,.2); }
  .nav-links.active { display: flex; }
  .nav-links a { color: #fff; padding: 10px 0; }
  .hamburger { display: flex; }
  .about-wrapper { grid-template-columns: 1fr; gap: 35px; }
  .about-image { min-height: 340px; }
  .process-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .demo-pages-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .hero { min-height: 560px; }
  .hero-content { padding: 75px 0 85px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-content > p { font-size: .88rem; }
  .hero-buttons { gap: 9px; }
  .hero-buttons .btn { padding: 11px 15px; font-size: .78rem; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .stat-item { justify-content: flex-start; padding: 13px 9px; gap: 8px; }
  .stat-icon { width: 37px; height: 37px; min-width: 37px; font-size: .9rem; }
  .stat-number { font-size: 1.45rem; }
  .stat-info > span:nth-child(2) { font-size: .63rem; }
  .services-wrapper { gap: 28px; }
  .services-grid, .projects-grid { grid-template-columns: 1fr; }
  .project-image { height: 225px; }
  .about-features { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-wrapper { grid-template-columns: 1fr; text-align: center; padding: 25px 18px; }
  .cta-text, .cta-action { grid-column: auto; }
  .cta-action .btn { width: 100%; }
  .demo-pages-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .demo-pages-grid > a { padding: 10px 8px; gap: 8px; }
  .demo-pages-grid > a > i { width: 33px; height: 33px; min-width: 33px; font-size: .8rem; }
  .demo-pages-grid strong { font-size: .69rem; }
  .demo-pages-grid small { font-size: .57rem; }
  .demo-pages-grid b { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 15px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
