/* ============================================
   SJS Tech Pte. Ltd. - Professional Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1a56db;
    --primary-dark: #1340a8;
    --primary-light: #e8effc;
    --accent: #0ea5e9;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-danger { color: var(--danger); }
.text-success { color: var(--success); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.35);
    color: var(--white);
}

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

.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-nav {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
}
.btn-nav:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,86,219,0.35); }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    line-height: 1;
}
.logo img {
    height: 66px;
    width: auto;
    display: block;
    transition: height var(--transition);
}
.navbar.scrolled .logo img { height: 56px; }
.logo-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo-sjs { color: var(--primary); }
.logo-tech { color: var(--dark); }

.logo-slogan {
    display: block;
    font-size: 0.45rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-500);
    line-height: 1;
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 16px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.93rem;
    border-radius: 6px;
    transition: var(--transition);
}


.nav-menu a:hover { color: var(--primary); }
.nav-menu a.active { color: var(--primary); font-weight: 600; }

/* --- Nav Dropdown --- */
.nav-item-dropdown { position: relative; }
.nav-caret {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform var(--transition);
}
.nav-item-dropdown:hover .nav-caret { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 235px;
    list-style: none;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1001;
}
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--gray-700);
    white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-menu a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

/* Inline hero variant (used mid-page, e.g. services RWS Model) */
.hero.hero-inline { min-height: auto; }
.hero.hero-inline .hero-content { padding-top: 120px; padding-bottom: 70px; }

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a56db 100%);
    opacity: 1;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 800;
}
.hero h1 .text-gradient {
    background: linear-gradient(135deg, #60a5fa, #38bdf8, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

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

.hero .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}
.hero .btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}
.section-header p {
    margin-top: 16px;
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* --- Page Hero --- */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* --- Value Props --- */
.value-props { background: var(--gray-50); }

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

.prop-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.prop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26,86,219,0.15);
}

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

.prop-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.prop-card p { color: var(--gray-500); font-size: 0.93rem; }

/* --- How It Works --- */
.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.steps-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}
.step:last-child { margin-bottom: 0; }

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    flex: 1;
}
.step-content h4 { margin-bottom: 6px; }
.step-content p { color: var(--gray-500); font-size: 0.93rem; }

/* --- Business Model Flowchart --- */
.flowchart { max-width: 1100px; margin: 0 auto; }

.flow-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    margin-bottom: 40px;
}

.flow-box {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-100);
}

.flow-box.client {
    border-color: rgba(26, 86, 219, 0.3);
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}
.flow-box.sjs {
    border-color: rgba(14, 165, 233, 0.3);
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}
.flow-box.rws {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.flow-box-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.client .flow-box-icon { background: #dbeafe; color: #1d4ed8; }
.sjs .flow-box-icon { background: #e0f2fe; color: #0284c7; }
.rws .flow-box-icon { background: #d1fae5; color: #059669; }

.flow-box h3 { font-size: 1.15rem; margin-bottom: 6px; }
.flow-box p { font-size: 0.85rem; color: var(--gray-500); }

.flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.flow-arrow-line {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    position: relative;
}

.flow-arrow-line::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -5px;
    border: 6px solid transparent;
    border-left: 8px solid var(--accent);
}

.flow-arrow-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    white-space: nowrap;
}

/* Process Steps */
.flow-process {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 40px;
    position: relative;
}

.flow-process::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(90deg, #1a56db, #0ea5e9, #10b981, #f59e0b, #8b5cf6, #ec4899, #10b981);
    border-radius: 2px;
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 3px solid var(--white);
}

.step-c1 .step-circle { background: #1a56db; }
.step-c2 .step-circle { background: #0ea5e9; }
.step-c3 .step-circle { background: #06b6d4; }
.step-c4 .step-circle { background: #10b981; }
.step-c5 .step-circle { background: #f59e0b; }
.step-c6 .step-circle { background: #8b5cf6; }
.step-c7 .step-circle { background: #ec4899; }

.process-step h4 { font-size: 0.82rem; margin-bottom: 4px; line-height: 1.3; }
.process-step p { font-size: 0.72rem; color: var(--gray-500); line-height: 1.4; }

/* Flow Benefits */
.flow-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.flow-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 20px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.flow-benefit i {
    font-size: 1.2rem;
    color: var(--success);
    flex-shrink: 0;
}

.flow-benefit span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
}

@media (max-width: 900px) {
    .flow-top {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .flow-arrow {
        transform: rotate(90deg);
        padding: 12px 0;
    }
    .flow-process {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .flow-process::before { display: none; }
    .process-step { flex-direction: row; text-align: left; gap: 14px; }
    .step-circle { width: 48px; height: 48px; font-size: 1rem; flex-shrink: 0; margin-bottom: 0; }
    .flow-benefits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 550px) {
    .flow-benefits { grid-template-columns: 1fr; }
}

/* --- Locations --- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 700px;
    margin: 0 auto;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-100);
    position: relative;
    transition: var(--transition);
}
.location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

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

.location-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #dcfce7;
    color: #16a34a;
    margin-bottom: 12px;
}
.location-badge.upcoming {
    background: #fef3c7;
    color: #d97706;
}

.location-card h3 { margin-bottom: 8px; }
.location-card p { color: var(--gray-500); font-size: 0.9rem; }

.active-location { border-color: rgba(16, 185, 129, 0.3); }
.upcoming-location { border-color: rgba(217, 119, 6, 0.2); }

/* --- Services --- */
.service-block {
    margin-bottom: 80px;
}
.service-block:last-child { margin-bottom: 0; }

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.service-header h2 { margin: 0; }

.strength-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.service-sub {
    margin-bottom: 36px;
}
.service-sub h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--gray-700);
    font-size: 1.15rem;
}
.service-sub h3 i { color: var(--primary); }

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.svc-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(26,86,219,0.2);
}
.svc-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}
.svc-card h4 { margin-bottom: 8px; }
.svc-card p { color: var(--gray-500); font-size: 0.9rem; }

/* --- RWS Model --- */
.rws-intro {
    max-width: 800px;
    margin: 0 auto;
}
.rws-intro-text h2 { margin-bottom: 24px; }
.rws-intro-text p { font-size: 1.1rem; margin-bottom: 16px; color: var(--gray-700); }

/* Comparison Table */
.comparison-section { background: var(--gray-50); }

.comparison-table-wrap {
    max-width: 750px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table thead th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table tbody td { font-size: 0.93rem; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--gray-50); }

.wfh-col { text-align: center; }
.rws-col { text-align: center; }

.comparison-table td i { margin-right: 6px; }

/* Work Setup */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.setup-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
}
.setup-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.setup-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0 auto 18px;
}

.setup-card h4 { margin-bottom: 8px; }
.setup-card p { color: var(--gray-500); font-size: 0.9rem; }

/* --- Pricing --- */
.pricing-table-wrap {
    overflow-x: auto;
    max-width: 850px;
    margin: 0 auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
    padding: 20px 28px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-table thead th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
}

.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--gray-50); }

.price-highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.saving {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.save-amount { color: var(--success); font-weight: 700; font-size: 1.05rem; }
.save-pct { color: var(--gray-500); font-size: 0.8rem; }

/* Savings Card */
.savings-cards {
    max-width: 550px;
    margin: 0 auto 50px;
}

.savings-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(26, 86, 219, 0.1);
}

.savings-range {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.savings-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.savings-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Savings Factors */
.savings-factors {
    max-width: 750px;
    margin: 0 auto;
}

.savings-factors h3 {
    text-align: center;
    margin-bottom: 28px;
    color: var(--dark);
}

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

.factor-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.factor-item > i {
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.factor-item h4 { margin-bottom: 4px; }
.factor-item p { color: var(--gray-500); font-size: 0.88rem; }

@media (max-width: 768px) {
    .factors-grid { grid-template-columns: 1fr; }
}

.pricing-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 20px;
    font-style: italic;
}

/* Pricing Benefits */
.pricing-benefits { background: var(--gray-50); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.benefit-card > i {
    font-size: 1.4rem;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}
.benefit-card h4 { margin-bottom: 4px; }
.benefit-card p { color: var(--gray-500); font-size: 0.9rem; }

/* --- About --- */
.about-content { max-width: 800px; margin: 0 auto; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { font-size: 1.05rem; margin-bottom: 16px; }

.strengths-section { background: var(--gray-50); }

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

.strength-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.strength-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.strength-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0 auto 20px;
}

.strength-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.strength-card p { color: var(--gray-500); font-size: 0.9rem; }

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--gray-500); margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 { margin-bottom: 2px; font-size: 0.9rem; color: var(--gray-500); font-weight: 500; }
.contact-item p { color: var(--dark); font-weight: 500; }

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Captcha */
.captcha-group label {
    font-weight: 600;
    color: var(--primary);
}
.captcha-group input {
    max-width: 200px;
}

.form-success {
    text-align: center;
    padding: 60px 20px;
}
.form-success i { font-size: 3rem; color: var(--success); margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--gray-500); }

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--danger);
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 36px; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}
.cta-section .btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    padding: 72px 0 32px;
    color: rgba(255,255,255,0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.footer-logo .logo-sjs { color: #60a5fa; }
.footer-logo .logo-tech { color: var(--white); }

.footer-tagline {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.footer-contact i { color: var(--accent); font-size: 0.85rem; }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Animations --- */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.props-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.props-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.props-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }
.props-grid .animate-in:nth-child(5) { transition-delay: 0.4s; }
.props-grid .animate-in:nth-child(6) { transition-delay: 0.5s; }

.step.animate-in:nth-child(2) { transition-delay: 0.1s; }
.step.animate-in:nth-child(3) { transition-delay: 0.2s; }
.step.animate-in:nth-child(4) { transition-delay: 0.3s; }
.step.animate-in:nth-child(5) { transition-delay: 0.4s; }
.step.animate-in:nth-child(6) { transition-delay: 0.5s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }

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

@media (max-width: 768px) {
    .nav-toggle { display: flex; z-index: 1001; }
    .logo img { height: 40px; }
    .navbar.scrolled .logo img { height: 36px; }

    /* Overlay backdrop */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: -1;
    }
    .nav-menu.active::before {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 32px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -8px 0 30px rgba(0,0,0,0.12);
        align-items: stretch;
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-menu li {
        border-bottom: 1px solid var(--gray-100);
    }
    .nav-menu li:last-child { border-bottom: none; margin-top: 12px; }
    .nav-menu a {
        color: var(--dark) !important;
        padding: 14px 16px;
        font-size: 0.95rem;
        font-weight: 500;
        display: block;
        transition: var(--transition);
    }
    .nav-menu a:hover {
        background: var(--gray-50);
        color: var(--primary) !important;
        border-radius: 8px;
    }
    .nav-menu a.active {
        color: var(--primary) !important;
        font-weight: 600;
    }
    .nav-menu .btn-nav {
        text-align: center;
        padding: 12px 24px;
        border-radius: 8px;
    }

    /* Dropdown expands inline on mobile */
    .nav-caret { display: none; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 14px;
        min-width: 0;
    }
    .dropdown-menu li { border-bottom: none; }
    .dropdown-menu a {
        font-size: 0.9rem;
        padding: 12px 16px;
        color: var(--gray-500) !important;
    }
    .dropdown-menu a:hover { background: var(--gray-50); }

    /* Hamburger to X animation */
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .section { padding: 70px 0; }
    .page-hero { padding: 130px 0 60px; }

    .props-grid { grid-template-columns: 1fr; }
    .setup-grid { grid-template-columns: 1fr; }
    .locations-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .strengths-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 28px 20px; }
    .steps-timeline::before { left: 24px; }
    .step-number { width: 48px; height: 48px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }
    .logo img { height: 34px; }
    .navbar.scrolled .logo img { height: 32px; }
}

/* ============================================
   Service Carousel (Home)
   ============================================ */
.service-carousel-section { background: var(--gray-50); padding-top: 130px; }

.carousel { position: relative; }

.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    display: block;
    background: var(--white);
}
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hover CTA overlay */
.cs-cta {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
}
.carousel-slide:hover .cs-cta {
    opacity: 1;
    transform: translateY(0);
}
.carousel-slide:hover img { filter: brightness(0.97); }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}
.carousel-btn:hover { background: var(--primary); color: var(--white); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}
.carousel-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}
.carousel-dot.active { background: var(--primary); width: 28px; border-radius: 50px; }

@media (max-width: 768px) {
    .service-carousel-section { padding-top: 95px; }
    .carousel-viewport { border-radius: var(--radius); }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        background: rgba(255,255,255,0.85);
        box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    }
    .carousel-dots { margin-top: 16px; }
    /* CTA always visible on touch (no hover) */
    .cs-cta {
        opacity: 1;
        transform: none;
        right: 8px;
        bottom: 8px;
        padding: 7px 12px;
        font-size: 0.72rem;
    }
}
