@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&display=swap');

/********** PAI Custom CSS — Blue & White Theme **********/
:root {
    --primary: #1B3A6B;
    --primary-light: #2A5298;
    --primary-dark: #0F2347;
    --accent: #3B82F6;
    --secondary: #5A6474;
    --light: #F7F9FC;
    --dark: #1a2332;
    --white: #FFFFFF;
    --border: #E2E8F0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Geist', 'Segoe UI', sans-serif;
    color: #2c3e50;
    background: #fff;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Geist', sans-serif;
}

h1, h2, .h1, .h2, .fw-bold {
    font-weight: 700 !important;
}

h3, h4, .h3, .h4, .fw-medium {
    font-weight: 600 !important;
}

h5, h6, .h5, .h6, .fw-semi-bold {
    font-weight: 500 !important;
}

/*** Back to Top ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.spinner-border.text-primary {
    color: var(--primary) !important;
}

/*** Buttons ***/
.btn {
    transition: .3s;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Topbar ***/
.topbar-strip {
    background: var(--primary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar-right {
    position: relative;
    background: var(--primary-dark);
}
.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    top: 0;
    left: -15px;
    bottom: 0;
    background: var(--primary-dark);
    transform: skewX(-30deg);
}

/*** Navbar ***/
.navbar {
    border-bottom: 2px solid var(--primary);
}
.navbar .navbar-nav .nav-link {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: var(--dark) !important;
    padding: 22px 16px;
    transition: color .2s;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}
.navbar-brand-text {
    font-family: 'Geist', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white) !important;
    letter-spacing: -0.02em;
    line-height: 1;
}
.navbar-brand-text span {
    color: #93C5FD;
}
.navbar-brand-wrapper {
    background: var(--primary);
    padding: 14px 28px 14px 24px;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
    margin-right: 16px;
}

/* ---------- PREMIUM SITE-NAV NAVBAR ---------- */
.site-nav {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: box-shadow .35s;
    padding: 0;
    background: #fff;
    box-shadow: 0 1px 0 #E8EDF5;
}
.site-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.site-nav .navbar-brand-wrapper {
    background: #1B3A6B;
    padding: 14px 28px 14px 24px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
    margin-right: 16px;
    transition: background .3s;
}
.site-nav .navbar-brand-text {
    font-family: 'Geist', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.site-nav .navbar-brand-text span { color: #93C5FD; }
.site-nav .nav-link {
    font-family: 'Geist', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #1a2332 !important;
    padding: 24px 15px !important;
    transition: color .2s;
    position: relative;
}
.site-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 14px; left: 15px; right: 15px;
    height: 2px;
    background: #1B3A6B;
    transform: scaleX(0);
    transition: transform .25s;
    border-radius: 2px;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link:hover { color: #1B3A6B !important; }
.site-nav .btn-quote {
    font-family: 'Geist', sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: #1B3A6B;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    transition: background .2s, transform .2s;
    white-space: nowrap;
}
.site-nav .btn-quote:hover { background: #2A5298; transform: translateY(-1px); color:#fff; }
.site-nav .navbar-toggler { border-color: #ccc; }
@media (max-width: 991px) {
    .site-nav .nav-link { padding: 12px 16px !important; }
    .site-nav .nav-link::after { display: none; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-nav .nav-link {
        padding: 24px 8px !important;
        font-size: 0.82rem;
    }
    .site-nav .btn-quote {
        padding: 8px 16px;
        font-size: 0.8rem;
        margin-left: 1rem !important;
    }
}


/*** Hero Split Section ***/
.hero-split {
    min-height: 580px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}
.hero-split .hero-content {
    padding: 80px 60px 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-split .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27,58,107,0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(27,58,107,0.15);
}
.hero-split h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.hero-split h1 span {
    color: var(--primary);
}
.hero-split .hero-tagline {
    font-size: 1rem;
    color: #4B5563;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-split .hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-split .hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}
.hero-split .hero-meta-item i {
    color: var(--primary);
    font-size: 1rem;
}
.hero-image-col {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.hero-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-image-col .hero-overlay-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 24px rgba(27,58,107,0.4);
}
.hero-image-col .hero-overlay-badge span {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

/*** Hero Carousel (legacy — kept for fallback) ***/
.carousel-item img {
    height: 560px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.45);
}
.carousel-caption {
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0;
}
.carousel-caption .caption-inner {
    max-width: 700px;
}
.carousel-caption .tag-line {
    font-family: 'Geist', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93C5FD;
    margin-bottom: 12px;
}
.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.carousel-caption p {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    font-weight: 400;
    line-height: 1.7;
}

/*** Stats Bar ***/
.stats-bar {
    background: var(--primary);
    padding: 28px 0;
}
.stats-bar-white {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.stat-item {
    text-align: center;
    color: #fff;
}
.stats-bar-white .stat-item {
    color: var(--dark);
}
.stat-item .stat-number {
    font-family: 'Geist', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.stats-bar-white .stat-item .stat-number {
    color: var(--primary);
}
.stat-item .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}
.stats-bar-white .stat-item .stat-label {
    color: #6B7280;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.2);
    height: 50px;
    margin: auto;
}
.stats-bar-white .stat-divider {
    background: var(--border);
}

/*** Section Titles ***/
.section-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.section-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-divider {
    width: 48px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 20px;
}

/*** About Section ***/
.about-img-wrap {
    position: relative;
}
.about-img-main {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 4px;
}
.about-img-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.exp-badge {
    position: absolute;
    top: 24px;
    left: -16px;
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(27,58,107,0.3);
}
.exp-badge .exp-num {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Geist', sans-serif;
}
.exp-badge .exp-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}
.check-list li i {
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/*** Solutions / Services ***/
.solution-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 24px;
    transition: all .25s;
    height: 100%;
}
.solution-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(27,58,107,0.12);
    transform: translateY(-3px);
}
.solution-card .icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.solution-card .icon-wrap i {
    font-size: 1.4rem;
    color: var(--primary);
}
.solution-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.solution-card p {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.65;
    margin: 0;
}

/*** Products / Gallery ***/
.product-grid-item {
    overflow: hidden;
    border-radius: 6px;
    background: var(--light);
    aspect-ratio: 1;
}
.product-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-grid-item:hover img {
    transform: scale(1.06);
}

/*** Facility / Machine Card ***/
.facility-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    transition: all .25s;
    height: 100%;
}
.facility-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 24px rgba(27,58,107,0.1);
    transform: translateY(-2px);
}
.facility-card .fc-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
    background: var(--light);
}
.facility-card .fc-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.facility-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.facility-card p {
    font-size: 0.82rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
}

/*** Achievement Section ***/
.achievement-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all .25s;
}
.achievement-card:hover {
    box-shadow: 0 8px 32px rgba(27,58,107,0.1);
    transform: translateY(-3px);
}
.achievement-card .ach-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--light);
}
.achievement-card .ach-body {
    padding: 20px 24px;
}
.achievement-card .ach-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.achievement-card .ach-body p {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.65;
    margin: 0;
}

/*** ISO Certificate Embed ***/
.iso-embed-wrap {
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27,58,107,0.12);
}

/*** ISO / Trust Banner ***/
.trust-banner {
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.trust-item .trust-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-item .trust-icon i {
    font-size: 1.3rem;
    color: #fff;
}
.trust-item h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 2px 0;
}
.trust-item p {
    font-size: 0.75rem;
    color: #6B7280;
    margin: 0;
}

/*** CTA Banner ***/
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 72px 0;
    text-align: center;
}
.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    margin-bottom: 28px;
}
.cta-banner .btn-light {
    font-weight: 700;
    color: var(--primary);
    padding: 12px 32px;
}
.cta-banner .btn-outline-light {
    font-weight: 600;
    padding: 12px 32px;
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.cta-banner .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/*** Footer ***/
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}
footer .footer-brand-text {
    font-family: 'Geist', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: -0.02em;
}
footer .footer-brand-text span {
    color: #93C5FD;
}
footer p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
}
footer h6 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer ul li {
    margin-bottom: 8px;
}
footer ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.87rem;
    transition: color .2s;
}
footer ul li a:hover {
    color: #93C5FD;
}
footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.65);
}
footer .footer-contact-item i {
    color: #93C5FD;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    margin-top: 48px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/*** Page Header (inner pages) ***/
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 64px 0 48px;
}
.page-header h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}
.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.page-header .breadcrumb-item.active {
    color: #93C5FD;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/*** Utility ***/
.bg-primary { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-light { background-color: var(--light) !important; }
.text-primary { color: var(--primary) !important; }
.section-py { padding: 80px 0; }
.section-py-sm { padding: 48px 0; }
.rounded-sm { border-radius: 4px; }

/*** Owl Carousel dots ***/
.owl-theme .owl-dots .owl-dot span {
    background: var(--border);
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary);
}

/*** Responsive ***/

/* Tablet (≤991px) */
@media (max-width: 991px) {
    /* Navbar — remove right padding that causes overflow */
    nav.navbar { padding-right: 1rem !important; }

    /* Hero split */
    .hero-split { flex-direction: column; min-height: auto; }
    .hero-split .hero-content { padding: 48px 20px 32px; }
    .hero-split h1 { font-size: 2.2rem; }
    .hero-image-col { min-height: 300px; }

    /* Carousel */
    .carousel-item img { height: 380px; }
    .carousel-caption { padding-left: 1rem; padding-right: 1rem; }
    .carousel-caption h1 { font-size: 2rem; }
    .carousel-caption p { font-size: 0.9rem; }

    /* About image overlay — hide offscreen badges on tablet */
    .about-img-accent { display: none; }
    .exp-badge { position: static !important; transform: none !important; margin-bottom: 20px; display: inline-flex !important; }
    .about-badge-iso { display: none; }

    /* Solutions alternating — stack image above text below lg */
    .flex-lg-row-reverse { flex-direction: column !important; }
    /* Solutions images — drop fixed height, use natural aspect ratio */
    .solution-section-img { height: 280px !important; width: 100%; border-radius: 8px; }

    /* Product grid item */
    .product-grid-item { aspect-ratio: 4/3; }

    /* Section padding */
    .section-py { padding: 56px 0; }
    .section-py-sm { padding: 36px 0; }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    /* Hero split */
    .hero-split h1 { font-size: 1.7rem; }
    .hero-split .hero-tagline { font-size: 0.9rem; }
    .hero-split .hero-meta { gap: 14px; }
    .hero-image-col { min-height: 240px; }

    /* Navbar brand stays readable */
    .navbar-brand-wrapper { padding: 10px 20px 10px 16px; }
    .navbar-brand-text { font-size: 1.2rem; }

    /* Carousel */
    .carousel-item img { height: 260px; }
    .carousel-caption h1 { font-size: 1.4rem; margin-bottom: 12px; }
    .carousel-caption p { display: none; }
    .carousel-caption .tag-line { font-size: 0.7rem; }
    .carousel-caption .btn { padding: 8px 18px; font-size: 0.82rem; }

    /* Stats */
    .stat-divider { display: none; }
    .stat-number { font-size: 1.7rem; }

    /* Headings */
    .section-heading { font-size: 1.5rem; }
    .section-py { padding: 44px 0; }
    .section-py-sm { padding: 28px 0; }

    /* CTA banner */
    .cta-banner { padding: 48px 0; }
    .cta-banner h2 { font-size: 1.5rem; }

    /* Page header */
    .page-header { padding: 44px 0 32px; }
    .page-header h1 { font-size: 1.8rem; }

    /* About page — hide overlapping image badges on mobile */
    .about-badge-exp,
    .about-badge-iso { display: none !important; }

    /* Trust items stack cleanly */
    .trust-item { flex-direction: column; text-align: center; }
    .trust-item .trust-icon { margin: 0 auto 10px; }

    /* Solution cards */
    .solution-card { margin-bottom: 0; }

    /* Solutions page — reduce section image height on mobile */
    .solution-section-img { height: 220px !important; }

    /* Product grid — square on mobile */
    .product-grid-item { aspect-ratio: 1; }

    /* Facilities — machine cards full width */
    .machine-card { margin-bottom: 12px; }

    /* Footer */
    footer { padding: 44px 0 0; }
    .footer-bottom { margin-top: 32px; font-size: 0.72rem; }
    footer .row.g-5 { --bs-gutter-y: 2rem; }
}

/* Extra small (≤480px) */
@media (max-width: 480px) {
    .carousel-item img { height: 220px; }
    .carousel-caption h1 { font-size: 1.2rem; }
    .section-heading { font-size: 1.3rem; }
    .navbar-brand-text { font-size: 1.1rem; }

    /* Contact form — stack name/company on single col */
    .contact-form .col-sm-6 { width: 100%; }

    /* Page header tighter */
    .page-header h1 { font-size: 1.5rem; }
}
