/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: aptos;
    background-color: rgb(230, 235, 241);
    cursor: default;
    background-image: url('/images/logo.png'); /* Your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden; /*to prevent horizontal scroll unless explicitly allowed.*/
}

html, body {
    overflow-x: hidden;
}

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-color: rgba(1, 38, 83, 0.949); /* White overlay with 75% opacity */
        z-index: -1;
    }

.contact-info {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    word-wrap: break-word;
    text-align: center;
    margin: 10px 0;
}

    .contact-info a {
        color: #ffe600;
        text-decoration: underline;
        word-break: break-word;
    }
/* === HEADER IMAGE === */
header img {
    height: 35%;
    width: 100%;
    display: block;
}

/* === MAIN NAVIGATION BAR (MENU + TRANSLATOR) === */
.scrollmenu {
    display: flex;
    font-size: 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #0055a5;
    padding: 10px 10px;
    color: white;
    width: 100%;
    box-sizing: border-box;
    overflow-x:hidden;
    gap: 10px;
    /* white-space: nowrap; */
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* === MENU LINKS === */
.menu {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-width: 0;
    gap: 0;
}

    .menu a {
        display: inline-block;
        padding: 10px 15px;
        margin: 4px;
        background-color: #0077cc; /* light blue */
        color: white;
        font-weight: bold;
        border-radius: 50px; /* rounded pill */
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.2s ease;
        white-space: nowrap;
        flex: 0 0 auto;
        text-align: center;
        min-width: 80px;
        box-sizing: border-box;
    }

        .menu a:hover {
            background-color: #0c326e;
            color: #f1f5f9;
            transform: scale(1.05);
        }

/* === TRANSLATOR SECTION FIX === */
.language-selector {
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 150px;
    max-width: 200px;
    padding-left: 10px;
}

#google_translate_element {
    line-height: normal !important;
    font-size: 0;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.goog-te-gadget {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    height: auto !important;
}

.goog-te-combo {
    padding: 4px 6px !important;
    font-size: 14px !important;
    height: auto !important;
    margin: 0 !important;
}

#google_translate_element img {
    display: none !important;
}

#Add the Spinner
.spinner-container {
    text-align: center;
    padding: 30px;
}

.spinner {
    margin: 0 auto 15px;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #487ac0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* === FIXED MENU ON SCROLL (SECOND BAR) === */
.scrollmenu.fixed {
    position: fixed;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* === TEXT CONTAINER === */
.text-container-frontface {
    color: #f9f9f9dc;
    /*font-size: 20px;*/
    font-family: aptos;
    margin: 0 auto;
    padding: 30px 20px;
    max-width: 1500px;
    text-align: center;
}

.text-container {
    font-family: aptos;
    font-size: 20px;
    color: #f9f9f9dc;
    margin: 0 auto;
    padding: 30px 20px;
    max-width: 1000px;
    text-align: justify;
}

.text-section {
    font-size: 20px;
    font-display: swap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
    font-weight: 500;
    color: #f9f9f9dc;
    line-height: 1.6;
    text-align: justify;
}

/* === JUSTIFIED BULLET LIST === */
ul.justified-list {
    list-style-type: disc;
    margin-left: 40px;
    padding-left: 10px;
    font-size: 17px;
    text-align: justify;
}

    ul.justified-list li {
        text-align: justify;
        margin-bottom: 10px;
    }

/* === RICH TEXT BLOCKS === */
.rich-text {
    font-size: 12px;
    color: #444;
    background-color: #f9f9f9;
    padding: 10px;
    border-left: 4px solid #0077cc;
    margin: 0 25%;
}

/* === SPECIAL TEXT STYLES === */
.red-text {
    color: rgba(255, 0, 0, 0.948);
    font-size: 18px;
}

.blinking-red {
    animation: colorBlink 1s infinite;
    font-weight: bold;
}

@keyframes colorBlink {
    0%, 100% {
        color: yellow;
    }

    50% {
        color: orange;
    }
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {


    .menu {
        width: 100%;
    }

    .language-selector {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .scrollmenu{
        flex-direction:column;
        align-items:center;
        justify-content:center;
        font-size:12px;
    }


    .menu a {
        min-width: auto;
        padding:5px 10px;
    }
}




.doc-card {
    flex: 1 1 calc(25% - 20px); /* 4 columns with gap accounted */
    max-width: calc(25% - 20px);
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .doc-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .doc-grid {
        display:flex;
        flex-direction: column;
    }

    .doc-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.doc-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

    .doc-card:hover {
        transform: scale(1.1);
    }

    .doc-card h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .doc-card p {
        font-size: 15px;
        color: #555;
        min-height: 60px;
    }

    .doc-card a {
        display: inline-block;
        margin-top: 12px;
        background: #d9534f;
        color: #fff;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
    }


/* Table wrapper (optional, for padding) */
.table-container {
    padding: 20px;
    background-color: #ffffff; /* White background */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-x: auto;
}

/* General table styles */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff; /* Ensure white background */
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
}

/* Table header */
thead tr {
    background-color: #2d6cdf;
    color: white;
}

/* Table cells */
th, td {
    padding: 12px 15px;
    border: 2px solid #665d5d;
    background-color: #ffffff; /* White cell bg */
}

/* Zebra stripe rows */
tbody tr:nth-child(even) {
    background-color: #f3f7ff; /* Light blue-gray */
}

/* Hover effect */
tbody tr:hover {
    background-color: #e6f0ff;
}

/* Responsive (optional) */
@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #ffffff;
    }

    td {
        padding-left: 50%;
        position: relative;
        text-align: left;
        background-color: #ffffff;
    }

        td::before {
            content: attr(data-label);
            position: absolute;
            left: 15px;
            top: 12px;
            font-weight: bold;
            color: #333;
        }
}

.modal {
    display: flex;
    justify-content: center; /* horizontally center */
    align-items: center; /* vertically center */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(189, 27, 27, 0.2);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #ffe5e5;
    margin: auto;
    padding: 25px 30px;
    border: 1px solid #dd8888;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

    .modal-content h3 {
        color: #a00000;
        margin-bottom: 10px;
    }

    .modal-content p {
        font-size: 16px;
        color: #444;
    }

.modal-contact-btn {
    display: inline-block;
    margin-top: 15px;
    background-color: #a00000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
}

.close-btn {
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: #a00000;
    cursor: pointer;
}

.new-tag {
    background-color: red;
    color: white;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* === FEATURED LAWYER STYLES === */
.card.featured {
    border: 3px solid gold;
    background: linear-gradient(to bottom, #fffbe0, #fdf6c3);
    /*position: relative;*/
}

.card.verified:not(.featured) {
    border: 2px solid #28a745;
}

.card.featured::before {
    content: '★ Featured';
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: gold;
    color: black;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.verified-badge {
    display: inline-block;
    background-color: #28a745;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.card .verified-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #28a745;
    color: white;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* === EXTRA PHOTOS BELOW PROFILE PIC === */
.extra-photos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

    .extra-photos img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid #ccc;
    }

/* === TESTIMONIAL === */
.testimonial {
    font-style: italic;
    font-size: 14px;
    margin-top: 5px;
    color: #333;
}

/* === CONTACT NOW BUTTON === */
.card .contact-now {
    margin-top: 10px;
    background: #28a745;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.card.premium {
    border: 3px solid #00c3ff;
    background: linear-gradient(to bottom right, #e0f7ff, #ccf1ff);
    position: relative;
}

    .card.premium::before {
        content: '💎 Premium';
        position: absolute;
        top: 8px;
        left: 8px;
        background-color: rgb(233, 254, 3);
        color: #000;
        padding: 4px 10px;
        font-size: 12px;
        font-weight: bold;
        border-radius: 6px;
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
        animation: shine 2s infinite linear;
    }

/* === HAMBURGER STYLES === */
.hamburger-container {
    display: none;
    padding: 10px;
    background: #487ac0;
    text-align: right;
}

.hamburger-button {
    background: #f9f9f9;
    border: none;
    font-size: 18px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

/* Initially hidden with max-height = 0 */
.mobile-combined-menu a {
    margin: 8px 0;
    background-color: #1e3a8a;
    color: white;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.mobile-combined-menu .menu {
    display: block;
    flex-direction: column;
    gap: 10px;
}

.mobile-combined-menu {
    display: none;
    flex-direction: column;
    padding: 15px;
    background-color: #002b5c;
    border-top: 2px solid #fff;
    transform: translateX(100%);
    transition: max-height 0.4s ease;
    overflow: hidden;
}

    .mobile-combined-menu.active {
        transform: translateX(100%);
        display: flex;
    }


/* === Show only on mobile === */
/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .hamburger-container {
        display: block !important;
        /*background: red !important; /* for visibility test */
        /*border: 2px dashed yellow;  */
        background: #003366;
        text-align: right;
        padding: 10px 20px;
    }

    .hamburger-button {
        background-color: #1e40af;
        color: white;
        font-size: 20px;
        padding: 8px 14px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }

    .mobile-combined-menu {
        display: none;
        flex-direction: column;
        background-color: #002b5c;
        padding: 15px;
        z-index: 1001;
    }

        .mobile-combined-menu.active {
            display: flex;
        }

        .mobile-combined-menu a {
            display: block;
            padding: 12px 16px;
            margin: 8px 0;
            font-size: 16px;
            font-weight: bold;
            background-color: #1e3a8a;
            color: white;
            border-radius: 6px;
            text-decoration: none;
            text-align: center;
        }

        .mobile-combined-menu .menu a {
            background-color: #1e3a8a;
            margin: 6px 0;
            padding: 12px;
            color: white;
            border-radius: 6px;
            text-align: center;
            text-decoration: none;
            font-weight: bold;
        }

    
}


/* Dimming Overlay */
#mobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw%;
    left: auto;
    max-width: 300px;
    background-color: rgba(13, 17, 23, 0.95); /* dark + semi-transparent */
    backdrop-filter: blur(8px); /* ← beautiful glass blur */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    overflow-y: auto;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.4);
}

    #mobileMenu.active {
        transform: translateX(0%); /* visible */
    }

/* === DARK BACKGROUND OVERLAY === */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); /* semi-transparent black */
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

    #menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

body.menu-open {
    overflow: hidden;
}

#logo-banner {
    text-align: center;
    background-color: white; /* or transparent */
    z-index: 0;
    position: relative;
}


/*
Calling CSS*/


.call-button, .whatsapp-button {
    position: fixed;
    right: 20px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 9999;
}

.call-button {
    bottom: 80px;
    background-color: #28a745;
}

.call-button:hover {
    background-color: #218838;
}

.whatsapp-button {
    bottom: 20px;
    background-color: #25D366;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
}

/*Responsive Menu*/

.scrollmenu{
    position:relative
}
.nav-icon3 {
    display: none;
}


@media (max-width: 768px) {

    .nav-icon3 {
        display: block;
    }
    .scrollmenu {
        overflow: unset !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
    }

    

    .menu {
        width: 100%;
        position: absolute;
        flex-direction: column;
        background: #0077cc;
/*        max-width: 400px;*/
        left: 0;
        top: 100%;
        padding: 20px;
        overflow:hidden;
        display:none;
        z-index:9999
    }

    .menu.show {
        display: block !important;
    }

    .menu a {
            width: 100%; 
    }
}



/* Icon 3 */

.nav-icon3 {
    width: 30px;
    height: 24px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

    .nav-icon3 span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #fff;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }




.nav-icon3 span:nth-child(1) {
    top: 0px;
}

.nav-icon3 span:nth-child(2), .nav-icon3 span:nth-child(3) {
    top: 10px;
}

.nav-icon3 span:nth-child(4) {
    top: 20px;
}

.nav-icon3.show span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.nav-icon3.show span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-icon3.show span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-icon3.show span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}


html.freez{
    overflow:hidden !important
}

