/* Home page — aligned with product-pages.css design system */

.home-page {
    --home-primary: #082769;
    --home-accent: #f28a0c;
    --home-text: #243044;
    --home-muted: #667085;
    --home-border: #e5eaf3;
    --home-soft: #f5f8fc;
    --home-section-y: 48px;
    --home-gap: 24px;
    --home-radius-lg: 18px;
    --home-radius-md: 14px;
    --home-shadow: 0 18px 45px rgba(8, 39, 105, 0.08);
    background: #ffffff;
    color: var(--home-text);
    font-size: 16px;
    line-height: 1.78;
}

.home-page *,
.home-page *:before,
.home-page *:after {
    box-sizing: border-box;
}

.home-page .welcome-section {
    position: relative;
    z-index: auto;
    padding: 0;
    margin: 0;
}

.home-page .best-service-section {
    padding: 0;
    background: transparent;
}

/* Shell — same feel as product pages */
.home-page .home-page-shell {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 280px);
    padding: var(--home-section-y) 0 56px;
}

.home-page .home-section {
    padding: var(--home-section-y) 0;
}

.home-page .home-section + .home-section {
    padding-top: 0;
}

/* Shared panel card */
.home-page .home-panel {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-lg);
    box-shadow: var(--home-shadow);
    overflow: hidden;
    padding: 28px;
}

/* Section titles — product page h2 style */
.home-page .home-section-title {
    border-left: 4px solid var(--home-accent);
    color: var(--home-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.32;
    margin: 0 0 var(--home-gap);
    padding-left: 16px;
}

.home-page .home-section-title--center {
    border-left: none;
    padding-left: 0;
    text-align: center;
}

/* Typography — match .content-block.ser-desc */
.home-page .home-content-block h1 {
    color: var(--home-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin: 0 0 16px;
}

.home-page .home-content-block .home-intro__tagline {
    color: var(--home-accent);
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 22px;
}

.home-page .home-content-block p {
    color: var(--home-text);
    font-size: 16px;
    line-height: 1.78;
    margin: 0 0 16px;
}

.home-page .home-content-block b,
.home-page .home-content-block a {
    color: var(--home-primary);
    font-weight: 700;
}

.home-page .home-content-block a:hover {
    color: var(--home-accent);
}

/* Hero */
.home-page .home-hero {
    background: linear-gradient(180deg, #0a1f4d 0%, #061633 100%);
    margin-bottom: 0;
    padding: 0 0 8px;
}

.home-page .home-hero .carousel-inner .item,
.home-page .home-hero .carousel-inner .item.active {
    opacity: 1 !important;
}

.home-page .home-hero #first-slider,
.home-page .home-hero .carousel,
.home-page .home-hero .carousel-inner,
.home-page .home-hero .carousel-inner .item {
    margin: 0;
}

.home-page .home-hero__frame {
    margin: 0 auto;
    max-width: 1320px;
    padding: 0 20px;
}

.home-page .home-hero__image {
    background: linear-gradient(135deg, rgba(8, 39, 105, 0.08), rgba(242, 138, 12, 0.08));
    border: 1px solid rgba(8, 39, 105, 0.08);
    border-radius: var(--home-radius-lg);
    display: block;
    max-height: min(68vh, 580px);
    object-fit: cover;
    object-position: center;
    width: 100%;
}

/* Intro CTA row */
.home-page .home-intro-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--home-border);
}

.home-page .home-link-btn {
    background: linear-gradient(135deg, var(--home-primary), #123f91);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff !important;
    display: inline-flex;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-page .home-link-btn:hover {
    background: var(--home-accent);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Gallery */
.home-page .home-gallery-marquee {
    background: linear-gradient(135deg, rgba(8, 39, 105, 0.06), rgba(242, 138, 12, 0.06));
    border: 1px solid rgba(8, 39, 105, 0.08);
    border-radius: var(--home-radius-md);
    overflow: hidden;
}

.home-page .home-gallery-marquee .marquee-inner {
    gap: var(--home-gap);
    padding: var(--home-gap) 0;
}

.home-page .home-gallery-marquee .marquee-inner img {
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-md);
    box-shadow: 0 10px 24px rgba(8, 39, 105, 0.08);
    height: 200px;
    object-fit: cover;
    width: min(300px, 40vw);
}

.home-page .home-gallery-marquee .marquee-inner img:hover {
    transform: translateY(-3px);
}

/* Feature grid — same as product pages */
.home-page .feature-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
}

.home-page .feature-item {
    background: var(--home-soft);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-md);
    box-shadow: 0 10px 24px rgba(8, 39, 105, 0.05);
    padding: 22px;
}

.home-page .feature-icon {
    align-items: center;
    background: #ffffff;
    border-radius: 50%;
    color: var(--home-accent);
    display: inline-flex;
    font-size: 24px;
    height: 50px;
    justify-content: center;
    margin-bottom: 14px;
    width: 50px;
}

.home-page .feature-item h3 {
    color: var(--home-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.home-page .feature-item p {
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Products grid */
.home-page .home-product-grid {
    display: grid;
    gap: var(--home-gap);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.home-page .home-product-card {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-md);
    box-shadow: 0 10px 24px rgba(8, 39, 105, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page .home-product-card:hover {
    box-shadow: var(--home-shadow);
    transform: translateY(-4px);
}

.home-page .home-product-card__image {
    background: linear-gradient(135deg, rgba(8, 39, 105, 0.06), rgba(242, 138, 12, 0.06));
    border-bottom: 1px solid var(--home-border);
    display: block;
    padding: 16px;
}

.home-page .home-product-card__image img {
    display: block;
    height: 190px;
    margin: 0 auto;
    object-fit: contain;
    width: 100%;
}

.home-page .home-product-card__body {
    padding: 18px;
}

.home-page .home-product-card__body a {
    color: var(--home-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.home-page .home-product-card__body a:hover {
    color: var(--home-accent);
}

/* CTA — product-cta-box style */
.home-page .home-cta {
    background: transparent;
    padding: var(--home-section-y) 0;
    text-align: left;
}

.home-page .home-cta:before {
    display: none;
}

.home-page .home-cta__box {
    align-items: center;
    background: linear-gradient(135deg, var(--home-primary), #123f91);
    border-radius: var(--home-radius-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 32px 28px;
}

.home-page .home-cta__content .text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.home-page .home-cta__content h2 {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    max-width: 640px;
}

.home-page .home-cta__box .theme-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    min-width: 180px;
    padding: 14px 28px;
}

.home-page .home-cta__box .theme-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--home-primary);
}

/* Enquiry */
.home-page .home-enquiry {
    padding: 0 0 var(--home-section-y);
}

.home-page .home-enquiry.newsletter-style-one {
    background: transparent;
    color: var(--home-text);
    padding: 0;
}

.home-page .home-enquiry .home-panel {
    padding: 28px;
}

.home-page .home-enquiry .inner-box.home-enquiry__form-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.home-page .home-enquiry .title-column h2 {
    border-left: 4px solid var(--home-accent);
    color: var(--home-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.32;
    margin: 0 0 var(--home-gap);
    padding-left: 16px;
}

.home-page .home-enquiry .form-group {
    background: var(--home-soft);
    border: 1px solid var(--home-border);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.home-page .home-enquiry .form-group .floated-icon {
    color: var(--home-muted);
    font-size: 16px;
    left: 16px;
    right: auto;
}

.home-page .home-enquiry .form-group input[type="text"] {
    background: transparent;
    border: none;
    box-shadow: none !important;
    color: var(--home-text);
    font-size: 16px;
    height: 54px;
    padding: 14px 16px 14px 46px;
}

.home-page .home-enquiry .form-group input:focus {
    outline: none;
}

.home-page .home-enquiry ::placeholder {
    color: #98a2b3 !important;
    font-size: 16px;
    text-transform: none !important;
}

.home-page .home-enquiry button.theme-btn {
    background: linear-gradient(135deg, var(--home-accent), #e07a08);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    height: 54px;
    width: 100%;
}

.home-page .home-enquiry button.theme-btn:hover {
    opacity: 0.95;
}

.home-page > hr {
    display: none;
}

/* Responsive */
@media (max-width: 1199px) {
    .home-page .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-page {
        --home-section-y: 40px;
    }

    .home-page .feature-grid {
        grid-template-columns: 1fr;
    }

    .home-page .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .home-content-block h1 {
        font-size: 28px;
    }

    .home-page .home-section-title,
    .home-page .home-enquiry .title-column h2 {
        font-size: 24px;
    }

    .home-page .home-cta__content h2 {
        font-size: 26px;
    }

    .home-page .home-cta__box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .home-page .home-panel {
        padding: 22px 18px;
    }

    .home-page .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-page .home-gallery-marquee .marquee-inner img {
        height: 170px;
        width: 78vw;
    }

    .home-page .home-enquiry .title-column {
        margin-bottom: 8px;
    }
}
