:root {
    --primary-gradient:linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --primary-background:linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    --box-background-image: linear-gradient(174.2deg, rgba(255, 244, 228, 1) 7.1%, rgba(240, 246, 238, 1) 67.4%);
    --header-background:linear-gradient(135deg, #c1c3c5 0%, #e1ecff 100%);
    --text-color: #000;
    --box-shadow-color: rgba(0, 0, 0, 0.967);
    --box-border-color: blinear-gradient(89.2deg, rgba(255, 255, 255, 1) -1.3%, rgba(253, 109, 38, 1) 281.6%);
    --text-secondary-color: rgb(255, 255, 255);
    --hover-color: #4f4f4880;
    --nav-hover-color: linear-gradient(to left, #8e9eab, #eef2f3);
    --header-font: 'Arial Black', sans-serif;
    --heading-font:"Cinzel", serif;
    --body-font: 'Verdana', sans-serif;
    --primary-main-font: "DM Mono", monospace;
    --secondary-main-font: "Baskervville SC", serif;
    --nav-head-font: "Lexend Zetta", sans-serif;
    --head-font: "Bungee Shade", sans-serif;
    --head-font-size: 1.1rem;
    --para-font-size: 1.14rem;
    --title-size-font: 1rem;
}
:link {
    --link-unvisited: rgb(5, 5, 5);
    --font-weight: bold;
}
:visited {
    --link-visited: rgb(158, 89, 0);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html , body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    }

.home-body {
    width: 100%;
    height: 100%;
    color: var(--text-color);
    background-image: var(--primary-background);
}
.header{
    display:flex;
    position: fixed;
    top: 0;
    border-radius: 62.4375rem;
    margin-top: 2px;
    align-items: center;
    flex-flow: row nowrap ;
    justify-content: center;
    background: var(--header-background);
    width: 100%;
    height: 3.75rem;
}
.logoWrap{
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content:center;
    inset: 0;
    flex-wrap: wrap;
    width: 10rem;
    position: relative;
    left: 0;
    margin-right: auto;
    margin-left: 1rem;
    height: 3.75rem;
}
.logoWrap img{
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    position: absolute;
    height: 3.75rem;
    width: auto;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
    border-radius: 30rem;
}
.lawyerName{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    align-self: center;
}
.lawyerName h2:nth-child(1) {
    font-size:small;
    font-family: var(--heading-font);
    font-optical-sizing: auto;
    font-weight: 400;
    height: auto;
    position: absolute;
    margin-left: 0.4rem;
    left: 0;
}
.lawyerName h2:nth-child(2) {
    font-size: small;
    font-family: var(--heading-font);
    font-optical-sizing: auto;
    font-weight: 400;
    height: auto;
    position: absolute;
    right: 0;
}
.navBarRow {
    display: inline-flex;
    position: absolute;
    height: 3.75rem;
    right: 0;
    top: 0;
    margin-left: 0;
}
@media (max-width:54.75rem){
#nav-bar{
    display: none;  /*for hiiding the horizontal navbar*/
}
}
.nav-links{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 3.75rem;
    justify-content: space-evenly;
    align-items: center;
    gap: 7rem;
    margin: 0;
    padding-right: 2rem;
}
a .nav-link {
    left: 0;
}
.nav-links {
    display: flex;
    width: 100%;
    flex-flow: row nowrap;
    text-align: center;
    list-style: none;
}
.nav-link{
    padding: 8px;
    border-radius: 99px;
    transition: background 0.3s ease;
}
.nav-links li a:hover {
    background: var(--nav-hover-color);
}
.nav-links a{
    text-decoration: none;
    color: var(--text-color);
    font-size:var(--head-font-size);
    font-family: var(--nav-head-font);
    font-size:small;
    font-weight: 250;
}
.btnWrap {
    display:none;
}
@media (max-width: 54.75rem){
.btnWrap {
    display: flex;
    margin-right: .75rem;
    background-color: #f5000000;
    flex-direction: column;
    margin-left: auto;
    justify-items: center;
    align-items: center;
}
}
.menuBtn{
    display: flex;
    cursor: pointer;
    width: 2.5rem;
    height: 2.2rem;
    background-color: #041bee00;
    border: .125rem solid #a9c3e000;
    outline: none;
    border-radius: .375rem;
}
.menuBtn:hover{
    background-color: rgba(128, 152, 192, 0.397);
    color: #ffffff;
}
.bars {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 1.9rem;
    width: 2.45rem;
    gap: 0.27rem;
    overflow: hidden;
}
.bars span{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    background: var(--text-color);
    overflow: hidden;
    height: 0.16rem;
    width: 1.65rem;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
 /* ✕ CROSS STATE */
.bars.active span:nth-child(1) {
    transform: translateY(0.43rem) rotate(-45deg);
 }

.bars.active span:nth-child(2) {
    opacity: 0;
 }
.bars.active span:nth-child(3) {
    transform: translateY(-0.43rem) rotate(45deg);
 }

/*hides menu and menu content*/
.compactMenu {
    display: none;
}
#dwarfMenu{
    display: none;
}
@media (max-width:54.75rem){
    #dwarfMenu{
    display: flex;
    }
}
.compactMenu.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    border-radius: 4rem;
    position: fixed;
    top: 3.95rem;
    left: 0;
    right: 0;
    height: 30dvh;
    width: 100%;
    border: 4px solid rgba(92, 148, 245, 0.645);
    background: var(--primary-background);
}
.compactLinks {
    display: flex;
    justify-content:center;
    position: absolute;
    flex-direction: column;
    background-color: var(--primary-background);
    width: 100%;
    align-items: center;
    gap: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0;
}
.compactLinks li {
    display: flex;
    align-items: center;
    list-style: none;
    text-decoration: none;
}
a.navCompact {
    padding: 1rem;
    border-radius:  1.5rem;
    text-decoration: none;
    list-style: none;
    font-family: var(--nav-head-font);
    font-size: small;
    font-weight: 300;
    color: var(--text-color);
    transition: background 0.3s ease-in-out;
}
a.navCompact:hover {
    background: var(--nav-hover-color);
}
.main-content {
    font-family: var(--primary-main-font);
    font-size: var(--para-font-size);
    text-align: center;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    justify-items: center;
    margin-top: 2rem;
    padding: 0rem;
    border-radius: 2rem;
    width: 100%;
}
.main-content h1 {
    display: flex;
    width: 100%;
    height: auto;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--heading-font);
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    padding-top: 3rem;
}
.main-section-introduction p {
    display: flex;
    flex-flow: column wrap;
}
.main-section-introduction {
    display:flex;
    background: var(--primary-gradient);
    justify-content: center;
    align-items: center;
    padding: 0rem;
    margin: 1rem;
    border-radius: 2rem;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease;
}
.main-section-introduction:hover{
   box-shadow:0 0 .75rem var(--box-shadow-color); 
   margin: 10px;
}
.boxes{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}
.box  h3{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    word-break: break-all;
    width: auto;
    background-color: var(--shadow-box-color);
    color: var(--font-color);
    font-family: var(--head-font);
    padding: .5rem;
    border-radius: 3rem;
    box-shadow: .1875rem .1875rem 1.4375rem var(--shadow-box-color);
}
.dp-image {
    background-position: center;
    margin: 1rem;
    border-radius: 2rem;
    max-width: 25rem;
    border: 4px solid rgb(88, 85, 78);
    max-height: 37.5rem;
    width: 80%;
    height: auto;
    object-fit: cover;
}
.img-para strong{
    display: flex;
    font-size: medium;
    text-align:center;
    text-wrap: balance;
    overflow-wrap: break-word;
    flex-wrap: wrap;
    word-break: normal;
    widows: 2;
    orphans: 2;
}
.box p {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
    max-height: 100%;
    width: 100%;
    height: auto;
    padding: 1rem 1rem;
    border: 4px solid #2b8ffac9;
    color: var(--font-color);
    background: var(--text-background);
    border-radius: 2rem;
    transition: box-shadow 0.3s ease-in-out; 
}
.box p:hover{
    box-shadow: .1875rem .1875rem 1.5rem var(--box-shadow-color);
}
/*One Section Done Successfully*/
.ethics-main {
    justify-content: center;
    background-color: var(--text-secondary-color);
    display: flex;
    word-wrap:normal;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding-bottom: 1rem;
    margin-top: 2rem;
    list-style-type: none;
    text-align: center;
    font-style: italic;
    border: solid rgb(88, 85, 78, 0.99);
    border-radius: 3rem;
    transition: box-shadow 0.3s ease-in-out;
}
.ethics-main:hover {
    box-shadow: .5rem .75rem 1.875rem var(--box-shadow-color);
}
.our-mission-main {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: break-word;
    flex-wrap: wrap;
    word-break: normal;
    widows: 2;
    orphans: 2;

    width: 100%;
    height: auto;
    padding: 1rem 1rem;
    border-radius: .75rem;
    background-color: var(--text-background);
    color: var(--font-color);
    margin-top: 2rem;
    font-style: italic;
}
.achievements-main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    list-style-type: none;
    margin-left: .1875rem;
    margin-right: .1875rem;
}
.achievements-main h5 {
    font-size: var(--font-size);
}
.working-hours {
    background-color: var(--text-secondary-color);
    font-family: var(--nav-head-font);
    font-size: var(--para-font-size);
    font-weight: 300;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    width: auto;
    padding-top: 1rem ;
    margin: 1rem;
    margin-bottom: 7rem;
    border-radius: 1.3rem;
}
.waBook {
    position: fixed;
    right: 2%;
    bottom: 2%;
    z-index: 999;
}
.fixedWa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-decoration: none;
}
.waLogo {
    display: block;
    width: 35px;
    height: auto;
}
.fixedWa span {
    background-color: #00da54;
    border: 2px solid #ffffff;
    font-size: .875rem;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 1rem;;
    font-family: "Reem Kufi Fun", sans-serif;
    font-weight:200;
    color: var(--text-secondary-color);
}
.downFooter{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(161, 175, 222, 0.32);
    width: 100%;
    bottom: 0;
    height: auto;
    padding-top: 3rem;
}
.socialLink p{
    font-family: var(--nav-head-font);
    font-size: var(--para-font-size);
    font-weight: 300;
    margin: 0;
    padding-bottom: 2rem;
}
.socialLink{
    display: grid;
    width: auto;
    height: auto;
    place-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.policy {
    padding-top: 1rem;
    font-size: smaller;
}
.footerBottom p{
    font-size: smaller;
    padding-top: 0rem;
    padding-bottom: 0;
}

/* ===== Cookie + Terms Consent Banner ===== */
#cookie-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

#cookie-overlay.tc-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tc-consent-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%) translateY(200%);
    width: 92%;
    max-width: 900px;
    background: rgba(225,236,255,0.92);
    border: 1px solid rgba(92,148,245,0.4);
    border-radius: 1rem;
    padding: 1rem;
    z-index: 9999;
    transition: transform 0.45s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tc-consent-banner.tc-visible {
    transform: translateX(-50%) translateY(0);
}

.tc-consent-content {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.tc-consent-content h3 {
    margin: 0;
    font-size: 1rem;
}

.tc-consent-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tc-consent-link {
    font-weight: bold;
    color: #1565c0;
}

.tc-consent-agree-btn {
    border: none;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background: #2b8ffa;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.tc-consent-agree-btn:hover {
    opacity: 0.9;
}

@media (max-width:700px){
    .tc-consent-content{
        flex-direction: column;
    }

    .tc-consent-agree-btn{
        width: 100%;
    }
}

