/*!
Theme Name: kbdlaw01
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kbdlaw
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.

kbdlaw 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/
*/

/* Home Hero */
.hero-bg {
	min-height: 702px;
	height: 100vh;
}
.hero-bg img {
	height:100%;
	width:100%;
	object-fit:cover;
}
.hero-wrapper:after {
	content: "";
	position: absolute;
	bottom:-1px;
	width:100%;
	height: 734px;
	background: linear-gradient(
		to bottom,
		rgba(3, 9, 41, 0) 0%,   
		rgba(3, 9, 41, 1) 88%  
	);
	pointer-events: none;
}
.hero-content-wrap {
	padding-bottom: 165px;
	z-index: 1;
	position: absolute;
	bottom: 0;
	width: 100%;
}
.inner-hero-content {
	max-width: 1312px;
	margin: 0 auto;
}
.inner-hero-content .section-content .section-heading {
	max-width: 1202px;
	margin: 0 auto;
}
.inner-hero-content .section-content .section-text {
	margin-top:36px;
	font-size: 30px;
}
.inner-hero-content .section-buttons {
	padding-top:80px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.hero-bg-mobile { display: none; }
/* Info Section */
.info-wrapper .divider-image-wrap {
	margin-bottom: 123px;
}
.info-wrapper .section-content .section-text {
	font-family: var(--font-avenir-std);
	font-weight: 400;
	line-height: 37px;
}
/* Overview Section */
.overview-content {
	max-width: 1102px;
	margin: 0 auto;
}
.overview-content .section-text {
	padding-top: 33px;
}
.list-items {
	padding-top: 89px;
	padding-left: 62px;
	padding-right: 15px;
	display: flex;
	justify-content:center;
	margin: 0 -40px;
}
.list-item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin-bottom: 40px;
	padding: 0 40px;
}
.three-cloumn-list {
	flex-wrap:wrap;
}
.three-cloumn-list .list-item {
	width: calc(33.33% - 80px);
}
.list-item:after {
	content:'';
	width: 1px;
	height: 54px;
	background-color: #ffffff;
	position:absolute;
	right:0;
}
.list-item:last-child::after,
.list-item:nth-child(3n)::after {
	content: none;
}
.list-image-wrap {
	width: 61px;
}
.list-content {
	width: calc(100% - 89px);
}
.overview-buttons .section-buttons {
	padding-top:26px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
/* Services Section */
.services-wrapper .divider-image-wrap {
	margin-bottom:123px;
}
.service-content {
	padding-bottom:126px;
}
.services-cards {
	display:flex;
	flex-wrap:wrap;
	column-gap:70px;
	row-gap:76px;
}
.service-card {
	width: calc(50% - 35px);
	display: flex;
	flex-direction: column;
}
.service-card-in {
	padding:43px 25px 52px;
	border-radius: 4px;
	border: 2px solid #fbd97a;
	gap:30px;
	height:100%;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	text-align:center;
}
.service-card-media {
	display: flex;
	flex-direction: column;
	max-height:67px;
}
.service-card-media img {
	height:100%;
	width:100%;
	object-fit:cover;
}
.service-card-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
	justify-content: center;
	align-items: center;
}
.service-card-title a {
	color:var(--color-white);
	text-transform:uppercase;
	max-width:417px;
	display:inline-block;
}
.service-card-title a:hover {
	color:#fbd97a;
}
.service-divider {
	display: flex;
	flex-direction: column;
}
.service-card-text {
	max-width: 455px;
}
.service-card-link-wrap {
	padding-top:8px;
}
.service-card-link-wrap .service-card-link {
	font-family: var(--font-avenir);
	font-weight: 700;
	font-size: 25px;
	letter-spacing: 3px;
	line-height: 35px;
	text-decoration: underline;
	text-transform: uppercase;
	color: #fbd97a;
}
.service-card-link-wrap .service-card-link:hover {
	color:var(--color-white);
}
/* FAQs Section */
.faqs-section {
	position:relative;
}
.faqs-wrapper {
	z-index:1;
}
.faqs-content-wrap {
	padding-bottom:64px;
}
.faqs-item {
	font-size: 25px;
	line-height: 40px;
	border-bottom: 1px solid #fbd97a;
}
.faqs-title {
	font-family: var(--font-avenir);
	font-weight: 700;
	padding:40px 60px 0 0;
	line-height:29px;
}
.faq-spacing {
	height:40px;
	transition: height 0.4s;
}
.active .faq-spacing {
	height:0;
}
.faqs-item:first-child .faqs-title {
	padding-top:0;
}
.faqs-content {
	display: none;
	padding-bottom:41px;
	padding-right: 60px;
}
.faqs-title {
	cursor: pointer;
	position: relative;
}
.faqs-title::after {
	content: "+";
	position: absolute;
	right: 30px;
	top:50%;
	transform:translateY(-50%);
	transition: transform 0.3s ease;
	font-size: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 10px;
	line-height: 1;
	align-items: center;
}
.faqs-item.active .faqs-title::after {
	content: "-";
}
.faqs-item:first-child .faqs-title::after {
	margin-top:-20px;
}
.faqs-item.active:first-child .faqs-title::after {
	margin-top:0;
}
/* Teams Sections */
.teams-content-wrap {
	max-width: 1320px;
	margin: 0 auto 143px;
}
.teams-content-wrap .section-content .section-heading {
	margin-bottom:38px;
}
.team-cards {
	display: flex;
	flex-wrap: wrap;
	column-gap: 73px;
	max-width: 1115px;
	margin: 0 auto;
}
.team-card {
	width: calc(50% - 37px);
	display: flex;
	margin-bottom:73px;
}
.team-card-media {
	border: 2px solid var(--color-white);
	width: 268px;
}
.team-card-media img {
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:top;
}
.team-card-content {
	border: 2px solid #fbd97a;
	width:calc(100% - 268px);
	border-left:0;
	padding:41px 14px 20px;
	display:flex;
	flex-direction:column;
}
h3.team-card-title {
	font-size: 25px;
	line-height: 31px;
	font-weight: 300;
	font-family: var(--font-gothic);
	margin-bottom:21px;
	max-width: 193px;
}
.team-divider {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}
.team-card-designation {
	font-size: 16px;
	line-height: 23px;
	text-transform: uppercase;
	font-style: italic;
	font-family: var(--font-avenir);
	font-weight: 700;
	margin-bottom:25px;
}
.team-card-practice {
	text-transform: uppercase;
}
.team-card-practice,
.team-card-text {
	font-size: 18px;
	line-height: 24px;
}
.team-card-link {
	padding-top:29px;
	display: flex;
	flex-direction: column;
	margin-top: auto;
}
.teams-buttons .section-buttons {
	padding-top:37px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
/* Image & Content Section */
.image-content-wrap {
	display: flex;
	flex-wrap: wrap;
	padding-right: 15px;
}
.image-left, .content-right {
	width: 50%;
}
.content-right {
	display:flex;
	flex-direction:column;
	justify-content:center;
	padding:100px 0;
	max-width:697px;
	z-index:1;
}
.image-left {
	display: flex;
	flex-direction: column;
}
.image-left .image-content-img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: left top;
}
.image-content-wrapper:before {
	content:'';
	background:url('assets/images/overlay.png') no-repeat center center;
	background-size:cover;
	height: 100%;
	width: 85%;
	position: absolute;
	right: 0;
	top: 0;
}
.image-content-wrap .section-content .section-heading {
	margin-bottom:62px;
}
/* Image Gallery Section */
.image-gallery-content-wrap {
	padding-bottom:82px;
}
.image-gallery-block-wrapper {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 15px;
}
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 194px 194px;
    column-gap: 12px;
    row-gap: 12px;
}
.image-gallery-grid .gallery-item {
    border: 2px solid var(--color-white);
    overflow: hidden;
    box-sizing: border-box;
}
.image-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s;
}
.image-gallery-grid .gallery-item img:hover {
	transform:scale(1.2);
}

/* CSS To update Gallery Grid */
/* .image-gallery-grid .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 2; max-height: 100%; } */
/* .image-gallery-grid .gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 2; max-height: 100%; } */

/* ============================================
   DESKTOP GRID LAYOUT
   ============================================ */
/* --- 1st image (Full Height) - Column 1, Row 1-2 --- */
.image-gallery-grid .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3;}
/* --- 2nd top - Column 2, Row 1 --- */
.image-gallery-grid .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1;}
/* --- 3rd image (Full Height) - Column 3, Row 1-2 --- */
.image-gallery-grid .gallery-item:nth-child(3) { grid-column: 3; grid-row: 1 / 3;}
/* --- 4th top - Column 4, Row 1 --- */
.image-gallery-grid .gallery-item:nth-child(4) { grid-column: 4; grid-row: 1;}
/* --- 5th top - Column 5, Row 1 --- */
.image-gallery-grid .gallery-item:nth-child(5) { grid-column: 5; grid-row: 1;}
/* --- 6th top - Column 6, Row 1 --- */
.image-gallery-grid .gallery-item:nth-child(6) { grid-column: 6; grid-row: 1;}
/* --- 2nd bottom - Column 2, Row 2 --- */
.image-gallery-grid .gallery-item:nth-child(7) { grid-column: 2; grid-row: 2;}
/* --- 4th bottom - Column 4, Row 2 --- */
.image-gallery-grid .gallery-item:nth-child(8) { grid-column: 4; grid-row: 2;}
/* --- 5th bottom - Column 5, Row 2 --- */
.image-gallery-grid .gallery-item:nth-child(9) { grid-column: 5; grid-row: 2;}
/* --- 6th bottom - Column 6, Row 2 --- */
.image-gallery-grid .gallery-item:nth-child(10) { grid-column: 6; grid-row: 2;}






/* Footer CTA Section */
.cta-title {
	margin-bottom:94px;
}
form.cta-form input,
form.cta-form textarea,
form.cta-form select {
	font-size: 25px !important;
	line-height: normal !important;
	color: var(--color-text) !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	padding: 10px 29px !important;
	height: 58px !important;
}
form.cta-form textarea {
	height: 184px !important;
	min-height: auto !important;
}
.gform-theme--foundation form.cta-form .gform_fields,
.gform-theme--foundation form.cta-form .gform-grid-row {
	column-gap: 28px !important;
}
.gform-theme--foundation form.cta-form .gform_fields {
	row-gap: 26px !important;
}
.gform-theme--foundation form.cta-form .gform-grid-row .gform-grid-col.name_first {padding-right:0 !important;}
.gform-theme--foundation form.cta-form .gform-grid-row .gform-grid-col.name_last {padding-left:0 !important;}
form.cta-form .gform_footer {
	justify-content:center;
}
form.cta-form .gform_footer input.gform_button {
	width: 209px !important;
	height: 46px !important;
	background-color: #fbd97a !important;
	font-size: 25px !important;
	line-height: 35px !important;
	text-transform: uppercase !important;
	color: var(--color-text) !important;
	font-weight: bold !important;
	font-family: var(--font-avenir) !important;
	font-weight: 700 !important;
	padding: 5px 15px !important;
}
form.cta-form .gform_footer input.gform_button:hover {
	background-color: var(--color-white) !important;
	color: var(--color-primary) !important;
}
.gform_confirmation_wrapper {
	text-align: center;
}
.cta-form-wrap .gform-theme--framework .gform_validation_errors .gform_submission_error,
.cta-form-wrap .gform-theme--framework .gform_validation_errors .gform-icon,
.cta-form-wrap .gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	color: var(--color-white);
}
.cta-form-wrap .gform-theme--framework .gform_validation_errors .gform-icon {
	border-color: rgb(255 255 255 / 41%);
}
.cta-form-wrap .gform-theme--framework .gform_validation_errors {
	border: 1px solid rgb(255 255 255 / 41%);
}
.cta-form-wrap .gform-theme--framework .gform_validation_errors:focus {
	border-color: rgb(255 255 255 / 41%);
	outline: 0;
}

/* Single Team Page */
.bio-hero-sec {
	padding-block: 60px;
	background-color: #000519;
}
.bio-media-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
}
.bio-content-right {
	float: right;
	display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 391px;
    padding-left: 65px;
    padding-bottom: 10px;
}
.bio-member-image { 
	position: relative;
    height: 640px;
	width: 100%;
	border: 2px solid #ffffff;
	border-bottom: unset;
	box-sizing: border-box;
}
.bio-member-image img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.bio-social-links { 
    width: 100%;
	padding-block: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8%;
	background-color: #143464;
	border: 2px solid #ffffff;
	box-sizing: border-box;
}
a.social-link-icon {
    display: flex;
}
a.social-link-icon img {
    width: auto;
    height: 25px;
    filter: none;
    transition: all .3s ease;
}
a.social-link-icon:hover img {
    filter: grayscale(1) brightness(0) invert(1) contrast(1.2);
}
.bio-icon-btn {
	display: flex !important;
    justify-content: center;
    align-items: center;
    width: max-content;
    margin-inline: auto;
	font-size: 19px !important;
	line-height: 29px !important;
	letter-spacing: 3px;
}
.talk-to-attorney-btn {
	padding-inline: 23px !important;
    box-sizing: border-box;
}
.bio-icon-btn span {
	width: 24px;
	height: 24px;
	display: inline-block; 
	margin-right: 15px;
}
.call-icon-btn {
	background: url('/wp-content/uploads/2026/03/telephone-call-Icon.png') no-repeat center center;
	background-size: contain;
}
.exam-icon-btn {
	background: url('/wp-content/uploads/2026/03/exam_icon.png') no-repeat center center;
	background-size: contain;
}
.bio-request-btn {
	padding-bottom: unset !important;
	display: flex;
    justify-content: center;
    align-items: center;
}
/* .bio-description > p:nth-last-child(2) {
    padding-top: 10px;
} */

/* Service Page */
.divider-text-btn-sec .info-wrapper .divider-image-wrap { margin-bottom: 80px;}
.cmn-btn-mt .info-buttons  { margin-top: 80px; text-align: center;}
.service-overview-sec .overview-content { max-width: 100%;}
.service-overview-sec .overview-content .section-text { text-align: left;}
.service-overview-sec .list-item:nth-child(3n):after {
	content:'';
	width: 1px;
	height: 54px;
	background-color: #ffffff;
	position:absolute;
	right:0;
}
.service-overview-sec .list-item .list-content {
    width: calc(100% - 90px);
    max-width: 390px;
}
.service-overview-sec .list-items.three-cloumn-list {
	padding-inline: unset;
	margin-inline: -30px;
	flex-wrap: unset;
}
.service-overview-sec .list-items.three-cloumn-list .list-item {
	width: auto;
	padding-inline: 30px;
}
.btm-info-sec .info-wrapper .divider-image-wrap { margin-top: 123px;}
.head-pb-33 .section-heading { padding-bottom: 33px; text-align: center; max-width: 1023px; margin-inline: auto;}
.head-max-w-700 .section-heading { max-width: 700px;}
.head-max-w-800 .section-heading { max-width: 800px;}
.info-content ul { list-style-position: inside; margin-bottom: 1em;}
.info-content ul li::marker { color: var(--color-gold);}
.inner-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
	flex-direction: column;
}
.hero-innerpage .hero-bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
	object-position: center center;
}
.inner-hero-wrapper .hero-content-wrap  { position: relative; padding: unset !important;}
.inner-hero-wrapper .hero-content-wrap .section-content {
    padding-block: 170px 104px;
    text-align: left;
    max-width: 650px;
}
.inner-hero-wrapper .hero-bg {
    min-height: unset;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    max-height: 100%;
}
.hero-right-img-wrap { margin-top: auto; display: flex;}
.hero-innerpage { overflow: hidden; min-height: 300px;}


@media (max-width: 1499px) {
	/* Home Hero */
	.inner-hero-content .section-content .section-text {margin-top: 20px;font-size: 25px;}
	.inner-hero-content .section-buttons {padding-top: 50px;}
	.hero-content-wrap {padding-bottom: 100px;}
	/* Info Section */
	.info-wrapper .divider-image-wrap {margin-bottom: 100px;}
	.info-wrapper .section-content .section-text {line-height: inherit;}
	/* Overview Section */
	.list-items {padding-top: 50px;padding-left: 50px;}
	.list-image-wrap {width: 55px;}
	.list-content {width: calc(100% - 85px);}
	/* Services Section */
	.services-wrapper .divider-image-wrap {margin-bottom: 100px;}
	.service-content {padding-bottom:100px;}
	.services-cards {column-gap: 50px;row-gap: 50px;}
	.service-card {width: calc(50% - 25px);}
	.service-card-in, .service-card-content {gap: 25px;}
	.service-card-link-wrap .service-card-link {font-size: 22px;letter-spacing: 2px;line-height: 30px;}
	/* FAQs Section */
	.faqs-item {font-size: 22px;line-height: 35px;}
	.faqs-content-wrap {padding-bottom: 50px;}
	.faqs-title {padding: 30px 60px 0 0;}
	.faqs-content {padding-bottom: 30px;}
	.faq-spacing {height: 30px;}
	.faqs-item:first-child .faqs-title::after {margin-top: -15px;}
	/* Teams Sections */
	.teams-content-wrap .section-content .section-heading {margin-bottom: 30px;}
	.teams-content-wrap {margin: 0 auto 100px;}
	.team-cards {column-gap: 50px;}
	.team-card {width: calc(50% - 25px);margin-bottom: 50px;}
	h3.team-card-title {font-size: 22px;line-height: 27px;max-width: 169px;}
	.team-card-practice, .team-card-text {font-size: 16px;line-height: 22px;}
	.teams-buttons .section-buttons {padding-top: 30px;}
	/* Image & Content Section */
	.image-content-wrap .section-content .section-heading {margin-bottom: 50px;}
	/* Image Gallery Section */
	.image-gallery-content-wrap {padding-bottom: 50px;}
/* 	.image-gallery-grid {grid-template-columns: repeat(4, 1fr);} */
/* 	.image-gallery-grid .gallery-item {max-height: 220px;} */
	/* Footer CTA Section */
	.cta-title {margin-bottom: 60px;}
	form.cta-form .gform_footer input.gform_button {width: 190px !important;height: 40px !important;font-size: 22px !important;line-height: 25px !important;padding: 5px 15px !important;}
	form.cta-form input, form.cta-form textarea, form.cta-form select {font-size: 22px !important;padding: 10px 20px !important;height: 50px !important;}
	form.cta-form textarea {height: 160px !important;}
	/* Single Team Page */
	.bio-member-image { height: 500px;}
	/* Service Page */
	.service-overview-sec .list-items.three-cloumn-list {
		margin-inline: -30px;
		flex-wrap: wrap;
	}
	.service-overview-sec .list-items.three-cloumn-list .list-item {
		width: calc(50% - 60px);
		padding-inline: 30px;
	}
	.btm-info-sec .info-wrapper .divider-image-wrap { margin-top: 100px;}
	.service-overview-sec .list-item:nth-child(2n):after { content: none;}
}
@media (max-width: 1199px) {
	/* Home Hero */
	.inner-hero-content .section-content .section-text {margin-top: 20px;font-size: 20px;}
	.inner-hero-content .section-buttons {padding-top: 40px;}
	.hero-content-wrap {padding-bottom: 60px;}
	/* Info Section */
	.info-wrapper .divider-image-wrap {margin-bottom: 60px;}
	/* Overview Section */
	.list-items {padding-top: 40px;padding-left: 40px;}
	.list-image-wrap {width: 45px;}
	.list-content {width: calc(100% - 72px);}
	.list-item {gap: 20px;margin-bottom: 30px;padding: 0 20px;min-width: 240px;}
	.list-items {padding-left: 15px;margin: 0 -20px;}
	.list-item:after {height: 40px;}
	/* Services Section */
	.services-wrapper .divider-image-wrap {margin-bottom: 60px;}
	.service-content {padding-bottom:60px;}
	.services-cards {column-gap: 30px;row-gap: 30px;}
	.service-card {width: calc(50% - 15px);}
	.service-card-in, .service-card-content {gap: 15px;}
	.service-card-link-wrap .service-card-link {font-size: 20px;letter-spacing: 2px;line-height: 28px;}
	/* FAQs Section */
	.faqs-item {font-size: 20px;line-height: 32px;}
	/* Teams Sections */
	.teams-content-wrap {margin: 0 auto 60px;}
	.team-cards {column-gap: 30px;}
	.team-card {width: calc(50% - 15px);margin-bottom: 30px;}
	h3.team-card-title {font-size: 20px;line-height: 28px;max-width: 154px;}
	/* Image & Content Section */
	.image-content-wrap .section-content .section-heading {margin-bottom: 25px;}
	.content-right {padding: 60px 0;}
	/* Image Gallery Section */
/* 	.image-gallery-grid {grid-template-columns: repeat(4, 1fr);} */
/* 	.image-gallery-grid .gallery-item {max-height: 200px;} */
	/* Footer CTA Section */
	.cta-title {margin-bottom: 50px;}
	/* Single Team Page */
	.bio-content-right {
		max-width: 391px;
		padding-left: 30px;
		padding-bottom: 10px;
	}
	.bio-icon-btn { letter-spacing: 2px; padding: 10px 24px !important; font-size: ;}
	.bio-member-image { height: 450px;	}
	/* Service Page */
	.divider-text-btn-sec .info-wrapper .divider-image-wrap  { margin-bottom: 60px;}
	.cmn-btn-mt .info-buttons { margin-top: 60px;}
	.service-overview-sec .list-item:nth-child(3n):after { height: 40px;}
	.btm-info-sec .info-wrapper .divider-image-wrap { margin-top: 60px;}
}
@media (max-width: 992px) {
	/* Home Hero */
	.hero-content-wrap {padding-bottom: 50px;}
	/* Info Section */
	.info-wrapper .divider-image-wrap {margin-bottom: 50px;}
	/* Overview Section */
	.list-item {gap: 15px;min-width: 185px;}
	.list-image-wrap {width: 35px;}
	.list-item:first-child{padding-left:0;}
	.list-item:last-child{padding-right:0;}
	.list-content {width: calc(100% - 50px);font-size: 16px;line-height: 25px;}
	.list-item:after {height: 30px;}
	/* 	.list-item:nth-child(2n)::after {content: none;} */
	/* Services Section */
	.services-wrapper .divider-image-wrap {margin-bottom: 50px;}
	.service-content {padding-bottom:50px;}
	.services-cards {column-gap: 20px;row-gap: 20px;}
	.service-card-link-wrap .service-card-link {font-size: 18px;line-height: 25px;}
	.service-card-media {max-height: 50px;}
	/* FAQs Section */
	.faqs-content-wrap {padding-bottom: 40px;}
	.faqs-title {padding: 20px 45px 0 0;}
	.faq-spacing {height: 20px;}
	.faqs-content {padding-bottom: 20px;padding-right:40px;}
	.faqs-title::after {right: 20px;top: 30px;transform: none;}
	.faqs-item:first-child .faqs-title::after,
	.faqs-item.active:first-child .faqs-title::after {margin-top: -20px;}
	/* Teams Sections */
	.teams-content-wrap {margin: 0 auto 50px;}
	.team-card {width: 100%;}
	h3.team-card-title {font-size: 18px;line-height: 25px;max-width:100%;}
	/* Image & Content Section */
	.content-right {padding: 50px 0;}
	
	
	/* Image Gallery Section */
	/* 	.image-gallery-grid {grid-template-columns: repeat(3, 1fr);} */
	/* ============================================
	 * Image Gallery Section
	   RESPONSIVE LAYOUT (768px and below)
	   2-column, 6-row grid
   	  ============================================ */
    .image-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 250px);
        column-gap: 10px;
        row-gap: 10px;
    }

    /* --- ROW 1: 1st (full) + 2nd top/bottom --- */
    /* 1st image - Full height, Column 1, Row 1-2 */
    .image-gallery-grid .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3;}
    /* 2nd top - Column 2, Row 1 */
    .image-gallery-grid .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1;}
    /* 2nd bottom - Column 2, Row 2 */
    .image-gallery-grid .gallery-item:nth-child(7) { grid-column: 2; grid-row: 2;}

    /* --- ROW 2: 3rd (full) + 4th top/bottom --- */
    /* 3rd image - Full height, Column 1, Row 3-4 */
    .image-gallery-grid .gallery-item:nth-child(3) { grid-column: 1; grid-row: 3 / 5;}
    /* 4th top - Column 2, Row 3 */
    .image-gallery-grid .gallery-item:nth-child(4) { grid-column: 2; grid-row: 3;}
    /* 4th bottom - Column 2, Row 4 */
    .image-gallery-grid .gallery-item:nth-child(8) { grid-column: 2; grid-row: 4;}

    /* --- ROW 3: 5th top/bottom + 6th top/bottom --- */
    /* 5th top - Column 1, Row 5 */
    .image-gallery-grid .gallery-item:nth-child(5) { grid-column: 1; grid-row: 5;}
    /* 5th bottom - Column 1, Row 6 */
    .image-gallery-grid .gallery-item:nth-child(9) { grid-column: 1; grid-row: 6;}
    /* 6th top - Column 2, Row 5 */
    .image-gallery-grid .gallery-item:nth-child(6) { grid-column: 2; grid-row: 5;}
    /* 6th bottom - Column 2, Row 6 */
    .image-gallery-grid .gallery-item:nth-child(10) { grid-column: 2; grid-row: 6;}
	
	
	
	/* Footer CTA Section */
	.cta-title {margin-bottom: 30px;}
	form.cta-form .gform_footer input.gform_button {width: 180px !important;height: 35px !important;font-size: 18px !important;line-height: 20px !important;}
	form.cta-form input, form.cta-form textarea, form.cta-form select {font-size: 20px !important;padding: 10px 20px !important;height: 45px !important;}
	form.cta-form textarea {height: 140px !important;}
	/* Single Team Page */
	.bio-icon-btn { letter-spacing: 1px; padding: 10px 20px !important;}
	/* Service Page */
	.divider-text-btn-sec .info-wrapper .divider-image-wrap  { margin-bottom: 50px;}
	.cmn-btn-mt .info-buttons { margin-top: 50px;}
	.service-overview-sec .list-item:nth-child(3n):after  { height: 30px;}
	.btm-info-sec .info-wrapper .divider-image-wrap { margin-top: 60px;}
	.hero-right-img-wrap { max-width: 350px;}
}
@media(max-width:768px) {
	/* Home Hero */
	.hero-bg-desktop { display: none; }
    .hero-bg-mobile  { display: block; }
	/* Overview Section */
	.list-items {flex-wrap: wrap;padding-left: 0;padding-right: 0;}
	.list-item {width: 100%;margin-bottom: 20px;gap: 15px;min-width: auto;}
	.list-item:after {content:none;}
	.list-image-wrap {width: 40px;}
	.list-item:first-child{padding-left:20px;}
	.list-item:last-child{padding-right:20px;}
	.list-content {width: calc(100% - 55px);font-size: 18px;line-height: 28px;}
	/* Services Section */
	.service-card {width: 100%;}
	/* Image & Content Section */
	.image-content-wrap {padding-right: 0;}
	.image-left, .content-right {width: 100%;}
	.image-content-wrapper:before {content:none;}
	.image-content-wrapper .content-right {position:relative;max-width: 100%;padding: 50px 15px;}
	.image-content-wrapper .content-right:before {content: '';background: url('assets/images/overlay.png') no-repeat center center;background-size: cover;height: 100%;width: 100%;		position: absolute;right: 0;top: auto;bottom: 0;z-index:-1;}
	/* Single Team Page */
	.bio-icon-btn { letter-spacing: 0.5px; padding: 10px 16px !important;}
	.bio-icon-btn span { margin-right: 10px;}
	.bio-member-image { height: 400px;	}

	/* Our Service Page */
	.service-overview-sec .list-items.three-cloumn-list .list-item { width: 100%;}
	.service-overview-sec .list-item:nth-child(3n):after  { content: none;}
	.inner-hero-content { flex-direction: column;}
	.inner-hero-wrapper .hero-content-wrap .section-content { padding-block: 120px 40px; text-align: center;}

} 
@media(max-width:639px) {
	/* Footer CTA Section */
	.gform-theme--foundation form.cta-form .gform-grid-row .gform-grid-col.name_first {padding-right: 6px !important;}
	.gform-theme--foundation form.cta-form .gform-grid-row .gform-grid-col.name_last {padding-left: 6px !important;}
	.gform-theme--foundation form.cta-form .gform-grid-row {row-gap: 28px !important;}
	
	/* Home Page */
	/* ============================================
	MOBILE LAYOUT (480px and below)
	Single column, full width images
	============================================ */
	.image-gallery-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		row-gap: 10px;
	}

	/* Reset all items to single column, auto row */
	.image-gallery-grid .gallery-item:nth-child(1),
	.image-gallery-grid .gallery-item:nth-child(2),
	.image-gallery-grid .gallery-item:nth-child(3),
	.image-gallery-grid .gallery-item:nth-child(4),
	.image-gallery-grid .gallery-item:nth-child(5),
	.image-gallery-grid .gallery-item:nth-child(6),
	.image-gallery-grid .gallery-item:nth-child(7),
	.image-gallery-grid .gallery-item:nth-child(8),
	.image-gallery-grid .gallery-item:nth-child(9),
	.image-gallery-grid .gallery-item:nth-child(10) {
		grid-column: 1;
		grid-row: auto;
	}

	/* Reorder to keep logical image pairing:
		1st, 2nd top, 2nd bottom, 3rd, 4th top, 4th bottom, 
		5th top, 5th bottom, 6th top, 6th bottom */
	.image-gallery-grid .gallery-item:nth-child(1)  { order: 1; }
	.image-gallery-grid .gallery-item:nth-child(2)  { order: 2; }  /* 2nd top */
	.image-gallery-grid .gallery-item:nth-child(7)  { order: 3; }  /* 2nd bottom */
	.image-gallery-grid .gallery-item:nth-child(3)  { order: 4; }
	.image-gallery-grid .gallery-item:nth-child(4)  { order: 5; }  /* 4th top */
	.image-gallery-grid .gallery-item:nth-child(8)  { order: 6; }  /* 4th bottom */
	.image-gallery-grid .gallery-item:nth-child(5)  { order: 7; }  /* 5th top */
	.image-gallery-grid .gallery-item:nth-child(9)  { order: 8; }  /* 5th bottom */
	.image-gallery-grid .gallery-item:nth-child(6)  { order: 9; }  /* 6th top */
	.image-gallery-grid .gallery-item:nth-child(10) { order: 10; } /* 6th bottom */

	.image-gallery-grid .gallery-item img {
		height: auto;
		max-height: 350px;
		object-fit: cover;
	}
	
	
	
	/* Single Team Page */
	.bio-content-right { padding-left: unset; float: none;}
	.bio-member-image { height: auto;}
	.bio-description {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	.bio-description > p:nth-last-child(2) { padding: unset;}
}
@media (max-width: 575px) {
	/* Teams Sections */
	.team-card {flex-wrap: wrap;}
	.team-card-media {width: 100%;}
	.team-card-content {width:100%;border-left:2px solid #fbd97a;border-top:0;}
	/* Image Gallery Section */
/* 	.image-gallery-grid {grid-template-columns: repeat(2, 1fr);} */
}
@media (max-width: 480px) {
	/* Image Gallery Section */
	/* 	.image-gallery-grid {grid-template-columns: repeat(1, 1fr);} */
	
	
	
	/* Single Team Page */
	.bio-icon-btn span { margin-right: 6px; width: 20px; height: 20px;}
}
