/* ═══════════════════════════════════════════════
   CALIBRE INDUSTRIES — Public Site CSS
   Design: Industrial-Professional
   Fonts: Rajdhani (headings) + Inter (body)
═══════════════════════════════════════════════ */

:root {
    --ci-navy:     #1a2744;
    --ci-steel:    #2d5f8f;
    --ci-amber:    #c8922a;
    --ci-amber-lt: #f0c261;
    --ci-dark:     #0d1117;
    --ci-mid:      #1e293b;
    --ci-gray:     #94a3b8;
    --ci-light:    #f0f4f8;
    --ci-white:    #ffffff;
    --ci-text:     #1e293b;
    --ci-muted:    #64748b;
    --font-h:      'Rajdhani', sans-serif;
    --font-b:      'Inter', sans-serif;
}

/* ── Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-b);
    color: var(--ci-text);
    background: var(--ci-white);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--font-h); }

/* ── Navigation ──────────────────────────────── */
.ci-nav {
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .3s, box-shadow .3s;
    padding: 0.75rem 0;
}

.ci-nav.scrolled {
    background: rgba(13, 17, 23, 0.98);
    box-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.ci-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.brand-calibre {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ci-white);
    letter-spacing: 0.15em;
}

.brand-industries {
    font-family: var(--font-b);
    font-size: 0.62rem;
    font-weight: 400;
    color: var(--ci-amber);
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.ci-nav-link {
    color: rgba(255,255,255,.75) !important;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.5rem 0.9rem !important;
    border-radius: 6px;
    transition: color .15s, background .15s;
}

.ci-nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,.07);
}

.ci-nav-btn {
    color: var(--ci-amber) !important;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1rem !important;
    border: 1px solid var(--ci-amber);
    border-radius: 6px;
    letter-spacing: 0.03em;
    transition: all .15s;
}

.ci-nav-btn:hover {
    background: var(--ci-amber);
    color: var(--ci-dark) !important;
}

/* ── Hero ─────────────────────────────────────── */
.ci-hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(13,17,23,.97) 0%, rgba(26,39,68,.93) 60%, rgba(45,95,143,.7) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(200,146,42,0.15)"/></svg>');
    background-size: cover, 60px 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13,17,23,.6) 100%);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(200,146,42,.15);
    border: 1px solid rgba(200,146,42,.4);
    border-radius: 50px;
    color: var(--ci-amber-lt);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 1rem;
    letter-spacing: 0.04em;
}

.hero-title {
    font-family: var(--font-h);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--ci-white);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

/* Cycling text animation */
.hero-cycle { display: block; position: relative; height: 1.1em; overflow: hidden; }

.cycle-item {
    display: block;
    color: var(--ci-amber);
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: cycleItem 12s ease-in-out infinite;
}

.cycle-item:nth-child(1) { animation-delay: 0s; }
.cycle-item:nth-child(2) { animation-delay: 3s; }
.cycle-item:nth-child(3) { animation-delay: 6s; }
.cycle-item:nth-child(4) { animation-delay: 9s; }

@keyframes cycleItem {
    0%, 100% { opacity: 0; transform: translateY(30px); }
    8%        { opacity: 1; transform: translateY(0);    }
    22%       { opacity: 1; transform: translateY(0);    }
    30%       { opacity: 0; transform: translateY(-30px);}
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    max-width: 600px;
}

.ci-btn-primary {
    background: var(--ci-amber);
    border: 2px solid var(--ci-amber);
    border-radius: 8px;
    color: var(--ci-dark);
    font-family: var(--font-b);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all .2s;
}

.ci-btn-primary:hover {
    background: var(--ci-amber-lt);
    border-color: var(--ci-amber-lt);
    color: var(--ci-dark);
    transform: translateY(-2px);
}

.ci-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 8px;
    color: rgba(255,255,255,.85);
    font-family: var(--font-b);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    transition: all .2s;
}

.ci-btn-outline:hover {
    border-color: rgba(255,255,255,.7);
    color: var(--ci-white);
    background: rgba(255,255,255,.07);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-hint a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 1.5rem; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Band ───────────────────────────────── */
.ci-stats-band {
    background: var(--ci-navy);
    padding: 0;
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-h);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ci-amber);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ── Sections ─────────────────────────────────── */
.ci-section { padding: 5rem 0; }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ci-amber);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--ci-navy);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.section-body {
    font-size: 1rem;
    color: var(--ci-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ── About ────────────────────────────────────── */
.ci-about { background: var(--ci-light); }

.cert-card {
    background: var(--ci-white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border-top: 3px solid var(--ci-navy);
    transition: transform .2s, box-shadow .2s;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(26,39,68,.12);
}

.cert-card--amber  { border-top-color: var(--ci-amber); }
.cert-card--steel  { border-top-color: var(--ci-steel); }
.cert-card--green  { border-top-color: #16a34a; }

.cert-icon {
    font-size: 2rem;
    color: var(--ci-navy);
    margin-bottom: 0.75rem;
    display: block;
}

.cert-title { font-weight: 600; font-size: 0.95rem; color: var(--ci-navy); margin-bottom: 0.25rem; }
.cert-desc  { font-size: 0.78rem; color: var(--ci-muted); line-height: 1.5; }

.about-facts { border-radius: 12px; overflow: hidden; }

.fact-row {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.88rem;
}

.fact-row:last-child { border-bottom: none; }
.fact-key { color: var(--ci-muted); font-weight: 500; min-width: 150px; }
.fact-val  { color: var(--ci-text); font-weight: 600; }

/* ── Products ─────────────────────────────────── */
.ci-products {
    background: var(--ci-dark);
}

.ci-products .section-label { color: var(--ci-amber); }

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    color: rgba(255,255,255,.65);
    font-family: var(--font-b);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    cursor: pointer;
    transition: all .15s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--ci-amber);
    border-color: var(--ci-amber);
    color: var(--ci-dark);
}

.product-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    transition: background .2s, border-color .2s, transform .2s;
}

.product-card:hover {
    background: rgba(200,146,42,.06);
    border-color: rgba(200,146,42,.25);
    transform: translateY(-3px);
}

.product-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(200,146,42,.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(200,146,42,.2);
}

.product-icon { font-size: 1.6rem; color: var(--ci-amber); }
.product-name { font-family: var(--font-h); font-size: 1.1rem; font-weight: 600; color: var(--ci-white); margin-bottom: 0.4rem; }
.product-desc { font-size: 0.83rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 0.75rem; }
.product-tag  { background: rgba(200,146,42,.15); border: 1px solid rgba(200,146,42,.25); border-radius: 50px; color: var(--ci-amber-lt); font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.7rem; letter-spacing: 0.04em; }

/* ── Contact ──────────────────────────────────── */
.ci-contact { background: var(--ci-white); }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact-icon {
    width: 42px;
    height: 42px;
    background: var(--ci-navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ci-amber);
    font-size: 1.1rem;
}

.contact-label { font-size: 0.75rem; font-weight: 700; color: var(--ci-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.contact-value { font-size: 0.9rem; color: var(--ci-text); line-height: 1.6; }
.contact-value a { color: var(--ci-steel); text-decoration: none; }
.contact-value a:hover { color: var(--ci-navy); text-decoration: underline; }

.contact-form-card {
    background: var(--ci-light);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
}

.form-heading { font-family: var(--font-h); font-weight: 600; font-size: 1.4rem; color: var(--ci-navy); }

.form-floating label { color: var(--ci-muted); font-size: 0.88rem; }
.form-control { border-radius: 8px; border-color: #cbd5e1; font-family: var(--font-b); font-size: 0.9rem; }
.form-control:focus { border-color: var(--ci-steel); box-shadow: 0 0 0 3px rgba(45,95,143,.12); }

/* ── Footer ───────────────────────────────────── */
.ci-footer {
    background: var(--ci-dark);
    padding: 4rem 0 0;
    color: rgba(255,255,255,.6);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.footer-text { font-size: 0.85rem; line-height: 1.7; }

.footer-heading { font-family: var(--font-h); font-size: 0.85rem; font-weight: 600; color: var(--ci-white); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }

.footer-list { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; line-height: 2; }
.footer-list li::before { content: '›'; color: var(--ci-amber); margin-right: 0.5rem; }

.footer-address { font-size: 0.85rem; font-style: normal; line-height: 2; }
.footer-address a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-address a:hover { color: var(--ci-amber); }

.footer-divider { border-color: rgba(255,255,255,.08); margin: 2rem 0 0; }

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,.35); }

.footer-social {
    color: rgba(255,255,255,.4);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color .15s;
}

.footer-social:hover { color: var(--ci-amber); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 767px) {
    .ci-hero { padding-top: 5rem; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .contact-form-card { padding: 1.5rem; }
    .fact-row { flex-direction: column; gap: 0.25rem; }
    .fact-key { min-width: auto; }
}
