/**
 * Custom Styles for Situational Mindsets Homepage
 * Matching the design from situationalmindsets.com
 */

/* Global Typography */
body {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Slab', serif;
	font-weight: 700;
}

/* Slideshow Styles */
.ja-slideshow {
	width: 100%;
	position: relative;
	overflow: hidden;
	margin-bottom: 40px;
}

.home-slideshow-container {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.slideshow-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.slideshow-item.active {
	opacity: 1;
	z-index: 1;
}

.slideshow-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slideshow-controls {
	text-align: center;
	padding: 15px 0;
	background: #f5f5f5;
}

.slideshow-controls button {
	background: transparent;
	border: 1px solid #ccc;
	padding: 8px 15px;
	margin: 0 5px;
	cursor: pointer;
	font-size: 12px;
	color: #666;
	transition: all 0.3s ease;
}

.slideshow-controls button:hover {
	background: #022F99;
	color: #fff;
	border-color: #022F99;
}

/* Home Content Styles */
.home-content {
	padding: 20px 0;
}

.intro-section {
	margin-bottom: 40px;
	text-align: center;
	padding: 10px;
}

.intro-section h2 {
	color: #022F99;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 20px;
	font-family: 'Roboto Slab', serif;
}

.intro-section p {
	font-size: 14px;
	line-height: 1.8;
	color: #333;
	text-align: left;
}

.intro-section img {
	max-width: 100%;
	height: auto;
	margin-top: 20px;
}

/* Key Ideas Section */
.key-ideas-section {
	margin-bottom: 40px;
}

.Table_01 {
	display: grid;
	grid-template-columns: 12px 118px 1fr 15px 1fr 16px 1fr 16px 1fr 15px 1fr 15px 1fr 12px;
	grid-template-rows: 47px 85px 45px;
	gap: 0;
	width: 100%;
	max-width: 866px;
	margin: 0;
}

.key-ideas-blank-div-01_ {
	grid-column: 1 / -1;
	grid-row: 1;
}

.key-ideas-blank-div-02_ {
	grid-column: 1;
	grid-row: 2;
}

.key-ideas-blank-div-03_ {
	grid-column: 2;
	grid-row: 2;
}

.LSP-Web-Design-boost-mental-agility-092415-04_ {
	grid-column: 3;
	grid-row: 2;
	background-color: #f2bec0;
	padding: 15px;
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}

.key-ideas-blank-div-05_ {
	grid-column: 4;
	grid-row: 2;
}

.LSP-Web-Design-boost-mental-agility-092415-06_ {
	grid-column: 5;
	grid-row: 2;
	background-color: #feeab8;
	padding: 15px;
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}

.key-ideas-blank-div-07_ {
	grid-column: 6;
	grid-row: 2;
}

.LSP-Web-Design-boost-mental-agility-092415-08_ {
	grid-column: 7;
	grid-row: 2;
	background-color: #b7e4cd;
	padding: 15px;
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}

.key-ideas-blank-div-09_ {
	grid-column: 8;
	grid-row: 2;
}

.LSP-Web-Design-boost-mental-agility-092415-10_ {
	grid-column: 9;
	grid-row: 2;
	background-color: #cfdfbb;
	padding: 15px;
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}

.key-ideas-blank-div-11_ {
	grid-column: 10;
	grid-row: 2;
}

.LSP-Web-Design-boost-mental-agility-092415-12_ {
	grid-column: 11;
	grid-row: 2;
	background-color: #aed9ec;
	padding: 15px;
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}

.key-ideas-blank-div-13_ {
	grid-column: 12;
	grid-row: 2;
}

.LSP-Web-Design-boost-mental-agility-092415-14_ {
	grid-column: 13;
	grid-row: 2;
	background-color: #f4bbde;
	padding: 15px;
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}

.key-ideas-blank-div-15_ {
	grid-column: 14;
	grid-row: 2;
}

.key-ideas-blank-div-16_ {
	grid-column: 1 / -1;
	grid-row: 3;
}

.Table_01 img {
	display: block;
	width: 100%;
	height: 100%;
}

/* Mobile Key Ideas Table */
.key-ideas-mobile {
	width: 100%;
	margin: 20px 0;
	text-align: left;
}

.key-ideas-mobile thead th {
	background-color: #f5f5f5;
	padding: 10px;
}

.key-ideas-mobile tbody td:first-child {
	width: 30px;
	padding: 10px;
}

.key-ideas-mobile tbody td:last-child {
	padding: 10px 15px;
	font-size: 14px;
	line-height: 1.6;
}

/* Book Section Styles */
.book-section {
	margin-top: 40px;
}

.book-intro {
	padding: 20px 15px;
	margin-bottom: 30px;
	border-radius: 5px;
}

.book-intro h4 {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
}

.book-details {
	margin-bottom: 0px;
}

.book-cover {
	width: 100%;
	max-width: 250px;
	height: auto;
	margin: 20px auto;
	display: block;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: transform 0.3s ease;
}

.book-cover:hover {
	transform: scale(1.05);
}

.book-link {
	text-align: center;
	margin-bottom: 30px;
}

.book-link .btn-primary {
	background: #022F99;
	border-color: #022F99;
	padding: 12px 30px;
	font-size: 16px;
	font-weight: 600;
	margin-top: 20px;
}

.book-link .btn-primary:hover {
	background: #011F66;
	border-color: #011F66;
}

.book-cover-mobile {
	max-width: 200px;
	display: block;
	margin: 10px auto;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
	.home-slideshow-container {
		height: 300px;
	}

	.intro-section h2 {
		font-size: 24px;
	}

	.intro-section p {
		font-size: 14px;
	}

	.slideshow-controls button {
		font-size: 10px;
		padding: 6px 10px;
		margin: 0 2px;
	}
}

@media (max-width: 480px) {
	.home-slideshow-container {
		height: 200px;
	}

	.intro-section h2 {
		font-size: 20px;
	}
}

/* Footer Custom Styles */
.t3-copyright {
	/*background: #f5f5f5;*/
	padding: 20px 0;
	text-align: center;
}

.copyright img {
	height: 29px;
	margin-right: 10px;
	vertical-align: middle;
}

.copyright p {
	margin: 0;
	font-size: 14px;
	color: #666;
}

/* Center alignment for content */
center {
	text-align: center;
}

center > * {
	margin-left: auto;
	margin-right: auto;
}

/* About Us Page Styles */
.about-us-page {
	padding: 30px 0;
}

.about-header {
	margin-bottom: 30px;
	text-align: center;
}

.about-header img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.about-us-content h1 {
	color: #022F99;
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 30px;
	font-family: 'Roboto Slab', serif;
}

.about-intro {
	margin-bottom: 50px;
}

.about-intro h4 {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	font-weight: 400;
	margin-bottom: 20px;
	font-family: 'Roboto', sans-serif;
}

.book-cover-about {
	max-width: 100%;
	height: auto;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: transform 0.3s ease;
}

.book-cover-about:hover {
	transform: scale(1.05);
}

/* Clients Section */
.clients-section {
	margin-top: 40px;
}

.clients-section h2 {
	color: #022F99;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
	font-family: 'Roboto Slab', serif;
}

.client-row {
	margin-bottom: 20px;
	text-align: center;
}

.client-row .col-sm-3 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 15px;
}

.client-row img {
	max-width: 100%;
	height: auto;
	max-height: 100px;
	object-fit: contain;
	filter: grayscale(50%);
	transition: all 0.3s ease;
}

.client-row img:hover {
	filter: grayscale(0%);
	transform: scale(1.1);
}

.clients-section hr {
	border-top: 1px solid #e0e0e0;
	margin: 30px 0;
}

/* Responsive adjustments for About Us */
@media (max-width: 767px) {
	.about-us-content h1 {
		font-size: 28px;
	}

	.about-intro h4 {
		font-size: 14px;
	}

	.clients-section h2 {
		font-size: 22px;
	}

	.client-row .col-sm-3 {
		min-height: 80px;
		margin-bottom: 15px;
	}

	.client-row img {
		max-height: 60px;
	}
}
