/* Premium About Area */
.premium-about-area {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    position: relative;
    overflow: hidden;
}

/* Background Abstract Shapes */
.premium-about-area::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(7, 35, 47,0.05) 0%, rgba(7, 35, 47,0) 70%);
    border-radius: 50%;
}
.premium-about-area::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(7, 35, 47,0.08) 0%, rgba(7, 35, 47,0) 70%);
    border-radius: 50%;
}

/* Image Styling */
.premium-about-image {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.premium-about-image img {
    border-radius: 20px;
    width: 100%;
    display: block;
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #07232F;
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(7, 35, 47,0.4);
    text-align: center;
    border: 5px solid #fff;
    animation: float 6s ease-in-out infinite;
}
.premium-badge h3 {
    color: white;
    font-size: 40px;
    margin-bottom: 5px;
    font-weight: 800;
}
.premium-badge p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Text Content Styling */
.premium-about-text {
    padding-left: 50px;
    position: relative;
    z-index: 1;
}
.premium-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(7, 35, 47,0.1);
    color: #07232F;
    font-weight: 700;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.premium-about-text h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 25px;
}
.premium-about-text h2 span {
    color: #07232F;
}
.premium-about-text p.lead {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Checklist Grid */
.premium-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.premium-check-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #07232F;
}
.premium-check-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(7, 35, 47,0.15);
}
.premium-check-item i {
    color: #07232F;
    font-size: 24px;
    margin-right: 15px;
}
.premium-check-item span {
    font-weight: 600;
    color: #2d2d2d;
    font-size: 15px;
}

/* Button */
.premium-btn {
    display: inline-block;
    background: #07232F;
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(7, 35, 47,0.3);
}
.premium-btn:hover {
    background: #04161e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(7, 35, 47,0.4);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .premium-about-text {
        padding-left: 0;
        margin-top: 60px;
    }
    .premium-badge {
        right: 20px;
        bottom: -20px;
        padding: 20px;
    }
    .premium-badge h3 { font-size: 30px; }
}
@media (max-width: 767px) {
    .premium-about-area { padding: 80px 0; }
    .premium-about-text h2 { font-size: 32px; }
    .premium-checklist { grid-template-columns: 1fr; }
    .premium-badge {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: -30px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        z-index: 2;
    }
}
/* Center Alignment Override */
.premium-about-text {
    text-align: center;
}
.premium-about-text .premium-subtitle {
    margin: 0 auto 20px auto;
}
.premium-checklist {
    text-align: left; /* Keep checklist items left aligned internally, but maybe center the grid? */
}

/* Premium Section Title (For Services, etc) */
.premium-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.premium-section-title .premium-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(7, 35, 47,0.1);
    color: #07232F;
    font-weight: 700;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.premium-section-title h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 15px;
}
.premium-section-title h2 span {
    color: #07232F;
    font-size: inherit;
}
@media (max-width: 991px) {
    .premium-section-title h2 {
        font-size: 26px;
    }
}
@media (max-width: 767px) {
    .premium-section-title h2 {
        font-size: 22px;
        line-height: 1.35;
    }
}
/* Premium Fun Facts Area */
.premium-funfacts-area {
    padding: 30px 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
}
.premium-funfacts-area .fun-facts-shape img {
    display: none;
}
.premium-funfacts-area .fun-facts-shape::after {
    content: '';
    display: block;
    width: 15px;
    height: 55px;
    background-color: #07232F;
    border-radius: 10px;
    box-shadow: 25px 0 0 #07232F;
}
.premium-funfacts-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.premium-funfacts-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(7, 35, 47,0.05) 0%, rgba(7, 35, 47,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.premium-funfacts-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 35, 47,0.15);
    border-bottom: 4px solid #07232F;
}
.premium-funfacts-card:hover::before {
    opacity: 1;
}
.premium-funfacts-card i {
    font-size: 50px;
    color: #07232F;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}
.premium-funfacts-card:hover i {
    transform: scale(1.1) rotate(5deg);
}
.premium-funfacts-card h3 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
}
.premium-funfacts-card p {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile: 2 stats cards per row (compact 2x2 grid) */
@media (max-width: 575.98px) {
    .premium-funfacts-area .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    .premium-funfacts-area .row > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding-left: 8px;
        padding-right: 8px;
    }
    .premium-funfacts-card {
        padding: 22px 10px 18px;
        margin-bottom: 16px;
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    }
    .premium-funfacts-card i {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .premium-funfacts-card h3 {
        font-size: 22px;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    .premium-funfacts-card p {
        font-size: 11px;
        letter-spacing: 0.4px;
        line-height: 1.35;
    }
    .premium-funfacts-card:hover {
        transform: translateY(-4px);
    }
}

/* Premium Portrait Video */
.premium-portrait-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/16;
    max-width: 320px;
    margin: 50px auto 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: #000;
    transform: translateZ(0);
}
.premium-portrait-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
/* Premium Choose Cards */
.premium-choose-area {
    background-color: #f9f9f9;
}
.premium-choose-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 25px 25px 85px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}
.premium-choose-card:hover {
    box-shadow: 0 15px 40px rgba(7, 35, 47,0.1);
    transform: translateX(5px);
    border-left: 4px solid #07232F;
}
.premium-choose-card i {
    position: absolute;
    left: 25px;
    top: 30px;
    font-size: 40px;
    color: #07232F;
    transition: transform 0.3s ease;
}
.premium-choose-card:hover i {
    transform: scale(1.1) rotate(5deg);
}
.premium-choose-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.premium-choose-card p {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}
/* Premium Case Study Area */
.premium-case-study-area {
    background-color: #ffffff;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}
.premium-case-study-area .testimonials-slider-item {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    margin: 15px 5px;
    display: flex;
    flex-wrap: wrap;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}
.premium-case-study-area .testimonials-slider-item:hover {
    box-shadow: 0 20px 50px rgba(7, 35, 47,0.12);
    transform: translateY(-5px);
}
.premium-case-study-area .testimonials-img {
    flex: 0 0 45%;
    max-width: 45%;
}
.premium-case-study-area .testimonials-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}
.premium-case-study-area .img-text {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-radius: 0 20px 20px 0;
}
.premium-case-study-area .img-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
}
.premium-case-study-area .img-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}
.premium-case-study-area .img-text a {
    color: #07232F;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.premium-case-study-area .img-text a:hover {
    color: #04161e;
    transform: translateX(5px);
}
.premium-case-study-area .owl-nav {
    text-align: center;
    margin-top: 30px;
}
.premium-case-study-area .owl-nav button {
    background: #ffffff !important;
    color: #07232F !important;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 10px;
    transition: all 0.3s ease !important;
    font-size: 20px !important;
}
.premium-case-study-area .owl-nav button:hover {
    background: #07232F !important;
    color: #ffffff !important;
}
@media only screen and (max-width: 767px) {
    .premium-case-study-area .testimonials-img,
    .premium-case-study-area .img-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .premium-case-study-area .testimonials-img img {
        border-radius: 20px 20px 0 0;
        height: 250px;
    }
    .premium-case-study-area .img-text {
        border-radius: 0 0 20px 20px;
        padding: 20px;
    }
}
/* Premium Testimonials Area */
.premium-testimonials-area {
    background-color: #fcfcfc;
    padding: 70px 0;
}
.premium-feedback-card {
    position: relative;
    margin: 15px 15px 40px 15px;
}
.premium-feedback-card .testimonials-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.premium-feedback-card .testimonials-img img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.premium-feedback-card:hover .testimonials-img img {
    transform: scale(1.05);
}
.premium-feedback-card .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 30px 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    width: 100%;
}
.premium-feedback-card .caption-text h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 700;
}
.premium-feedback-card .caption-text p {
    color: #eee;
    margin: 0;
    font-size: 14px;
}
.premium-feedback-card .img-text {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    width: 75%;
    border-bottom: 4px solid #07232F;
    transition: all 0.3s ease;
    z-index: 2;
}
.premium-feedback-card:hover .img-text {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(7, 35, 47,0.15);
}
.premium-feedback-card .img-text p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}
.premium-feedback-card .rating i {
    color: #f7a81b;
    font-size: 18px;
}
.premium-testimonials-area .owl-nav {
    text-align: center;
    margin-top: 40px;
}
.premium-testimonials-area .owl-nav button {
    background: #ffffff !important;
    color: #07232F !important;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 10px;
    transition: all 0.3s ease !important;
    font-size: 20px !important;
}
.premium-testimonials-area .owl-nav button:hover {
    background: #07232F !important;
    color: #ffffff !important;
}
@media only screen and (max-width: 767px) {
    .premium-feedback-card .img-text {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: -20px;
        border-radius: 0 0 15px 15px;
    }
    .premium-feedback-card .caption {
        padding-bottom: 50px;
    }
}
/* Premium Attorney Area */
.premium-attorney-area {
    background-color: #ffffff;
    padding: 70px 0 40px 0;
}
.premium-attorney-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.premium-attorney-card:hover {
    box-shadow: 0 20px 40px rgba(7, 35, 47,0.15);
    transform: translateY(-10px);
}
.premium-attorney-card .img-wrapper {
    overflow: hidden;
}
.premium-attorney-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px 20px 0 0;
    transition: transform 0.5s ease;
}
.premium-attorney-card:hover img {
    transform: scale(1.05);
}
.premium-attorney-card .attorney-card-text {
    padding: 30px 20px;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 2;
}
.premium-attorney-card .attorney-card-text h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
}
.premium-attorney-card .attorney-card-text h3 a {
    color: #1a1a1a;
    transition: all 0.3s ease;
    text-decoration: none;
}
.premium-attorney-card .attorney-card-text h3 a:hover {
    color: #07232F;
}
.premium-attorney-card .attorney-card-text p {
    color: #07232F;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}
.premium-attorney-card .attorney-card-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.premium-attorney-card .attorney-card-text ul li {
    display: inline-block;
    margin: 0 5px;
}
.premium-attorney-card .attorney-card-text ul li a {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #fcfcfc;
    color: #07232F;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(7, 35, 47,0.1);
}
.premium-attorney-card .attorney-card-text ul li a:hover {
    background: #07232F;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(7, 35, 47,0.2);
}
/* Premium Partner Area */
.premium-partner-area {
    background-color: #fcfcfc;
    padding: 70px 0;
    border-top: 1px solid #f0f0f0;
}
.premium-partner-slider-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    margin: 15px;
}
.premium-partner-slider-item img {
    max-width: 140px !important;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}
.premium-partner-slider-item:hover {
    box-shadow: 0 10px 30px rgba(7, 35, 47,0.1);
    transform: translateY(-5px);
    border-color: rgba(7, 35, 47,0.5);
}
.premium-partner-slider-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
/* Premium Blog Area */
.premium-blog-area {
    background-color: #fcfcfc;
    padding: 70px 0 40px 0;
}
.premium-blog-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.premium-blog-card:hover {
    box-shadow: 0 20px 40px rgba(7, 35, 47,0.15);
    transform: translateY(-10px);
}
.premium-blog-card .img-wrapper {
    overflow: hidden;
}
.premium-blog-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform 0.5s ease;
}
.premium-blog-card:hover img {
    transform: scale(1.05);
}
.premium-blog-card .blog-card-text {
    padding: 30px 25px;
    background: #ffffff;
    position: relative;
    z-index: 2;
}
.premium-blog-card .blog-card-text h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}
.premium-blog-card .blog-card-text h3 a {
    color: #1a1a1a;
    transition: all 0.3s ease;
    text-decoration: none;
}
.premium-blog-card .blog-card-text h3 a:hover {
    color: #07232F;
}
.premium-blog-card .blog-card-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
.premium-blog-card .blog-card-text ul li {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}
.premium-blog-card .blog-card-text ul li i {
    color: #07232F;
    font-size: 16px;
}
.premium-blog-card .blog-card-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.premium-blog-card .blog-card-text .read-more {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #07232F;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
.premium-blog-card .blog-card-text .read-more i {
    margin-left: 5px;
    font-size: 18px;
    transition: transform 0.3s ease;
}
.premium-blog-card .blog-card-text .read-more:hover i {
    transform: translateX(5px);
}
/*================================================
New Premium Hero Area
=================================================*/
/*================================================
/* =================================================
Full-Width Premium Hero Banner Area (Overlay Design)
================================================= */
.premium-hero-area.fullwidth-hero-banner {
    position: relative;
    width: 100%;
    /* Adapt height to landscape image aspect ratio (1024x571 ≈ 56%) while clamped */
    min-height: clamp(520px, 56vw, 720px);
    padding: 120px 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #07232F;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-banner-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-fullwidth-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Show full lawyer, aligned right-center so face is never cut */
    object-position: right 20% center !important;
    display: block;
}

/* Luxury Scrim Overlay: Soft translucent gradient allowing the rich library background and lawyer to shine */
.hero-banner-scrim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(7, 26, 36, 0.78) 0%,
        rgba(7, 26, 36, 0.65) 32%,
        rgba(7, 26, 36, 0.35) 55%,
        rgba(7, 26, 36, 0.10) 75%,
        rgba(7, 26, 36, 0.0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.theme-dark .hero-banner-scrim-overlay {
    background: linear-gradient(
        90deg,
        rgba(6, 13, 24, 0.82) 0%,
        rgba(6, 13, 24, 0.70) 32%,
        rgba(6, 13, 24, 0.38) 55%,
        rgba(6, 13, 24, 0.12) 75%,
        rgba(6, 13, 24, 0.0) 100%
    );
}

.hero-content-container {
    position: relative;
    z-index: 5;
}

.fullwidth-hero-banner .premium-hero-content {
    position: relative;
    z-index: 5;
}

.fullwidth-hero-banner .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.fullwidth-hero-banner .hero-badge .badge-dot,
.fullwidth-hero-banner .hero-badge .red-dot {
    width: 9px;
    height: 9px;
    background: #4da6ff;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.9);
}

.fullwidth-hero-banner .premium-hero-content h1,
.fullwidth-hero-banner .hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff !important;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.5px;
}

.fullwidth-hero-banner .premium-hero-content h1 .text-highlight,
.fullwidth-hero-banner .premium-hero-content h1 .text-red {
    color: #4da6ff !important;
    text-shadow: 0 0 30px rgba(77, 166, 255, 0.6);
}

.fullwidth-hero-banner .premium-hero-content p,
.fullwidth-hero-banner .hero-desc {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 26px;
    max-width: 540px;
    line-height: 1.65;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

/* Upgraded High-Conversion Hero Action Buttons */
.fullwidth-hero-banner .hero-btn-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.fullwidth-hero-banner .hero-btn-group .premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #2563eb;
    color: #ffffff !important;
    padding: 16px 38px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
    border: 2px solid #2563eb;
    text-decoration: none;
}
.fullwidth-hero-banner .hero-btn-group .premium-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.55);
}

.fullwidth-hero-banner .hero-btn-group .premium-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.45);
    padding: 16px 34px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}
.fullwidth-hero-banner .hero-btn-group .premium-outline-btn i {
    color: #25D366;
    font-size: 22px;
    transition: transform 0.25s ease;
}
.fullwidth-hero-banner .hero-btn-group .premium-outline-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #25D366;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}
.fullwidth-hero-banner .hero-btn-group .premium-outline-btn:hover i {
    transform: scale(1.18);
}

/* Stats Counter Row on Banner */
.fullwidth-hero-banner .hero-stats {
    display: flex;
    justify-content: space-between;
    max-width: 620px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 22px;
}

.fullwidth-hero-banner .hero-stat-item {
    text-align: center;
    position: relative;
    padding: 0 14px;
}
.fullwidth-hero-banner .hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 38px;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.fullwidth-hero-banner .hero-stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.fullwidth-hero-banner .hero-stat-item p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive - Tablet & Mobile */
@media only screen and (max-width: 991px) {
    .premium-hero-area.fullwidth-hero-banner {
        padding: 130px 20px 55px;
        min-height: clamp(480px, 70vw, 620px);
    }
    .fullwidth-hero-banner .premium-hero-content h1,
    .fullwidth-hero-banner .hero-title {
        font-size: 40px;
    }
    .fullwidth-hero-banner .premium-hero-content p,
    .fullwidth-hero-banner .hero-desc {
        font-size: 15.5px;
        margin-bottom: 22px;
    }
    .fullwidth-hero-banner .hero-btn-group {
        margin-bottom: 24px;
    }
    .fullwidth-hero-banner .hero-stats {
        flex-wrap: wrap;
        gap: 18px;
        justify-content: space-around;
    }
    .fullwidth-hero-banner .hero-stat-item:not(:last-child)::after {
        display: none;
    }
}

/* Mobile Screen: full viewport hero, content centered, sequential spacing */
@media only screen and (max-width: 767px) {
    .premium-hero-area.fullwidth-hero-banner {
        /* Enough top padding to clear fixed header, auto bottom */
        padding: 120px 16px 40px !important;
        min-height: 100svh;
        min-height: 100vh;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box;
    }
    /* Stronger overlay on mobile so text is always readable */
    .hero-banner-scrim-overlay {
        background: linear-gradient(
            180deg,
            rgba(7, 26, 36, 0.72) 0%,
            rgba(7, 26, 36, 0.80) 50%,
            rgba(7, 26, 36, 0.88) 100%
        ) !important;
    }
    .theme-dark .hero-banner-scrim-overlay {
        background: linear-gradient(
            180deg,
            rgba(6, 13, 24, 0.75) 0%,
            rgba(6, 13, 24, 0.85) 50%,
            rgba(6, 13, 24, 0.92) 100%
        ) !important;
    }
    /* On mobile show the lawyer's face centered */
    .hero-fullwidth-img {
        object-position: 65% center !important;
    }
    /* Center all content */
    .fullwidth-hero-banner .premium-hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    /* Sequential padding — badge */
    .fullwidth-hero-banner .hero-badge {
        font-size: 12.5px;
        padding: 6px 16px;
        margin: 0 auto 14px auto !important;
        display: inline-flex !important;
        justify-content: center !important;
    }
    /* Sequential padding — heading */
    .fullwidth-hero-banner .premium-hero-content h1,
    .fullwidth-hero-banner .hero-title {
        font-size: 30px !important;
        line-height: 1.2;
        margin-bottom: 12px !important;
        text-align: center !important;
        width: 100% !important;
    }
    /* Sequential padding — description */
    .fullwidth-hero-banner .premium-hero-content p,
    .fullwidth-hero-banner .hero-desc {
        font-size: 14.5px;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
        line-height: 1.6;
        text-align: center !important;
        max-width: 100% !important;
    }
    /* Sequential padding — buttons stacked */
    .fullwidth-hero-banner .hero-btn-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto 22px auto !important;
    }
    .fullwidth-hero-banner .hero-btn-group .premium-btn,
    .fullwidth-hero-banner .hero-btn-group .premium-outline-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 13px 18px !important;
        font-size: 14px !important;
        justify-content: center !important;
        display: inline-flex !important;
    }
    /* Sequential padding — stats grid */
    .fullwidth-hero-banner .hero-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 14px 10px !important;
        padding-top: 18px !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    .fullwidth-hero-banner .hero-stat-item {
        padding: 0 !important;
        text-align: center !important;
    }
    .fullwidth-hero-banner .hero-stat-item h3 {
        font-size: 22px !important;
        text-align: center !important;
    }
    .fullwidth-hero-banner .hero-stat-item p {
        font-size: 11px !important;
        text-align: center !important;
    }
}

/* Premium Testimonial Card */
.premium-testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    border: 1px solid #f9f9f9;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0.5;
    margin: 30px 0;
}

.owl-item.center .premium-testimonial-card {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(7, 35, 47, 0.15);
    border-color: transparent;
    z-index: 10;
}

.testi-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testi-avatar img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testi-info h3 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 700;
    color: #333;
}

.testi-info span {
    font-size: 13px;
    color: #777;
}

.testi-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testi-footer .rating i {
    color: #07232F;
    font-size: 16px;
}

.quote-watermark {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 80px;
    color: rgba(7, 35, 47, 0.05);
    z-index: 1;
    line-height: 1;
}

/* Custom Owl Dots for Testimonials */
.testimonials-slider.owl-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}
.testimonials-slider.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    display: inline-block;
}
.testimonials-slider.owl-carousel .owl-dots .owl-dot.active {
    width: 25px;
    border-radius: 5px;
    background: #07232F;
}

/* Mega Menu Styles */
.atorn-nav .navbar-nav .nav-item.position-static {
    position: static !important;
}

.mega-menu-wrapper {
    width: 900px !important;
    max-width: 95vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    margin-top: 20px !important;
    display: none;
}
.dropdown-menu.mega-menu-wrapper.show {
    display: block !important;
}

/* Force override any weird template styling on the mega menu nested elements */
ul.mega-menu-wrapper > li {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    float: none !important;
    display: block !important;
    padding: 0 !important;
    border: none !important;
}

ul.mega-menu-wrapper .mega-menu-content {
    padding: 40px !important;
    background: #fff !important;
    border-radius: 12px !important;
    width: 100% !important;
    display: block !important;
}

ul.mega-menu-wrapper .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    width: auto !important;
}

ul.mega-menu-wrapper .col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: block !important;
    float: none !important;
}

@media (max-width: 991px) {
    ul.mega-menu-wrapper .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Mobile meanmenu: Services mega submenu must be a clean vertical list */
    .mean-container .mean-nav ul.mega-menu-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
        position: static !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: #f8fafc !important;
        float: none !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper > li {
        width: 100% !important;
        float: none !important;
        display: block !important;
        padding: 0 !important;
        border: none !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper .mega-menu-content {
        padding: 8px 0 12px !important;
        background: transparent !important;
        border-radius: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper .mega-menu-header,
    .mean-container .mean-nav ul.mega-menu-wrapper .mega-menu-footer {
        display: none !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper .row.mega-menu-columns,
    .mean-container .mean-nav ul.mega-menu-wrapper .row {
        display: block !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper .col-lg-4 {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        float: none !important;
        display: block !important;
        position: relative !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper .mega-column-title {
        display: block !important;
        width: 100% !important;
        margin: 8px 0 4px !important;
        padding: 8px 20px 6px !important;
        border-bottom: 1px solid #e5e7eb !important;
        font-size: 12px !important;
        letter-spacing: 0.04em !important;
        color: #07232F !important;
        background: transparent !important;
    }

    /* Force nested service lists visible — meanmenu hides all nested ULs */
    .mean-container .mean-nav ul.mega-menu-wrapper ul.mega-list {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        float: none !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper ul.mega-list li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        float: none !important;
        position: relative !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper ul.mega-list li::before {
        display: none !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper ul.mega-list li a {
        display: block !important;
        width: 100% !important;
        float: none !important;
        padding: 10px 20px 10px 36px !important;
        color: #4b5563 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        background: #f8fafc !important;
        border-top: 1px solid #f0f3f8 !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mean-container .mean-nav ul.mega-menu-wrapper ul.mega-list li a:hover {
        color: #07232F !important;
        background: #f1f5f9 !important;
        transform: none !important;
    }

    /* Hide spurious + expanders meanmenu adds inside mega columns */
    .mean-container .mean-nav ul.mega-menu-wrapper a.mean-expand {
        display: none !important;
    }

    .theme-dark .mean-container .mean-nav ul.mega-menu-wrapper {
        background: #0a1628 !important;
    }

    .theme-dark .mean-container .mean-nav ul.mega-menu-wrapper .mega-column-title {
        color: #e5e7eb !important;
        border-bottom-color: #1a3a6e !important;
    }

    .theme-dark .mean-container .mean-nav ul.mega-menu-wrapper ul.mega-list li a {
        color: #8eb4e3 !important;
        background: #0a1628 !important;
        border-top-color: #1a3a6e !important;
    }

    .theme-dark .mean-container .mean-nav ul.mega-menu-wrapper ul.mega-list li a:hover {
        color: #4da6ff !important;
        background: #0d1e33 !important;
    }
}

.mega-menu-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.mega-menu-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.mega-column-title {
    font-size: 14px;
    font-weight: 700;
    color: #07232F;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid #07232F;
    padding-bottom: 5px;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mega-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.mega-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #07232F;
}

.mega-list li a {
    color: #555 !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0 !important;
}

.mega-list li a:hover {
    color: #07232F !important;
    transform: translateX(5px);
}

.mega-menu-footer {
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: 10px;
}

.mega-menu-footer span {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.mega-btn {
    background: #07232F;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mega-btn:hover {
    background: #1a1a1a;
    color: #fff !important;
}

/* Dark mode for mega menu */
.theme-dark .mega-menu-content {
    background: #0a1628;
}
.theme-dark .mega-menu-header {
    border-color: #1a3a6e;
}
.theme-dark .mega-menu-header h3 {
    color: #fff;
}
.theme-dark .mega-list li a {
    color: #8eb4e3 !important;
}
.theme-dark .mega-list li a:hover {
    color: #4da6ff !important;
}
.theme-dark .mega-menu-footer {
    border-color: #1a3a6e;
}
.theme-dark .mega-menu-footer span {
    color: #8eb4e3;
}

/* Tax Calculator Modal Styles */
.premium-calculator-modal {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
.premium-calculator-modal h1,
.premium-calculator-modal h2,
.premium-calculator-modal h3,
.premium-calculator-modal h4,
.premium-calculator-modal h5,
.premium-calculator-modal p,
.premium-calculator-modal span,
.premium-calculator-modal div,
.premium-calculator-modal input,
.premium-calculator-modal select,
.premium-calculator-modal label,
.premium-calculator-modal strong {
    font-family: inherit !important;
}

.premium-calculator-modal h2#calcAnnualTax {
    letter-spacing: -1px;
}

.premium-calculator-modal .modal-content {
    background-color: transparent;
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.premium-calculator-modal .calc-header {
    background: linear-gradient(135deg, #07232F 0%, #04161e 100%) !important;
    padding: 25px 30px !important;
}
.premium-calculator-modal .btn-close {
    background: none;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    border: none;
    color: white;
    text-shadow: none;
    opacity: 0.8;
    transition: 0.3s;
}
.premium-calculator-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}
.premium-calculator-modal .btn-close::before {
    content: '\00d7';
}

.premium-calculator-modal .form-control,
.premium-calculator-modal .form-select,
.premium-calculator-modal .input-group-text {
    border-color: #e2e8f0;
}

.premium-calculator-modal .form-control:focus, 
.premium-calculator-modal .form-select:focus {
    border-color: #07232F;
    box-shadow: 0 0 0 0.25rem rgba(7, 35, 47, 0.25);
}

.calc-summary-card {
    transition: all 0.3s ease;
    border-color: #f1f5f9 !important;
}
.calc-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(7, 35, 47, 0.12) !important;
    border-color: rgba(7, 35, 47, 0.2) !important;
}
.calc-summary-card .icon-box i {
    transition: transform 0.3s ease;
}
.calc-summary-card:hover .icon-box i {
    transform: scale(1.15);
}
.custom-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}
.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #07232F;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.custom-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #07232F;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: none;
}

/* Dark Mode Overrides for Calculator */
.theme-dark .calc-controls-panel {
    background-color: #0d1e33 !important;
    border-color: #1a3a6e !important;
}
.theme-dark .calc-results-panel {
    background-color: #0a1628 !important;
}
.theme-dark .calc-controls-panel .form-label,
.theme-dark .calc-controls-panel .text-muted,
.theme-dark .calc-results-panel .text-muted {
    color: #8eb4e3 !important;
}
.theme-dark .calc-controls-panel .form-control,
.theme-dark .calc-controls-panel .form-select,
.theme-dark .calc-controls-panel .input-group-text {
    background-color: #0a1628 !important;
    border-color: #1a3a6e !important;
    color: #e8edf3 !important;
}
.theme-dark .calc-summary-card {
    background-color: #0d1e33 !important;
    border-color: #1a3a6e !important;
}
.theme-dark .calc-summary-card strong {
    color: #fff !important;
}
.theme-dark .custom-range-slider {
    background: #1a3a6e;
}

@media (max-width: 768px) {
    .premium-calculator-modal .col-md-6 {
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }
    .theme-dark .premium-calculator-modal .col-md-6 {
        border-bottom: 1px solid #333;
    }
}

/* Tax Rates Modal Styles */
.custom-tax-tabs .nav-link {
    color: #64748b;
    border-radius: 8px;
    padding: 12px 20px;
    transition: all 0.3s;
    background: transparent;
    border: 1px solid transparent;
}
.custom-tax-tabs .nav-link:hover {
    color: #07232F;
    background: #edf3f6;
}
.custom-tax-tabs .nav-link.active {
    background-color: #07232F !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(7, 35, 47, 0.2);
}

.custom-premium-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding: 16px;
}
.custom-premium-table td {
    padding: 16px;
    vertical-align: middle;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}
.custom-premium-table tbody tr {
    transition: background 0.2s;
}
.custom-premium-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Dark Mode Overrides for Tax Rates */
.theme-dark .tax-rates-body {
    background-color: #0d1e33 !important;
}
.theme-dark .tax-rates-footer {
    background-color: #0a1628 !important;
    border-color: #1a3a6e !important;
}
.theme-dark .custom-tax-tabs {
    border-color: #1a3a6e !important;
}
.theme-dark .custom-tax-tabs .nav-link {
    color: #8eb4e3;
}
.theme-dark .custom-tax-tabs .nav-link:hover {
    color: #fff;
    background: #1a3a6e;
}
.theme-dark .custom-premium-table th {
    background-color: #0a1628;
    color: #8eb4e3;
    border-color: #1a3a6e;
}
.theme-dark .custom-premium-table td {
    color: #e2e8f0;
    border-color: #1a3a6e;
}
.theme-dark .custom-premium-table tbody tr:hover {
    background-color: #0f2845;
}
.theme-dark .custom-premium-table .badge {
    background-color: rgba(26, 74, 142, 0.3) !important;
    color: #6ab0ff !important;
}

@media (max-width: 768px) {
    .custom-premium-table td, 
    .custom-premium-table th {
        padding: 12px 8px;
        font-size: 13px;
    }
}

/* Quick Actions Area */
.quick-actions-area {
    position: relative;
    z-index: 10;
    margin-bottom: 0px;
    padding-top: 25px;
    padding-bottom: 0px;
}
.quick-action-card {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.quick-action-card:hover {
    transform: translateY(-5px);
}
.quick-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background-color: #07232F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(7, 35, 47, 0.2);
}
.quick-content {
    flex-grow: 1;
}
.quick-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif !important;
}
.quick-content p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.4;
}
.quick-arrow {
    font-size: 20px;
    color: #07232F;
    transition: transform 0.3s;
    margin-left: 15px;
}
.quick-action-card:hover .quick-arrow {
    transform: translateX(5px);
}

/* Card 1: Filer */
.card-filer {
    background: linear-gradient(135deg, rgba(237, 243, 246, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(7, 35, 47, 0.15);
    box-shadow: 0 10px 30px rgba(7, 35, 47, 0.05);
}
.card-filer:hover {
    box-shadow: 0 15px 35px rgba(7, 35, 47, 0.1);
    border-color: rgba(7, 35, 47, 0.3);
}

/* Card 2: Calc */
.card-calc {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.card-calc:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* Dark Mode Overrides for Quick Actions */
.theme-dark .card-filer,
.theme-dark .card-calc {
    background: #0d1e33;
    border-color: #1a3a6e;
}
.theme-dark .quick-content h3 {
    color: #fff;
}
.theme-dark .quick-content p {
    color: #94a3b8;
}
.theme-dark .card-filer:hover {
    border-color: rgba(26, 74, 142, 0.7);
    box-shadow: 0 10px 30px rgba(26, 74, 142, 0.2);
}
.theme-dark .card-calc:hover {
    border-color: #1a4a8e;
    box-shadow: 0 10px 30px rgba(26, 74, 142, 0.25);
}

@media (max-width: 767px) {
    .quick-actions-area {
        /* margin-top removed to inherit padding from global styles */
    }
    .quick-action-card {
        padding: 20px;
    }
    .quick-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-right: 15px;
    }
    .quick-content h3 {
        font-size: 18px;
    }
    .quick-content p {
        font-size: 13px;
    }
}

/* Dark Mode Fixes for Areas */
.theme-dark .premium-about-area,
.theme-dark .premium-right-way-area,
.theme-dark .premium-blog-area,
.theme-dark .contact-area-light,
.theme-dark .premium-choose-area,
.theme-dark .premium-funfacts-area {
    background: #060d18 !important;
}

.theme-dark .premium-about-text,
.theme-dark .premium-about-text .lead,
.theme-dark .premium-right-way-area .lead,
.theme-dark .contact-text p,
.theme-dark .premium-blog-area p,
.theme-dark .choose-text p {
    color: #94a3b8 !important;
}

.theme-dark .premium-section-title h2 {
    color: #fff !important;
}

.theme-dark .premium-choose-card,
.theme-dark .premium-blog-card,
.theme-dark .contact-card,
.theme-dark .contact-form,
.theme-dark .premium-check-item,
.theme-dark .premium-funfacts-card,
.theme-dark .service-card {
    background: #0d1e33 !important;
    border-color: #1a3a6e !important;
}

.theme-dark .premium-check-item span {
    color: #fff !important;
}

.theme-dark .premium-check-item i {
    color: #4da6ff !important;
}

.theme-dark .contact-form input,
.theme-dark .contact-form textarea {
    background: #222 !important;
    border-color: #444 !important;
    color: #fff !important;
}

.theme-dark .premium-choose-card p,
.theme-dark .premium-blog-card p,
.theme-dark .contact-card p,
.theme-dark .contact-card span,
.theme-dark .premium-funfacts-card p,
.theme-dark .service-card .service-text p {
    color: #94a3b8 !important;
}

.theme-dark .premium-choose-card h3,
.theme-dark .premium-blog-card h3 a,
.theme-dark .contact-card h3 a,
.theme-dark .contact-form .form-group i,
.theme-dark .premium-funfacts-card h3,
.theme-dark .service-card .service-text h3 a,
.theme-dark .service-card .service-text h3 {
    color: #fff !important;
}

.theme-dark .premium-choose-card:hover,
.theme-dark .premium-blog-card:hover {
    background: #0f2845 !important;
    border-color: rgba(26, 74, 142, 0.7) !important;
}

.theme-dark .premium-blog-card .blog-card-text,
.theme-dark .service-card .service-text {
    background: #0d1e33 !important;
}

.theme-dark .premium-blog-card .blog-card-text ul li {
    color: #cbd5e1 !important;
}

.theme-dark .contact-form input::placeholder,
.theme-dark .contact-form textarea::placeholder {
    color: #94a3b8 !important;
}

/* ================================================
   DARK MODE - ADDITIONAL NAVY BLUE THEME OVERRIDES
   ================================================ */

/* 2nd Image (About Section) - White image wrapper in dark mode */
.theme-dark .premium-about-image {
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
}

/* 3rd Image - Hero Shape Background → Blue (replace red with blue tones) */
.theme-dark .hero-shape-bg {
    background: linear-gradient(135deg, #0d2137 0%, #1a4a8e 100%);
    box-shadow: 0 30px 60px rgba(26, 74, 142, 0.3);
}

/* Replace Red Text with Blue in Dark Mode */
.theme-dark .text-red,
.theme-dark .premium-hero-content h1 .text-red {
    color: #4da6ff !important;
}

.theme-dark .red-dot {
    background: #4da6ff !important;
}

/* Service Images - Smaller height */
.mobile-service-card a img {
    aspect-ratio: 16/7 !important;
    max-height: 140px;
}

/* Funfacts Cards - Dark Blue Touch */
.theme-dark .premium-funfacts-card {
    background: #0d1e33 !important;
    border-bottom: 4px solid #1a4a8e !important;
    border-left: 1px solid rgba(26, 74, 142, 0.3) !important;
    border-right: 1px solid rgba(26, 74, 142, 0.3) !important;
    border-top: 1px solid rgba(26, 74, 142, 0.3) !important;
    box-shadow: 0 10px 30px rgba(26, 74, 142, 0.15) !important;
}

.theme-dark .premium-funfacts-card:hover {
    border-bottom-color: #4da6ff !important;
    box-shadow: 0 20px 45px rgba(26, 74, 142, 0.3) !important;
}

.theme-dark .premium-funfacts-card i {
    color: #4da6ff !important;
}

.theme-dark .premium-funfacts-card h3 {
    color: #ffffff !important;
}

/* Service Area Black Background in dark mode */
.theme-dark .service-area {
    background-color: #020810 !important;
}

/* Contact Form Dark Navy Inputs */
.theme-dark .contact-form input,
.theme-dark .contact-form textarea,
.theme-dark .contact-form select {
    background: #0a1628 !important;
    border-color: #1a3a6e !important;
    color: #e8edf3 !important;
}

/* Premium About Area section header and subtitle in dark mode */
.theme-dark .premium-about-area .premium-section-title h2,
.theme-dark .premium-about-area .premium-subtitle {
    color: #fff !important;
}

/* Dark mode - make check items use vibrant blue left border */
.theme-dark .premium-check-item {
    border-left: 4px solid #2563eb !important;
    background: #0d1e33 !important;
}

/* Form control dark navy */
.theme-dark .form-control,
.theme-dark .form-select {
    background-color: #0a1628 !important;
    border-color: #1a3a6e !important;
    color: #e8edf3 !important;
}

/* Select option dark navy */
.theme-dark .nice-select,
.theme-dark .list {
    background-color: #0a1628 !important;
    border-color: #1a3a6e !important;
}

/* Custom tax tab active - blue instead of red */
.theme-dark .nav-pills .nav-link.active,
.theme-dark .nav-pills .show > .nav-link {
    background-color: #1a4a8e !important;
}
