/* ============================================
   C.A.R.E. Law Group - Immigration Landing Page
   Styles matching original design
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    --color-gold: #f37a2b;
    --color-gold-hover: #d56317;
    --color-dark: #222222;
    --color-dark-bg: #1f1f1f;
    --color-body-text: #444444;
    --color-heading: #222222;
    --color-link: #c79c66;
    --color-white: #ffffff;
    --color-light-bg: #fafafa;
    --color-border: #e2e2e2;
    --color-nav-text: #3e4353;
    --color-footer-bg: #1f1f1f;
    --color-footer-text: #f6f6f6;
    --color-footer-link: #f6f6f6;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Mulish', 'Open Sans', Arial, sans-serif;
    --container-width: 1080px;
    --header-height: 90px;
    --top-header-height: 40px;
    --transition-speed: 0.3s;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-body-text);
    background-color: var(--color-white);
    line-height: 1.7em;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-speed), opacity var(--transition-speed);
}

a:hover {
    opacity: 0.7;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.4em;
    padding-bottom: 10px;
}

h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p {
    padding-bottom: 1em;
}

p:last-of-type {
    padding-bottom: 0;
}

strong {
    font-weight: 700;
}

.container {
    width: 80%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.clearfix::after {
    content: " ";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

/* ---------- Top Header Bar ---------- */
#top-header {
    background-color: var(--color-gold);
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

#top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#et-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

#et-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

#et-info a,
#et-info i {
    color: var(--color-white);
}

#et-info a:hover {
    opacity: 0.8;
}

#et-social {
    display: flex;
    gap: 14px;
}

#et-social a {
    color: var(--color-white);
    font-size: 14px;
    transition: opacity var(--transition-speed);
}

#et-social a:hover {
    opacity: 0.7;
}

/* ---------- Main Header ---------- */
#main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

#main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

#header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

#logo {
    flex-shrink: 0;
}

#logo-img {
    max-height: 65px;
    width: auto;
    transition: max-height var(--transition-speed);
}

.scrolled #logo-img {
    max-height: 55px;
}

/* ---------- Navigation ---------- */
#main-nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.nav-container-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

#top-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

#top-menu > li {
    position: relative;
}

#top-menu > li > a {
    display: block;
    padding: 10px 18px;
    color: var(--color-nav-text);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-speed), opacity var(--transition-speed);
}

#top-menu > li > a:hover {
    color: var(--color-gold);
    opacity: 1;
}

#top-menu > li.current-menu-item > a {
    color: var(--color-gold);
}

/* Contact box button */
#top-menu .nav-btn-box {
    border: 1.5px solid var(--color-nav-text);
    padding: 10px 24px !important;
    margin-left: 10px;
    transition: all var(--transition-speed) !important;
}

#top-menu .nav-btn-box:hover {
    background-color: var(--color-nav-text);
    color: var(--color-white) !important;
    opacity: 1;
}

/* Header social and call now button */
.header-social-call {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid var(--color-border);
    padding-left: 20px;
}

.hdr-social-icon {
    color: var(--color-nav-text);
    font-size: 18px;
    transition: color var(--transition-speed);
}

.hdr-social-icon:hover {
    color: var(--color-gold);
    opacity: 1;
}

.btn-call-now {
    background-color: var(--color-gold);
    color: var(--color-white) !important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color var(--transition-speed);
}

.btn-call-now:hover {
    background-color: var(--color-gold-hover);
    opacity: 1;
}

/* Dropdown */
#top-menu .sub-menu {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    transition: transform var(--transition-speed), opacity var(--transition-speed);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero / Fullwidth Header ---------- */
.fullwidth-header {
    position: relative;
    background: transparent;
    padding: 80px 0 50px;
    text-align: center;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullwidth-header::before {
    display: none;
}

.fullwidth-header-overlay {
    display: none;
}

.fullwidth-header-container {
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.module-header {
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: none;
    padding-bottom: 0;
    position: relative;
}

.module-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 15px auto 0;
}

/* ---------- Main Content Sections ---------- */
.content-section {
    padding: 80px 0 60px;
    background-color: var(--color-white);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.row-about {
    margin-bottom: 60px;
    align-items: flex-start;
}

.col-2-5 {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 30px;
}

.col-3-5 {
    flex: 0 0 60%;
    max-width: 60%;
    padding-left: 30px;
}

.col-full {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Image Module */
.image-module img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Card Attorneys */
.card-attorneys {
    position: relative;
}

.card-attorneys .text-module h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #1b355e;
    margin-bottom: 10px;
    padding-bottom: 15px;
    position: relative;
}

.card-attorneys .text-module h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

.card-attorneys .text-module p {
    font-size: 15px;
    line-height: 1.8em;
    color: var(--color-body-text);
    margin-top: 20px;
}

.help-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 800;
    color: #1b355e;
    margin-top: 25px;
    padding-bottom: 5px;
}

.card-attorneys .text-module ul.checked-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.card-attorneys .text-module ul.checked-list li {
    position: relative;
    padding: 6px 0 6px 30px;
    color: var(--color-body-text);
    font-size: 15px;
    font-weight: 500;
}

.card-attorneys .text-module ul.checked-list li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-size: 16px;
}

/* Button Module */
.btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid var(--color-gold);
    border-radius: 3px;
    color: var(--color-gold);
    background-color: transparent;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-family: var(--font-body);
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '→';
    opacity: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all var(--transition-speed);
}

.btn:hover {
    padding-right: 45px;
    background-color: var(--color-gold);
    color: var(--color-white);
    opacity: 1;
}

.btn:hover::after {
    opacity: 1;
    right: 15px;
}

.button-module {
    margin-top: 25px;
}

/* ---------- Service Lists ---------- */
.service-list {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--color-border);
}

.service-list:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-list h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-heading);
    padding-bottom: 15px;
    position: relative;
}

.service-list h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-gold);
    margin-top: 10px;
}

.service-list ul {
    list-style-type: disc;
    padding: 0 0 10px 1.2em;
    line-height: 28px;
}

.service-list ul li {
    padding: 4px 0;
    color: var(--color-body-text);
    font-size: 15px;
    line-height: 1.7em;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 70px 0 80px;
    background-color: var(--color-light-bg);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), #e8c99b, var(--color-gold));
}

.h1-style {
    font-size: 36px;
    font-family: var(--font-heading);
    color: var(--color-heading);
    margin-bottom: 35px;
    padding-bottom: 10px;
}

/* ---------- Contact Form ---------- */
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.required-legend {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.required-mark {
    color: #e74c3c;
    font-weight: 700;
}

.form-row {
    margin-bottom: 18px;
}

.form-row-2col {
    display: flex;
    gap: 20px;
}

.form-row-2col .form-field {
    flex: 1;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-white);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(199, 156, 102, 0.15);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
}

.btn-submit {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    color: var(--color-white);
    background-color: var(--color-gold);
    cursor: pointer;
    transition: all var(--transition-speed);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    text-transform: none;
}

.btn-submit:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(199, 156, 102, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    z-index: 999;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-3px);
}

/* ---------- Footer ---------- */
#main-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding-top: 60px;
}

#footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 50px;
}

.footer-widget {
    flex: 1;
    min-width: 160px;
}

.footer-widget:first-child {
    flex: 1.3;
}

.footer-logo img {
    max-width: 140px;
    margin-bottom: 18px;
}

.footer-widget h4 {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget p {
    font-size: 14px;
    line-height: 1.7em;
    color: var(--color-footer-text);
    padding-bottom: 8px;
}

.footer-widget p strong {
    color: var(--color-white);
}

.footer-widget p a,
.footer-links a {
    color: var(--color-footer-link);
    transition: color var(--transition-speed);
}

.footer-widget p a:hover,
.footer-links a:hover {
    color: var(--color-gold);
    opacity: 1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    padding: 5px 0;
}

.footer-links a {
    font-size: 14px;
}

/* Social Icons in Footer */
.ul-social {
    display: flex;
    gap: 12px;
    list-style: none;
}

.ul-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: 15px;
    transition: all var(--transition-speed);
}

.ul-social li a:hover {
    background-color: var(--color-gold);
    opacity: 1;
    transform: translateY(-2px);
}

/* Footer Button */
.btn-footer {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid var(--color-gold);
    border-radius: 3px;
    color: var(--color-gold) !important;
    background-color: transparent;
    cursor: pointer;
    transition: all var(--transition-speed);
    margin-top: 5px;
}

.btn-footer:hover {
    background-color: var(--color-gold);
    color: var(--color-white) !important;
    opacity: 1;
}

/* Footer Bottom */
#footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

#footer-info {
    font-size: 13px;
    color: rgba(246, 246, 246, 0.7);
    text-align: center;
}

#footer-info a {
    color: rgba(246, 246, 246, 0.7);
    transition: color var(--transition-speed);
}

#footer-info a:hover {
    color: var(--color-gold);
    opacity: 1;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.animate-on-scroll.fade-up.animated {
    animation: fadeInUp 0.7s ease forwards;
}

.animate-on-scroll.fade-left.animated {
    animation: fadeInLeft 0.7s ease forwards;
}

.animate-on-scroll.fade-right.animated {
    animation: fadeInRight 0.7s ease forwards;
}

/* ---------- Responsive Design ---------- */

/* Tablet */
@media (max-width: 980px) {
    .container {
        width: 90%;
    }

    #header-inner {
        height: 80px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 100;
        border-top: 2px solid var(--color-gold);
        padding: 20px 0;
        gap: 20px;
    }

    .nav-container-menu.active {
        display: flex;
    }

    #top-menu {
        flex-direction: column;
        width: 100%;
    }

    #top-menu > li {
        width: 100%;
        text-align: center;
    }

    #top-menu > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .header-social-call {
        border-left: none;
        padding-left: 0;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    #top-menu .sub-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background-color: #f8f8f8;
    }

    #top-menu .sub-menu li a {
        padding-left: 35px;
    }

    .row-about {
        flex-direction: column;
    }

    .col-2-5,
    .col-3-5 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .col-2-5 {
        margin-bottom: 30px;
    }

    .module-header {
        font-size: 36px;
    }

    .fullwidth-header {
        padding: 80px 0 70px;
    }

    #footer-widgets {
        flex-direction: column;
        gap: 35px;
    }

    .footer-widget {
        min-width: 100%;
    }

    .footer-widget:first-child {
        flex: 1;
    }

    .h1-style {
        font-size: 28px;
    }
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    background-color: #fcfcfc;
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
}

.testimonials-section .section-title {
    font-size: 32px;
    color: #1b355e;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    background-color: var(--color-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: #f39c12; /* Golden/yellow stars */
    font-size: 14px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e3f2fd;
    color: #03a9f4;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: #222;
    padding-bottom: 2px;
}

.author-info span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    color: #03a9f4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .testimonials-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 998;
    transition: all var(--transition-speed);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) translateY(-3px);
    color: var(--color-white);
}

.whatsapp-float i {
    line-height: 1;
}

/* ---------- Floating Chatbot Widget Styles (LEFT SIDE) ---------- */
.chat-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
}

/* Chat Toggle Button */
.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(243, 122, 43, 0.35);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

.chat-toggle-btn:hover {
  transform: scale(1.08) rotate(-5deg);
  background-color: var(--color-gold-hover);
  box-shadow: 0 10px 28px rgba(243, 122, 43, 0.45);
}

.chat-toggle-btn svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2.2px;
  transition: transform 0.3s ease;
}

.chat-unread-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: #e74c3c;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Chat Box Window */
.chat-box {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 520px;
  max-height: calc(100vh - 140px);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1001;
}

.chat-box.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-info .chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.chat-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat-header .chat-title {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
}

.chat-header .chat-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.chat-close-btn {
  font-size: 28px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-speed);
  border: none;
  background: transparent;
  padding: 0;
}

.chat-close-btn:hover {
  color: var(--color-white);
}

/* Messages Area */
.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  background-color: #fcfcfc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-bubble.bot {
  align-self: flex-start;
  background-color: var(--color-white);
  color: var(--color-body-text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--color-border);
}

.chat-bubble.user {
  align-self: flex-end;
  background-color: var(--color-gold);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(243, 122, 43, 0.15);
}

/* Typing Indicator Dots */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 16px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: #bbb;
  border-radius: 50%;
  animation: typing-bounce 1.3s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Chat Input Area */
.chat-input-area {
  padding: 12px 16px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-input-area input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--color-dark);
  background-color: transparent;
  padding: 8px 0;
}

.chat-input-area input::placeholder {
  color: #bbb;
}

.chat-send-btn {
  color: var(--color-gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background-color: #fff3eb;
  color: var(--color-gold-hover);
}

.chat-send-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Blog Section ---------- */
.blog-section {
    background-color: var(--color-white);
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
}

.blog-section .section-title {
    font-size: 32px;
    color: #1b355e;
    margin-bottom: 10px;
}

.blog-section .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: flex;
    gap: 30px;
}

.blog-loading {
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #888;
    padding: 40px 0;
}

.blog-card {
    flex: 1;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.blog-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 12px;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #1b355e;
    margin-bottom: 12px;
    line-height: 1.4;
    padding-bottom: 0;
}

.blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-speed);
}

.blog-read-more:hover {
    color: var(--color-gold-hover);
    opacity: 1;
}

@media (max-width: 980px) {
    .blog-grid {
        flex-direction: column;
        gap: 30px;
    }
    .blog-img-wrapper {
        height: 250px;
    }
}

/* ---------- Direct Contact Methods ---------- */
.direct-contact-container {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.direct-contact-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #1b355e;
    margin-bottom: 8px;
    text-align: center;
}

.direct-contact-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.direct-contact-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-method-card {
    flex: 1;
    max-width: 250px;
    background-color: var(--color-white);
    padding: 24px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.contact-method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 122, 43, 0.08);
    border-color: rgba(243, 122, 43, 0.2);
    opacity: 1;
}

.contact-method-card .method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff3eb;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 15px;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.contact-method-card:hover .method-icon {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.contact-method-card .method-label {
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.contact-method-card .method-value {
    font-size: 15px;
    font-weight: 700;
    color: #1b355e;
    word-break: break-all;
}

@media (max-width: 768px) {
    .direct-contact-methods {
        flex-direction: column;
        align-items: center;
    }
    .contact-method-card {
        width: 100%;
        max-width: 320px;
    }
}

/* Mobile Responsiveness for Chat Widget */
@media (max-width: 480px) {
  .chat-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .chat-box.open {
    transform: translateY(0);
  }
  
  .chat-widget {
    bottom: 16px;
    left: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
    .container {
        width: 92%;
    }

    #top-header-inner {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    #et-info {
        flex-direction: column;
        gap: 3px;
    }

    #et-social {
        margin-top: 3px;
    }

    #logo-img {
        max-height: 50px;
    }

    .module-header {
        font-size: 28px;
    }

    .fullwidth-header {
        padding: 60px 0 50px;
        min-height: 200px;
    }

    .content-section {
        padding: 50px 0 40px;
    }

    .card-attorneys .text-module h2 {
        font-size: 24px;
    }

    .service-list h2 {
        font-size: 22px;
    }

    .form-row-2col {
        flex-direction: column;
        gap: 18px;
    }

    .cta-section {
        padding: 50px 0 60px;
    }

    .h1-style {
        font-size: 24px;
    }

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

    #footer-bottom {
        padding: 15px 0;
    }

    #footer-info {
        font-size: 12px;
        line-height: 1.8;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .module-header {
        font-size: 24px;
    }

    .card-attorneys .text-module p {
        font-size: 14px;
    }

    .service-list ul li {
        font-size: 14px;
    }
}

/* ---------- Print ---------- */
@media print {
    #top-header,
    #main-header,
    .scroll-top,
    .fullwidth-header-overlay {
        display: none;
    }

    body {
        color: #000;
    }
}

/* ---------- Legal Section (Immigration Disclosure) ---------- */
.legal-section {
    background-color: #fcfcfc;
    border-top: 1px solid var(--color-border);
    padding: 60px 0;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-wrapper h2 {
    font-size: 24px;
    color: #1b355e;
    margin-bottom: 20px;
    text-align: center;
}

.legal-intro {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-body-text);
    margin-bottom: 15px;
}

.legal-bullets {
    margin-bottom: 30px;
    list-style: disc;
    padding-left: 20px;
}

.legal-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.legal-col {
    flex: 1;
    background-color: var(--color-white);
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-top: 4px solid;
}

.legal-col.permitted {
    border-top-color: #27ae60;
}

.legal-col.restricted {
    border-top-color: #e74c3c;
}

.legal-col h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-col.permitted h3 {
    color: #27ae60;
}

.legal-col.restricted h3 {
    color: #e74c3c;
}

.legal-col ol,
.legal-col ul {
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
}

.legal-col ol li,
.legal-col ul li {
    margin-bottom: 10px;
}

.legal-col ul {
    list-style-type: square;
}

@media (max-width: 768px) {
    .legal-grid {
        flex-direction: column;
    }
}

