/* ==========================================================
   Shree Enterprises – global styles (base, header, footer)
   Home-page sections live in index.css
   ========================================================== */

:root {
    --primary-font: "Inter", sans-serif;
    --base-color: #e20016;
    --navy: #0f2951;
    --navy-dark: #062b5f;
    --dark-gray: #232323;
    --medium-gray: #717580;
}

/* ---------- Base ---------- */
html { font-size: 16px; }

body {
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    color: var(--medium-gray);
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 30px;
    letter-spacing: -.5px;
    font-weight: inherit;
}
h1 { font-size: 4.375rem; line-height: 4.375rem; }
h2 { font-size: 3.438rem; line-height: 3.438rem; }
h3 { font-size: 2.813rem; line-height: 3.125rem; }
h4 { font-size: 2.375rem; line-height: 2.7rem; }
h5 { font-size: 2rem;     line-height: 2.2rem; }
h6 { font-size: 1.75rem;  line-height: 1.95rem; }

p { margin-bottom: 25px; }
a { text-decoration: none; transition: .3s; }
img { max-width: 100%; height: auto; }
ul { padding-left: 0; list-style: none; }

@media (min-width: 1400px) {
    .container { max-width: 1220px; }
}

@media (max-width: 991px) { html { font-size: 14px; } }
@media (max-width: 767px) {
    html { font-size: 12px; }
    .container { padding-left: 15px; padding-right: 15px; }
    h1, h2, h3, h4, h5, h6 { margin-bottom: 25px; }
}

/* ---------- Header ---------- */
.site-header .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99;
    padding: 0;
    background-color: var(--navy);
    box-shadow: 0 10px 35px 0 rgba(0, 0, 0, .1);
    transition: transform .3s;
}
.site-header .navbar > .container-fluid {
    padding: 0 45px;
    min-height: 76px;
}
.site-header.header-hidden .navbar { transform: translateY(-100%); }

.site-header .navbar-brand { padding: 0; margin-right: 0; }
.site-header .navbar-brand img { max-height: 47px; width: auto; }

.site-header .navbar-nav .nav-link {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    padding: 14px 20px;
}
.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus,
.site-header .navbar-nav .nav-link.active { color: rgba(255, 255, 255, .75); }

.site-header .dropdown-toggle::after {
    border: 0;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    vertical-align: middle;
    margin-left: 6px;
}

.site-header .dropdown-menu {
    border: 0;
    border-radius: 0 0 6px 6px;
    padding: 15px 0;
    min-width: 350px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    margin-top: 0;
}
.site-header .dropdown-item {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 25px;
    white-space: normal;
    line-height: 22px;
}
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus { background: transparent; color: var(--base-color); }

.header-btn {
    display: inline-flex;
    align-items: center;
    background: var(--base-color);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 12px 27px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    line-height: 1.2;
}
.header-btn:hover { background: #fff; color: var(--base-color); }

/* toggler */
.site-header .navbar-toggler {
    border: 0;
    padding: 8px 0;
    width: 24px;
    box-shadow: none;
}
.site-header .navbar-toggler span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    margin: 5px 0;
    transition: .3s;
}
.site-header .navbar-toggler:not(.collapsed) span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .navbar-toggler:not(.collapsed) span:nth-child(2) { opacity: 0; }
.site-header .navbar-toggler:not(.collapsed) span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* desktop: open dropdown on hover */
@media (min-width: 992px) {
    .site-header .navbar-nav .dropdown:hover > .dropdown-menu { display: block; }
}

/* mobile menu */
@media (max-width: 991px) {
    .site-header .navbar > .container-fluid { padding: 0 15px; min-height: 78px; }
    .site-header .navbar-brand img { max-height: 70px; }
    .site-header .navbar-collapse {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--navy);
        padding: 10px 20px 25px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .15);
    }
    .site-header .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }
    .site-header .dropdown-toggle { display: flex; justify-content: space-between; align-items: center; }
    .site-header .dropdown-menu {
        background: transparent;
        box-shadow: none;
        padding: 5px 0 10px;
        min-width: 0;
    }
    .site-header .dropdown-item { color: rgba(255, 255, 255, .7); padding: 6px 15px; }
    .site-header .dropdown-item:hover { color: #fff; }
    .site-header .header-btn { margin-top: 20px; }
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--navy);
    background-image: url(../images/demo-branding-agency-pattern.svg);
    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    padding: 70px 0 0;
    border-top: 4px solid var(--base-color);
}
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover,
.site-footer a:focus-visible { color: #fff; }

.footer-main { margin: 0 0 45px; }

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
}
.footer-logo img { display: block; max-height: 46px; width: auto; }
.footer-about { max-width: 360px; margin-bottom: 22px; }

.footer-title {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
}
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--base-color);
}

.footer-links { margin: 0; }
.footer-links li { margin-bottom: 10px; line-height: 1.5; }
.footer-links a {
    position: relative;
    display: inline-block;
    padding-left: 16px;
}
.footer-links a::before {
    content: "\f105";
    position: absolute;
    left: 0;
    top: 1px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--base-color);
    transition: transform .2s ease;
}
.footer-links a:hover::before { transform: translateX(3px); }

.footer-contact-list { margin: 0; }
.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    line-height: 1.6;
}
.footer-contact-list i {
    flex: 0 0 18px;
    margin-top: 5px;
    color: var(--base-color);
    font-size: 14px;
    text-align: center;
}
.footer-contact-list address { margin: 0; font-style: normal; }
.footer-contact-list a { color: #fff; font-weight: 400; word-break: break-word; }

.footer-social { display: flex; gap: 10px; margin: 0; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
}
.footer-social a:hover,
.footer-social a:focus-visible { background: var(--base-color); border-color: var(--base-color); color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }

@media (max-width: 991px) {
    .site-footer { padding-top: 55px; }
}
@media (max-width: 767px) {
    .site-footer { padding-top: 45px; font-size: 14px; }
    .footer-main { margin-bottom: 30px; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        /* keep the floating buttons from covering the copyright line */
        padding-bottom: 140px;
    }
}

/* ---------- Home: stats strip spacing (was the theme's default section padding) ---------- */
.trust-strip-section { padding-top: 110px; }
@media (max-width: 1600px) { .trust-strip-section { padding-top: 75px; } }
@media (max-width: 767px)  { .trust-strip-section { padding-top: 50px; } }
