/* ---- Hero Section ---- */
/* The hero image overlay tint — controls darkness of the hero background */
.hero-overlay {
    position: relative;
}

.hero-overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust the last value (0.35) to control tint:
       0.20 = very light | 0.35 = current | 0.55 = darker | 0.70 = very dark */
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-overlay > .container {
    position: relative;
    z-index: 2;
}

/* ---- Quote Strip (between sections) ---- */
.quote-strip {
    background-color: var(--base-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.quote-strip h3 {
    font-family: var(--alt-font);
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ---- Practice Area Cards (home page preview grid) ---- */
.practice-area-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    cursor: pointer;
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

.practice-area-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.practice-area-card h6 {
    min-height: 70px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px !important;
}

.practice-area-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px) scale(1.05);
    z-index: 5;
}

.practice-area-card h4 {
    color: var(--base-color);
    font-family: var(--alt-font);
    margin-bottom: 1rem;
}

/* ---- Industries Section ---- */
.industry-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.industry-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--silver);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.industry-card i {
    transition: color 0.3s ease;
    opacity: 0.75;
}

.industry-card:hover i {
    transform: none;
    opacity: 1;
    color: var(--white) !important;
}

.industry-card p {
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 12px;
    opacity: 0.85;
}

/* ---- Responsive: Home Hero on Mobile ---- */
@media (max-width: 767px) {
    /* Hero section height */
    .full-screen {
        height: 100vh !important;
        min-height: 560px !important;
    }

    .swiper-slide.cover-background.hero-overlay {
        background-position: 70% center !important; /* Shifted to the right */
        background-size: cover !important;         
    }

    /* Container padding */
    .swiper-slide .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

  
    .alt-font.fs-65 {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* Paragraph — animation visibility */
    .fs-22, p.fs-22, .swiper-slide [data-anime].fs-22, .swiper-slide-active [data-anime].fs-22 {
        width: 100% !important;
        margin-bottom: 25px !important;
        opacity: 1 !important;       /* Force visible — JS anime may leave opacity:0 on mobile */
        transform: none !important;  /* Reset any translateY from animation */
        display: block !important;
        visibility: visible !important;
    }

    /* Reduce top padding on mobile so content isn't pushed offscreen */
    .col-md-9.position-relative.text-white.pt-80px {
        padding-top: 100px !important;
    }

    /* Force visibility on animated swiper components on mobile */
    .swiper-slide [data-anime],
    .swiper-slide [data-fancy-text],
    .swiper-slide-active [data-anime],
    .swiper-slide-active [data-fancy-text],
    .hero-overlay p.fs-22,
    .swiper-slide p.fs-22,
    .swiper-slide .fs-22 {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
    }

    /* Paragraph display override */
    .hero-overlay p.fs-22,
    .swiper-slide p.fs-22,
    .swiper-slide .fs-22 {
        display: block !important;
    }

    /* Keep inline/fancy text elements inline-block so <br> doesn't double-space */
    .swiper-slide [data-fancy-text],
    .swiper-slide-active [data-fancy-text] {
        display: inline-block !important;
    }

    /* Remove desktop width constraints */
    .w-90,
    .w-70,
    .lg-w-80 {
        width: 100% !important;
    }

    /* CTA button */
    .icon-reveal-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

/* ---- Fluid Hero Typography (replaces all breakpoint-based font overrides) ---- */

.hero-title {
    font-family: var(--alt-font);
    font-size: 64px !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    letter-spacing: -2px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

@media(max-width:1440px){
    .hero-title {
        font-size: 54px !important;
    }
}

@media(max-width:1200px){
    .hero-title {
        font-size: 48px !important;
    }
}

@media(max-width:991px){
    .hero-title {
        font-size: 42px !important;
    }
}

@media(max-width:767px){
    .hero-title {
        font-size: 34px !important;
        letter-spacing: -1px !important;
    }
    .hero-subtitle {
        width: 100% !important;
        font-size: 16px !important;
    }
}

@media(max-width:575px){
    .hero-title {
        font-size: 32px !important;
        letter-spacing: -0.5px !important;
    }
}


.hero-subtitle {
    font-family: var(--primary-font);
    font-size: clamp(16px, 1.3vw, 22px) !important;
    line-height: 1.55 !important;
    margin-bottom: 35px !important;
    width: 80% !important;
    color: #ffffff !important;
}



.navbar-brand {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.navbar-brand img {
    display: block;
}

/* Force mobile header background */
@media (max-width: 991px) {
    header,
    header nav.navbar,
    header .navbar,
    header .navbar > .container-fluid,
    header .navbar .container-fluid {
        background-color: #05040c !important;
        background:
            radial-gradient(ellipse 70% 80% at 0% 100%,
                rgba(8, 6, 22, 0.95) 0%,
                transparent 65%),
            radial-gradient(ellipse 50% 60% at 100% 0%,
                rgba(15, 22, 55, 0.70) 0%,
                transparent 55%),
            linear-gradient(135deg,
                rgba(5, 4, 12, 0.97) 0%,
                rgba(8, 6, 20, 0.90) 20%,
                rgba(12, 10, 30, 0.75) 40%,
                rgba(16, 14, 38, 0.55) 60%,
                rgba(10, 14, 30, 0.80) 85%,
                rgba(5, 6, 16, 0.95) 100%),
            var(--base-color) !important;
    }

    header .navbar .navbar-toggler-line {
        background-color: #ffffff !important; /* White hamburger toggler lines */
    }

    /* Fix About section image alignment on mobile and tablets */
    #about .ms-auto {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

        /* Mobile-specific hero background overlay tint */
    .hero-overlay:before {
        background-color: rgba(0, 0, 0, 0.45) !important; /* Adjust 0.45 to change mobile darkness */
    }

}

.home-insight-card{
    height:100%;
    border-radius:8px;
    overflow:hidden;
    box-shadow:var(--box-shadow-quadruple-large);
}

.home-insight-card img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.home-insight-card .card-body{
    padding:30px;
    display:flex;
    flex-direction:column;
}

.home-insight-card .card-title{
    font-size:20px;
    font-weight:500;
}

.home-insight-card .author{
    margin-top:auto;
}

