/* ============================================================
   DigiLegal Home Page - Premium Look & Feel
   ============================================================ */

/* --- Shared section header pattern --- */
.home-section-head {
	text-align: center;
	margin-bottom: 40px;
}
.home-section-head .home-section-label {
	display: inline-block;
	color: #c2a155;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 10px;
	padding: 6px 16px;
	background: rgba(194, 161, 85, 0.1);
	border-radius: 20px;
	border: 1px solid rgba(194, 161, 85, 0.25);
}
.home-section-head .title {
	font-size: 34px;
	font-weight: 700;
	color: #1e2637;
	margin-bottom: 12px;
}
.home-section-head .home-section-subtitle {
	color: #6c757d;
	font-size: 16px;
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.7;
}
.home-section-head .title::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #c2a155, #e8d5a8);
	margin: 14px auto 0;
	border-radius: 2px;
}

/* --- Scroll reveal --- */
.home-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}
.home-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- ISO certification strip --- */
.home-iso-bar {
	margin-top: -50px;
	padding-bottom: 0;
	position: relative;
	z-index: 10;
}
.home-iso-bar .container {
	padding-left: 15px;
	padding-right: 15px;
}
.home-iso-bar .featured-icon-box-style1-row {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(30, 38, 55, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.home-iso-bar .featured-icon-box {
	padding: 28px 24px;
	transition: all 0.3s ease;
}
.home-iso-bar .featured-icon-box:hover {
	transform: translateY(-6px);
	filter: brightness(1.05);
}
.home-iso-bar .featured-title h5 {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.3px;
}
.home-iso-bar .featured-desc p {
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0.9;
}

/* --- Narrow content width (80%) - home sections except full-bleed expertise --- */
.site-main > section.ttm-row:not(.home-expertise-section) > .container {
	width: 80%;
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

/* --- Expertise split section: full width like original --- */
.home-expertise-section > .container {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* --- Recent Updates --- */
.home-updates-section {
	padding: 90px 0 80px;
	background: linear-gradient(180deg, #f4f6f9 0%, #ffffff 50%, #f8f9fb 100%);
	position: relative;
}
.home-updates-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(194, 161, 85, 0.4), transparent);
}
.home-updates-card {
	background: #fff;
	border-radius: 20px;
	border: 1px solid #e8ecf1;
	box-shadow: 0 16px 50px rgba(30, 38, 55, 0.09);
	padding: 28px 28px 20px;
	overflow: hidden;
}
.home-updates-section .tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
	border: none !important;
}
.home-updates-section .tabs li {
	float: none !important;
	margin: 0 !important;
}
.home-updates-section .tabs li a,
.home-updates-section .ttm-tabs.ttm-tab-style-horizontal ul.tabs li a {
	border-radius: 30px !important;
	padding: 12px 28px !important;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.5px;
	border: 2px solid rgba(194, 161, 85, 0.35) !important;
	background: linear-gradient(180deg, #fdfbf6 0%, #f7f2e8 100%) !important;
	color: #7a6535 !important;
	transition: all 0.25s ease;
}
.home-updates-section .tabs li.active a,
.home-updates-section .tabs li a:hover,
.home-updates-section .ttm-tabs.ttm-tab-style-horizontal ul.tabs li.active a,
.home-updates-section .ttm-tabs.ttm-tab-style-horizontal ul.tabs li a:hover {
	background: linear-gradient(135deg, #c2a155, #a8893f) !important;
	border-color: #c2a155 !important;
	color: #fff !important;
	box-shadow: 0 6px 20px rgba(194, 161, 85, 0.35);
}
.home-updates-section .tabs li a i,
.home-updates-section .ttm-tabs.ttm-tab-style-horizontal ul.tabs li a i {
	margin-right: 6px;
	color: #c2a155 !important;
}
.home-updates-section .tabs li.active a i,
.home-updates-section .tabs li a:hover i,
.home-updates-section .ttm-tabs.ttm-tab-style-horizontal ul.tabs li.active a i,
.home-updates-section .ttm-tabs.ttm-tab-style-horizontal ul.tabs li a:hover i {
	color: #fff !important;
}
.home-updates-section marquee {
	border-radius: 14px;
	background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
	border: 1px solid #eef1f5;
	padding: 20px;
}
.home-updates-section .ttm-list li {
	padding: 10px 0;
	border-bottom: 1px dashed #eef1f5;
	transition: padding-left 0.2s ease;
}
.home-updates-section .ttm-list li:hover {
	padding-left: 6px;
}

/* --- Why Digilegal --- */
.home-why-section {
	padding: 90px 0;
	background: linear-gradient(135deg, #ffffff 0%, #faf8f3 50%, #ffffff 100%);
	position: relative;
	overflow: hidden;
}
.home-why-section::after {
	content: "";
	position: absolute;
	top: -80px;
	right: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(194, 161, 85, 0.06) 0%, transparent 70%);
	pointer-events: none;
}
.home-why-section .section-title .title {
	font-size: 34px;
	font-weight: 700;
	color: #1e2637;
}
.home-why-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 10px;
	position: relative;
	z-index: 1;
}
.home-why-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #fff;
	border: 1px solid #efe6d4;
	border-radius: 14px;
	padding: 16px 18px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(30, 38, 55, 0.04);
}
.home-why-item:hover {
	border-color: #c2a155;
	box-shadow: 0 10px 28px rgba(194, 161, 85, 0.15);
	transform: translateY(-3px);
}
.home-why-item i {
	color: #fff;
	background: linear-gradient(135deg, #c2a155, #a8893f);
	font-size: 11px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	flex-shrink: 0;
	padding-left: 1px;
}
.home-why-item span {
	color: #3b404c;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.55;
}
.home-why-image-wrap {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(30, 38, 55, 0.15);
	border: 5px solid #fff;
	position: relative;
}
.home-why-image-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
	border: 3px solid rgba(194, 161, 85, 0.3);
	z-index: 2;
	pointer-events: none;
}
.home-stats-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 40px;
	position: relative;
	z-index: 1;
}
.home-stat-box {
	background: linear-gradient(145deg, #1e2637, #2a3347);
	border-radius: 16px;
	padding: 22px 16px;
	text-align: center;
	color: #fff;
	transition: transform 0.25s ease;
}
.home-stat-box:hover { transform: translateY(-5px); }
.home-stat-box strong {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: #c2a155;
	line-height: 1;
	margin-bottom: 6px;
}
.home-stat-box span {
	font-size: 12px;
	color: #b8c0cc;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* --- Our Services carousel --- */
.home-services-section {
	padding: 90px 0;
	background: linear-gradient(180deg, #eef1f5 0%, #f8f9fb 100%) !important;
}
.home-services-section .ttm-history-box-border {
	display: none;
}
.home-services-section .ttm-history-box-wrapper {
	background: #fff;
	border-radius: 20px;
	padding: 30px 22px 26px;
	box-shadow: 0 10px 36px rgba(30, 38, 55, 0.08);
	border: 1px solid #e8ecf1;
	transition: all 0.35s ease;
	margin: 12px 8px;
	text-align: center;
}
.home-services-section .ttm-history-box-wrapper:hover {
	transform: translateY(-10px);
	box-shadow: 0 22px 50px rgba(194, 161, 85, 0.18);
	border-color: rgba(194, 161, 85, 0.4);
}
.home-services-section .ttm-history-box-icon-wrapper {
	margin-bottom: 16px;
}
.home-services-section .ttm-icon {
	border-radius: 16px !important;
	box-shadow: 0 8px 24px rgba(194, 161, 85, 0.2);
}
.home-services-section .ttm-historybox-title h5 {
	color: #1e2637;
	font-weight: 700;
	font-size: 17px;
	margin-bottom: 10px;
}
.home-services-section .ttm-historybox-description {
	color: #6c757d;
	font-size: 14px;
	line-height: 1.65;
}
.home-services-section .ttm-history-box-wrapper--featured {
	border: 2px solid #c2a155;
	background: linear-gradient(180deg, #fffdf6 0%, #fff 100%);
	box-shadow: 0 14px 40px rgba(194, 161, 85, 0.2);
}
.home-services-section .ttm-history-box-wrapper--featured::before {
	content: "NEW";
	position: absolute;
	top: 12px;
	right: 12px;
	background: #c2a155;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 10px;
	letter-spacing: 0.5px;
}
.home-services-section .ttm-history-box-wrapper {
	position: relative;
}

/* --- Expertise split section --- */
.home-expertise-section .ttm-bgcolor-skincolor {
	border-radius: 0;
}
.home-expertise-section .col-bg-img-one {
	border-radius: 0;
	overflow: hidden;
}
.home-expertise-section .featured-icon-box {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 18px 16px;
	margin-bottom: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: all 0.25s ease;
}
.home-expertise-section .featured-icon-box:hover {
	background: rgba(255, 255, 255, 0.14);
	transform: translateX(4px);
}
.home-expertise-section .sep-line {
	background: rgba(255, 255, 255, 0.2) !important;
}

/* --- Leadership team --- */
.home-team-section {
	padding: 90px 0;
	background: #fff;
}
.home-team-section .featured-imagebox-team {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 36px rgba(30, 38, 55, 0.1);
	border: 1px solid #eceff3;
	transition: all 0.35s ease;
	margin: 8px;
}
.home-team-section .featured-imagebox-team:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(194, 161, 85, 0.18);
	border-color: rgba(194, 161, 85, 0.35);
}
.home-team-section .featured-content {
	background: #fff !important;
	padding: 18px 16px !important;
}
.home-team-section .featured-title h5 a {
	color: #1e2637;
	font-weight: 700;
	font-size: 15px;
}
.home-team-section .category {
	color: #c2a155 !important;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* --- Law students CTA banner --- */
.home-cta-banner {
	position: relative;
	overflow: hidden;
}
.home-cta-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(30, 38, 55, 0.88) 0%, rgba(30, 38, 55, 0.75) 100%);
	z-index: 1;
}
.home-cta-banner .container {
	position: relative;
	z-index: 2;
}
.home-cta-banner .title {
	color: #fff !important;
	font-size: 32px !important;
	line-height: 1.35 !important;
}
.home-cta-banner .title-desc {
	color: #d5d9e2 !important;
	font-size: 16px;
	line-height: 1.75;
}
.home-cta-banner .ttm-btn {
	border-radius: 30px !important;
	padding: 14px 32px !important;
	font-weight: 600;
	transition: all 0.25s ease;
}
.home-cta-banner .ttm-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.home-cta-banner .ttm-play-icon-btn .ttm-icon {
	box-shadow: 0 0 0 12px rgba(194, 161, 85, 0.25);
}

/* --- Testimonials & ratings --- */
.home-testimonial-section {
	padding: 0;
}
.home-testimonial-section .row.no-gutters {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(30, 38, 55, 0.12);
	margin-top: 60px !important;
}
.home-testimonial-section .ttm-bgcolor-darkgrey {
	border-radius: 20px 0 0 20px;
}
.home-testimonial-section .ttm-progress-bar {
	margin-bottom: 22px;
}
.home-testimonial-section .progress-bar-inner {
	background: rgba(255, 255, 255, 0.12) !important;
	border-radius: 10px;
	height: 8px;
}
.home-testimonial-section .progress-bar {
	border-radius: 10px;
}
.home-testimonial-section blockquote {
	font-size: 16px;
	line-height: 1.75;
	font-style: italic;
	padding: 0 20px;
}
.home-testimonial-section .testimonial-img img {
	border: 4px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* --- Work process --- */
.home-process-section {
	padding: 90px 0;
	background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}
.home-process-section .ttm-processbox {
	background: #fff;
	border-radius: 20px;
	padding: 24px 18px;
	box-shadow: 0 8px 30px rgba(30, 38, 55, 0.07);
	border: 1px solid #eceff3;
	transition: all 0.35s ease;
	margin: 0 8px;
}
.home-process-section .ttm-processbox:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 45px rgba(194, 161, 85, 0.15);
	border-color: rgba(194, 161, 85, 0.3);
}
.home-process-section .ttm-box-image {
	border-radius: 14px;
	overflow: hidden;
}
.home-process-section .process-num {
	background: linear-gradient(135deg, #c2a155, #a8893f) !important;
	box-shadow: 0 6px 18px rgba(194, 161, 85, 0.4);
}
.home-process-section .featured-title h5 {
	color: #1e2637;
	font-weight: 700;
	font-size: 16px;
}
.home-process-section .ttm-box-description {
	color: #6c757d;
	font-size: 14px;
	line-height: 1.6;
}

/* --- Latest news / blog --- */
.home-blog-section {
	padding: 90px 0;
	background: #fff;
}
.home-blog-section .featured-imagebox-blog {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 36px rgba(30, 38, 55, 0.08);
	border: 1px solid #eceff3;
	transition: all 0.35s ease;
	margin: 8px;
}
.home-blog-section .featured-imagebox-blog:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(194, 161, 85, 0.15);
	border-color: rgba(194, 161, 85, 0.3);
}
.home-blog-section .featured-thumbnail img {
	transition: transform 0.4s ease;
}
.home-blog-section .featured-imagebox-blog:hover .featured-thumbnail img {
	transform: scale(1.05);
}
.home-blog-section .featured-content {
	padding: 22px 20px !important;
}
.home-blog-section .featured-title h5 {
	font-size: 15px;
	line-height: 1.5;
}
.home-blog-section .featured-title h5 a {
	color: #1e2637;
	font-weight: 600;
	transition: color 0.2s ease;
}
.home-blog-section .featured-title h5 a:hover {
	color: #c2a155;
}
.home-blog-section .ttm-box-post-date {
	background: #c2a155 !important;
	border-radius: 10px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
	.site-main > section.ttm-row:not(.home-expertise-section) > .container {
		width: 92%;
		max-width: 92%;
	}
	.home-section-head .title { font-size: 28px; }
	.home-stats-strip { grid-template-columns: repeat(2, 1fr); }
	.home-iso-bar { margin-top: -30px; }
	.home-expertise-section .ttm-bgcolor-skincolor { border-radius: 0; }
	.home-testimonial-section .ttm-bgcolor-darkgrey { border-radius: 20px 20px 0 0; }
}
@media (max-width: 767px) {
	.home-why-grid { grid-template-columns: 1fr; }
	.home-stats-strip { grid-template-columns: 1fr 1fr; }
	.home-updates-section .tabs { flex-direction: column; align-items: stretch; }
}
@media (max-width: 575px) {
	.site-main > section.ttm-row:not(.home-expertise-section) > .container {
		width: 94%;
		max-width: 94%;
	}
	.home-stats-strip { grid-template-columns: 1fr; }
	.home-stat-box strong { font-size: 22px; }
}
