/* ============================================================
   COSMOS SERVICES & SOLUTIONS — Modern UI layer (2026)
   ------------------------------------------------------------
   Ye file purani design (css/style.css) ke UPAR load hoti hai.
   Purani CSS ko chhua nahi gaya — sirf modern overrides yahan hain.
   Palette: Corporate Navy + Red accent
   ============================================================ */

:root {
    --navy-900: #071427;
    --navy-800: #0A1B33;
    --navy-700: #10294A;
    --navy-600: #16375F;
    --red-600: #E11D2E;
    --red-700: #B3121F;
    --red-050: #FDECEE;
    --ink: #111C2E;
    --muted: #5B6B80;
    --line: #E6EAF2;
    --bg: #F6F8FC;
    --surface: #FFFFFF;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 6px 18px rgba(10, 27, 51, .06);
    --shadow-md: 0 18px 50px rgba(10, 27, 51, .12);
    --ff-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --ff-head: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ---------- Base ---------- */
body {
    font-family: var(--ff-body);
    color: var(--muted);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-head);
    color: var(--navy-800);
    font-weight: 700;
    letter-spacing: -.02em;
}

p { color: var(--muted); }

a { color: var(--navy-700); }
a:hover, a:active, a:focus { color: var(--red-600); }

.container { max-width: 1200px; }

.img-thumbnail {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: var(--radius-sm);
}

.btn { border-radius: 12px; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    padding: 10px 0;
    background: var(--navy-800) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 30px rgba(7, 20, 39, .18);
}

.navbar .container-fluid {
    max-width: 1200px;
    padding: 0 20px;
}

.navbar .navbar-brand {
    margin: 0;
    line-height: 1;
}

.navbar .navbar-brand img {
    max-height: 52px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .30));
}

.navbar-dark .navbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 10px 16px !important;
    border-radius: 10px;
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: none;
    color: rgba(255, 255, 255, .82) !important;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link.active {
    background: var(--red-600);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(225, 29, 46, .35);
}

.navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 10px;
    padding: 6px 10px;
}

/* JS scroll class — jump na ho is liye sticky hi rakha */
.navbar.nav-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 10px 0;
    background: var(--navy-800) !important;
    box-shadow: 0 10px 30px rgba(7, 20, 39, .22);
}

/* Inner pages (purani CSS me .page .navbar ka purple colour tha) */
.page .navbar {
    position: sticky;
    top: 0;
    background: var(--navy-800) !important;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar .navbar-brand img {
        max-height: 44px;
    }

    .navbar-collapse {
        padding: 14px 0 6px;
    }

    .navbar-dark .navbar-nav {
        align-items: stretch;
        gap: 4px;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 14px !important;
    }
}

/* ---------- Hero carousel ---------- */
.carousel {
    position: relative;
    height: clamp(480px, 74vh, 720px);
    min-height: 0;
    margin-bottom: 0;
    background: var(--navy-900);
    overflow: hidden;
}

.carousel .container-fluid {
    max-width: 100%;
    padding: 0;
}

.carousel .owl-carousel,
.carousel .carousel-item {
    height: clamp(480px, 74vh, 720px);
}

.carousel .carousel-img,
.carousel .carousel-img img {
    height: 100%;
}

.carousel .carousel-img img {
    width: 100%;
    object-fit: cover;
}

.carousel .carousel-img::after {
    background: linear-gradient(90deg, rgba(7, 20, 39, .94) 0%, rgba(7, 20, 39, .68) 48%, rgba(7, 20, 39, .18) 100%);
}

.carousel .carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 780px;
    height: auto;
    padding: 0 24px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.carousel .carousel-text h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.03em;
    margin-bottom: 18px;
    text-align: center;
    text-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.carousel .carousel-text p {
    color: rgba(255, 255, 255, .82);
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 28px;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--red-600);
    border: 1px solid var(--red-600);
    color: #fff !important;
    font-family: var(--ff-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: 0 14px 30px rgba(225, 29, 46, .35);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.hero-btn:hover {
    background: var(--red-700);
    transform: translateY(-2px);
    color: #fff !important;
}

.hero-btn.ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .35);
    box-shadow: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero-btn.ghost:hover {
    background: rgba(255, 255, 255, .16);
}

.carousel .owl-nav {
    right: 24px;
    bottom: 24px;
    gap: 10px;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-size: 16px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: .2s;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
    background: var(--red-600);
    color: #fff;
}

/* ---------- Section header ---------- */
.section-header {
    margin-bottom: 44px;
    text-align: left;
}

.section-header p {
    margin: 0 0 10px;
    color: var(--red-600);
    font-family: var(--ff-head);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-header h2 {
    position: relative;
    margin: 0;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.14;
}

.section-header h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    top: auto;
    width: 56px;
    height: 4px;
    border: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--red-600), #ff7b84);
}

/* ---------- Section spacing ---------- */
.fact,
.about,
.service,
.feature,
.contact,
.single {
    padding: 76px 0;
}

.page .mt-125 {
    margin-top: 0 !important;
}

/* ---------- Fact / highlight cards ---------- */
.fact {
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.fact .row {
    row-gap: 24px;
}

.fact .fact-item {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 34px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fact .fact-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red-600), #ff8a93);
    opacity: 0;
    transition: opacity .25s ease;
}

.fact .fact-item:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.fact .fact-item:hover::before {
    opacity: 1;
}

.fact .fact-item img {
    width: 76px;
    height: 76px;
    max-height: none;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;
}

.fact .fact-item h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
}

/* ---------- About ---------- */
.about {
    background: #fff;
}

.about .section-header {
    margin-bottom: 34px;
}

.about .about-img {
    position: relative;
    overflow: visible;
    padding-bottom: 30px;
}

.about .about-img::after {
    display: none;
}

.about .about-img-1 {
    position: relative;
    margin: 0 76px 76px 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about .about-img-2 {
    position: absolute;
    top: 76px;
    left: 76px;
    border-radius: 22px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: var(--shadow-md);
}

.about .about-img-1 img,
.about .about-img-2 img {
    display: block;
    width: 100%;
    border-radius: 16px;
}

.about .about-text p {
    font-size: 16.5px;
    line-height: 1.85;
    text-align: left;
}

.about .about-text b {
    color: var(--navy-800);
}

.about .about-text ul {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.about .about-text ul li {
    position: relative;
    padding-left: 34px;
    color: var(--navy-700);
    font-weight: 500;
}

.about .about-text ul li::before {
    content: "\f00c";
    position: absolute;
    top: 2px;
    left: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--red-050);
    color: var(--red-600);
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    font-weight: 900;
}

/* ---------- Services ---------- */
.service {
    background: var(--bg);
}

.service .row {
    row-gap: 24px;
}

.service .service-item {
    height: 100%;
    margin: 0;
    padding: 0 0 28px;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service .service-item:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.service .service-item img,
.service .service-item img.img-thumbnail {
    width: 100%;
    height: 180px;
    max-height: none;
    object-fit: cover;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}

.service .service-item h3 {
    margin: 0 26px 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.service .service-item p {
    margin: 0 26px;
    font-size: 15px;
    line-height: 1.7;
}

.service .service-item a {
    margin: 0 26px;
    color: var(--red-600);
    font-weight: 600;
}

.service .service-item a::after {
    display: none;
}

/* ---------- Feature / counters ---------- */
.feature {
    background: #fff;
}

.feature .feature-img::after {
    display: none;
}

.feature .feature-img img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 440px;
    margin: 0;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.feature .counters {
    margin-top: 18px;
}

.feature .counters .col-6 {
    padding: 18px 12px;
}

.feature .counters i {
    padding: 6px 14px 0 0;
    color: var(--red-600);
    font-size: 24px;
}

.feature .counters h2 {
    color: var(--navy-800);
    font-size: 34px;
    font-weight: 800;
}

.feature .counters h2::after {
    color: var(--red-600);
}

.feature .counters p {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

/* ---------- Contact / tracking ---------- */
.contact {
    background: var(--bg);
}

.contact .contact-info,
.contact .contact-form {
    padding: 26px;
    margin-bottom: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.contact .contact-info:hover,
.contact .contact-form:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.contact .contact-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 16px;
    background: var(--red-050);
}

.contact .contact-icon i {
    color: var(--red-600);
    font-size: 18px;
}

.contact .contact-text h3 {
    margin: 0 0 4px;
    color: var(--navy-800);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.contact .contact-text p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
}

.contact .contact-form input,
.contact .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--ink);
    font-size: 15px;
    background: #F8FAFD;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact .contact-form textarea {
    height: 120px;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    background: #fff;
    border-color: var(--red-600);
    box-shadow: 0 0 0 4px rgba(225, 29, 46, .10);
    outline: none;
}

.contact .contact-form .control-group {
    margin-bottom: 16px;
}

.contact .contact-form .btn {
    padding: 14px 30px;
    color: #fff;
    font-family: var(--ff-head);
    font-weight: 700;
    letter-spacing: .2px;
    background: var(--red-600);
    border: 1px solid var(--red-600);
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(225, 29, 46, .28);
    transition: transform .2s ease, background .2s ease;
}

.contact .contact-form .btn:hover {
    background: var(--red-700);
    color: #fff;
    transform: translateY(-1px);
}

/* Tracking search box */
.track-box {
    display: flex;
    gap: 10px;
    max-width: 680px;
    margin: 0 0 30px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.track-box input[type="text"],
.track-box input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    color: var(--ink);
    font-size: 15px;
    background: transparent;
    border: 0;
    outline: none;
}

.track-box input[type="text"]::placeholder {
    color: #98A4B5;
}

.track-box input[type="submit"] {
    flex: 0 0 auto;
    padding: 12px 28px;
    color: #fff;
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 700;
    background: var(--red-600);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(225, 29, 46, .28);
    transition: background .2s ease, transform .2s ease;
}

.track-box input[type="submit"]:hover {
    background: var(--red-700);
    transform: translateY(-1px);
}

/* Tables (tracking + any public grid) */
.contact .table {
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.contact .table thead th {
    padding: 14px 16px;
    color: #fff;
    background: var(--navy-800);
    border: 0;
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: middle;
}

.contact .table tbody td {
    padding: 14px 16px;
    color: var(--navy-700);
    border-color: var(--line);
    font-size: 14.5px;
    vertical-align: middle;
}

.contact .table tbody tr:last-child td {
    border-bottom: 0;
}

.contact .table-striped tbody tr:nth-of-type(odd) {
    background: #FAFBFE;
}

.contact .table-hover tbody tr:hover {
    background: var(--red-050);
}

.contact .table a {
    color: var(--red-600);
    font-weight: 600;
}

.contact h5 {
    margin: 26px 0 12px;
    font-size: 18px;
    font-weight: 700;
}

.separator {
    padding: 6px 0;
    text-align: center;
    color: var(--red-600);
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 0;
    padding-top: 76px;
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    margin-bottom: 34px;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
    margin-bottom: 22px;
    padding-bottom: 0;
    color: #fff;
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer .footer-contact h2::after,
.footer .footer-link h2::after,
.footer .footer-newsletter h2::after {
    display: none;
}

.footer .footer-contact p {
    color: rgba(255, 255, 255, .72);
    font-size: 14.5px;
    line-height: 1.7;
}

.footer .footer-contact p i {
    width: 22px;
    color: var(--red-600);
}

.footer .footer-link a {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .70);
    font-size: 14.5px;
    transition: color .2s ease, transform .2s ease;
}

.footer .footer-link a::before {
    content: "\f054";
    margin-right: 9px;
    color: var(--red-600);
    font-size: 10px;
}

.footer .footer-link a:hover {
    color: #fff;
    letter-spacing: 0;
    transform: translateX(3px);
}

.footer .footer-social {
    margin-top: 22px;
}

.footer .footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    transition: background .2s ease, transform .2s ease;
}

.footer .footer-social a i {
    margin: 0;
    color: #fff;
    font-size: 15px;
}

.footer .footer-social a:hover {
    background: var(--red-600);
    transform: translateY(-3px);
}

.footer .footer-social a:hover i {
    color: #fff;
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer .copyright p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 13.5px;
}

.footer .copyright p a {
    color: #fff;
}

.footer .copyright p a:hover {
    color: #ff8a93;
}

/* ---------- Back to top ---------- */
.back-to-top {
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    background: var(--red-600);
    border-radius: 999px;
    line-height: 46px;
    box-shadow: 0 12px 26px rgba(225, 29, 46, .35);
    transition: background .2s ease, transform .2s ease;
}

.back-to-top i {
    padding: 0;
    color: #fff;
    font-size: 17px;
}

.back-to-top:hover {
    background: var(--red-700);
    transform: translateY(-2px);
}

.back-to-top:hover i {
    color: #fff;
}

/* ============================================================
   HOME PAGE 2026 — naya layout (carousel ke bagair)
   ============================================================ */

/* ---------- Brand lockup ---------- */
.navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    line-height: 1;
}

.brand-mark {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    color: #fff;
    font-size: 19px;
    box-shadow: 0 10px 22px rgba(225, 29, 46, .30);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-family: var(--ff-head);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #fff;
}

.brand-copy small {
    margin-top: 3px;
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .60);
}

.navbar-dark .navbar-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--red-600);
    color: #fff !important;
    font-family: var(--ff-head);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: 0 10px 22px rgba(225, 29, 46, .30);
    transition: background .2s ease, transform .2s ease;
}

.navbar-dark .navbar-nav .nav-cta:hover {
    background: var(--red-700);
    transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 84px 0 92px;
    overflow: hidden;
    background:
        radial-gradient(1100px 560px at 82% 8%, rgba(225, 29, 46, .20), transparent 60%),
        radial-gradient(900px 520px at 8% 92%, rgba(22, 55, 95, .60), transparent 60%),
        linear-gradient(135deg, #071427 0%, #0A1B33 55%, #10294A 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .90);
    font-family: var(--ff-head);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-badge i {
    color: #FF7B84;
}

.hero h1 {
    margin: 20px 0 18px;
    color: #fff;
    font-size: clamp(36px, 4.4vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.hero h1 span {
    color: #FF7B84;
    background: linear-gradient(90deg, #FF9AA2, #E11D2E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy p {
    max-width: 540px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .74);
    font-size: 16.5px;
    line-height: 1.75;
}

.hero-stats {
    display: flex;
    gap: 38px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-stats strong {
    display: block;
    color: #fff;
    font-family: var(--ff-head);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.hero-stats span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
}

.hero-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 26px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .45);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(7, 20, 39, .55) 100%);
}

.hero-float {
    position: absolute;
    left: -22px;
    bottom: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.hero-float--top {
    top: 24px;
    right: -18px;
    bottom: auto;
    left: auto;
}

.hero-float-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--red-050);
    color: var(--red-600);
    font-size: 16px;
}

.hero-float strong {
    display: block;
    color: var(--navy-800);
    font-family: var(--ff-head);
    font-size: 14.5px;
    line-height: 1.2;
}

.hero-float span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11.5px;
}

/* ---------- Feature icon cards ---------- */
.features {
    padding: 76px 0;
    background: var(--bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--red-050);
    color: var(--red-600);
    font-size: 20px;
}

.feature-card h3 {
    margin: 0 0 8px;
    color: var(--navy-800);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ---------- Services preview ---------- */
.services-preview {
    padding: 84px 0;
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
    color: inherit;
}

.service-photo {
    height: 150px;
    overflow: hidden;
}

.service-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.service-card:hover .service-photo img {
    transform: scale(1.06);
}

.service-body {
    padding: 20px 22px 24px;
}

.service-tag {
    display: inline-block;
    margin-bottom: 9px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--red-050);
    color: var(--red-600);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.service-body h3 {
    margin: 0 0 6px;
    color: var(--navy-800);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.service-body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* ---------- Stats band ---------- */
.stats-band {
    position: relative;
    padding: 52px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
}

.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 300px at 50% 0%, rgba(225, 29, 46, .22), transparent 70%);
    pointer-events: none;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-grid strong {
    display: block;
    color: #fff;
    font-family: var(--ff-head);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.stats-grid strong::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 99px;
    background: var(--red-600);
}

.stats-grid span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, .60);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .10em;
    text-transform: uppercase;
}

/* ---------- About (home) ---------- */
.about-home {
    padding: 88px 0;
    background: var(--bg);
}

.about-home .section-header {
    margin-bottom: 26px;
}

.about-media {
    position: relative;
    padding-bottom: 42px;
}

.about-photo {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.about-badge {
    position: absolute;
    right: 22px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 112px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-badge strong {
    color: var(--red-600);
    font-family: var(--ff-head);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.about-badge span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-home > .container > .row > div > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.about-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.about-list li {
    position: relative;
    padding-left: 32px;
    color: var(--navy-700);
    font-size: 14.5px;
    font-weight: 500;
}

.about-list li::before {
    content: "\f00c";
    position: absolute;
    top: 2px;
    left: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--red-050);
    color: var(--red-600);
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: 900;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red-600);
    font-family: var(--ff-head);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}

.link-btn:hover {
    gap: 14px;
    color: var(--red-700);
}

/* ---------- CTA band ---------- */
.cta-band {
    padding: 0 0 88px;
    background: var(--bg);
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 38px 42px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(100deg, rgba(7, 20, 39, .96) 0%, rgba(10, 27, 51, .88) 45%, rgba(10, 27, 51, .55) 100%),
        url('../img/customercare.jpg') center/cover no-repeat;
    box-shadow: var(--shadow-md);
}

.cta-inner::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 46, .40), transparent 70%);
    pointer-events: none;
}

.cta-inner h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -.03em;
}

.cta-inner p {
    margin: 0;
    color: rgba(255, 255, 255, .70);
    font-size: 14px;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Home responsive ---------- */
@media (max-width: 1199.98px) {
    .hero-grid {
        gap: 40px;
    }

    .feature-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 26px;
    }
}

@media (max-width: 991.98px) {
    .nav-cta {
        margin: 8px 0 0 !important;
        width: 100%;
    }

    .hero {
        padding: 56px 0 66px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 620px;
    }

    .hero-photo img {
        height: 360px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px 24px;
    }

    .about-home {
        padding: 64px 0;
    }

    .about-media {
        margin-bottom: 44px;
    }

    .about-photo {
        height: 360px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        font-size: 8.5px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 18px 26px;
    }

    .hero-visual {
        padding: 0;
    }

    .hero-photo img {
        height: 300px;
    }

    .hero-float {
        left: 12px;
        bottom: 14px;
        padding: 10px 14px;
    }

    .hero-float--top {
        top: 12px;
        right: 12px;
        bottom: auto;
        left: auto;
    }

    .hero-float-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        height: 280px;
    }

    .about-badge {
        right: 14px;
        width: 132px;
        height: 100px;
    }

    .cta-inner {
        padding: 28px 22px;
    }
}

/* ---------- Responsive (inner pages) ---------- */
@media (max-width: 991.98px) {
    .fact,
    .about,
    .service,
    .feature,
    .contact,
    .single {
        padding: 52px 0;
    }

    .about .about-img {
        margin-bottom: 60px;
        padding-bottom: 0;
    }

    .about .about-img-1 {
        margin: 0 15% 15% 0;
    }

    .about .about-img-2 {
        top: 15%;
        left: 15%;
    }

    .section-header {
        margin-bottom: 34px;
    }
}

@media (max-width: 767.98px) {
    .carousel,
    .carousel .owl-carousel,
    .carousel .carousel-item {
        height: 560px;
    }

    .carousel .carousel-text h1 {
        font-size: clamp(26px, 8vw, 38px);
    }

    .hero-btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .track-box {
        flex-direction: column;
    }

    .track-box input[type="submit"] {
        width: 100%;
    }

    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        text-align: center;
    }

    .about .about-img-1 {
        margin: 0 0 60px 0;
    }

    .about .about-img-2 {
        top: auto;
        bottom: 0;
        left: 25%;
        width: 55%;
    }
}
