/* =========================================
   CORE THEME VARIABLES
   ========================================= */
:root {
    /* brand palette */
    --ink: #0f2238;
    --muted: #6b7b8f;
    --line: #e8edf3;
    --bg: #ffffff;
    --bg-soft: #f7f9fc;
    --primary: #0d6efd;
    --accent: #ff5b2e;
    /* orange accent as in screenshot */
    --grad-1: #6a66ff;
    --grad-2: #8e3cff;
    --accent: #ff5b2e;
    --line: #e8edf3;
    --r: 16px;
    --shadow-lg: 0 12px 30px rgba(15, 34, 56, .15);
    --shadow-xl: 0 25px 60px rgba(15, 34, 56, .18);

    /* radii & shadows */
    --r: 16px;
    --shadow-lg: 0 12px 30px rgba(15, 34, 56, .15);
    --shadow-xl: 0 25px 60px rgba(15, 34, 56, .18);

    /* spacing helpers */
    --section-y: 72px;
}

.blog_button {
    margin-bottom: 15px;
    margin-left: 10px;
}

html,
body {
    font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    scroll-behavior: smooth;
}

a {
    color: var(--primary);
    text-decoration: none
}

a:hover {
    opacity: .9
}

/* Position submenu on desktop */
.dropdown-submenu {
    position: relative
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
}

/* In offcanvas or mobile, let submenu stack below */
@media (max-width: 991.98px) {
    .dropdown-submenu>.dropdown-menu {
        left: 0;
        margin-left: 0;
    }
}


img {
    max-width: 100%;
    height: auto
}

.heading {
    font-size: 29px;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 0
}

.btn-accent:hover {
    filter: brightness(.95);
    color: #fff
}

/* Topbar */
.topbar {
    background: #0b2033;
    color: #fff
}

/* Navbar */
.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
}

.navbar-brand img {
    filter: hue-rotate(320deg)
}

.nav-link {
    font-weight: 500
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
    color: var(--accent)
}

/* Hero */
.hero {
    min-height: 620px;
    display: flex;
    align-items: center
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55);
}

.hero .container {
    position: relative
}

.hero .card {
    border: 0;
    border-radius: var(--r);
    box-shadow: var(--shadow-xl)
}

.hero-form {
    transform: translateY(24px)
}

.text-accent {
    color: var(--accent)
}

/* Sections */
.py-6 {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y)
}

.bg-soft {
    background: var(--bg-soft)
}

.eyebrow {
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--muted)
}

/* Services */
.card.service {
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg)
}

.card.service .service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    color: #8a3a14;
    font-size: 24px;
    margin-bottom: 12px;
}

/* btn-hover */
.hover-c:hover {
    background: var(--primary);
}

/* Strategy pills */
.pill {
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 40px;
    padding: 10px 18px;
    font-weight: 700;
    box-shadow: var(--shadow-lg)
}

.pill span {
    font-weight: 600;
    color: var(--muted);
    margin-left: 6px
}

/* Growth CTA */
.box_gro {
    padding: 34px;
    background-size: cover;
    padding: 79px 7px;
    border-radius: 31px;
}

.growth-cta .btn {
    box-shadow: var(--shadow-lg)
}

/* Testimonial */
.testimonial {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg)
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%
}





/* blog */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-date {
    position: absolute;
    bottom: -16px;
    left: 16px;
    background: #5a3dff;
    color: #fff;
    font-size: .85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
}

.blog-body {
    padding: 32px 16px 16px;
    flex: 1;
}

.blog-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-title a {
    color: #0b2033;
    text-decoration: none;
}

.blog-title a:hover {
    color: #5a3dff;
}

.blog-text {
    font-size: .95rem;
    color: #6c757d;
    margin-bottom: 0;
}

.blog-footer {
    padding: 12px 16px 16px;
    border-top: 1px solid #eee;
    font-size: 21px;
    color: #6c757d;
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: visible;

}

.blog-date {
    position: absolute;
    bottom: -16px;

    left: 16px;
    background: #5a3dff;
    color: #fff;
    font-size: .85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
    z-index: 5;
    /* ensure  */
}





.post-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block
}


/* Utilities */
.shadow-xl {
    box-shadow: var(--shadow-xl) !important
}

.opacity-90 {
    opacity: .9
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 10px
    }

    .hero-form {
        transform: none;
        margin-top: 18px
    }
}



/* Project cards */
.project-card {
    position: relative;
    display: block;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .6, .2, 1), filter .3s;
}

.project-card:hover img {
    transform: scale(1.06);
    filter: brightness(.95);
}

/* Hover text box */
.project-info {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(18px);
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Elements inside the box */
.tag {
    background: linear-gradient(135deg, #e0f8f1, #c5f6eb);
    color: #0aa57a;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: .8rem;
    white-space: nowrap;
}

.project-title {
    font-weight: 700;
    flex: 1
}

.project-arrow {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fff;
}

/* Mobile tweak */
@media (max-width: 991.98px) {
    .project-card img {
        height: 240px
    }
}

.myWorkSwiper {
    padding-bottom: 8px
}

.swiper-slide {
    height: auto
}


.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.project-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.project-info .tag {
    font-size: .8rem;
    opacity: .9;
}

.project-title {
    grid-column: 1 / span 1;
    margin: 0;
    font-weight: 600;
}

.project-arrow {
    grid-column: 2 / span 1;
    font-size: 1.1rem;
    opacity: .9;
}

/* Nav buttons styling that fits the look */
.swiper-button-prev,
.swiper-button-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 16px;
    color: #0b2033;
    font-weight: 700;
}

/* Responsive image height tweaks */
@media (max-width: 991.98px) {
    .project-card img {
        height: 220px
    }
}

@media (max-width: 575.98px) {
    .project-card img {
        height: 200px
    }
}

@media (max-width: 768px) {
    .form-shell {
        margin-bottom: 30px;
    }

    section#services {
        padding-top: 20px;
    }

    section#about {
        padding-bottom: 0;
    }

    section#second {
        padding-top: 0;
        padding-bottom: 0;
    }

    section#testimonials {
        padding-top: 0;
    }

    section.py-6.seo {
        padding-bottom: 0;
    }

    section#ecommerce {
        padding-bottom: 0;
    }

    section#ppc {
        padding-bottom: 0;
    }
}




/* footer */

.site-footer {
    background: var(--ink);
    color: #fff;
}

.pt-6 {
    padding-top: 4rem
}

.pb-4 {
    padding-bottom: 2rem
}

.ft-title {
    font-weight: 700;
    margin-bottom: .75rem;
}

.ft-text {
    color: rgba(255, 255, 255, .85)
}

.ft-link {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.ft-link:hover {
    color: #fff
}

.ft-sep {
    border-color: rgba(255, 255, 255, .15)
}

/* Newsletter compact */
.newsletter .form-control {
    height: 40px;
    font-size: .9rem;
    box-shadow: none;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 0;
    /* height: 40px; */
    font-size: .9rem;
}

.btn-accent:hover {
    background: #e14c20;
}

/* Social icons */
.social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.social:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: #fff;
}

.logo-f {
    border-radius: var(--bs-border-radius) !important;
    width: 150px;
    background: white;
    padding: 5px;
}

.blog_img img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
}
