/* Nine Business Co — Custom Styles */

/* ================================
   NAVIGATION - White on scroll
   ================================ */

/* Logo switching: show white by default, hide dark */
.logo-dark {
    display: none;
}

.logo-white {
    display: inline-block;
}

/* Keep navbar transparent before scroll */
.nk-navbar::after,
.nk-navbar.nk-navbar-solid::after,
.nk-navbar.nk-navbar-blur::after,
.nk-navbar.nk-navbar-blur.nk-navbar-solid::after,
.nk-navbar.nk-navbar-fixed::after {
    background-color: transparent !important;
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
    box-shadow: none !important;
}

/* When navbar is fixed AND solid (scrolled past 70px), white background */
.nk-navbar.nk-navbar-fixed.nk-navbar-solid::after {
    background-color: rgba(255, 255, 255, 0.97) !important;
    -webkit-backdrop-filter: blur(10px) !important;
            backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Dark text color when scrolled */
.nk-navbar.nk-navbar-fixed.nk-navbar-solid {
    color: #1c1c1c !important;
}

.nk-navbar.nk-navbar-fixed.nk-navbar-solid a {
    color: #1c1c1c !important;
}

.nk-navbar.nk-navbar-fixed.nk-navbar-solid .nk-nav > li > a:hover,
.nk-navbar.nk-navbar-fixed.nk-navbar-solid .nk-nav > li.active > a {
    color: #00699c !important;
}

/* Swap logos when scrolled */
.nk-navbar.nk-navbar-fixed.nk-navbar-solid .logo-white {
    display: none;
}

.nk-navbar.nk-navbar-fixed.nk-navbar-solid .logo-dark {
    display: inline-block;
}

/* Mobile burger icon color when scrolled */
.nk-navbar.nk-navbar-fixed.nk-navbar-solid .nk-icon-burger span {
    background-color: #1c1c1c;
}

/* Hide nav-icons cell on desktop so menu aligns fully right */
@media (min-width: 992px) {
    .nk-navbar-top .nk-nav-icons {
        display: none !important;
    }
}

/* ================================
   HERO SECTION
   ================================ */

/* Hero - Reduced Height */
.hero-home {
    min-height: 75vh !important;
    padding-bottom: 100px;
    overflow: hidden;
}

/* Background Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.08);
}

/* Gradient Overlay - slightly lighter to show images better */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 40, 70, 0.55) 0%,
        rgba(0, 85, 130, 0.4) 40%,
        rgba(0, 105, 156, 0.3) 100%);
    z-index: 1;
}

.hero-home .nk-header-table {
    position: relative;
    z-index: 2;
}

/* Hero text animation initial hide (prevents flash) */
.hero-anim {
    opacity: 0;
}

/* ================================
   HERO SERVICE BOXES
   ================================ */

.hero-boxes-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    margin-bottom: 40px;
}

.hero-boxes {
    display: flex;
    flex-wrap: wrap;
}

.hero-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Background icon - large, light, top-right corner */
.hero-box-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 85px;
    color: #026a9d;
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
}

/* Top accent bar */
.hero-box-accent {
    width: 35px;
    height: 3px;
    background: #64675b;
    border-radius: 2px;
    margin-bottom: 14px;
}

.hero-box-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1c1c1c;
    position: relative;
    z-index: 1;
}

.hero-box p {
    font-size: 12.5px;
    line-height: 1.55;
    color: #666;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* ================================
   IMAGE COLLAGE
   ================================ */

.image-collage {
    position: relative;
    padding: 30px 0 30px 30px;
}

/* Two-column grid layout */
.collage-grid {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.collage-col-left {
    flex: 1.1;
}

.collage-col-right {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Image containers */
.collage-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.collage-img img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.collage-img:hover img {
    transform: scale(1.05);
}

/* Tall left image */
.collage-img-tall img {
    height: 360px;
}

/* Two stacked right images */
.collage-img-top img {
    height: 200px;
}

.collage-img-bottom img {
    height: 148px;
}

/* ================================
   APPROACH SECTION — Flowing 9 Symbol
   ================================ */

.approach-section {
    position: relative;
    overflow: hidden;
}

/* Main large symbol — flows from text area over the collage */
.approach-symbol-flow {
    position: absolute;
    top: 50%;
    left: 38%;
    transform: translate(-50%, -55%);
    width: 450px;
    height: 450px;
    z-index: 1;
    opacity: 0.04;
    pointer-events: none;
}

.approach-symbol-flow img {
    width: 100%;
    height: 100%;
}

/* Smaller scattered symbols as pattern */
.approach-symbol-sm {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
}

.approach-symbol-sm img {
    width: 100%;
    height: 100%;
}

.approach-symbol-sm-1 {
    top: -20px;
    right: 5%;
    width: 120px;
    height: 120px;
    transform: rotate(15deg);
}

.approach-symbol-sm-3 {
    top: 30%;
    right: -20px;
    width: 70px;
    height: 70px;
    transform: rotate(30deg);
}

/* ================================
   DELIVERY SECTION — Diagonal Collage
   ================================ */

.delivery-section {
    position: relative;
    overflow: hidden;
    background-color: #f7f9fb;
}

.delivery-symbol-flow {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 0;
    opacity: 0.035;
    pointer-events: none;
}

.delivery-symbol-flow img {
    width: 100%;
    height: 100%;
}

.delivery-symbol-sm-1 {
    bottom: 10px;
    left: 15%;
    width: 80px;
    height: 80px;
    transform: rotate(-15deg);
}

/* ================================
   DELIVERY CARDS — 2x2 Grid
   ================================ */

.delivery-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.delivery-card {
    border-radius: 14px;
    padding: 28px 24px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Gradient card — blue to teal */
.delivery-card-gradient {
    background: linear-gradient(135deg, #026a9d 0%, #0891b2 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(2, 106, 157, 0.3);
}

.delivery-card-gradient .delivery-card-icon {
    color: rgba(255, 255, 255, 0.85);
}

.delivery-card-gradient .delivery-card-title {
    color: #fff;
}

.delivery-card-gradient p {
    color: rgba(255, 255, 255, 0.85);
}

/* Gradient card 2 — teal to deep blue */
.delivery-card-gradient-2 {
    background: linear-gradient(135deg, #0891b2 0%, #164e63 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}

.delivery-card-gradient-2 .delivery-card-icon {
    color: rgba(255, 255, 255, 0.85);
}

.delivery-card-gradient-2 .delivery-card-title {
    color: #fff;
}

.delivery-card-gradient-2 p {
    color: rgba(255, 255, 255, 0.85);
}

/* White card */
.delivery-card-white {
    background: #fff;
    color: #333;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.delivery-card-white .delivery-card-icon {
    color: #026a9d;
}

.delivery-card-white .delivery-card-title {
    color: #1c1c1c;
}

.delivery-card-white p {
    color: #666;
}

/* Card icon */
.delivery-card-icon {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1;
}

/* Card title */
.delivery-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Card paragraph */
.delivery-card p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 0;
}

/* ================================
   DELIVERY — Checklist 2-column
   ================================ */

.checklist-2col {
    display: flex;
    gap: 10px;
}

.checklist-2col .nice-check-list {
    flex: 1;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.checklist-2col .nice-check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.checklist-2col .check-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

/* Phosphor check-circle in checklists */
.nice-check-list .ph-check-circle,
.checklist-2col .ph-check-circle {
    font-size: 18px;
    position: relative;
   
}

/* ================================
   DELIVERY — Dots pattern
   ================================ */

.delivery-dots {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, #026a9d 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Dots positioned top-right for collages */
.collage-dots-right {
    left: auto;
    right: 5px;
}

/* Accent bar on right side */
.collage-accent-bar-right {
    left: auto;
    right: 0;
}

/* Blockquote icon size */
.nk-title-sep-icon .ph-quotes {
    font-size: 32px;
}

/* ================================
   COLLAGE V3 — Impact (1 square left + 2 stacked right)
   ================================ */

.impact-section {
    position: relative;
    overflow: hidden;
}

.impact-symbol-flow {
    position: absolute;
    top: 45%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    z-index: 0;
    opacity: 0.035;
    pointer-events: none;
}

.impact-symbol-flow img {
    width: 100%;
    height: 100%;
}

.impact-symbol-sm-1 {
    top: 15px;
    right: 10%;
    width: 90px;
    height: 90px;
    transform: rotate(20deg);
}

.collage-v3 {
    padding: 30px 30px 30px 20px;
}

.collage-grid-v3 .collage-col-left {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.collage-grid-v3 .collage-col-right {
    flex: 1.2;
}

.collage-img-v3-square img {
    height: 360px;
}

.collage-img-v3-small img {
    height: 148px;
}

.collage-img-v3-wide img {
    height: 200px;
}

/* Dots pattern — top-left behind images */
.collage-dots {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(circle, #00699c 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

/* Accent bar — small brand-color strip */
.collage-accent-bar {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 5px;
    height: 60px;
    background: #00699c;
    border-radius: 3px;
    z-index: 3;
}

/* ================================
   PARALLAX / BANNER OVERLAYS
   Same blue gradient as hero section
   ================================ */

.nk-header-title-parallax-opacity::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 40, 70, 0.55) 0%,
        rgba(0, 85, 130, 0.4) 40%,
        rgba(0, 105, 156, 0.3) 100%);
    z-index: 1;
}

.nk-box.bg-dark-1 .bg-image-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 40, 70, 0.55) 0%,
        rgba(0, 85, 130, 0.4) 40%,
        rgba(0, 105, 156, 0.3) 100%);
    z-index: 1;
}

.nk-header-title-parallax-opacity .nk-header-table,
.nk-box.bg-dark-1 .container {
    position: relative;
    z-index: 2;
}

/* ================================
   SERVICES PAGE — Service Cards Grid
   ================================ */

.services-grid-section {
    background-color: #f7f9fb;
}

.services-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.service-card-icon {
    font-size: 32px;
    color: #026a9d;
    margin-bottom: 16px;
    line-height: 1;
}

.service-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #666;
    margin-bottom: 0;
}

/* Dark CTA button (for use on white backgrounds) */
.cta-btn-dark {
    display: inline-block;
    padding: 13px 36px;
    background: #026a9d;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1.5px solid #026a9d;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-dark:hover {
    background: transparent;
    color: #026a9d;
    text-decoration: none;
}

.cta-btn-dark span {
    margin-left: 8px;
    font-size: 15px;
    vertical-align: middle;
}

/* ================================
   CTA — Partner With Us
   ================================ */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 40, 70, 0.82) 0%,
        rgba(0, 85, 130, 0.7) 40%,
        rgba(0, 105, 156, 0.6) 100%);
    z-index: 1;
}

.cta-section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    color: #fff;
    font-size: 38px;
    font-weight: 300;
    margin-bottom: 18px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 13px 36px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #fff;
    color: #026a9d;
    border-color: #fff;
    text-decoration: none;
}

.cta-btn span {
    margin-left: 8px;
    font-size: 15px;
    vertical-align: middle;
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
    background: #0c1e2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
}

.footer-main {
    padding: 60px 0 40px;
}

/* Brand column */
.footer-brand img {
    margin-bottom: 18px;
}

.footer-about {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #026a9d;
    color: #fff;
}

/* Titles */
.footer-title {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

/* Quick links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Business hours */
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours-day {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.footer-hours-time {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12.5px;
}

/* Contact info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13.5px;
}

.footer-contact li i {
    color: #026a9d;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.footer-bottom-inner {
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
}

/* ================================
   SCROLL REVEAL - Base States
   (prevents FOUC before JS loads)
   ================================ */

.sr {
    opacity: 0;
}

/* ================================
   CONTENT SECTIONS — General spacing
   ================================ */

/* Add vertical padding to image+text row sections */
.nk-box > .container,
.nk-main > .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Gap between two-column layouts */
.row.align-items-center > [class*="col-md-6"] {
    padding-left: 25px;
    padding-right: 25px;
}

/* ================================
   CONTACT FORM
   ================================ */

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form .form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.contact-form .form-label span {
    color: #026a9d;
}

.contact-form .form-control {
    border: 1.5px solid #e2e5ea;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    background: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #026a9d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(2, 106, 157, 0.1);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #aab0b8;
    font-weight: 400;
}

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

/* Validation error state */
.contact-form .form-control.error,
.contact-form .form-control.nk-error {
    border-color: #e74c3c;
    background: #fef7f7;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

.contact-form label.error {
    color: #e74c3c;
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 0;
    display: block;
}

/* Validation success state */
.contact-form .form-control.valid {
    border-color: #27ae60;
}

/* Response messages */
.contact-form .nk-form-response-success {
    background: #eafaf1;
    color: #1e8449;
    border: 1px solid #a9dfbf;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13.5px;
    margin-bottom: 15px;
    display: none;
}

.contact-form .nk-form-response-error {
    background: #fdf2f2;
    color: #c0392b;
    border: 1px solid #f5b7b1;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13.5px;
    margin-bottom: 15px;
    display: none;
}

/* Submit button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #026a9d;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid #026a9d;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: transparent;
    color: #026a9d;
}

.contact-submit-btn i {
    font-size: 16px;
}

/* reCAPTCHA spacing */
.contact-form .g-recaptcha {
    margin-bottom: 5px;
}

/* ================================
   CONTACT PAGE — Info Items
   ================================ */

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(2, 106, 157, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #026a9d;
}

.contact-info-item h6 {
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.contact-info-item p {
    margin-bottom: 0;
    font-size: 13.5px;
    line-height: 1.6;
}

/* ================================
   MAP SECTION
   ================================ */

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    filter: grayscale(100%) contrast(1.05);
    transition: filter 0.4s ease;
    display: block;
}

.map-section iframe:hover {
    filter: grayscale(30%) contrast(1);
}

/* ================================
   RESPONSIVE — TABLET (768px–991px)
   ================================ */

@media (max-width: 991px) {

    /* Typography scaling */
    .display-2 {
        font-size: 2.8rem !important;
    }

    .font-size-34 {
        font-size: 26px !important;
    }

    /* Remove large paddings */
    .pr-100,
    .pl-100 {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .pr-90 {
        padding-right: 15px !important;
    }

    /* Reduce section gaps */
    .nk-gap-5 {
        height: 40px !important;
    }

    .nk-gap-4 {
        height: 30px !important;
    }

    /* Hero */
    .hero-home {
        min-height: 65vh !important;
        padding-bottom: 80px;
    }

    .hero-home .nk-header-text {
        padding-top: 30px;
    }

    /* Hero boxes — 2 columns */
    .hero-boxes-wrapper {
        margin-top: -60px;
    }

    .hero-boxes .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 15px;
    }

    /* Delivery model boxes — 2 columns */
    .nk-ibox-4 {
        margin-bottom: 0;
    }

    /* Image + text rows: add spacing when stacked */
    .row.align-items-center > [class*="col-md-"] {
        margin-bottom: 25px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .row.align-items-center > [class*="col-md-"]:last-child {
        margin-bottom: 0;
    }

    /* Image collage — tablet */
    .image-collage {
        padding: 25px 0 25px 20px;
    }

    .collage-img-tall img {
        height: 300px;
    }

    .collage-img-top img {
        height: 165px;
    }

    .collage-img-bottom img {
        height: 123px;
    }

    .approach-symbol-flow {
        width: 350px;
        height: 350px;
        left: 35%;
    }

    .delivery-symbol-flow {
        width: 300px;
        height: 300px;
    }

    .impact-symbol-flow {
        width: 320px;
        height: 320px;
    }

    /* Delivery cards — tablet */
    .delivery-cards {
        gap: 15px;
    }

    .delivery-card {
        padding: 22px 18px;
    }

    .delivery-card-title {
        font-size: 15px;
    }

    .delivery-card p {
        font-size: 12.5px;
    }

    /* Collage V3 — tablet */
    .collage-img-v3-square img {
        height: 300px;
    }

    .collage-img-v3-small img {
        height: 120px;
    }

    .collage-img-v3-wide img {
        height: 168px;
    }

    /* Remove spacer columns on tablet */
    .col-md-1:empty {
        display: none;
    }

    /* Footer */
    .footer-main {
        padding: 45px 0 30px;
    }

    /* Contact page map */
    .map-section iframe {
        height: 300px;
    }

    /* Service cards — tablet */
    .services-cards {
        gap: 18px;
    }

    .service-card {
        padding: 28px 22px;
    }

    /* CTA section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 30px;
    }

    .cta-text {
        font-size: 15px;
    }
}

/* ================================
   RESPONSIVE — MOBILE (max 767px)
   ================================ */

@media (max-width: 767px) {

    /* Typography scaling */
    .display-2 {
        font-size: 2rem !important;
    }

    .font-size-34 {
        font-size: 22px !important;
    }

    .nk-sub-title-1 {
        font-size: 0.95rem !important;
    }

    h3.font-weight-300 {
        font-size: 1.15rem;
    }

    .lead {
        font-size: 0.95rem;
    }

    /* Remove large paddings */
    .pr-100,
    .pl-100 {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .pr-90 {
        padding-right: 10px !important;
    }

    /* Reduce section gaps */
    .nk-gap-5 {
        height: 30px !important;
    }

    .nk-gap-4 {
        height: 20px !important;
    }

    .nk-gap-3 {
        height: 15px !important;
    }

    /* Hero */
    .hero-home {
        min-height: auto !important;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-home .nk-header-text {
        padding-top: 20px;
    }

    /* Hero boxes — single column */
    .hero-boxes-wrapper {
        margin-top: -40px;
        margin-bottom: 20px;
    }

    .hero-boxes .col-md-3,
    .hero-boxes .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }

    .hero-box {
        padding: 20px 18px;
    }

    .hero-box-icon {
        font-size: 70px;
    }

    /* Image + text rows: add spacing when stacked */
    .row.align-items-center > [class*="col-md-"] {
        margin-bottom: 20px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .row.align-items-center > [class*="col-md-"]:last-child {
        margin-bottom: 0;
    }

    /* Content sections — breathing room */
    .nk-box {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nk-box-2 {
        padding: 15px 5px;
    }

    /* Image collage — mobile */
    .image-collage {
        padding: 20px 0 20px 15px;
        margin-bottom: 10px;
    }

    .collage-grid {
        gap: 8px;
    }

    .collage-col-right {
        gap: 8px;
    }

    .collage-img-tall img {
        height: 240px;
    }

    .collage-img-top img {
        height: 130px;
    }

    .collage-img-bottom img {
        height: 100px;
    }

    .approach-symbol-flow,
    .delivery-symbol-flow,
    .impact-symbol-flow {
        width: 250px;
        height: 250px;
        left: 50%;
        top: 40%;
        opacity: 0.03;
    }

    .approach-symbol-sm {
        display: none;
    }

    /* Delivery cards — mobile: stack to single column */
    .delivery-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .delivery-card {
        padding: 20px 18px;
    }

    /* Checklist — stack on mobile */
    .checklist-2col {
        flex-direction: column;
        gap: 0;
    }

    .delivery-dots {
        display: none;
    }

    /* Collage V3 — mobile */
    .collage-v3 {
        padding: 20px 10px 20px 15px;
    }

    .collage-img-v3-square img {
        height: 240px;
    }

    .collage-img-v3-small img {
        height: 100px;
    }

    .collage-img-v3-wide img {
        height: 128px;
    }


    .collage-dots {
        width: 60px;
        height: 60px;
    }

    .collage-accent-bar {
        height: 40px;
    }

    /* Remove spacer columns */
    .col-md-1:empty {
        display: none;
    }

    /* Icon boxes — full width on mobile */
    .row.vertical-gap > [class*="col-md-3"],
    .row.vertical-gap > [class*="col-md-4"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* About page header banner */
    .nk-header-title:not(.hero-home) {
        min-height: 250px !important;
    }

    .nk-header-title:not(.hero-home) .nk-title {
        font-size: 1.8rem !important;
    }

    /* Contact page */
    .map-section iframe {
        height: 250px;
    }

    /* Contact form — mobile */
    .contact-form .form-row {
        flex-direction: column;
    }

    .contact-submit-btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer — stack columns */
    .footer-main .row > [class*="col-md-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .footer-main .row > [class*="col-md-"]:last-child {
        margin-bottom: 0;
    }

    .footer-main {
        padding: 40px 0 25px;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-social {
        justify-content: center;
    }

    /* Service cards — mobile: single column */
    .services-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 24px 20px;
    }

    /* CTA section */
    .cta-section {
        padding: 50px 0;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-text {
        font-size: 14px;
    }

    .cta-btn {
        padding: 12px 30px;
    }

    /* Top contacts bar — simplify */
    .nk-contacts-top {
        display: none !important;
    }

    /* Navigation padding */
    .nk-navbar-top {
        padding: 10px 0 !important;
    }
}

/* ================================
   RESPONSIVE — SMALL MOBILE (max 400px)
   ================================ */

@media (max-width: 400px) {

    .display-2 {
        font-size: 1.6rem !important;
    }

    .font-size-34 {
        font-size: 19px !important;
    }

    .hero-box-title {
        font-size: 14px;
    }

    .hero-box p {
        font-size: 12px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}
