/* =========================================================
   Inner-page shared styles
   Generic section/card patterns reused across about, services,
   products, contact, and calculator pages.
   ========================================================= */

.mil-inner-section {
    padding: 8rem 0;
}

.mil-inner-section.mil-bg-m-4 {
    background-color: #f7f6f2;
}

.mil-inner-section-title {
    font-size: 3.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.mil-inner-lead {
    font-size: 1.8rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, .7);
    max-width: 72rem;
}

/* generic content card, used on about / service detail pages */
.mil-content-card {
    border: 1px solid #e4dfd3;
    border-radius: 8px;
    padding: 3.2rem;
    height: 100%;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.mil-content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.mil-content-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.mil-content-card p {
    font-size: 1.5rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, .65);
}

/* simple feature / spec list, used on service detail pages */
.mil-spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mil-spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid #e4dfd3;
    font-size: 1.5rem;
}

.mil-spec-list li i {
    color: #f5c518;
    margin-top: .3rem;
}

/* contact page */
.mil-contact-info-item {
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
    margin-bottom: 2.8rem;
}

.mil-contact-info-item i {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5c518;
    color: #16171b;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.mil-contact-form input,
.mil-contact-form textarea {
    width: 100%;
    border: 1px solid #e4dfd3;
    border-radius: 6px;
    padding: 1.4rem 1.8rem;
    font-size: 1.5rem;
    margin-bottom: 1.6rem;
    background: #fff;
}

.mil-contact-form textarea {
    min-height: 14rem;
    resize: vertical;
}

/* products grid (reused from home page pattern) */
.mil-product-card {
    padding: 1.5rem;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.mil-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.mil-product-img-frame {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.mil-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.mil-product-card:hover .mil-product-img {
    transform: scale(1.06);
}

.mil-product-title {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

/* =========================================================
   Site chrome shared with the homepage (footer + social sidebar)
   ========================================================= */

.mil-footer-content {
    background-color: #16171b;
    padding-top: 20px;
    position: relative;
}

.mil-footer-content .container {
    position: relative;
}

.mil-footer-content p.mil-fs-24 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
}

.mil-footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mil-footer-content ul li {
    margin-bottom: 16px;
}

.mil-footer-content ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.mil-footer-content ul li a:hover {
    color: #f5c518;
    padding-left: 4px;
}

.mil-footer-content .col-lg-2 ul li,
.mil-footer-content .col-lg-3:last-child ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.mil-footer-content .col-lg-2 ul li i,
.mil-footer-content .col-lg-3:last-child ul li i {
    color: #f5c518;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.mil-dots {
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255,255,255,0.15) 33%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 6px 1px;
    background-repeat: repeat-x;
    margin: 10px 0 30px;
}

.mil-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
}

.mil-footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    margin: 0;
}

@media (max-width: 991px) {
    .mil-footer-content .row.mil-p-f-60 > div {
        margin-bottom: 40px;
    }
    .mil-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* social sidebar */
.social-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
}

.social-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-sidebar ul li {
    margin: 5px 0;
}

.social-sidebar ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
}

.social-sidebar ul li a.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.social-sidebar ul li a.linkedin { background: #0A66C2; }
.social-sidebar ul li a.whatsapp { background: #25D366; }

.social-sidebar ul li a:hover {
    transform: translateX(-5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.social-sidebar ul li a i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .social-sidebar {
        top: auto;
        bottom: 50%;
        transform: translateY(50%);
    }
}
