/* ============================================================
   Synclature.com — Group Parent Site
   Parent splash routing to synclature.in (Mumbai) and synclature.sg (Singapore)
   ============================================================ */

:root {
    /* Brand palette — aligned with synclature.in */
    --primary: #42baeb;          /* cyan (logomark) */
    --primary-dark: #0895cd;     /* deeper blue (logomark) */
    --primary-deepest: #1b678b;  /* dark blue */
    --accent: #faac19;           /* orange (logomark) */
    --accent-soft: #afa170;      /* muted gold (subtle bg) */

    /* Surfaces */
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --bg-dark: #0c3748;
    --bg-darkest: #061e2b;

    /* Text */
    --fg: #0c3748;
    --fg-muted: #5c6b78;
    --fg-light: #b6b6b6;
    --on-dark: #ffffff;
    --on-dark-muted: rgba(255, 255, 255, 0.72);

    /* Lines */
    --border: #e6ebf0;

    /* Type */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'DM Sans', 'Inter', sans-serif;

    /* Motion */
    --t-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: all 0.2s ease;

    /* Layout */
    --nav-h: 72px;
    --max-w: 1200px;
}

/* ── Reset & base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--fg);
}

/* ── Navigation ── */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 0.85rem 0;
    height: var(--nav-h);
    border-bottom: 1px solid transparent;
    transition: var(--t-smooth);
}
.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 24px rgba(12, 55, 72, 0.06);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: var(--t-fast);
}
.navbar-brand:hover { opacity: 0.85; }
.navbar-brand img {
    height: 36px;
    width: auto;             /* preserve aspect ratio */
    display: block;
}
.brand-wordmark {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fg);
}
.nav-link {
    color: var(--fg) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem !important;
    position: relative;
    transition: var(--t-fast);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 1.1rem; right: 1.1rem; bottom: 0.35rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--t-smooth);
}
.nav-link:hover { color: var(--primary-dark) !important; }
.nav-link:hover::after { transform: scaleX(1); }
.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(66, 186, 235, 0.25); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230c3748' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero — split-screen region selector ── */
.location-selector {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    margin-top: var(--nav-h);
    overflow: hidden;
}
.location-split { display: flex; height: 100%; width: 100%; }
.location-panel {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    transition: var(--t-smooth);
}
.location-panel::before {
    content: '';
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--t-smooth);
    z-index: 0;
}
.mumbai-panel::before {
    background: linear-gradient(135deg, #1b678b 0%, #0895cd 100%);
    /* Swap to a real photo: background-image: url('../images/mumbai-bg.jpg'); */
}
.singapore-panel::before {
    background: linear-gradient(135deg, #0895cd 0%, #42baeb 100%);
    /* Swap to a real photo: background-image: url('../images/singapore-bg.jpg'); */
}
.location-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    /* Subtle Ken-Burns-style zoom on hover, mirroring the gradient panels */
    transition: transform var(--t-smooth);
}
.location-panel:hover .location-video { transform: scale(1.05); }

.location-overlay {
    position: absolute; inset: 0;
    background: rgba(12, 55, 72, 0.45);
    transition: var(--t-smooth);
    z-index: 1;
}
.location-panel:hover .location-overlay { background: rgba(12, 55, 72, 0.25); }
.location-panel:hover::before { transform: scale(1.05); }
.location-link {
    display: block; width: 100%; height: 100%;
    text-decoration: none; color: inherit;
    position: relative; z-index: 2;
}
.location-content {
    position: relative; z-index: 3;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    height: 100%; padding: 2rem;
    color: var(--on-dark); text-align: center;
    opacity: 0.95;
    transition: var(--t-smooth);
}
.location-panel:hover .location-content {
    opacity: 1;
    transform: translateY(-10px);
}
.location-icon {
    width: 84px; height: 84px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: var(--on-dark);
    animation: float 3.5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%     { transform: translateY(-8px); }
}
.location-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    color: var(--on-dark);
}
.location-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.88;
    margin-bottom: 1.8rem;
}
.location-details {
    margin-bottom: 1.8rem;
    opacity: 0;
    transform: translateY(16px);
    transition: var(--t-smooth);
}
.location-panel:hover .location-details {
    opacity: 1;
    transform: translateY(0);
}
.location-details p {
    font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.92);
}
.location-cta {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border: 2px solid var(--on-dark);
    border-radius: 999px;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: var(--t-smooth);
    color: var(--on-dark);
}
.location-panel:hover .location-cta {
    background: var(--on-dark);
    color: var(--primary-deepest);
    transform: scale(1.04);
}
.location-cta i { transition: var(--t-fast); }
.location-panel:hover .location-cta i { transform: translateX(5px); }

/* ── Trusted-by strip ── */
.trusted-section {
    background: var(--bg-dark);
    padding: 4.5rem 0;
    color: var(--on-dark);
    text-align: center;
}
.trusted-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.9rem;
}
.trusted-heading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--on-dark);
    letter-spacing: -0.015em;
}
.trusted-heading em {
    color: var(--primary);
    font-style: normal;
}
.trusted-sub {
    color: var(--on-dark-muted);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto 3rem;
    line-height: 1.65;
}
.trusted-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.trusted-tile {
    aspect-ratio: 5 / 2;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.42);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--t-smooth);
    overflow: hidden;
}
.trusted-tile img {
    max-width: 70%;
    max-height: 60%;
    width: auto; height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: var(--t-smooth);
}
.trusted-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(66, 186, 235, 0.4);
    color: rgba(255, 255, 255, 0.85);
}
.trusted-tile:hover img { opacity: 1; }

/* ── About section ── */
.about-section {
    background: var(--bg);
    padding: 6rem 0;
}
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.9rem;
    display: inline-block;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.4rem;
    color: var(--fg);
    letter-spacing: -0.02em;
}
.section-title em { color: var(--primary-dark); font-style: normal; }
.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--fg-muted);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}
.body-text {
    font-size: 1rem;
    color: var(--fg-muted);
    line-height: 1.7;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--t-smooth);
}
.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(66, 186, 235, 0.15);
}
.stat-item h3 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.3rem;
    line-height: 1;
}
.stat-item p {
    font-size: 0.85rem;
    color: var(--fg-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ── Services overview ── */
.services-section {
    background: var(--bg-soft);
    padding: 6rem 0;
}
.services-section .section-eyebrow,
.services-section .section-title { text-align: center; }
.services-section .section-eyebrow { display: block; }
.services-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    color: var(--fg-muted);
    line-height: 1.7;
}
.service-card {
    background: var(--bg);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    height: 100%;
    transition: var(--t-smooth);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(8, 149, 205, 0.12);
}
.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: grid; place-items: center;
    margin-bottom: 1.2rem;
    transition: var(--t-smooth);
}
.service-card:hover .service-icon { transform: scale(1.06) rotate(-3deg); }
.service-icon i { font-size: 1.4rem; color: var(--on-dark); }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--fg);
    letter-spacing: -0.005em;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--fg-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── CTA banner ── */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deepest) 100%);
    padding: 5rem 0;
    color: var(--on-dark);
    text-align: center;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--on-dark);
    letter-spacing: -0.02em;
}
.cta-section p {
    color: var(--on-dark-muted);
    max-width: 560px;
    margin: 0 auto 2.2rem;
    font-size: 1.05rem;
    line-height: 1.65;
}
.cta-buttons {
    display: flex; gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-pill {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: 2px solid var(--on-dark);
    color: var(--on-dark);
    background: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--t-smooth);
}
.btn-pill:hover {
    background: var(--on-dark);
    color: var(--primary-deepest);
    transform: translateY(-2px);
}
.btn-pill.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--fg);
}
.btn-pill.primary:hover {
    background: #ffbb3d;
    border-color: #ffbb3d;
    color: var(--fg);
}

/* ── Footer ── */
.footer {
    background: var(--bg-darkest);
    color: var(--on-dark);
    padding: 3.5rem 0 1.5rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.footer-brand img { height: 32px; width: auto; }
.footer-brand span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--on-dark);
    letter-spacing: -0.02em;
}
.footer-tagline {
    color: var(--on-dark-muted);
    font-size: 0.92rem;
    max-width: 320px;
    line-height: 1.65;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-link {
    color: var(--on-dark-muted);
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--t-fast);
}
.footer-link:hover { color: var(--primary); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--on-dark-muted);
    flex-wrap: wrap;
    gap: 0.6rem;
}
.footer-bottom p { margin: 0; }

/* ── Responsive ── */
@media (min-width: 1200px) {
    .section-title { font-size: 3rem; }
}
@media (max-width: 991px) {
    .trusted-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .stats-grid { gap: 1rem; }
}
@media (max-width: 768px) {
    .location-selector { height: auto; margin-top: 60px; }
    .location-split { flex-direction: column; }
    .location-panel { min-height: 50vh; flex: 0 0 50vh !important; }
    .location-details { opacity: 1; transform: translateY(0); }
    .about-section, .services-section, .trusted-section, .cta-section {
        padding: 4rem 0;
    }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
    .trusted-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-wordmark { font-size: 1.15rem; }
    .navbar-brand img { height: 30px; }
    .stat-item { padding: 1.4rem 1rem; }
    .stat-item h3 { font-size: 1.8rem; }
    .location-cta { font-size: 0.95rem; padding: 0.75rem 1.4rem; }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Print ── */
@media print {
    .navbar, .location-selector, .cta-section, .footer { display: none; }
    .about-section, .services-section, .trusted-section { page-break-inside: avoid; }
}
