/*
Theme Name: North India Carriers
Theme URI: https://northindiacarriers.com/
Author: North India Carriers
Description: Corporate block theme for North India Carriers — industrial logistics and road transportation since 2000.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: nic
*/

:root {
	--nic-navy: #0B1A2E;
	--nic-navy-2: #13263F;
	--nic-navy-3: #0F2139;
	--nic-line-dark: #1C3556;
	--nic-edge-dark: #4A5E79;
	--nic-ink: #0F1C2C;
	--nic-body: #3A4655;
	--nic-muted: #5B6675;
	--nic-ground: #F4F3EF;
	--nic-line: #DDD9D0;
	--nic-soft: #C5CDD8;
	--nic-soft-2: #A9B4C2;
	--nic-accent: var(--wp--preset--color--accent, #B4541A);
	--nic-accent-light: var(--wp--preset--color--accent-light, #E8894A);
	--nic-tint: #F6E7DC;
	--nic-display: var(--wp--preset--font-family--display, 'Archivo', Arial, sans-serif);
	--nic-mono: var(--wp--preset--font-family--mono, 'IBM Plex Mono', monospace);
	--nic-pad-x: 24px;
}

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks p,
.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3 { margin: 0; }
.wp-site-blocks a:hover { text-decoration: underline; }
.wp-site-blocks a:focus-visible,
.wp-site-blocks button:focus-visible { outline: 2px solid var(--nic-accent-light); outline-offset: 3px; }
.nic-wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: var(--nic-pad-x); padding-right: var(--nic-pad-x); box-sizing: content-box; }

/* ---------- Type helpers ---------- */
.nic-eyebrow { font-family: var(--nic-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nic-accent); }
.nic-on-dark .nic-eyebrow { color: var(--nic-accent-light); }
.wp-site-blocks .nic-h1 { font-family: var(--nic-display); font-stretch: 112%; font-weight: 800; font-size: 66px; line-height: 1.02; letter-spacing: -0.01em; color: #fff; }
.wp-site-blocks .nic-h2 { font-family: var(--nic-display); font-stretch: 112%; font-weight: 800; font-size: 48px; line-height: 1.08; color: var(--nic-navy); }
.nic-on-dark .nic-h2 { color: #fff; }
.nic-lead { font-size: 17px; line-height: 1.7; color: var(--nic-body); }
.nic-on-dark .nic-lead { color: var(--nic-soft); }

/* ---------- Buttons ---------- */
.nic-btn .wp-block-button__link {
	display: inline-block; border-radius: 0; padding: 16px 28px;
	font-family: var(--nic-display); font-stretch: 112%; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
	border: 1.5px solid transparent; line-height: 1.2; text-decoration: none !important;
}
.nic-btn--primary .wp-block-button__link { background: var(--nic-accent); color: #fff; border-color: var(--nic-accent); }
.nic-btn--primary .wp-block-button__link:hover { filter: brightness(0.92); }
.nic-btn--outline-dark .wp-block-button__link { background: transparent; color: #fff; border-color: var(--nic-edge-dark); }
.nic-btn--outline-dark .wp-block-button__link:hover { border-color: #fff; }
.nic-btn--outline .wp-block-button__link { background: transparent; color: var(--nic-navy); border-color: var(--nic-navy); }
.nic-btn--outline .wp-block-button__link:hover { background: var(--nic-navy); color: #fff; }
.nic-btn--sm .wp-block-button__link { padding: 13px 22px; font-size: 14px; }
.wp-block-buttons.nic-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.nic-textlink a { font-family: var(--nic-display); font-stretch: 112%; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--nic-navy); border-bottom: 2px solid var(--nic-accent); padding-bottom: 4px; text-transform: uppercase; }

/* ---------- Top bar & header ---------- */
.nic-topbar { background: var(--nic-navy); border-bottom: 1px solid var(--nic-line-dark); color: var(--nic-soft-2); font-size: 13px; }
.nic-topbar .nic-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.nic-topbar__right { display: flex; gap: 28px; }
.nic-header { background: #fff; border-bottom: 1px solid var(--nic-line); }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.nic-header .nic-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.nic-brand { display: flex; align-items: center; gap: 14px; }
.nic-brand .wp-block-site-logo img { display: block; height: 44px; width: auto; }
.nic-brand__name a { font-family: var(--nic-display); font-stretch: 118%; font-weight: 800; font-size: 19px; letter-spacing: 0.02em; color: var(--nic-navy); text-transform: uppercase; text-decoration: none !important; }
.nic-brand__tag { font-family: var(--nic-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--nic-muted); text-transform: uppercase; margin-top: 2px !important; }
.nic-header__right { display: flex; align-items: center; gap: 28px; }
.nic-nav { font-size: 15px; font-weight: 500; color: var(--nic-ink); }
.nic-nav .wp-block-navigation__container { gap: 30px; }
.nic-nav .wp-block-navigation-item__content { padding: 8px 0; }
.nic-nav .current-menu-item > .wp-block-navigation-item__content { box-shadow: inset 0 -2px 0 var(--nic-accent); }

/* ---------- Sections ---------- */
.nic-sec { padding: 110px 0; }
.nic-sec--white { background: #fff; }
.nic-sec--ground { background: var(--nic-ground); }
.nic-sec--navy { background: var(--nic-navy); }
.nic-sec--navy-2 { background: var(--nic-navy-2); }
.nic-stack { display: flex; flex-direction: column; gap: 20px; }
.nic-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }
.nic-head > .nic-stack { max-width: 740px; }
.nic-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.nic-split--center { align-items: center; }
.nic-split--end { align-items: end; }

/* Hero */
.nic-hero { background: var(--nic-navy); padding: 72px 0 80px; }
.nic-hero .nic-split { gap: 64px; align-items: center; }
.nic-hero .nic-stack { gap: 28px; }
.nic-hero__sub { font-size: 19px; line-height: 1.6; color: var(--nic-soft); max-width: 540px; }
.nic-hero .nic-buttons { margin-top: 8px; }
.nic-hero__services { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px !important; padding-top: 24px; border-top: 1px solid var(--nic-line-dark); font-size: 14px; color: var(--nic-soft-2); }
.nic-hero__media { min-height: 540px; position: relative; }
.nic-hero__media img, .nic-hero__media .wp-block-image img { width: 100%; height: 540px; object-fit: cover; display: block; }

/* Photo / map placeholders */
.nic-ph { border: 1.5px dashed var(--nic-edge-dark); background: repeating-linear-gradient(135deg, #10223A 0 14px, #0D1E33 14px 28px); display: flex; align-items: flex-end; padding: 28px; box-sizing: border-box; min-height: 540px; }
.nic-ph span { font-family: var(--nic-mono); font-size: 12.5px; line-height: 1.6; color: var(--nic-soft-2); background: var(--nic-navy); padding: 12px 14px; }
.nic-ph--light { border-color: #8A93A0; background: repeating-linear-gradient(135deg, #F4F3EF 0 14px, #EEEDE8 14px 28px); align-items: center; justify-content: center; min-height: 460px; }
.nic-ph--light span { background: #fff; color: #4A5565; font-size: 13px; }

/* Stats */
.nic-stats { background: #fff; border-bottom: 1px solid var(--nic-line); }
.nic-stats__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nic-stat { padding: 40px 28px; border-right: 1px solid var(--nic-line); display: flex; flex-direction: column; gap: 6px; }
.nic-stat:first-child { padding-left: 0; }
.nic-stat:last-child { border-right: 0; padding-right: 0; }
.nic-stat__num { font-family: var(--nic-display); font-stretch: 112%; font-weight: 800; font-size: 46px; line-height: 1.1; color: var(--nic-navy); }
.nic-stat:last-child .nic-stat__num { font-size: 38px; white-space: nowrap; }
.nic-stat__label { font-size: 15px; color: #4A5565; }

/* About facts */
.nic-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--nic-line); border: 1px solid var(--nic-line); margin-top: 16px !important; }
.nic-fact { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.nic-fact__k { font-family: var(--nic-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--nic-muted); text-transform: uppercase; }
.nic-fact__v { font-weight: 600; font-size: 17px; }
.nic-about__text { display: flex; flex-direction: column; gap: 20px; }
.nic-about__text .nic-textlink { margin-top: 12px !important; }

/* Service cards */
.nic-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--nic-line); border: 1px solid var(--nic-line); }
.nic-card { background: #fff; padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; box-sizing: border-box; }
.nic-card__num { font-family: var(--nic-mono); font-size: 13px; color: var(--nic-accent); }
.wp-site-blocks .nic-card__title { font-family: var(--nic-display); font-stretch: 108%; font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--nic-navy); }
.nic-card__text { font-size: 15.5px; line-height: 1.6; color: #4A5565; }
.nic-chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 52px !important; font-size: 15px; color: var(--nic-body); }
.nic-chips__label { font-family: var(--nic-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--nic-muted); text-transform: uppercase; margin-right: 8px; }
.nic-chip { border: 1px solid var(--nic-line); padding: 9px 16px; }

/* Industries */
.nic-ind { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.nic-ind__tile { background: #fff; border: 1px solid var(--nic-line); padding: 26px 22px; display: flex; flex-direction: column; gap: 18px; color: var(--nic-navy); }
.nic-ind__icon { width: 48px; height: 48px; background: var(--nic-tint); color: var(--nic-accent); display: flex; align-items: center; justify-content: center; }
.nic-ind__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nic-ind__name { font-weight: 600; font-size: 16px; line-height: 1.35; }

/* Network */
.nic-net .nic-split { gap: 72px; align-items: center; }
.nic-net .nic-stack { gap: 22px; }
.nic-net .wp-site-blocks .nic-h2, .nic-net .nic-h2 { font-size: 44px; line-height: 1.1; }
.nic-states { border-top: 1px solid var(--nic-line-dark); margin-top: 6px !important; }
.nic-state { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--nic-line-dark); font-size: 15px; }
.nic-state strong { width: 170px; flex-shrink: 0; font-weight: 600; color: #fff; }
.nic-state span { color: var(--nic-soft-2); }
.nic-net__cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 10px !important; }
.nic-net__cta p { font-size: 15px; color: var(--nic-soft); }
.nic-net__cta p a { color: #fff; font-weight: 600; border-bottom: 1px solid var(--nic-accent-light); }
.nic-map { background: var(--nic-navy-3); border: 1px solid var(--nic-line-dark); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.nic-map svg { width: 100%; height: auto; display: block; }
.nic-map__legend { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--nic-mono); font-size: 11.5px; color: var(--nic-soft-2); border-top: 1px solid var(--nic-line-dark); padding-top: 12px; }

/* Clients */
.nic-clients { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: center; }
.nic-clients .nic-h2 { font-size: 44px; line-height: 1.1; }
.nic-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--nic-line); border: 1px solid var(--nic-line); }
.nic-logo { background: #fff; min-height: 108px; display: flex; align-items: center; justify-content: center; font-family: var(--nic-display); font-weight: 700; font-size: 24px; color: #4A5565; text-align: center; padding: 12px; }

/* Why */
.nic-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 56px; }
.nic-why__item { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--nic-navy); padding-top: 22px; }
.nic-why__item p:last-child { font-size: 16px; line-height: 1.65; color: var(--nic-body); }

/* Quote CTA */
.nic-cta { background: var(--nic-navy-2); padding: 96px 0; }
.nic-cta .nic-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.wp-site-blocks .nic-cta__title { font-family: var(--nic-display); font-stretch: 112%; font-weight: 800; font-size: 54px; line-height: 1.05; color: #fff; }
.nic-cta__text { font-size: 18px; line-height: 1.65; color: var(--nic-soft); max-width: 620px; }
.nic-cta__actions { display: flex; flex-direction: column; gap: 12px; }
.nic-cta__actions .nic-btn, .nic-cta__actions .nic-btn .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
.nic-cta__actions .nic-btn--primary .wp-block-button__link { padding: 20px 28px; font-size: 16px; }
.nic-cta__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nic-cta__row a { border: 1.5px solid var(--nic-edge-dark); color: #fff; padding: 16px 20px; text-align: center; font-weight: 600; font-size: 15px; display: block; }
.nic-cta__row a:hover { border-color: #fff; text-decoration: none !important; }

/* Contact */
.nic-contact .nic-h2 { font-size: 44px; line-height: 1.1; }
.nic-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--nic-line); border: 1px solid var(--nic-line); margin: 32px 0 !important; }
.nic-cell { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.nic-cell__v { font-weight: 600; font-size: 18px; word-break: break-word; }
.nic-cell__v a[href^="mailto"] { font-size: 16px; }
.nic-cell--plain { padding: 0; background: transparent; }
.nic-map-embed iframe { width: 100%; min-height: 460px; border: 0; display: block; }

/* Footer */
.nic-footer { background: var(--nic-navy); padding-top: 80px; color: var(--nic-soft); }
.nic-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 56px; }
.nic-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.nic-footer__h { font-family: var(--nic-mono); font-size: 12px; letter-spacing: 0.12em; color: #7F8B9B; text-transform: uppercase; margin-bottom: 4px !important; }
.nic-footer__name { font-family: var(--nic-display); font-stretch: 118%; font-weight: 800; font-size: 21px; color: #fff; text-transform: uppercase; }
.nic-footer__tagline { font-size: 15.5px; color: var(--nic-soft-2); }
.nic-footer .nic-buttons { margin-top: 10px !important; }
.nic-footer__bottom { border-top: 1px solid var(--nic-line-dark); padding: 24px 0 40px; margin-top: 56px !important; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #7F8B9B; }
.nic-footer__legal { display: flex; gap: 24px; }

/* Generic inner pages */
.nic-page-head { background: var(--nic-navy); padding: 80px 0 72px; }
.nic-page-head .wp-block-post-title { font-family: var(--nic-display); font-stretch: 112%; font-weight: 800; font-size: 54px; line-height: 1.05; color: #fff; }
.nic-page-body { padding: 72px 0 110px; }
.nic-page-body .wp-block-post-content > * + * { margin-top: 1.2em; }
.nic-page-body .wp-block-post-content { font-size: 17px; line-height: 1.7; color: var(--nic-body); }
.nic-page-body .wp-block-post-content h2 { font-size: 34px; line-height: 1.15; margin-top: 1.6em; }
.nic-page-body .wp-block-post-content h3 { font-size: 24px; margin-top: 1.4em; color: var(--nic-navy); }

/* Mobile action bar (Call / WhatsApp / Quote) */
.nic-mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	/* Collapse the navigation into the hamburger overlay earlier than WordPress' default 600px */
	.nic-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.nic-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.nic-nav .wp-block-navigation__responsive-container.is-menu-open { font-size: 22px; }
	.nic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nic-ind { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nic-stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nic-stat:nth-child(3) { border-right: 0; }
	.nic-stat:nth-child(4) { padding-left: 0; }
	.nic-stat:nth-child(-n+3) { border-bottom: 1px solid var(--nic-line); }
	.nic-clients { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.nic-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.nic-split, .nic-hero .nic-split, .nic-net .nic-split, .nic-cta .nic-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.nic-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nic-head { flex-direction: column; align-items: flex-start; }
	.nic-hero__media, .nic-ph { min-height: 320px; }
	.nic-hero__media img { height: 320px; }
}

@media (max-width: 767px) {
	:root { --nic-pad-x: 20px; }
	body { padding-bottom: 72px; }
	.nic-topbar { display: none; }
	.nic-header .nic-wrap { min-height: 64px; gap: 12px; }
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
	.nic-brand { gap: 10px; }
	.nic-brand__name a { font-size: 14px; }
	.nic-brand__tag { display: none; }
	.nic-header__right { gap: 8px; }
	.nic-header .nic-btn .wp-block-button__link { padding: 12px 14px; font-size: 12.5px; }
	.nic-sec { padding: 72px 0; }
	.nic-hero { padding: 28px 0 40px; }
	.nic-hero .nic-stack { gap: 16px; }
	.wp-site-blocks .nic-h1 { font-size: 38px; line-height: 1.05; }
	.wp-site-blocks .nic-h2, .nic-net .nic-h2, .nic-clients .nic-h2, .nic-contact .nic-h2 { font-size: 32px; }
	.wp-site-blocks .nic-cta__title { font-size: 36px; }
	.nic-hero__sub { font-size: 16px; }
	.nic-hero .nic-buttons { flex-direction: column; }
	.nic-hero .nic-buttons .nic-btn, .nic-hero .nic-buttons .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
	.nic-hero__services { display: none; }
	.nic-hero__media, .nic-ph { min-height: 180px; }
	.nic-hero__media img { height: 200px; }
	.nic-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nic-stat, .nic-stat:first-child, .nic-stat:nth-child(4) { padding: 18px 16px; border-right: 1px solid var(--nic-line); border-bottom: 1px solid var(--nic-line); }
	.nic-stat:nth-child(2n) { border-right: 0; }
	.nic-stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
	.nic-stat__num { font-size: 30px; }
	.nic-stat__label { font-size: 13.5px; }
	.nic-facts { grid-template-columns: minmax(0, 1fr); }
	.nic-cards { grid-template-columns: minmax(0, 1fr); }
	.nic-card { min-height: 0; padding: 26px 22px; }
	.nic-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nic-ind__tile { padding: 18px 16px; gap: 12px; }
	.nic-state { flex-direction: column; gap: 4px; }
	.nic-state strong { width: auto; }
	.nic-map { padding: 12px; }
	.nic-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nic-logo { min-height: 84px; font-size: 19px; }
	.nic-logo:last-child { grid-column: 1 / -1; }
	.nic-cta__row { grid-template-columns: minmax(0, 1fr); }
	.nic-stat:last-child .nic-stat__num { font-size: 30px; }
	.nic-why { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.nic-cta { padding: 64px 0; }
	.nic-cells { grid-template-columns: minmax(0, 1fr); }
	.nic-footer { padding-top: 56px; }
	.nic-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.nic-page-head .wp-block-post-title { font-size: 34px; }

	.nic-mbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; height: 72px; background: #fff; border-top: 1px solid var(--nic-line); box-shadow: 0 -6px 20px rgba(11, 26, 46, 0.12); z-index: 60; }
	.nic-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--nic-navy); font-size: 12.5px; font-weight: 600; border-right: 1px solid var(--nic-line); text-decoration: none !important; }
	.nic-mbar a:last-child { border-right: 0; background: var(--nic-accent); color: #fff; font-weight: 700; letter-spacing: 0.04em; }
	.nic-mbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
