@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea, select, button {
    font-family: 'Roboto Slab', serif !important;
}

.fa, [class^="fa-"], [class*=" fa-"], i.fa {
    font-family: 'FontAwesome' !important;
}
.flaticon, [class^="flaticon-"], [class*=" flaticon-"], i.flaticon {
    font-family: 'Flaticon' !important;
}

/* Ecommerce Global Styles */

/* Product Cards */
.ecommerce-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ecommerce-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.ecommerce-card .card-img {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.ecommerce-card .card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ecommerce-card .card-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ecommerce-card .prod-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #273447;
    margin-bottom: 10px;
    min-height: 50px;
    line-height: 1.4;
}
.ecommerce-card .prod-title a { color: inherit; text-decoration: none; }
.ecommerce-card .prod-price {
    font-size: 1.2rem;
    color: #d9534f;
    font-weight: 800;
    margin-bottom: 15px;
}
.ecommerce-card .site-button {
    width: 100%;
    border-radius: 6px;
}

/* Common Layout Helpers */
.m-t80 { margin-top: 80px; }
.m-b80 { margin-bottom: 80px; }
.p-t80 { padding-top: 80px; }
.p-b80 { padding-bottom: 80px; }

/* Contact Detail Boxes Visibility Fix */
.contact-detail-box {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 35px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-detail-box:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: translateY(-5px);
    border-color: #2563eb;
}
.contact-detail-box .icon-cell i {
    font-size: 32px !important;
    color: #2563eb !important;
    margin-bottom: 15px;
}
.contact-detail-box h5, .contact-detail-box h6 {
    color: #fff !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    font-size: 1.1rem !important;
    letter-spacing: 1px;
}
.contact-detail-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem !important;
    margin: 0 !important;
    line-height: 1.5;
}
.contact-detail-box p a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.contact-detail-box p a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Ensure the image remains perfectly responsive on all viewports */
.about-com-pic img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Desktop-only margin to push About Us image down without affecting mobile responsiveness */
@media (min-width: 992px) {
    .about-com-pic img {
        margin-top: 40px !important;
    }
}

/* Matching H2 headings with the new YKS Engineering logo color (#bd1805) */
h2,
h2 a,
.section-head h2,
.wt-info-has h2,
.wt-info-has.bg-white h2,
.pro-banner-disc h2,
.faq-block h2,
.call-to-action-left h2,
.banner-inner-row h2 {
    color: #bd1805 !important;
}

h2 a:hover {
    color: #9d1303 !important;
}

/* Premium Button Hover Effects */
.site-button {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.site-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(189, 24, 5, 0.25) !important;
    filter: brightness(1.15);
    text-decoration: none !important;
}

.site-button:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 10px rgba(189, 24, 5, 0.15) !important;
}

/* Premium Glassmorphic Contact Section */
.bg-contact-section {
    background-color: #0b0f19 !important; /* fallback */
    position: relative;
    padding: 0 !important;
}

.contact-section-overlay {
    background-color: rgba(11, 15, 25, 0.85) !important;
    padding: 80px 0 !important;
}

.premium-contact-card {
    background: rgba(20, 26, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    color: #ffffff;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.premium-contact-card .small-title {
    color: #2563eb;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.premium-contact-card h2.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.premium-contact-card p.sub-title {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Feature item icons */
.contact-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 16px;
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.05);
}

.contact-feature-info h5 {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0 !important;
}

.contact-feature-info p {
    color: #94a3b8 !important;
    font-size: 12px;
    margin: 0 !important;
    line-height: 1.5;
}

/* Bottom Call Us banner */
.contact-call-banner {
    background: rgba(37, 99, 235, 0.08);
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 35px;
}

.call-banner-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.call-banner-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.call-banner-info span {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
}

.call-banner-info h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
}

.call-banner-info p {
    font-size: 11px;
    color: #94a3b8;
    margin: 4px 0 0 0;
}

.call-banner-btn {
    background: #ffffff;
    color: #0b0f19 !important;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.call-banner-btn:hover {
    background: #2563eb;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Form Styles */
.premium-contact-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.premium-contact-form .input-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
}

.premium-contact-form .input-group:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.premium-contact-form .input-group-addon {
    padding: 15px 20px;
    color: #94a3b8;
    background: transparent !important;
    border: none !important;
}

.premium-contact-form .form-control {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 15px 15px 15px 0 !important;
    height: auto !important;
    font-size: 0.95rem;
    width: 100%;
}

.premium-contact-form .form-control::placeholder {
    color: #64748b !important;
}

.premium-contact-form textarea.form-control {
    padding-top: 15px !important;
}

/* Custom Checkbox */
.premium-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 13px;
    color: #94a3b8;
}

.premium-checkbox-wrapper input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: #2563eb;
}

/* Bottom Features Row */
.contact-bottom-features {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 26, 40, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 80px;
}

.bottom-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
}

.bottom-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 18px;
    flex-shrink: 0;
}

.bottom-feature-info h5 {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 3px 0 !important;
    text-transform: uppercase;
}

.bottom-feature-info p {
    color: #94a3b8 !important;
    font-size: 11px;
    margin: 0 !important;
}

/* Why Choose Us Section UI/UX Upgrades */
#why-choose-us {
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Faint technological dot matrix grid */
#why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Ensure content sits above the dot grid */
#why-choose-us .container {
    position: relative;
    z-index: 2;
}

/* Hover lift and glow effects for Why Choose Us cards */
#why-choose-us .wt-icon-box-wraper {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    z-index: 2;
}

#why-choose-us .wt-icon-box-wraper:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}

/* Micro-interaction on center machine image */
#why-choose-us .why-choose-us-img {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#why-choose-us .why-choose-us-img:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
}

/* Header sub-menu text bold */
.navbar-nav .sub-menu li a {
    font-weight: 700 !important;
}

