/* ================================================
   SIVASAKTHI OFFSET PRINTERS — SHARED STYLES v2
   All 6 fixes applied:
   1. AOS scroll animations
   2. Enquiry popup styles + left floating enquiry button
   3. Auto-open popup logic (JS)
   4. Font sizes bumped up
   5. Page hero padding 90px, sections 90px
   6. Gallery masonry reflow after filter
   ================================================ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap");

:root {
    --green: #1e8c3a;
    --green-dark: #155f28;
    --green-deep: #0d4019;
    --green-light: #27a348;
    --yellow: #f5a623;
    --yellow-dark: #e09010;
    --yellow-light: #ffc107;
    --white: #ffffff;
    --grey-light: #f5f5f5;
    --grey-mid: #eeeeee;
    --text-dark: #222222;
    --text-mid: #444444;
    --text-soft: #666666;
    --border: #e0e0e0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Open Sans", sans-serif;
    font-size: 15.5px; /* FIX 4: was 14.5px */
    line-height: 1.75;
    color: var(--text-mid);
    background: #fff;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ── PRELOADER ── */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}
.pre-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pre-logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(#e53935 0deg 90deg, #f5a623 90deg 180deg, #1e8c3a 180deg 270deg, #1565c0 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    animation: preLogoPulse 1.2s ease-in-out infinite;
}
@keyframes preLogoPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}
.pre-logo-circle span {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.04em;
}
.pre-logo-text .name {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    line-height: 1.1;
}
.pre-logo-text .name span {
    color: #1e8c3a;
}
.pre-logo-text .sub {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.pre-bar-wrap {
    width: 200px;
    height: 4px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.pre-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1e8c3a, #f5a623);
    border-radius: 4px;
    animation: preBarFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes preBarFill {
    0% {
        width: 0%;
    }
    60% {
        width: 75%;
    }
    100% {
        width: 100%;
    }
}
.pre-tagline {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── PRELOADER (GIF / PNG version) ── */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}
.pre-img {
    width: 120px; /* adjust to your image size */
    height: 120px;
    object-fit: contain;
}
.pre-tagline {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── NAVBAR ── */
#navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    /*height: 66px;*/
}
.nav-logo {
    order: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cus-main-logo {
    max-width: 120px;
}

.logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: conic-gradient(#e53935 0deg 90deg, #f5a623 90deg 180deg, #1e8c3a 180deg 270deg, #1565c0 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}
.logo-circle span {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.04em;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}
.logo-name span {
    color: var(--green);
}
.logo-sub {
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.nav-links {
    order: 1;
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}
.nav-links a {
    display: flex;
    align-items: center;
    height: 66px;
    padding: 0 15px;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 3px solid transparent;
    transition:
        color 0.2s,
        border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
    border-bottom-color: var(--green);
}
.nav-toggler {
    order: 3;
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    padding: 6px 10px;
    border-radius: 3px;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1rem;
}
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 8px 0;
}
.mobile-menu.open {
    display: block;
}
.mobile-menu a {
    display: block;
    padding: 11px 20px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--grey-mid);
    transition:
        color 0.2s,
        background 0.2s;
}
.mobile-menu a:hover {
    color: var(--green);
    background: var(--grey-light);
}

/* ── FIX 2: FLOATING RIGHT BUTTONS (contact icons) ── */
.float-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.float-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    transition: width 0.25s;
}
.float-btn:hover {
    width: 46px;
}
.float-btn.green {
    background: var(--green);
}
.float-btn.yellow {
    background: var(--yellow);
}
.float-btn.wa {
    background: #25d366;
}

/* ── FIX 2: LEFT FLOATING ENQUIRY BUTTON ── */
.float-enquiry-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: var(--green);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 18px 10px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition:
        background 0.25s,
        padding 0.25s;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}
.float-enquiry-btn:hover {
    background: var(--green-dark);
    padding-left: 14px;
}
.float-enquiry-btn i {
    writing-mode: horizontal-tb;
    font-size: 14px;
}

/* ── FIX 5: PAGE HERO — 90px padding ── */
.page-hero {
    background: linear-gradient(135deg, #757575 0%, #9e9e9e 50%, #bdbdbd 100%);
    padding: 110px 0; /* FIX 5: was 48px */
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}
.page-hero-inner {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem); /* FIX 4: bumped up */
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
    line-height: 1.25;
    margin-bottom: 0;
}
.breadcrumb-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 14px; /* FIX 4 */
    color: rgba(255, 255, 255, 0.85);
}
.breadcrumb-wrap a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}
.breadcrumb-wrap a:hover {
    color: #fff;
}
.breadcrumb-wrap .sep {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* ── FIX 5: SECTIONS — 90px padding ── */
section {
    padding: 90px 0;
} /* FIX 5: was 60px */

.sec-label {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 14.5px;
    font-style: italic;
    font-weight: 600; /* FIX 4 */
    color: var(--green);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.sec-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem); /* FIX 4 */
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 12px;
}
.sec-desc {
    /* font-size: 15px; */
    color: var(--text-soft);
    max-width: 760px; /* FIX 4: was 13.5 */
    line-height: 1.85;
    padding-left: 14px;
    border-left: 3px solid var(--green);
}

/* ── BUTTONS ── */
.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600; /* FIX 4 */
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 26px;
    border: 2px solid var(--green);
    border-radius: 2px;
    transition: all 0.25s;
}
.btn-green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}
.btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: var(--text-dark);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600; /* FIX 4 */
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 26px;
    border: 2px solid var(--yellow);
    border-radius: 2px;
    transition: all 0.25s;
}
.btn-yellow:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    color: #fff;
}

/* ── WHITE SERVICE CARD ── */
.wsvc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 26px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}
.wsvc-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}
.wsvc-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wsvc-icon i {
    font-size: 1.3rem;
    color: #fff;
}
.wsvc-body h5 {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 700; /* FIX 4 */
    color: var(--text-dark);
    margin-bottom: 7px;
}
.wsvc-body p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 8px;
} /* FIX 4 */
.wsvc-link {
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.wsvc-link:hover {
    gap: 8px;
    color: var(--yellow-dark);
}

/* ── INFRA ── */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14.5px;
    color: var(--text-mid);
    padding: 5px 0; /* FIX 4 */
    border-bottom: 1px dashed var(--border);
}
.feature-list li:last-child {
    border: none;
}
.feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--green);
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ── FIX 6: GALLERY — CSS columns for seamless reflow ── */
.g-grid {
    column-count: 4;
    column-gap: 14px;
}
@media (max-width: 1199px) {
    .g-grid {
        column-count: 3;
    }
}
@media (max-width: 767px) {
    .g-grid {
        column-count: 2;
    }
}
@media (max-width: 480px) {
    .g-grid {
        column-count: 2;
    }
}

.g-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 14px;
    /* FIX 6: transition for smooth show/hide */
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
.g-item.hidden {
    display: none; /* hard hide for column layout */
}
.g-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}
.g-hover {
    position: absolute;
    inset: 0;
    background: rgba(30, 140, 58, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    gap: 6px;
}
.g-item:hover img {
    transform: scale(1.06);
}
.g-item:hover .g-hover {
    opacity: 1;
}
.g-hover i {
    font-size: 1.8rem;
    color: #fff;
}
.g-hover span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
} /* FIX 4 */

.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.filter-btn {
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--text-mid);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600; /* FIX 4 */
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 18px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox.open {
    display: flex;
}
.lb-img {
    max-width: 88vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 4px;
}
.lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.lb-close:hover {
    color: var(--yellow);
}
.lb-nav {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.lb-btn {
    background: var(--green);
    color: #fff;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 9px 22px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
}
.lb-btn:hover {
    background: var(--green-dark);
}
.lb-caption {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 8px;
    font-style: italic;
}

/* ── CONTACT ── */
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow 0.25s;
    height: 100%;
}
.contact-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
}
.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon i {
    font-size: 1.2rem;
    color: #fff;
}
.contact-card h6 {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700; /* FIX 4 */
    color: var(--text-dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contact-card p,
.contact-card a {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    margin: 0;
} /* FIX 4 */
.contact-card a:hover {
    color: var(--green);
}
.form-label-custom {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600; /* FIX 4 */
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: block;
}
.form-control-custom {
    border: 1.5px solid var(--border);
    border-radius: 3px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: "Open Sans", sans-serif; /* FIX 4 */
    color: var(--text-dark);
    width: 100%;
    transition: border-color 0.2s;
    background: #fff;
}
.form-control-custom:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 140, 58, 0.1);
}
.form-control-custom::placeholder {
    color: #aaa;
}
.form-success {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 4px;
    padding: 24px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: var(--green-dark);
}

/* ── FOOTER ── */
.footer-main {
    background: #0d4f1e;
    /*background: var(--green);*/
    padding: 50px 0 32px;
    color: rgba(255, 255, 255, 0.85);
}
.footer-heading {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700; /* FIX 4 */
    color: #fff;
    margin-bottom: 18px;
}
.footer-links li {
    margin-bottom: 9px;
}
.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75); /* FIX 4 */
    display: flex;
    align-items: center;
    gap: 7px;
    transition:
        color 0.2s,
        padding-left 0.2s;
}
.footer-links a::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--yellow);
    border-radius: 50%;
    flex-shrink: 0;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px; /* FIX 4 */
}
.footer-contact-item i {
    color: var(--yellow);
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact-item a {
    color: var(--yellow);
}
.footer-contact-item a:hover {
    color: #fff;
}
.footer-contact-item span {
    color: rgba(255, 255, 255, 0.8);
}
.footer-bottom {
    background: var(--green-deep);
    padding: 15px 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
} /* FIX 4 */
.footer-socials {
    display: flex;
    gap: 8px;
}
.footer-socials a {
    width: 36px;
    height: 36px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background 0.2s;
}
.footer-socials a:hover {
    background: #fff;
    color: var(--green);
}

/* ── PROCESS (about page) ── */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.process-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px;
    transition: box-shadow 0.25s;
}
.process-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}
.process-num {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.process-num.g {
    background: var(--green);
}
.process-num.y {
    background: var(--yellow);
}
.process-item h6 {
    font-family: "Poppins", sans-serif;
    font-size: 14.5px;
    font-weight: 700; /* FIX 4 */
    color: var(--text-dark);
    margin-bottom: 5px;
}
.process-item p {
    font-size: 13.5px;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.7;
} /* FIX 4 */

/* ── ASPECT CARDS ── */
.aspect-card {
    text-align: center;
    padding: 18px 10px;
}
.aspect-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}
.aspect-card h6 {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
} /* FIX 4 */
.aspect-card p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.7;
} /* FIX 4 */

/* ── FIX 2: ENQUIRY POPUP MODAL ── */
.enq-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
    animation: fadeInBg 0.3s ease;
}
.enq-backdrop.open {
    display: flex;
}
@keyframes fadeInBg {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.enq-modal {
    background: #fff;
    border-radius: 6px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: slideUpModal 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.enq-header {
    background: var(--green);
    padding: 20px 24px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px 6px 0 0;
}
.enq-header h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.enq-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 3px 0 0;
}
.enq-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
    flex-shrink: 0;
}
.enq-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.enq-body {
    padding: 24px;
}
.enq-success {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 4px;
    padding: 24px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: var(--green-dark);
    margin-bottom: 0;
}
.enq-form .enq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.enq-form .enq-field {
    margin-bottom: 12px;
}
.enq-form label {
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
}
.enq-form input,
.enq-form select,
.enq-form textarea {
    border: 1.5px solid var(--border);
    border-radius: 3px;
    padding: 10px 13px;
    font-size: 14.5px;
    font-family: "Open Sans", sans-serif;
    color: var(--text-dark);
    width: 100%;
    transition: border-color 0.2s;
    background: #fff;
}
.enq-form input:focus,
.enq-form select:focus,
.enq-form textarea:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 140, 58, 0.1);
}
.enq-form input::placeholder,
.enq-form textarea::placeholder {
    color: #bbb;
}
.enq-submit {
    width: 100%;
    background: var(--green);
    color: #fff;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 13px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}
.enq-submit:hover {
    background: var(--green-dark);
}

/* ── FIX 1: AOS CUSTOM ANIMATIONS ── */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.65s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
[data-aos].aos-animate {
    opacity: 1;
    transform: none !important;
}
[data-aos="fade-up"] {
    transform: translateY(30px);
}
[data-aos="fade-right"] {
    transform: translateX(-30px);
}
[data-aos="fade-left"] {
    transform: translateX(30px);
}
[data-aos="zoom-in"] {
    transform: scale(0.9);
}
[data-aos="flip-up"] {
    transform: perspective(600px) rotateX(-20deg);
}

/* stagger delays */
[data-aos-delay="100"] {
    transition-delay: 0.1s;
}
[data-aos-delay="150"] {
    transition-delay: 0.15s;
}
[data-aos-delay="200"] {
    transition-delay: 0.2s;
}
[data-aos-delay="250"] {
    transition-delay: 0.25s;
}
[data-aos-delay="300"] {
    transition-delay: 0.3s;
}
[data-aos-delay="350"] {
    transition-delay: 0.35s;
}
[data-aos-delay="400"] {
    transition-delay: 0.4s;
}
[data-aos-delay="450"] {
    transition-delay: 0.45s;
}
[data-aos-delay="500"] {
    transition-delay: 0.5s;
}

/* old .reveal stays for pages that still use it */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}
.reveal.on {
    opacity: 1;
    transform: translateY(0);
}

/* ── BACK TO TOP ── */
#btt {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 900;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
#btt.show {
    opacity: 1;
    transform: translateY(0);
}
#btt:hover {
    background: var(--green-dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
    .nav-toggler {
        display: flex;
        align-items: center;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    section {
        padding: 70px 0;
    }
}
@media (max-width: 767px) {
    section {
        padding: 55px 0;
    }
    .float-buttons {
        display: none;
    }
    .float-enquiry-btn {
        display: none;
    }
    .enq-form .enq-row {
        grid-template-columns: 1fr;
    }
    .page-hero {
        padding: 65px 0;
    }
}

/* ── CTA BAND ── */
.cta-band {
    background: var(--yellow);
    padding: 70px 0;
}
.cta-band h3 {
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    /*font-size: 1.5rem;*/
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.cta-band p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.65);
    margin: 0;
}
.btn-cta-green {
    background: var(--green);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 26px;
    border: 2px solid var(--green);
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    white-space: nowrap;
}
.btn-cta-green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}
.btn-cta-dark {
    background: var(--text-dark);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 26px;
    border: 2px solid var(--text-dark);
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    white-space: nowrap;
}
.btn-cta-dark:hover {
    background: transparent;
    color: var(--text-dark);
}

/* ===== Merged from index.php inline styles ===== */

.mobile-menu a:hover {
    color: var(--green);
    background: var(--grey-light);
}

/* ── FLOATING RIGHT BUTTONS (original detail) ── */
.float-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.float-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: width 0.25s;
    cursor: pointer;
}
.float-btn.green {
    background: var(--green);
}
.float-btn.yellow {
    background: var(--yellow);
}
.float-btn.whatsapp {
    background: #25d366;
}

/* ── HERO SLIDER (grey gradient, original style) ── */
.hero-swiper {
    width: 100%;
    height: 600px;
    /*height: 540px;*/
}
.hero-slide {
    position: relative;
    height: 100%;
    background: linear-gradient(135deg, #757575 0%, #9e9e9e 40%, #bdbdbd 100%);
    display: flex;
    align-items: center;
}
.hero-slide-2 {
    background: linear-gradient(135deg, #616161 0%, #878787 40%, #a8a8a8 100%);
}
.hero-slide-3 {
    background: linear-gradient(135deg, #546e7a 0%, #78909c 40%, #90a4ae 100%);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}
.hero-text {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 600px;
}
.hero-text h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-text h1 span {
    color: var(--yellow-light);
}
.btn-hero-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border: 2px solid var(--green);
    transition: all 0.25s;
}
.btn-hero-green:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
/* swiper dots */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--yellow);
    width: 22px;
    border-radius: 4px;
}

/* ── SECTIONS ── */
section {
    padding: 90px 0;
}

/* green label above title (original "Our Valuable Services" italic green) */
.sec-label {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}
.sec-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}
.sec-desc {
    /* font-size: 13.5px; */
    color: var(--text-soft);
    max-width: 700px;
    line-height: 1.8;
    padding-left: 14px;
    border-left: 3px solid var(--green);
    margin-bottom: 0;
}

/* ── SERVICE CARDS (alternating green/yellow, original 4-col grid) ── */
.services-section {
    background: #fff;
}
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.svc-card {
    padding: 28px 20px;
    /* display: flex; */
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition:
        filter 0.25s,
        transform 0.25s;
    cursor: default;
    text-align: center;
    margin:;
}
.svc-card:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}
.svc-card.green {
    background: var(--green);
}
.svc-card.yellow {
    background: var(--yellow);
}
.svc-icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
    margin: 0 auto 20px;
}
.svc-card.green .svc-icon-box {
    background: rgba(255, 255, 255, 0.18);
}
.svc-card.yellow .svc-icon-box {
    background: rgba(0, 0, 0, 0.1);
}
.svc-icon-box i {
    font-size: 1.3rem;
    color: #fff;
}
.svc-body {
}
.svc-body h5 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.25;
}
.svc-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    /*line-height: 1.65;*/
    margin-bottom: 8px;
}
.svc-read {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
    transition: gap 0.2s;
}
.svc-read:hover {
    gap: 8px;
    color: #fff;
}

/* ── ABOUT SECTION ── */
.about-section {
    background: var(--grey-light);
}
.about-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
}
.about-section h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.about-section p {
    font-size: 16px;
    color: var(--text-mid);
    /*line-height: 1.85;*/
    margin-bottom: 12px;
}
.vm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 18px;
}
.vm-box {
}
.vm-box h6 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 5px;
}
.vm-box p {
    font-size: 15px;
    color: var(--text-soft);
    margin: 0;
}

/* ── UNIQUE ASPECTS ── */
.aspects-section {
    background: var(--grey-light);
}
.aspect-card {
    text-align: center;
    padding: 20px 12px;
}
.aspect-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
    filter: grayscale(10%);
}
.aspect-card h6 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    /*font-size: 14.5px;*/
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.aspect-card p {
    font-size: 14px;
    color: var(--text-soft);
    /*line-height: 1.65;*/
}

/* ── INFRASTRUCTURE / MACHINES ── */
.machines-section {
    background: #fff;
}
.machine-card {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition:
        box-shadow 0.25s,
        transform 0.25s;
}
.machine-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}
.machine-card img {
    width: 100%;
    /*height: 200px;*/
    object-fit: cover;
}
.machine-label {
    background: var(--green);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    padding: 10px 12px;
}

/* ── PROCESS (numbered circles, 2-column grid like original) ── */
.process-section {
    background: var(--grey-light);
}
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.process-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 18px;
    transition: box-shadow 0.25s;
}
.process-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.process-num {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    /*font-size: 1.3rem;*/
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.process-num.green {
    background: var(--green);
}
.process-num.yellow {
    background: var(--yellow);
}
.process-item h6 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.process-item p {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
    /*line-height: 1.65;*/
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--green);
    padding: 70px 0;
    /*padding: 32px 0;*/
}
.stat-item {
    text-align: center;
    padding: 8px;
}
.stat-num {
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    /*font-size: 2.2rem;*/
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-num span {
    color: var(--yellow-light);
}
.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    align-self: stretch;
}

/* ── GALLERY PREVIEW ── */
.gallery-section {
    background: var(--grey-light);
}
.g-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.g-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.g-thumb:hover img {
    transform: scale(1.07);
}
.g-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 140, 58, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.g-thumb:hover .g-overlay {
    opacity: 1;
}
.g-overlay i {
    font-size: 1.8rem;
    color: #fff;
}

/* ── BACK TO TOP ── */
#btt {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
#btt.show {
    opacity: 1;
    transform: translateY(0);
}
#btt:hover {
    background: var(--green-dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
    .svc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
    .nav-toggler {
        display: flex;
        align-items: center;
    }
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .vm-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .hero-swiper {
        height: 280px;
    }
    section {
        padding: 45px 0;
    }
    .svc-grid {
        grid-template-columns: 1fr 1fr;
    }
    .float-buttons {
        display: none;
    }
}
@media (max-width: 480px) {
    .hero-swiper {
        height: 240px;
    }
    .hero-text h1 {
        font-size: 1.3rem;
    }
    .svc-grid {
        grid-template-columns: 1fr;
    }
}
