/* ============================================
   Mobin Tadbir Sharif - Corporate Website
   RTL | Minimal | Light Theme
   Primary: #219F9B
   Font: Vazirmatn
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #219f9b;
    --primary-light: #e6f7f6;
    --primary-dark: #1a807d;
    --text: #2d3748;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafb;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", "Tahoma", sans-serif;
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    line-height: 1.8;
    font-size: 15px;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header / Navbar --- */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

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

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
    position: relative;
}

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

.nav-links .home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.nav-links .home-icon svg {
    width: 26px;
    height: 26px;
}

.nav-links .home-icon:hover {
    background: var(--primary-light);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.hamburger:hover {
    background: var(--primary-light);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}

.mobile-menu a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-menu a:hover svg,
.mobile-menu a.active svg {
    stroke: var(--primary);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* --- Hero / Slogan Section --- */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--primary-light) 0%,
        var(--bg) 100%
    );
    position: relative;
    overflow: hidden;
}

/* ============================================
   INNER PAGE HERO - Unified & Polished
   ============================================ */
.hero-inner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f0fdfa 0%, #ffffff 50%, #e6f7f6 100%);
}

/* Dots pattern overlay */
.hero-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(33, 159, 155, 0.07) 1.5px,
        transparent 1.5px
    );
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 1;
}

/* Large faded logo watermark */
.hero-inner::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    background-image: url("../images/mobin-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.hero-inner .container {
    position: relative;
    z-index: 2;
}

/* Subtle teal accent line at top */
.hero-inner::before {
    border-bottom: none;
}

/* ============================================
   HOME HERO - Unique & Special
   ============================================ */
.hero-home {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 40%, #e6f7f6 100%);
}

/* Geometric pattern background */
.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(33, 159, 155, 0.07) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(33, 159, 155, 0.05) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 60% 80%,
            rgba(33, 159, 155, 0.04) 0%,
            transparent 40%
        );
    pointer-events: none;
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(33, 159, 155, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 159, 155, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-home .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-home-content {
    text-align: right;
    position: relative;
    z-index: 2;
}

.hero-home-content .hero-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.hero-home-content h1 {
    font-size: 40px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 24px;
    white-space: nowrap;
}

/* Bold slogan */
.hero-slogan {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.slogan-line {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.slogan-line::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    opacity: 0.3;
}

.slogan-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.slogan-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.hero-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 28px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    border: 2px solid var(--border);
    color: var(--text);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
}

.hero-cta-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.hero-home-content .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(33, 159, 155, 0.3);
}

.hero-home-content .hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(33, 159, 155, 0.4);
}

/* Hero visual side */
.hero-home-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.hero-shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.9;
}

.hero-shape-1 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--primary) 0%, #2bc4c0 100%);
    top: 20px;
    right: 30px;
    border-radius: 30px;
    animation: float1 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #e6f7f6 0%, #b2ebe9 100%);
    bottom: 30px;
    left: 20px;
    border-radius: 24px;
    animation: float2 7s ease-in-out infinite;
}

.hero-shape-3 {
    width: 80px;
    height: 80px;
    background: rgba(33, 159, 155, 0.15);
    top: 60px;
    left: 60px;
    border-radius: 16px;
    animation: float3 5s ease-in-out infinite;
}

.hero-shape-4 {
    width: 50px;
    height: 50px;
    background: rgba(33, 159, 155, 0.1);
    bottom: 80px;
    right: 80px;
    border-radius: 12px;
    animation: float2 8s ease-in-out infinite reverse;
}

.hero-shape-5 {
    width: 35px;
    height: 35px;
    background: var(--primary);
    top: 10px;
    left: 40%;
    border-radius: 10px;
    opacity: 0.12;
    animation: float3 6s ease-in-out infinite;
}

.hero-shape-6 {
    width: 28px;
    height: 28px;
    background: var(--primary);
    bottom: 40px;
    left: 45%;
    border-radius: 8px;
    opacity: 0.1;
    animation: float1 9s ease-in-out infinite;
}

.hero-shape-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(33, 159, 155, 0.15);
}

.hero-shape-icon svg {
    color: var(--primary);
}

.hero-shape-icon-1 {
    width: 72px;
    height: 72px;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    animation: float1 5s ease-in-out infinite;
}

.hero-shape-icon-2 {
    width: 56px;
    height: 56px;
    bottom: 15%;
    left: 15%;
    animation: float3 6s ease-in-out infinite;
}

.hero-shape-icon-3 {
    width: 48px;
    height: 48px;
    bottom: 80%;
    left: 30%;
    animation: float2 7s ease-in-out infinite;
}

.hero-shape-icon-4 {
    width: 44px;
    height: 44px;
    bottom: 10%;
    right: 25%;
    animation: float3 6s ease-in-out infinite;
}

.hero-shape-icon-5 {
    width: 40px;
    height: 40px;
    top: 25%;
    left: 10%;
    animation: float1 7s ease-in-out infinite;
}

/* Transparent logo in floating shapes */
.hero-shape-logo {
    position: absolute;
    width: 160px;
    height: auto;
    top: 50%;
    left: 28%;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    pointer-events: none;
    animation: float1 8s ease-in-out infinite;
    filter: hue-rotate(0deg);
}

/* Dot pattern overlay on home hero visual */
.hero-home-visual::before {
    content: "";
    position: absolute;
    inset: -20px;
    background-image: radial-gradient(
        circle,
        rgba(33, 159, 155, 0.08) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    border-radius: 30px;
    pointer-events: none;
}

/* Floating animations */
@keyframes float1 {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(3deg);
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-14px) rotate(-3deg);
    }
}

@keyframes float3 {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.5;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.9;
}

/* --- Section Styles --- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

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

.statistics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.services {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.services h2 {
    margin-bottom: 0 !important;
}

.statistics img {
    filter: brightness(0) invert(1);
}

.statistics h2 {
    margin-bottom: 0 !important;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

.section-header .underline {
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    margin: 16px auto 0;
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: right;
}

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

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: #fff;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition);
}

.card-link:hover {
    gap: 10px;
}

/* --- Clients Section --- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
}

.client-card-2 {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
}

.client-card-2 .client-icon {
    width: 52px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
}

.client-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.client-card-2:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.client-icon {
    width: 92px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.client-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all var(--transition);
}

.client-card:hover .client-icon img {
    transform: scale(1.05);
}

.client-card-2:hover .client-icon img {
    transform: scale(1.05);
}

.client-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.client-card-2 span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

/* --- Stats Section --- */
.stats-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e 0%, #219f9b 40%, #2dd4bf 100%);
    padding: 70px 0;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 40%
        ),
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size:
        100% 100%,
        100% 100%,
        28px 28px;
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-section .section-header h2 {
    color: #fff;
}

.stats-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.stats-section .section-header .underline {
    background: rgba(255, 255, 255, 0.5);
}

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

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
}

.stat-number {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* --- Projects Section --- */
.projects-section {
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(33, 159, 155, 0.04) 1px,
        transparent 1px
    );
    background-size: 32px 32px;
    pointer-events: none;
}

.projects-section .container {
    position: relative;
    z-index: 1;
}

.projects-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.project-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.project-num {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, #2dd4bf 100%);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(33, 159, 155, 0.25);
}

.project-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.6;
}

.project-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

.project-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 10px;
}

/* --- Page Header (for inner pages) --- */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(
        180deg,
        var(--primary-light) 0%,
        var(--bg) 100%
    );
    text-align: center;
}

.page-header h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Content Sections for inner pages --- */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text);
    padding-right: 16px;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 30px;
    color: var(--text);
}

.content-section p {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
    margin-bottom: 16px;
}

.content-section ul {
    padding-right: 24px;
    margin-bottom: 16px;
}

.content-section ul li {
    position: relative;
    padding-right: 20px;
    padding-bottom: 8px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
}

.content-section ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Feature boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.feature-box {
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature-box p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* Brands row */
.brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.brand-tag {
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.brand-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* --- About Page --- */
.ceo-message {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    margin: 30px 0;
    position: relative;
}

.ceo-message::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 28px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}

.ceo-message p {
    font-size: 15px;
    line-height: 2.1;
    color: var(--text);
    margin-bottom: 16px;
    text-align: justify;
}

.ceo-message .ceo-sign {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    color: var(--primary);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.contact-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--primary);
    transition: all var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: var(--primary);
    color: #fff;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
}

.working-hours {
    text-align: center;
    padding: 30px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.working-hours h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.working-hours p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.9;
}

.map {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 44px;
    iframe {
        width: 100%;
    }
}

/* --- Footer --- */
.footer {
    background: var(--text);
    color: #cbd5e1;
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at 1px 1px,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 0
    );
    background-size: 28px 28px;
    pointer-events: none;
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #0d9488, var(--primary));
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 0;
}

.footer h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #94a3b8;
    border-radius: 8px;
    transition: all var(--transition);
}

.footer-links a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #475569;
    flex-shrink: 0;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover::before {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(33, 159, 155, 0.4);
}

.footer-contact p {
    font-size: 13px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    transition: color var(--transition);
}

.footer-contact p:hover {
    color: #e2e8f0;
}

.footer-bottom-about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 0;
}

.footer-bottom-about img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-bottom-about h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.footer-bottom-about p {
    font-size: 13px;
    line-height: 1.9;
    color: #94a3b8;
}

.footer-contact .fc-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 159, 155, 0.12);
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-contact .fc-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom .footer-bottom-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom .footer-bottom-icon svg {
    width: 14px;
    height: 14px;
    stroke: #64748b;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-bottom span {
    color: var(--primary);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-home .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-home-content {
        text-align: center;
    }
    .hero-home-content .hero-slogan {
        margin: 0 auto 32px;
        justify-content: center;
    }
    .slogan-divider {
        display: none;
    }
    .hero-home-visual {
        min-height: 280px;
    }
    .projects-list {
        grid-template-columns: 1fr;
    }
    .hero-shape-icon-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero h1 {
        font-size: 24px;
    }
    .hero p {
        font-size: 15px;
    }
    .hero-home-content h1 {
        font-size: 30px;
    }
    .hero-home-visual {
        min-height: 220px;
    }
    .hero-shape-1 {
        width: 150px;
        height: 150px;
    }
    .hero-shape-2 {
        width: 100px;
        height: 100px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-boxes {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-about {
        flex-direction: column;
        text-align: center;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .section {
        padding: 50px 0;
    }
    .section-header h2 {
        font-size: 22px;
    }
    .page-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .header-inner {
        height: 60px;
    }
    .hero {
        padding: 110px 0 50px;
    }
    .clients-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-number {
        font-size: 28px;
    }
    .ceo-message {
        padding: 24px;
    }
}

/* ============================================
   Recruitment Button & Application Modal
   ============================================ */

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

.btn-recruit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(33, 159, 155, 0.25);
}

.btn-recruit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(33, 159, 155, 0.35);
}

.btn-recruit svg {
    flex-shrink: 0;
}

.btn-recruit.mobile-recruit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    font-size: 16px;
    padding: 14px 22px;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 42, 41, 0.55);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 16px;
    overflow-y: auto;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 520px;
    padding: 32px;
    position: relative;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.modal-header {
    margin-bottom: 24px;
    padding-left: 40px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 13px;
    color: var(--text-light);
}

/* --- Form fields --- */
.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}

.form-field .req {
    color: #dc2626;
}

.form-field .opt {
    color: var(--text-light);
    font-weight: 400;
    font-size: 12px;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 159, 155, 0.12);
}

.form-field textarea {
    resize: vertical;
    min-height: 96px;
}

.input-error,
.form-field input.input-error,
.form-field select.input-error,
.form-field textarea.input-error,
.file-input.input-error {
    border-color: #dc2626 !important;
}

.field-error {
    margin-top: 6px;
    font-size: 12px;
    color: #dc2626;
}

.field-hint {
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--text-light);
}

/* --- File input --- */
.file-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition:
        border-color var(--transition),
        background var(--transition);
}

.file-input:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-input.has-file {
    border-style: solid;
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-input-button {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
}

.file-input-name {
    font-size: 12.5px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-input.has-file .file-input-name {
    color: var(--primary-dark);
    font-weight: 600;
}

/* --- Submit & success --- */
.form-actions {
    margin-top: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.apply-success {
    text-align: center;
    padding: 24px 8px 8px;
}

.apply-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-success h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.apply-success p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 22px;
    line-height: 1.9;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .modal-overlay {
        padding: 24px 12px;
    }

    .modal-box {
        padding: 24px 18px;
    }
}
