/*
Theme Name: Gsindu Theme
Theme URI: https://Gsindu.com/
Author: Gsindu
Author URI: https://Gsindu.com/
Description: Gsindu theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: gsindutheme
*/

:root {
    --gsindu-deep-blue: #0b2545;
    --gsindu-blue: #0f4c81;
    --gsindu-accent: #f2a900;
}

body {
    text-rendering: optimizeLegibility;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #fff;
    clip: auto !important;
    clip-path: none;
    color: var(--gsindu-deep-blue);
    display: block;
    font-weight: 700;
    height: auto;
    left: 16px;
    padding: 12px 18px;
    top: 16px;
    width: auto;
    z-index: 100000;
}

.header .logo img,
.custom-logo {
    max-height: 42px;
    width: auto;
    border-radius: 3px;
}

.header .logo .sitename {
    letter-spacing: .02em;
}

.header .header-social-links a {
    color: rgba(255, 255, 255, .82);
}

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

.header .header-social-links .wechat-link {
    display: inline-block;
    position: relative;
}

.header .header-social-links .whatsapp-link,
.header .header-social-links .skype-link {
    display: inline-block;
    position: relative;
}

.header .header-social-links .social-tooltip {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(11, 37, 69, .2);
    color: #344761;
    font-size: 14px;
    left: 50%;
    line-height: 1.3;
    opacity: 0;
    padding: 8px 10px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    top: calc(100% + 12px);
    transform: translate(-50%, 8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    user-select: text;
    visibility: hidden;
    white-space: nowrap;
    z-index: 999;
}

.header .header-social-links .whatsapp-link:after,
.header .header-social-links .skype-link:after,
.header .header-social-links .wechat-link:after {
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
}

.header .header-social-links .social-tooltip:before {
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: "";
    left: 50%;
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
}

.header .header-social-links .whatsapp-link:hover .social-tooltip,
.header .header-social-links .whatsapp-link:focus .social-tooltip,
.header .header-social-links .whatsapp-link:focus-visible .social-tooltip,
.header .header-social-links .whatsapp-link:focus-within .social-tooltip,
.header .header-social-links .social-tooltip:hover,
.header .header-social-links .skype-link:hover .social-tooltip,
.header .header-social-links .skype-link:focus .social-tooltip,
.header .header-social-links .skype-link:focus-visible .social-tooltip,
.header .header-social-links .skype-link:focus-within .social-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.header .header-social-links .wechat-qr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(11, 37, 69, .22);
    color: #344761;
    left: 50%;
    opacity: 0;
    padding: 10px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    top: calc(100% + 12px);
    transform: translate(-50%, 8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    user-select: text;
    visibility: hidden;
    width: 142px;
    z-index: 999;
}

.header .header-social-links .wechat-qr:before {
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: "";
    left: 50%;
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
}

.header .header-social-links .wechat-qr img {
    display: block;
    height: auto;
    margin: 0 auto 6px;
    width: 120px;
}

.header .header-social-links .wechat-qr-text {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
}

.header .header-social-links .wechat-link:hover .wechat-qr,
.header .header-social-links .wechat-link:focus .wechat-qr,
.header .header-social-links .wechat-link:focus-visible .wechat-qr,
.header .header-social-links .wechat-link:focus-within .wechat-qr,
.header .header-social-links .wechat-qr:hover {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.footer .social-links .wechat-link {
    display: inline-flex;
    position: relative;
}

.footer .social-links .whatsapp-link,
.footer .social-links .skype-link {
    display: inline-flex;
    position: relative;
}

.footer .social-links .social-tooltip {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(11, 37, 69, .28);
    color: #344761;
    font-size: 14px;
    left: 50%;
    line-height: 1.3;
    opacity: 0;
    padding: 8px 10px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    bottom: calc(100% + 12px);
    transform: translate(-50%, 8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    user-select: text;
    visibility: hidden;
    white-space: nowrap;
    z-index: 999;
}

.footer .social-links .whatsapp-link:after,
.footer .social-links .skype-link:after,
.footer .social-links .wechat-link:after {
    bottom: 100%;
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    right: 0;
}

.footer .social-links .social-tooltip:before {
    border-top: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    bottom: -8px;
    content: "";
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.footer .social-links .whatsapp-link:hover .social-tooltip,
.footer .social-links .whatsapp-link:focus .social-tooltip,
.footer .social-links .whatsapp-link:focus-visible .social-tooltip,
.footer .social-links .whatsapp-link:focus-within .social-tooltip,
.footer .social-links .social-tooltip:hover,
.footer .social-links .skype-link:hover .social-tooltip,
.footer .social-links .skype-link:focus .social-tooltip,
.footer .social-links .skype-link:focus-visible .social-tooltip,
.footer .social-links .skype-link:focus-within .social-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.footer .social-links .wechat-qr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(11, 37, 69, .28);
    color: #344761;
    left: 50%;
    opacity: 0;
    padding: 10px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    bottom: calc(100% + 12px);
    transform: translate(-50%, 8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    user-select: text;
    visibility: hidden;
    width: 142px;
    z-index: 999;
}

.footer .social-links .wechat-qr:before {
    border-top: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: "";
    left: 50%;
    position: absolute;
    bottom: -8px;
    transform: translateX(-50%);
}

.footer .social-links .wechat-qr img {
    display: block;
    height: auto;
    margin: 0 auto 6px;
    width: 120px;
}

.footer .social-links .wechat-qr-text {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
}

.footer .social-links .wechat-link:hover .wechat-qr,
.footer .social-links .wechat-link:focus .wechat-qr,
.footer .social-links .wechat-link:focus-visible .wechat-qr,
.footer .social-links .wechat-link:focus-within .wec hat-qr,
.footer .social-links .wechat-qr:hover {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.hero {
    min-height: 760px;
    background: linear-gradient(145deg, rgba(11, 37, 69, .92), rgba(15, 76, 129, .78)), url("assets/img/front-page-top-img.jpg") center center / cover no-repeat;
}

.hero h1,
.hero h2 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
}

.hero h1 {
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 700;
    margin: 0 0 20px;
}

.hero h1 .underlight {
    position: relative;
    z-index: 1;
}

.hero h1 .underlight:before {
    background: var(--accent-color);
    bottom: 0;
    content: "";
    height: 36%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.hero p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
}

.hero .btn-get-started,
.call-to-action .cta-btn,
.gsindu-footer-cta {
    font-weight: 700;
    letter-spacing: .02em;
}

.about .icon-box h4,
.services .service-item h3,
.portfolio .portfolio-info h3 {
    font-size: 20px;
}

.services .service-item {
    height: 100%;
}

.services .service-item .description {
    color: color-mix(in srgb, var(--default-color), transparent 24%);
}

.call-to-action img {
    filter: saturate(.85) contrast(1.04);
}

.gsindu-products-more-btn {
    display: inline-block;
    width: 100%;
    max-width: 520px;
    padding: 16px 22px;
    background: rgba(0, 78, 144, 0.9);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: background-color .3s ease;
}

.gsindu-products-more-btn:hover {
    background: rgba(0, 78, 144, 0.78);
    color: #fff;
}

.faq .faq-item h3 {
    padding-right: 34px;
}

.contact .info-item a {
    color: var(--default-color);
}

.gsindu-contact-grid .info-item+.info-item {
    margin-top: 0;
}

.gsindu-contact-card {
    background: var(--surface-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    padding: 30px;
}

.gsindu-contact-card i {
    flex-shrink: 0;
    margin-right: 0;
}

.gsindu-contact-card>div {
    flex: 1;
}

.gsindu-contact-card h3 {
    margin-bottom: 8px;
}

.gsindu-contact-card p {
    font-size: 15px;
    line-height: 1.7;
}

.gsindu-contact-card a {
    color: var(--default-color);
    overflow-wrap: anywhere;
}

.gsindu-contact-card a:hover {
    color: var(--accent-color);
}

.gsindu-contact-wechat {
    align-items: center;
    display: inline-flex;
    flex: 0 0 44px;
    justify-content: center;
    position: relative;
    width: 44px;
}

.gsindu-contact-wechat>a {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 44px;
}

.gsindu-contact-wechat:after {
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
}

.gsindu-contact-wechat .wechat-qr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(11, 37, 69, .22);
    color: #344761;
    left: 50%;
    opacity: 0;
    padding: 10px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    top: calc(100% + 12px);
    transform: translate(calc(-50% - 8px), 8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    user-select: text;
    visibility: hidden;
    width: 142px;
    z-index: 999;
}

.gsindu-contact-wechat .wechat-qr:before {
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: "";
    left: 50%;
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
}

.gsindu-contact-wechat .wechat-qr img {
    display: block;
    height: auto;
    margin: 0 auto 6px;
    width: 120px;
}

.gsindu-contact-wechat .wechat-qr-text {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
}

.gsindu-contact-wechat:hover .wechat-qr,
.gsindu-contact-wechat:focus .wechat-qr,
.gsindu-contact-wechat:focus-visible .wechat-qr,
.gsindu-contact-wechat:focus-within .wechat-qr,
.gsindu-contact-wechat-card:hover .wechat-qr,
.gsindu-contact-wechat .wechat-qr:hover {
    opacity: 1;
    transform: translate(calc(-50% - 8px), 0);
    visibility: visible;
}

.gsindu-contact-form {
    background: var(--surface-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    height: 100%;
    padding: 30px;
}

.gsindu-contact-form input,
.gsindu-contact-form textarea {
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px 15px;
}

.gsindu-contact-form input:focus,
.gsindu-contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

.gsindu-contact-form button,
.gsindu-footer-cta {
    background: var(--accent-color);
    border: 0;
    border-radius: 50px;
    color: var(--contrast-color);
    display: inline-block;
    padding: 12px 34px;
    transition: .3s;
}

.gsindu-contact-form button:hover,
.gsindu-footer-cta:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    color: var(--contrast-color);
}

.footer .footer-newsletter .gsindu-footer-cta {
    margin-top: 10px;
}

.footer .credits {
    font-size: 13px;
    opacity: .78;
}

.gsindu-inner-hero {
    padding: 150px 0 70px;
    background: linear-gradient(145deg, rgba(11, 37, 69, .94), rgba(15, 76, 129, .82)), url("assets/img/cta-bg.jpg") center center / cover no-repeat;
}

.gsindu-inner-hero h1 {
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    margin-bottom: 14px;
}

.gsindu-inner-hero p {
    color: rgba(255, 255, 255, .84);
    max-width: 760px;
}

.gsindu-inner-hero .gsindu-term-description {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gsindu-archive-section,
.gsindu-page-content,
.gsindu-product-detail {
    background: var(--background-color);
}

.gsindu-term-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.gsindu-term-filter a,
.gsindu-product-card-category {
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 50%);
    border-radius: 8px;
    color: var(--accent-color);
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 14px;
}

.gsindu-term-filter a:hover,
.gsindu-term-filter a.active,
.gsindu-product-card-category:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.gsindu-product-card,
.gsindu-news-card,
.gsindu-product-summary-box,
.gsindu-content-panel {
    background: var(--surface-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.gsindu-product-card,
.gsindu-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gsindu-product-card-image,
.gsindu-news-image {
    align-items: center;
    background: color-mix(in srgb, var(--default-color), transparent 94%);
    display: flex;
    justify-content: center;
    min-height: 240px;
    overflow: hidden;
}

.gsindu-product-card-image img,
.gsindu-news-image img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.gsindu-product-card:hover .gsindu-product-card-image img,
.gsindu-news-card:hover .gsindu-news-image img {
    transform: scale(1.04);
}

.gsindu-product-placeholder,
.gsindu-news-image span {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-weight: 700;
}

.gsindu-product-card-body,
.gsindu-news-body {
    padding: 26px;
}

.gsindu-product-card-title,
.gsindu-news-card h2 {
    font-size: 22px;
    margin: 14px 0 12px;
}

.gsindu-product-card-title a,
.gsindu-news-card h2 a {
    color: var(--heading-color);
}

.gsindu-product-card-title a:hover,
.gsindu-news-card h2 a:hover,
.gsindu-read-more:hover {
    color: var(--accent-color);
}

.gsindu-read-more {
    color: var(--accent-color);
    font-weight: 700;
}

.gsindu-pagination {
    margin-top: 42px;
}

.gsindu-quote-panel {
    margin-bottom: 36px;
}

.gsindu-related-products {
    margin-top: 36px;
}

.gsindu-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.gsindu-pagination .page-numbers {
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
    color: var(--default-color);
    padding: 9px 14px;
}

.gsindu-pagination .page-numbers.current,
.gsindu-pagination .page-numbers:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.gsindu-product-gallery {
    position: sticky;
    top: 110px;
}

.gsindu-product-main-image {
    background: var(--surface-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    display: block;
    padding: 12px;
}

.gsindu-product-main-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.gsindu-product-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.gsindu-product-thumbs a {
    background: var(--surface-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    display: block;
    padding: 6px;
    width: 96px;
}

.gsindu-product-thumbs img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.gsindu-product-summary-box,
.gsindu-content-panel {
    padding: 34px;
}

.gsindu-content-panel {
    margin-top: 40px;
}

.gsindu-product-tech-panel {
    margin-top: 0;
}

.gsindu-content-panel h2,
.gsindu-product-summary-box h2 {
    font-size: 28px;
    margin-bottom: 18px;
}

.gsindu-content-panel table,
.entry-content table {
    border-collapse: collapse;
    margin: 18px 0;
    width: 100%;
}

.gsindu-content-panel th,
.gsindu-content-panel td,
.entry-content th,
.entry-content td {
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
    padding: 12px 14px;
    vertical-align: top;
}

.gsindu-content-panel th,
.entry-content th {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--heading-color);
    font-weight: 700;
}

.gsindu-primary-btn,
.gsindu-secondary-btn {
    border-radius: 999px;
    display: inline-block;
    font-weight: 700;
    margin: 8px 8px 0 0;
    padding: 12px 28px;
}

.gsindu-primary-btn {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.gsindu-secondary-btn {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.gsindu-primary-btn:hover,
.gsindu-secondary-btn:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    color: var(--contrast-color);
}

.gsindu-news-date {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.gsindu-post-featured-image {
    margin-bottom: 28px;
}

.gsindu-post-featured-image img {
    width: 100%;
}

.gsindu-post-nav {
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 22px;
}

@media (max-width: 1199px) {
    .header .header-social-links {
        margin-right: 44px;
    }
}

@media (max-width: 575px) {
    .hero {
        min-height: 680px;
    }

    .hero p {
        font-size: 17px;
    }

    .gsindu-contact-form {
        padding: 22px;
    }

    .gsindu-contact-card {
        padding: 22px;
    }

    .gsindu-product-summary-box,
    .gsindu-content-panel,
    .gsindu-product-card-body,
    .gsindu-news-body {
        padding: 22px;
    }

    .gsindu-post-nav {
        flex-direction: column;
    }
}
