/*!
Theme Name: avlaw
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: avlaw
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

avlaw is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

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

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: #4169e1;
}

a:visited {
    color: #800080;
}

a:hover,
a:focus,
a:active {
    color: #191970;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    /* margin: 0 0 1.5em; */
    margin: 0;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


a,
button,
input {
    outline: none;
}

a:focus,
button:focus,
input:focus {
    outline: none;
}

a,
button,
select,
input,
textarea {
    outline: none;
}

a:focus,
button:focus,
select:focus,
input:focus,
textarea:focus {
    outline: none;
}

/* **************************************************************** Custom CSS ****************************************************** */
.container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

:root {
    --body-font-family: "Open Sans", sans-serif;
    --black-color: #000000;
    --white-color: #FFFFFF;
    --primary-color: #022a54;
    --secondary-color: #D4AF37;
}

/* ******** Header******** */
.site-branding {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    transition: all 0.4s ease;
}

.hdr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    /* background: var(--white-color); */
}

.hdr-logo {
    width: 13%;
}

.hdr-btn a {
    font-size: 15px;
    line-height: 26px;
    font-weight: 500;
    font-family: var(--body-font-family);
    text-decoration: none;
    color: var(--white-color);
    background: #D4AF37;
    padding: 12px 28px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hdr-btn a:hover {
    background: #0B2E59;
    color: var(--white-color);
}

.nav-sect {
    width: 58%;
    display: flex;
    justify-content: center;
}

/* .nav-sect ul {
    display: flex !important;
    justify-content: space-between;
} */

/* .nav-sect ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.nav-sect li a {
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: var(--black-color);
    font-family: var(--body-font-family);
    transition: all 0.3s ease;
}

.nav-sect li a:hover {
    color: #0B2E59;
}

.nav-sect ul li a {
    font-family: var(--body-font-family) !important;
    font-weight: 500 !important;
    padding: 0 !important;
}

/* ********** Footer *********** */
.footer {
    background: #022a54;
    color: var(--white-color);
    padding: 60px 0 10px;
    font-family: Arial, sans-serif;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
}

.footer-col {
    padding: 0 25px;
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.footer-col.ftr-logo {
    width: 40%;
    padding-right: 65px;
}

.footer-col.quick {
    width: 25%;
}

.footer-col.lct {
    width: 25%;
}

.footer-col:last-child {
    border-right: none;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--white-color);
    font-size: 15px;
    line-height: 28px;
    font-family: var(--body-font-family);
}

.footer-col h4 {
    color: var(--white-color);
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: var(--body-font-family);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: var(--white-color);
    font-size: 15px;
    line-height: 24px;
    font-family: var(--body-font-family);
}

.footer-col ul li a {
    color: var(--white-color);
    font-family: var(--body-font-family);
    text-decoration: none;
    transition: .3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 5px;
    width: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: .3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: #08254a;
    border-color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 35px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom span {
    color: var(--white-color);
    font-size: 14px;
    margin: 0 0 0;
    font-family: var(--body-font-family);
}

/* ************* Home Page ***************** */

.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    margin: 0 0 70px;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bnr-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(5, 33, 64, .90) 0%,
            rgba(5, 33, 64, .75) 35%,
            rgba(5, 33, 64, .20) 100%);
    z-index: 2;
}

.bnr-cnt {
    position: relative;
    z-index: 3;
    width: 90%;
    margin: 22px 0px 0px 80px;
}

.hero-content {
    width: 42%;
}

.hero-content h1 {
    color: var(--white-color);
    font-size: 42px;
    line-height: 38px;
    font-family: var(--body-font-family);
    margin: 0 0 25px;
    font-weight: 600;
}

.heading-line {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.heading-line span {
    width: 40px;
    height: 4px;
    background: var(--secondary-color);
}

.hero-content p {
    color: var(--white-color);
    font-size: 17px;
    line-height: 1.7;
    font-family: var(--body-font-family);
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns a {
    font-size: 15px;
    color: var(--white-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--body-font-family);
}

.btn-cons {
    background: var(--secondary-color);
    color: var(--white-color);
    border: 1px solid #D4AF37;
}

.btn-outline {
    border: 1px solid var(--white-color);
    color: var(--white-color);
    background-color: var(--primary-color);
}

.hero-btns a.btn.btn-cons:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border: 1px solid #fff;
}

.btn-outline:hover {
    border: 1px solid #0B2E59;
    color: var(--white-color);
    background: var(--secondary-color);
}

/* ****************** */

.about-avlaw {
    margin: 0 0 70px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.left-content {
    width: 48%;
}

.right-image {
    width: 48%;
}

.right-image img {
    width: 100%;
    display: block;
    border-radius: 6px;
    object-fit: cover;
}

.sub-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: var(--body-font-family);
}

.sub-title .line {
    width: 35px;
    height: 2px;
    background: #D4AF37;
}

.rpt-hdg h2 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 600;
    font-family: var(--body-font-family);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.left-content p {
    font-size: 16px;
    line-height: 27px;
    color: var(--black-color);
    font-family: var(--body-font-family);
    margin-bottom: 22px;
}

.left-content ul {
    margin: 0 0 25px;
    padding: 0;
}

.left-content li {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    color: var(--black-color);
    font-family: var(--body-font-family);
    margin: 0 0 3px 18px;
}

/* ************************ */
.why-avlaw {
    background: var(--primary-color);
    margin: 0px 0 70px;
    padding: 65px 0 75px;
}

.why-avlaw .rpt-hdg h2 {
    color: var(--white-color);
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.why-box {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, .2);
}

.why-box:last-child {
    border-right: none;
}

.why-box img {
    width: 85px;
    height: 65px;
    margin-bottom: 20px;
}

.why-box h3 {
    color: var(--white-color);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-family: var(--body-font-family);
}


/* ************************ */

.testimonial-sec {
    padding: 65px 0;
    background: #f7f9fc;
    text-align: center;
    margin: 0 0 70px;
}

.testimonial-sec .rpt-hdg h2 {
    margin: 0 0 35px;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-sec .nav {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    transition: .3s;
    padding: 15px;
}

.testimonial-sec .nav:hover {
    background: var(--secondary-color);
}

.testimonial-wrapper {
    width: 100%;
    max-width: 850px;
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    background: var(--white-color);
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.testimonial.active {
    display: block;
}

.testimonial-sec .quote {
    font-size: 55px;
    color: var(--secondary-color);
    line-height: 1;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black-color);
    font-family: var(--body-font-family);
    margin: 20px 0;
}

.testimonial h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 17px;
    font-family: var(--body-font-family);
}

.testimonial-sec .dots {
    margin-top: 35px;
}

.testimonial-sec .dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.testimonial-sec .dot.active {
    background: var(--secondary-color);
}

.testimonial-sec span.sub-title {
    justify-content: center;
}


/* ****************************** */

.blog-section {
    margin: 0 0 70px;
}

section.blog-section span.sub-title {
    justify-content: center;
}

section.blog-section .rpt-hdg h2 {
    text-align: center;
    margin: 0 0 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-img {
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: .4s;
}

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

.blog-content {
    padding: 22px;
}

.blog-date {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--body-font-family);
}

.blog-content h3 {
    color: var(--primary-color);
    font-family: var(--body-font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 15px 0;
}

.blog-content p {
    font-size: 15px;
    color: var(--black-color);
    font-family: var(--body-font-family);
    line-height: 26px;
    margin: 0 0 20px;
}

.blog-content a {
    color: #08254A;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.blog-content a:hover {
    color: var(--secondary-color);
}

.blog-btn {
    text-align: center;
    margin-top: 50px;
}

.blog-btn a {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 16px 34px;
    text-decoration: none;
    border-radius: 4px;
    transition: .3s;
}

.blog-btn a:hover {
    background: var(--secondary-color);
}


/* ****************************** */

.rpt-banner {
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
    margin: 0 0 70px;
}

.rpt-banner .bnr-cnt {
    text-align: center;
    width: 100%;
    margin: 0 0 0;
}

.rpt-banner .hero-content {
    width: 100%;
}

.rpt-banner .heading-line {
    justify-content: center;
}

.rpt-banner .hero-btns {
    justify-content: center;
    margin: 42px 0 0;
}


/* ****************************** */

.about-avlaw:nth-child(odd) .about-content {
    flex-direction: row-reverse;
}

/* ****************************** */


section.vitae-sect {
    margin: 0 0 70px;
}

.service_area .services-title {
    margin: 0;
}

.service_area .services-header {
    text-align: left;
}

section.vitae-sect .left-content {
    width: 100%;
}

.testimonial-section {
    margin: 0 0 70px;
}

.section-title {
    text-align: center;
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #000000;
    margin-bottom: 60px;
}

.testimonial-box {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
    margin: 0 8% 30px;
}

.testimonial-image {
    width: 30%;
}

.testimonial-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.testimonial-content {
    width: 66%;
}

section.vitae-sect .testimonial-content .rpt-hdg h2 {
    font-size: 22px;
}

section.vitae-sect .testimonial-box {
    align-items: center;
}

.testimonial-content p {
    font-size: 16px;
    font-family: var(--body-font-family);
    line-height: 1.8;
    color: var(--black-color);
}

.testimonial-content h4 {
    margin-top: 29px;
    text-align: center;
    font-size: 18px;
    font-family: var(--body-font-family);
    color: var(--primary-color);
    font-weight: 500;
}

/* *************************** */
section.avl.testimonial-section .testimonial-content {
    width: 100%;
    padding: 20px 8% 0;
    text-align: center;
}

section.avl.testimonial-section .testimonial-box {
    margin: 0 15% 30px;
}


/* ************************************* */
/* .contact_section .banner-left {
	width: 100%;
}

.contact_section .banner_sect {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	overflow: hidden;
	margin-bottom: 80px;
}

.contact_section .banner-overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 27, 60, 0.5);
}

.contact_section .banner_sect .cnt {
	width: 100%;
	text-align: center;
}

.contact_section .banner-btns {
	justify-content: center;
	margin: 40px 0 0;
} */

/* .cnt_sect {
	margin: 0 0 70px;
}

.cnt_sect .services-header p.services-eyebrow {
	padding: 10px 20% 0;
} */
.cnt_sect {
    margin: 0 0 70px;
}

.cnt_row {
    display: flex;
    justify-content: space-between;
    margin: 0 5% 0;
}

.cnt_details {
    color: #ffffff;
    width: 80%;
}

.cnt_right {
    width: 62%;
}

.cnt_left {
    width: 38%;
    background: var(--primary-color);
    padding: 60px 35px 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.cnt_left h3 {
    font-size: 22px;
    font-family: var(--white-color);
    line-height: 1.1;
    font-weight: 600;
    color: #ffffff;
    padding: 0 0 10px;
}

.cnt_left .cnt_icon {
    color: #ffffff;
    font-size: 20px;
}

.cnt_left ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.cnt_left li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 0 0 28px;
}

.cnt_left a,
.cnt_left p {
    font-size: 15px;
    font-family: var(--body-font-family);
    line-height: 1.1;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    margin: 0 0 0px;
    padding: 0 0 3px;
}

.cnt_right p {
    margin: 0 0 10px;
    display: contents;
}

.cnt_right .submit-btn-wrap input {
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--body-font-family);
    padding: 18px 0px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
    font-weight: 500;
}

.cnt_right .submit-btn-wrap span.wpcf7-spinner {
    display: none;
}

.cnt_right .submit-btn-wrap {
    margin: 20px 0 0;
    width: 28%;
}

span.wpcf7-not-valid-tip {
    color: var(--primary-color);
}

.cnt_right form {
    background: #00255780;
    padding: 70px 30px 75px;
    border-radius: 30px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 60px 65px 66px;
    position: relative;
}


.cnt_right input,
.cnt_right textarea {
    width: 100%;
    border: none;
    outline: none;
    background: #fff;
    border-radius: 14px;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
}

.cnt_right textarea {
    height: 140px;
    resize: none;
}

.form-row {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

/* *********************** */
.drct-sect .rpt-hdg {
    text-align: center;
}

.drct-sect {
    margin: 0 0 70px;
}

.lct iframe {
    width: 100%;
    padding: 0 5% 0;
}

/* ************ Blogs ********************* */

.blg .post-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 450px;
    border-radius: 8px;
}

.blg .entry-meta,
.blg .entry-meta a {
    color: #000000;
    font-size: 18px;
    margin: 0 0 12px;
}

.blg .entry-meta a:hover {
    color: var(--primary-color);
}

.entry-content p {
    font-size: 16px;
    color: #000000;
    font-family: var(--body-font-family);
}

.form-submit .submit {
    background-color: var(--primary-color);
    font-size: 15px;
    color: var(--white-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--body-font-family);
}

.blg h3,
.blg h2 {
    font-size: 25px;
    line-height: 1.2;
    font-weight: 600;
    font-family: var(--body-font-family);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.entry-footer span,
.entry-footer a {
    color: #000000;
    font-size: 16px;
    font-family: var(--body-font-family);
    padding: 0px 2px 0;
}

.nav-links a,
.comment-metadata a,
.logged-in-as a {
    color: #000000;
    font-size: 16px;
    font-family: var(--body-font-family);
}


section.about-avlaw.abt .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0 0 60px;
}

/* Even rows: image on left, content on right */
section.about-avlaw.abt .about-content:nth-child(even) {
    flex-direction: row-reverse;
}

section.about-avlaw.abt .about-content .left-content,
section.about-avlaw.abt .about-content .right-image {
    width: 50%;
}

.blg {
    margin: 45px 0 0;
}

/* ***************** 404 Page ************************ */
.error-404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: #f5f7fa;
}

.error-404-content {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 70px;
}

.error-number {
    font-size: 180px;
    line-height: 1;
    font-weight: 700;
    color: #06345f;
    flex-shrink: 0;
}

.error-content {
    max-width: 550px;
}

.error-subtitle {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #7f94ad;
}

.error-content h1 {
    margin: 0 0 20px;
    font-size: 42px;
    line-height: 1.2;
    color: #06345f;
}

.error-content p {
    margin: 0 0 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.error-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-buttons .btn-primary {
    background: #06345f;
    color: #fff;
}

.error-buttons .btn-primary:hover {
    background: var(--secondary-color);
}

.error-buttons .btn-outline {
    border: 1px solid #06345f;
    color: #06345f;
    background: transparent;
}

.error-buttons .btn-outline:hover {
    background: #06345f;
    color: #fff;
}

/* ***************** Thank You Page ******************* */
.thank-you-section {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: #f5f7fa;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #06345f;
    color: #fff;
    font-size: 42px;
    font-weight: 600;
}

.thank-you-subtitle {
    display: block;
    margin-bottom: 15px;
    color: #7f94ad;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

.thank-you-content h1 {
    margin: 0 0 20px;
    color: #06345f;
    font-size: 46px;
    line-height: 1.2;
}

.thank-you-content p {
    max-width: 600px;
    margin: 0 auto 35px;
    color: #555;
    font-size: 18px;
    line-height: 1.7;
}

.thank-you-btn .btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    background: #06345f;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.thank-you-btn .btn:hover {
    background: #092b4d;
}

/* .comments-area .comment-respond .comment-form input {
    width: 100%;
} */
.comments-area .comment-respond .comment-form .comment-form-author input,
.comments-area .comment-respond .comment-form .comment-form-email input,
.comments-area .comment-respond .comment-form .comment-form-url input {
    width: 100%;
}

section.practice-sect {
    margin: 0 0 60px;
}


/* ****************************** Responsive CSS ******************************************* */

@media only screen and (max-width: 767px) {

    .container {
        width: 92%;
        max-width: 100%;
    }

    /* ********* Header***************** */
    .menu-toggle,
    .main-navigation.toggled ul {
        display: none;
    }

    #mega-menu-wrap-menu-1 .mega-menu-toggle+#mega-menu-menu-1 {
        margin: 0px 0 0;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item {
        border-bottom: 1px solid #022a54;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item>a.mega-menu-link {
        padding: 0 0 0 15px !important;
    }

    #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block {
        margin: -45px 0 0;
    }

    .hdr-row {
        display: block;
        padding: 0 0 0;
    }

    .nav-sect {
        width: 100%;
        margin: -38px 0 0;
    }

    .hdr-logo {
        width: 50%;
        position: relative;
        z-index: 9999;
        padding: 0 0 0 5px;

    }

    .hdr-btn {
        display: none;
    }

    .site-branding {
        position: relative;
    }

    /* ********* Footer *********** */
    .footer {
        padding: 40px 0 10px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-col.ftr-logo {
        width: 100%;
        padding-right: 0px;
    }

    .footer-col {
        padding: 0 0px;
        border: none;
    }

    .footer-col.quick {
        width: 100%;
    }

    .footer-col.lct {
        width: 100%;
    }

    .footer-col h4 {
        font-size: 18px;
        margin: 10px 0 15px;
    }

    .social-icons {
        gap: 10px;
    }

    .footer-bottom p,
    .footer-bottom span {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 12px;
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        margin-top: 12px;
        padding-top: 10px;
    }

    /* ********* Home Page *********** */
    .bnr-cnt {
        width: 100%;
        margin: 0 0 0px 0px;
    }

    .hero-banner {
        min-height: 450px;
        margin: 0 0 60px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
        margin: 0 0 15px;
    }

    .heading-line {
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-btns {
        gap: 12px;
    }

    .hero-btns a {
        font-size: 14px;
        padding: 13px 20px;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .left-content,
    .right-image {
        width: 100%;
    }

    .sub-title {
        font-size: 13px;
    }

    .rpt-hdg h2 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .left-content p {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .left-content li {
        font-size: 15px;
        margin: 0 0 6px 18px;
    }

    .about-avlaw {
        margin: 0 0 60px;
    }

    .why-grid {
        flex-direction: column;
        display: flex;
        gap: 15px;
    }

    .why-avlaw {
        margin: 0px 0 60px;
        padding: 55px 0 55px;
    }

    .why-box {
        border: none;
    }

    .why-avlaw .rpt-hdg h2 {
        margin-bottom: 35px;
    }

    .testimonial-sec {
        padding: 50px 0;
        margin: 0 0 60px;
    }

    .testimonial-sec .nav {
        display: none;
    }

    .testimonial-sec .quote {
        font-size: 35px;
    }

    .testimonial p {
        font-size: 15px;
        margin: 15px 0 10px;
    }

    .testimonial {
        padding: 20px;
    }

    .testimonial-sec .dots {
        margin-top: 15px;
    }

    .blog-grid {
        gap: 15px;
        flex-direction: column;
        display: flex;
    }

    .blog-section {
        margin: 0 0 60px;
    }

    /* ************ About Page **************** */
    .rpt-banner {
        min-height: 300px;
        margin: 0 0 60px;
    }

    /* ************ Firm Overview Page **************** */

    section.about-avlaw.abt .about-content .left-content,
    section.about-avlaw.abt .about-content .right-image {
        width: 100%;
    }

    section.about-avlaw.abt .about-content:nth-child(even) {
        flex-direction: column-reverse;
    }

    /* ************ Curriculum Vitae Page **************** */
    .testimonial-box {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        margin: 0 0% 30px;
    }

    .testimonial-image,
    .testimonial-content {
        width: 100%;
    }

    section.vitae-sect .testimonial-content .rpt-hdg h2 {
        font-size: 18px;
    }

    .testimonial-content p {
        font-size: 15px;
    }

    /* ************ Contact Us **************** */
    .cnt_row {
        margin: 0 0% 0;
        flex-direction: column;
        gap: 20px;
    }

    .cnt_left {
        width: 100%;
        padding: 35px 35px 0;
        border-radius: 20px;
    }

    .cnt_right {
        width: 100%;
    }

    .cnt_right form {
        padding: 40px 25px 48px;
        border-radius: 20px;
    }

    .form-row {
        gap: 15px;
        flex-direction: column;
    }

    .cnt_right .submit-btn-wrap {
        width: 55%;
    }

    .lct iframe {
        padding: 0 0% 0;
        height: 300px;
    }

    .cnt_sect {
        margin: 0 0 60px;
    }

    .blg .post-thumbnail img {
        height: 250px;
    }

    section.avl.testimonial-section .testimonial-box {
        margin: 0 0% 20px;
    }

    section.avl.testimonial-section .testimonial-content {
        padding: 0px 0% 0;
    }

    .thank-you-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .thank-you-section {
        padding: 80px 20px;
    }

    .error-404-content {
        gap: 25px;
        flex-direction: column;
    }

    .error-number {
        font-size: 80px;
    }

    .error-content h1 {
        font-size: 22px;
    }

}



@media (min-width: 1200px) and (max-width: 1440px) {

    .container {
        max-width: 90%;
    }

    /* ************ Home Page ***************** */

    .hdr-row {
        padding: 10px 40px;
    }

    .hdr-logo {
        width: 18%;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item {
        margin: 0 35px 0 0;
    }

    .hero-content h1 {
        font-size: 35px;
        margin: 0 0 20px;
    }

    .bnr-cnt {
        margin: 22px 0px 0px 15px;
    }

    .hero-content {
        width: 56%;
    }

    .hero-banner {
        min-height: 600px;
        margin: 0 0 60px;
    }

    .rpt-hdg h2 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .about-content {
        gap: 25px;
    }

    .why-box {
        padding: 0 15px;
    }

    .why-avlaw .rpt-hdg h2 {
        margin-bottom: 45px;
    }

    .blog-img img {
        height: 230px;
    }

    .blog-content h3 {
        font-size: 18px;
        margin: 12px 0;
    }

    .hero-content p {
        padding: 0 30px 0 0;
    }

    .rpt-banner {
        min-height: 485px;
    }

    .page-template-curriculum-vitae .testimonial-content .left-content ul {
        column-count: 2;
    }

    .cnt_right form {
        padding: 48px 48px 50px;
    }

    section.avl.testimonial-section .testimonial-box {
        margin: 0 5% 30px;
    }

    .thank-you-section {
        margin: 30px 0 0;
    }

    .error-number {
        font-size: 138px;
    }

}



@media (min-width: 1441px) and (max-width: 1800px) {


    .container {
        max-width: 90%;
    }

    .hdr-row {
        padding: 10px 40px;
    }

    .hdr-logo {
        width: 15%;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item {
        margin: 0 60px 0 0;
    }

    .hero-content h1 {
        font-size: 35px;
        margin: 55px 0 20px;
    }

    .bnr-cnt {
        margin: 22px 0px 0px 15px;
    }

    .hero-content {
        width: 56%;
    }

    .hero-banner {
        min-height: 650px;
        margin: 0 0 60px;
    }

    .rpt-hdg h2 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .about-content {
        gap: 25px;
    }

    .why-box {
        padding: 0 15px;
    }

    .why-avlaw .rpt-hdg h2 {
        margin-bottom: 45px;
    }

    .blog-img img {
        height: 270px;
    }

    .blog-content h3 {
        font-size: 18px;
        margin: 12px 0;
    }

    .hero-content p {
        padding: 0 150px 0 0;
    }

    .rpt-banner {
        min-height: 540px;
    }

    .page-template-curriculum-vitae .testimonial-content .left-content ul {
        column-count: 2;
    }

    .cnt_right form {
        padding: 48px 48px 50px;
    }

    section.avl.testimonial-section .testimonial-box {
        margin: 0 5% 30px;
    }

    .blg {
        margin: 90px 0 0;
    }

    .thank-you-section {
        margin: 30px 0 0;
    }

    .error-number {
        font-size: 138px;
    }

    .error-content h1 {
        font-size: 35px;
    }



}

@media (min-width: 992px) and (max-width: 1199px) {

    /* .container {
        max-width: 90%;
    } */

    /* ************ Home Page ***************** */

    .hdr-row {
        padding: 10px 40px;
    }

    .hdr-logo {
        width: 18%;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item {
        margin: 0 18px 0 0;
    }

    .hero-content h1 {
        font-size: 35px;
        margin: 0 0 20px;
    }

    .bnr-cnt {
        margin: 22px 0px 0px 15px;
    }

    .hero-content {
        width: 56%;
    }

    .hero-banner {
        min-height: 600px;
        margin: 0 0 60px;
    }

    .rpt-hdg h2 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .about-content {
        gap: 25px;
    }

    .why-box {
        padding: 0 15px;
    }

    .why-avlaw .rpt-hdg h2 {
        margin-bottom: 45px;
    }

    .blog-img img {
        height: 230px;
    }

    .blog-content h3 {
        font-size: 18px;
        margin: 12px 0;
    }

    .hero-content p {
        padding: 0 30px 0 0;
    }

    .rpt-banner {
        min-height: 485px;
    }

    .page-template-curriculum-vitae .testimonial-content .left-content ul {
        column-count: 2;
    }

    .cnt_right form {
        padding: 48px 48px 50px;
    }

    section.avl.testimonial-section .testimonial-box {
        margin: 0 5% 30px;
    }

}


@media (min-width: 768px) and (max-width: 991px) {

    .container {
        width: 92%;
        max-width: 100%;
    }

    .error-404-content {
        gap: 25px;
        flex-direction: column;
    }

    .error-number {
        font-size: 80px;
    }

    .error-content h1 {
        font-size: 22px;
    }

    /* ********* Header***************** */
    .menu-toggle,
    .main-navigation.toggled ul {
        display: none;
    }

    #mega-menu-wrap-menu-1 .mega-menu-toggle+#mega-menu-menu-1 {
        margin: 0px 0 0;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item {
        border-bottom: 1px solid #022a54;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item>a.mega-menu-link {
        padding: 0 0 0 15px !important;
    }

    #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block {
        margin: -45px 0 0;
    }

    .hdr-row {
        display: block;
        padding: 0 0 0;
    }

    .nav-sect {
        width: 100%;
        margin: -38px 0 0;
    }

    .hdr-logo {
        width: 50%;
        position: relative;
        z-index: 9999;
        padding: 0 0 0 5px;

    }

    .hdr-btn {
        display: none;
    }

    .site-branding {
        position: relative;
    }

    /* ********* Footer *********** */
    .footer {
        padding: 40px 0 10px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-col.ftr-logo {
        width: 100%;
        padding-right: 0px;
    }

    .footer-col {
        padding: 0 0px;
        border: none;
    }

    .footer-col.quick {
        width: 100%;
    }

    .footer-col.lct {
        width: 100%;
    }

    .footer-col h4 {
        font-size: 18px;
        margin: 10px 0 15px;
    }

    .social-icons {
        gap: 10px;
    }

    .footer-bottom p,
    .footer-bottom span {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 12px;
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        margin-top: 12px;
        padding-top: 10px;
    }

    /* ********* Home Page *********** */
    .bnr-cnt {
        width: 100%;
        margin: 0 0 0px 0px;
    }

    .hero-banner {
        min-height: 450px;
        margin: 0 0 60px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
        margin: 0 0 15px;
    }

    .heading-line {
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-btns {
        gap: 12px;
    }

    .hero-btns a {
        font-size: 14px;
        padding: 13px 20px;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .left-content,
    .right-image {
        width: 100%;
    }

    .sub-title {
        font-size: 13px;
    }

    .rpt-hdg h2 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .left-content p {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .left-content li {
        font-size: 15px;
        margin: 0 0 6px 18px;
    }

    .about-avlaw {
        margin: 0 0 60px;
    }

    .why-grid {
        flex-direction: column;
        display: flex;
        gap: 15px;
    }

    .why-avlaw {
        margin: 0px 0 60px;
        padding: 55px 0 55px;
    }

    .why-box {
        border: none;
    }

    .why-avlaw .rpt-hdg h2 {
        margin-bottom: 35px;
    }

    .testimonial-sec {
        padding: 50px 0;
        margin: 0 0 60px;
    }

    .testimonial-sec .nav {
        display: none;
    }

    .testimonial-sec .quote {
        font-size: 35px;
    }

    .testimonial p {
        font-size: 15px;
        margin: 15px 0 10px;
    }

    .testimonial {
        padding: 20px;
    }

    .testimonial-sec .dots {
        margin-top: 15px;
    }

    .blog-grid {
        gap: 15px;
        flex-direction: column;
        display: flex;
    }

    .blog-section {
        margin: 0 0 60px;
    }

    /* ************ About Page **************** */
    .rpt-banner {
        min-height: 300px;
        margin: 0 0 60px;
    }

    /* ************ Firm Overview Page **************** */

    section.about-avlaw.abt .about-content .left-content,
    section.about-avlaw.abt .about-content .right-image {
        width: 100%;
    }

    section.about-avlaw.abt .about-content:nth-child(even) {
        flex-direction: column-reverse;
    }

    /* ************ Curriculum Vitae Page **************** */
    .testimonial-box {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        margin: 0 0% 30px;
    }

    .testimonial-image,
    .testimonial-content {
        width: 100%;
    }

    section.vitae-sect .testimonial-content .rpt-hdg h2 {
        font-size: 18px;
    }

    .testimonial-content p {
        font-size: 15px;
    }

    /* ************ Contact Us **************** */
    .cnt_row {
        margin: 0 0% 0;
        flex-direction: column;
        gap: 20px;
    }

    .cnt_left {
        width: 100%;
        padding: 35px 35px 0;
        border-radius: 20px;
    }

    .cnt_right {
        width: 100%;
    }

    .cnt_right form {
        padding: 40px 25px 48px;
        border-radius: 20px;
    }

    .form-row {
        gap: 15px;
        flex-direction: column;
    }

    .cnt_right .submit-btn-wrap {
        width: 55%;
    }

    .lct iframe {
        padding: 0 0% 0;
        height: 300px;
    }

    .cnt_sect {
        margin: 0 0 60px;
    }

    .blg .post-thumbnail img {
        height: 250px;
    }

    section.avl.testimonial-section .testimonial-box {
        margin: 0 0% 20px;
    }

    section.avl.testimonial-section .testimonial-content {
        padding: 0px 0% 0;
    }


}