* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 80px;
}

/* ===== NAVBAR ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s ease;
}

header.scrolled {
    background-color: #fff;
}

.navbar {
    padding: 0;
    /* background: #fff; */
}

.navbar .container-fluid{
    padding-right: 0;
}

.navbar .container-fluid>a {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
}

.navbar:has(.container-fluid .navbar-collapse.show) {
    background-color: #fff;
}

.navbar:has(.container-fluid .navbar-collapse.collapsing) {
    background-color: #fff;
}

.navbar .container-fluid .navbar-collapse.show a.nav-link.contact-button {
    margin-left: 0;
    max-width: 130px;
}

.navbar .container-fluid .navbar-collapse.collapsing a.nav-link.contact-button {
    margin-left: 0;
    max-width: 130px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .container-fluid>a span {
    color: #d62828;
}

.nav-link {
    font-size: clamp(14px, 1.1vw, 17px);
    color: #000;
    transition: 0.3s;
}

.nav-link:hover {
    color: #d62828;
    font-weight: 600;
}

.contact-button {
    background: #000;
    color: #fff !important;
    padding: 20px 24px !important;
    margin-left: 25px;
    font-size: clamp(14px, 1.1vw, 17px);
    /* border-radius: 5px; */
    transition: 0.3s ease;
}

.contact-button:hover {
    background: #d62828;
    text-wrap-mode: nowrap;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: url("./assets/hero_bg.png") no-repeat center/cover;
}

.container-fluid.hero-section {
    padding-top: 110px;
    min-height: 70vh;
}

.col.hero-column {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: calc(100vh - 450px);
}

/* HEADLINE */
h2.hero-heading {
    position: absolute;
    top: 2%;
    left: 6%;
    max-width: 40vw;
    font-size: clamp(2rem, 5vw, 80px);
    font-family: "Spectral", serif;
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    color: #000;
}

/* SCHEDULE BUTTON */
.Schedule-button {
    position: absolute;
    top: 34%;
    left: 16%;
    border: 1px solid #000;
    width: clamp(90px, 8vw, 130px);
    height: clamp(90px, 8vw, 130px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 500;
    cursor: pointer;
    transition: 0.4s ease;
}

.Schedule-button:hover {
    transform: translateY(-6px) scale(1.05);
    background: #d62828;
    color: #fff;
}

/* LEFT SMALL IMAGE */
.left-image-wrap {
    position: absolute;
    left: 14%;
    bottom: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-image-wrap .image-background {
    position: absolute;
    left: -4%;
    top: -4%;
    background: #000;
    height: clamp(120px, 12vw, 160px);
    width: clamp(120px, 12vw, 160px);
    border-radius: 8px;
    z-index: 1;
}

.left-image-wrap img.left-image {
    height: clamp(120px, 12vw, 160px);
    width: clamp(120px, 12vw, 160px);
    position: relative;
    z-index: 2;
    border-radius: 8px;
}

/* TRUSTED ATTORNEYS BOX */
.trusted-attorneys {
    position: absolute;
    top: 8%;
    right: 6%;
    width: clamp(180px, 20vw, 230px);
    text-align: center;
}

.trusted-attorneys img {
    width: clamp(70px, 8vw, 100px);
    height: auto;
    margin-bottom: 6px;
}

.trusted-attorneys p {
    font-size: clamp(12px, 1vw, 14px);
    color: #222;
    line-height: 1.4;
}

/* RATING */
.rating {
    position: absolute;
    top: 46%;
    right: 8%;
    text-align: right;
    font-size: clamp(14px, 1vw, 16px);
}

.rating strong {
    font-size: clamp(16px, 1.2vw, 20px);
    color: #000;
}

/* CENTER IMAGE */
.center-hero-image {
    /* height: 90vh; */
    width: auto;
    max-width: clamp(300px, 50vw, 480px);
    object-fit: contain;
}

/* OUR STORY BOX */
.our-story-box {
    position: absolute;
    bottom: 0%;
    right: 15%;
    background: #d62828;
    padding: 15px 20px 0;
    width: clamp(280px, 35vw, 400px);
    color: #fff;
}

.col-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(16px, 1.2vw, 20px);
    text-align: center;
}

.client-box {
    display: flex;
    align-items: center;
    font-size: clamp(28px, 3vw, 42px);
    border-bottom: 1px solid #ffffff70;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.client-box span {
    font-size: clamp(14px, 1vw, 18px);
    margin-left: 10px;
    line-height: 1.4;
}

.story {
    display: flex;
    width: 100%;
}

.col-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    flex: 0.7;
    gap: 6px;
    margin-right: 16px;
}

.play-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: clamp(28px, 3vw, 40px);
    cursor: pointer;
    padding: 4px;
}

.story-image {
    position: relative;
    text-align: center;
    flex: 1;
}

.story-image-background {
    position: absolute;
    bottom: 0px;
    left: 6px;
    width: 100%;
    height: 85%;
    background: #000;
    z-index: 1;
}

.story-image img {
    position: relative;
    z-index: 2;
    width: clamp(80px, 10vw, 120px);
    height: clamp(80px, 10vw, 120px);
    border-radius: 8px;
}

/* about section */
section#about {
    background-color: #081322;
    padding: 60px 35px;
}

section#about .image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

section#about img {
    width: 100%;
    max-height: 448px;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 4px;
}

section#about h2,
section#about p {
    color: #fff;
    line-height: 2;
}

section#about .name {
    color: #c72b34;
    ;
}

/* Services Section */
#services {
    padding: 60px 40px;
    /* background: linear-gradient(to right, #ffe5e5, #fff); */
    text-align: center;

    background: hsla(49, 100%, 92%, 1);
    background: linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);
    background: -moz-linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);
    background: -webkit-linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#FFF8D8", endColorstr="#FFD2D2", GradientType=1);
}

#services>h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-family: "Spectral", serif;
    font-weight: 300;
    font-style: italic;
    color: #222;
}

/* Grid layout */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* Individual service card */
.service {
    flex: 1 1 330px;
    max-width: 320px;
    background: #fff;
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.service:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service:nth-child(2) {
    margin-top: 40px;
}

.service:nth-child(3) {
    margin-top: 80px;
}

.service img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service h3 {
    font-size: 1.4rem;
    margin-top: 15px;
    color: #c72b34;
    text-align: start;
    padding: 10px 15px 0;
}

.service p {
    font-size: 1rem;
    padding: 10px 15px 20px;
    color: #333;
    text-align: start;
    max-width: 440px;
}

/* Learn More Box */
.learnmore-box {
    background: #c72b34;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px;
    text-align: left;
    margin-top: 40px;
}

.learnmore-box p {
    font-size: 1rem;
    line-height: 1.6;
}

.learnmore-box .button-wrap {
    text-align: center;
    margin-top: 25px;
}

.learnmore-box button {
    background: #fff;
    color: #c72b34;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learnmore-box button:hover {
    background: #911b21;
    color: #fff;
    transform: scale(1.05);
}

/* Hover consistency */
.learnmore-box:hover {
    background: #c72b34 !important;
}

/* Support Section */
#support {
    padding: 60px 40px;
    background-color: #081322;
    text-align: center;
}

#support>h2 {
    color: #fff;
    font-size: 2.8rem;
    font-family: "Spectral", serif;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 50px;
}

/* Support cards layout */
.support-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Individual expert card */
.expert-card {
    position: relative;
    flex: 1 1 280px;
    max-width: 320px;
    height: 380px;
    perspective: 1000px;
    transition: all 0.5s ease;
}

.card-back,
.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* border-radius: 12px; */
    overflow: hidden;
    transition: all 0.6s ease;
}

.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card front */
.card-front {
    background-color: #fff;
    color: #222;
    padding: 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* border-radius: 12px; */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.card-front>span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #c72b34;
    margin-bottom: 8px;
    display: inline-block;
}

.card-front>p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    /* color: #333; */
}

/* Hover effect: lift and color */
.expert-card:hover .card-front {
    background-color: #c72b34;
    color: #fff;
    transform: translateY(58px) rotate(20deg);
    box-shadow: 0 10px 20px rgba(199, 43, 52, 0.4);
}

.expert-card:hover .card-front span {
    color: #fff;
}

.expert-card:hover .card-back {
    transform: scale(1.05) translateY(-16px) rotate(-2deg);
    opacity: 0.9;
}

/* View more section */
.view-more-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 80px auto 40px;
    gap: 20px;
    max-width: 900px;
}

.view-more-wrap>span {
    color: #fff;
    max-width: 260px;
    text-align: left;
    font-size: 1rem;
}

.view-more-wrap>button {
    padding: 12px 24px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more-wrap>button:hover {
    background: #c72b34;
    border-color: #c72b34;
    transform: scale(1.05);
}

/* RESULT SECTION */
section#result,
section#faq {
    padding: 36px 60px;
    /* background-image: url('./assets/estimate_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
    overflow: hidden;
    background: hsla(49, 100%, 92%, 1);
    background: linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);
    background: -moz-linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);
    background: -webkit-linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#FFF8D8", endColorstr="#FFD2D2", GradientType=1);
}

section#result>h2 {
    font-size: 50px;
    margin-bottom: 35px;
    font-family: "Spectral", serif;
    font-weight: 300;
    font-style: italic;
    text-align: center;
    color: #000;
}

.result-about {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}

.result-about>img {
    height: 108vh;
    max-width: 100%;
    object-fit: contain;
}

/* Info Boxes */
.client,
.recovered,
.professional,
.successful {
    position: absolute;
    height: 300px;
    width: 100%;
    max-width: 320px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 70px;
    text-align: center;
    font-weight: 600;
    padding: 50px;
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.client span,
.recovered span,
.professional span,
.successful span {
    font-size: 25px;
    font-weight: 400;
}

/* Box Colors */
.client {
    top: 5%;
    left: 3%;
    background-color: #081322;
}

.recovered {
    bottom: 5%;
    left: 3%;
    color: #c72b34;
    background-color: #fff;
}

.recovered span {
    color: #000;
}

.professional {
    top: 15%;
    right: 10%;
    color: #c72b34;
    background-color: #fff;
}

.professional span {
    color: #000;
}

.successful {
    bottom: 2%;
    right: 25%;
    background: #c72b34;
}

/* FAQ Section */
section#faq {
    padding: 60px 20px;
    /* background: linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%); */
    font-family: "Spectral", serif;
}

section#faq>h2 {
    font-size: 3rem;
    /* 50px */
    margin-bottom: 2rem;
    /* 35px */
    font-weight: 300;
    font-style: italic;
    text-align: center;
    color: #333;
}

/* Accordion Container */
div#accordionFlushExample {
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

/* Accordion Items */
.accordion-item {
    background-color: transparent;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    overflow: hidden;
}

/* Accordion Buttons */
.accordion-button {
    background-color: transparent;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 500;
    color: #444;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.accordion-button:focus {
    box-shadow: none;
}

/* Open Accordion */
.accordion-button:not(.collapsed) {
    color: #ff7f50;
    /* Highlight active */
    background-color: rgba(255, 127, 80, 0.1);
}

/* Accordion Body */
.accordion-body {
    font-size: 1rem;
    /* 16px */
    color: #555;
    line-height: 1.6;
    padding: 1rem 1.5rem;
}

/* Boxes inside FAQ if any */
.info-box,
.map-box,
.faq-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.faq-box h4 {
    margin-bottom: 10px;
    font-weight: bold;
}

/* Contact Section */
#contact {
    padding: 60px 20px;
    background-color: #081322;
    /* soft, warm background */
    font-family: "Spectral", serif;
}

#contact .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

#map {
    width: 100%;
    height: 500px;
    /* or whatever height fits your layout */
    border-radius: 10px;
    overflow: hidden;
    pointer-events: none;
}

button.ol-zoom-in,
button.ol-zoom-out {
    min-width: 0;
    padding: 15px !important;
    font-size: 0;
    border-radius: 4px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}


/* Form Container */
#contact .contact-form {
    /* background: #fff; */
    padding: 0px 35px 20px;
    border-radius: 25px;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); */
    flex: 1;
}

/* Form Title */
#contact .contact-form>h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    color: #fff;
    /* law theme color */
}

/* Form Layout */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#contact label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: #fff;
    flex: 1;
}

/* Inputs & Select */
#contact input,
#contact select,
#contact textarea {
    padding: 12px 15px;
    margin-top: 5px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
    border-color: #d62828;
    box-shadow: 0 4px 10px rgba(214, 40, 40, 0.15);
}

/* Textarea */
#contact textarea {
    resize: none;
    min-height: 100px;
}

/* Button */
#contact button {
    align-self: center;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    border: 2px solid #d62828;
    background: linear-gradient(90deg, #fff, #ffe6e6);
    color: #d62828;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contact button:hover {
    background: #d62828;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(214, 40, 40, 0.25);
}

/* testimonials */
section#testimonials {
    padding: 40px 20px;
    background: hsla(49, 100%, 92%, 1);
    background: linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);
    background: -moz-linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);
    background: -webkit-linear-gradient(180deg, hsla(49, 100%, 92%, 1) 43%, hsla(0, 100%, 91%, 1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#FFF8D8", endColorstr="#FFD2D2", GradientType=1);
}

section#testimonials>h2 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 35px;
    font-family: "Spectral", serif;
    font-weight: 300;
    font-style: italic;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: 500px;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    flex: 1;
    /* overflow: hidden; */
}

.carousel-card {
    position: absolute;
    width: 100%;
    height: 425px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.5s ease;
    max-width: 300px;
}

.review-avatar {
    font-size: 40px;
    margin-bottom: 10px;
}

.review-avatar>img {
    width: 100px;
    border-radius: 50%;
}

.review-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.review-stars {
    color: gold;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #555;
}

/* Carousel positions */
.pos1 {
    transform: translateX(-570px) translateY(70px) scale(0.8);
    z-index: 1;
    opacity: 0.5;
}

.pos2 {
    transform: translateX(-300px) translateY(45px) scale(0.9);
    z-index: 2;
    opacity: 0.7;
}

.pos3 {
    transform: translateX(0px) translateY(0px) scale(1);
    z-index: 3;
    opacity: 1;
}

.pos4 {
    transform: translateX(300px) translateY(45px) scale(0.9);
    z-index: 2;
    opacity: 0.7;
}

.pos5 {
    transform: translateX(570px) translateY(70px) scale(0.8);
    z-index: 1;
    opacity: 0.5;
}

/* Buttons */
.carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    margin-right: 10px;
}

.next {
    margin-left: 10px;
}

section#testimonials>p {
    text-align: center;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#testimonials>p a.make-schedule {
    text-decoration: none;
    color: #d62828;
    border: 2px solid #d62828;
    padding: 10px 15px;
    transition: 0.3s all ease;
    margin: 10px 0;
}

section#testimonials>p a.make-schedule:hover {
    background-color: #d62828;
    border: 2px solid #fff;
    color: #fff;
    scale: 1.07;
}

/* Footer Section */
.footer {
    background-color: #c62828;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 80px;
    flex-wrap: wrap;
    gap: 40px;
    font-family: "Poppins", sans-serif;
    border-top: 4px solid #a31818;
}

/* Left Section */
.footer-left {
    flex: 1;
    min-width: 280px;
}

.footer-left h2 {
    font-size: 42px;
    margin: 0 0 10px;
    font-weight: 600;
}

.footer-left p {
    font-size: 16px;
    line-height: 1.6;
    color: #f9f9f9;
    max-width: 400px;
}

/* Right Section */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 25px;
}

.footer-links {
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links .col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(3px);
}

/* Branding */
.footer-brand {
    text-align: right;
}

.footer-brand h1 {
    font-size: 56px;
    opacity: 0.12;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 800;
    user-select: none;
}

.footer-brand p {
    margin-top: -8px;
    font-size: 14px;
    opacity: 0.9;
}

.social-icons {
    margin-top: 12px;
    display: flex;
    gap: 18px;
    justify-content: flex-end;
}

.social-icons i {
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icons i:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.floating-icon {
    position: fixed;
    width: 90px;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #fff;
    color: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 90px;
}

.floating-icon>img {
    width: 100%;
}

.floating-icon:hover {
    transform: scale(1.1);
}

/* ==============================
   RESPONSIVE DESIGN (MERGED)
   ============================== */

/* ====== LARGE TABLET / SMALL LAPTOP (≤ 1024px) ====== */
@media (max-width: 1024px) {
    section#result>h2 {
        font-size: 42px;
    }

    .result-about>img {
        height: 90vh;
    }

    .client,
    .recovered,
    .professional,
    .successful {
        max-width: 260px;
        height: 240px;
        font-size: 55px;
        padding: 30px;
    }

    .client span,
    .recovered span,
    .professional span,
    .successful span {
        font-size: 20px;
    }

    .professional {
        top: 13%;
        right: 3%;
    }

    .successful {
        bottom: 1%;
        right: 10%;
    }

    .client {
        top: 3%;
        left: 1%;
        background-color: #081322;
    }

    .service:nth-child(2) {
        margin-top: 0px;
    }

    .service:nth-child(3) {
        margin-top: 0px;
    }

    .learnmore-box {
        margin-top: 0;
    }
}

/* ====== TABLET VIEW (≤ 992px) ====== */
@media (max-width: 992px) {

    /* Hero Section */
    .center-hero-image {
        height: auto;
    }

    .our-story-box {
        right: 8%;
    }

    .trusted-attorneys {
        top: 4%;
        right: 4%;
    }

    .Schedule-button {
        left: 10%;
    }

    .left-image-wrap {
        left: 10%;
    }

    .service:nth-child(2) {
        margin-top: 0px;
    }

    .service:nth-child(3) {
        margin-top: 0px;
    }

    .learnmore-box {
        margin-top: 0;
        max-width: 440px;
    }

    /* Footer */
    .footer {
        padding: 50px 40px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand h1 {
        font-size: 48px;
    }

    /* Services */
    #services {
        padding: 50px 20px;
    }

    #services>h2 {
        font-size: 2.4rem;
    }

    .service-grid {
        gap: 20px;
    }

    .service {
        max-width: 45%;
    }

    /* Contact */
    #contact .row {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .client,
    .recovered,
    .professional,
    .successful {
        max-width: 240px;
        height: 220px;
        font-size: 46px;
        padding: 35px;
    }

    .client span,
    .recovered span,
    .professional span,
    .successful span {
        font-size: 18px;
    }

    .service:nth-child(2) {
        margin-top: 0px;
    }

    .service:nth-child(3) {
        margin-top: 0px;
    }
}

/* ====== TABLET / SMALL DEVICES (≤ 900px) ====== */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .service:nth-child(2) {
        margin-top: 0px;
    }

    .service:nth-child(3) {
        margin-top: 0px;
    }

    .learnmore-box {
        margin-top: 0;
        max-width: 440px;
    }


}

/* ====== TABLET / MOBILE HYBRID (≤ 768px) ====== */
@media (max-width: 768px) {

    /* Hero */
    .center-hero-image {
        height: 100%;
        max-width: 364px;
    }

    h2.hero-heading {
        left: 5%;
        top: -5%;
        max-width: 242px;
        text-align: left;
        font-size: 46px;
    }

    .Schedule-button {
        left: 10%;
        top: 40%;
    }

    .trusted-attorneys {
        right: 5%;
        top: 6%;
    }

    .left-image-wrap {
        bottom: 5%;
        left: 10%;
    }

    .our-story-box {
        right: 5%;
        bottom: 0%;
    }

    .learnmore-box {
        margin-top: 0;
        max-width: 440px;
    }

    /* Services */
    #services {
        padding: 40px 15px;
    }

    #services>h2 {
        font-size: 2rem;
        margin-bottom: 35px;
    }

    .service-grid {
        flex-direction: column;
        align-items: center;
    }

    .service {
        max-width: 90%;
        margin-bottom: 25px;
    }

    .service img {
        height: 200px;
    }

    .learnmore-box {
        text-align: center;
        padding: 20px;
        max-width: 440px;
    }

    .learnmore-box button {
        width: 100%;
        max-width: 200px;
    }

    /* FAQ */
    section#faq>h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .accordion-button {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }

    .accordion-body {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    /* Result Section */
    section#result {
        padding: 20px 30px;
    }

    section#result>h2 {
        font-size: 34px;
    }

    .result-about>img {
        height: 75vh;
    }

    .client,
    .recovered,
    .professional,
    .successful {
        max-width: 180px;
        height: 160px;
        font-size: 40px;
        padding: 20px;
    }

    .client span,
    .recovered span,
    .professional span,
    .successful span {
        font-size: 16px;
    }

    .client {
        top: 4%;
        left: 2%;
    }

    .recovered {
        bottom: 4%;
        left: 2%;
    }

    .professional {
        top: 10%;
        right: 4%;
    }

    .successful {
        bottom: 0%;
        right: 12%;
    }

    .service:nth-child(2) {
        margin-top: 0px;
    }

    .service:nth-child(3) {
        margin-top: 0px;
    }
}

/* ====== SMALL DEVICES (≤ 600px) ====== */
@media (max-width: 600px) {
    .footer {
        padding: 40px 20px;
        gap: 30px;
    }

    .footer-left h2 {
        font-size: 32px;
    }

    .footer-left p {
        font-size: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links .col {
        align-items: center;
    }

    .footer-brand h1 {
        font-size: 38px;
    }

    .social-icons {
        justify-content: center;
    }

    .client,
    .recovered,
    .professional,
    .successful {
        max-width: 170px;
        height: 150px;
        font-size: 34px;
        padding: 16px;
    }

    .client span,
    .recovered span,
    .professional span,
    .successful span {
        font-size: 15px;
    }

    .client {
        top: 4%;
        left: -2%;
    }

    .recovered {
        bottom: 4%;
        left: 2%;
    }

    .professional {
        top: 10%;
        right: 4%;
    }

    .successful {
        bottom: 0%;
        right: 12%;
    }

    .result-about>img {
        height: 70vh;
    }
}

/* ====== MOBILE (≤ 576px) ====== */
@media (max-width: 576px) {

    /* Hero Section */
    .container-fluid.hero-section {
        min-height: 90vh;
    }

    .col.hero-column {
        min-height: calc(100vh - 148px);
    }

    .navbar .container-fluid>a {
        font-size: 20px;
    }

    h2.hero-heading {
        font-size: clamp(2rem, 8vw, 3rem);
        max-width: 90%;
        line-height: 1.2;
    }

    .center-hero-image {
        max-width: 320px;
        height: auto;
        margin-top: 28px;
    }

    .Schedule-button {
        left: 7%;
        top: 20%;
    }

    .our-story-box {
        width: 255px;
        right: 2.5%;
        bottom: 0;
        padding: 10px 15px;
    }

    .trusted-attorneys img {
        width: 60px;
    }

    .rating {
        top: 28%;
        right: 8%;
    }

    .left-image-wrap {
        left: 8%;
    }

    .col-text {
        font-size: 15px;
    }

    /* Contact Form */
    #contact .contact-form {
        padding: 25px 20px;
    }

    #contact .contact-form>h2 {
        font-size: 2rem;
    }

    #contact .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* ====== SMALLER MOBILE (≤ 515px) ====== */
@media (max-width: 515px) {
    .trusted-attorneys p {
        max-width: 150px;
        margin: 0 auto;
        right: 3%;
    }

    .our-story-box {
        width: 245px;
        bottom: 0;
    }

    .col-text {
        margin-right: 5px;
    }

    .rating {
        top: 32%;
        right: 5%;
        font-size: 12px;
    }

    .Schedule-button {
        left: 6%;
        top: 16%;
    }

    .left-image-wrap {
        /* left: 5%; */
        display: none;
    }

    .client,
    .recovered,
    .professional,
    .successful {
        max-width: 150px;
        height: 130px;
        font-size: 30px;
        padding: 16px;
    }

    .client span,
    .recovered span,
    .professional span,
    .successful span {
        font-size: 13px;
    }
}

/* ====== EXTRA SMALL MOBILE (≤ 480px) ====== */
@media (max-width: 480px) {

    /* Services */
    #services>h2 {
        font-size: 1.8rem;
    }

    .service h3 {
        font-size: 1.2rem;
    }

    .service p,
    .learnmore-box p {
        font-size: 0.95rem;
    }

    .service img {
        height: 180px;
    }

    /* FAQ */
    section#faq {
        padding: 40px 15px;
    }

    section#faq>h2 {
        font-size: 1.8rem;
    }

    .accordion-button {
        font-size: 1rem;
    }

    .accordion-body {
        font-size: 0.9rem;
    }

    /* Result Section */
    section#result {
        padding: 20px;
    }

    section#result>h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .result-about>img {
        height: 60vh;
    }

    .client,
    .recovered,
    .professional,
    .successful {
        max-width: 140px;
        height: 130px;
        font-size: 28px;
        padding: 12px;
    }

    .client span,
    .recovered span,
    .professional span,
    .successful span {
        font-size: 12px;
    }

    .client {
        top: 4%;
        left: 2%;
    }

    .recovered {
        bottom: 4%;
        left: 2%;
    }

    .professional {
        top: 10%;
        right: 4%;
    }

    .successful {
        bottom: 4%;
        right: 18%;
    }
}

/* ====== VERY SMALL DEVICES (≤ 465px) ====== */
@media (max-width: 465px) {
    .navbar .container-fluid>a {
        font-size: 17px;
    }

    .container-fluid.hero-section {
        min-height: 70vh;
    }

    .col.hero-column {
        min-height: calc(100vh - 369px);
    }

    .trusted-attorneys {
        max-width: 148px;
        right: 4%;
        top: 4%;
    }

    .trusted-attorneys>p {
        font-size: 11px;
    }

    .rating {
        font-size: 12px;
        font-weight: 600;
        top: 30%;
    }

    .center-hero-image {
        max-width: 290px;
    }

    .client {
        top: -1%;
        left: -1%;
    }

    .result-about>img {
        height: 54vh;
    }
}

/* ====== MICRO DEVICES (≤ 400px) ====== */
@media (max-width: 400px) {
    .footer-left h2 {
        font-size: 28px;
    }

    .footer-left p {
        font-size: 14px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .social-icons i {
        font-size: 16px;
    }

    .result-about>img {
        height: 53vh;
    }

    .client,
    .recovered,
    .professional,
    .successful {
        max-width: 120px;
        height: 100px;
        font-size: 22px;
        padding: 12px;
    }

    .client {
        top: -1%;
        left: -4%;
    }

    .successful {
        bottom: 4%;
        right: 10%;
    }
}

/* ====== ULTRA SMALL (≤ 397px) ====== */
@media (max-width: 397px) {
    .navbar .container-fluid>a {
        font-size: 15px;
    }

    .trusted-attorneys {
        max-width: 120px;
        right: 3%;
        top: 2%;
    }

    .rating {
        top: 29%;
    }

    .container-fluid.hero-section {
        min-height: 75vh;
    }

    .col.hero-column {
        min-height: calc(100vh - 300px);
    }
}


/* header */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}