/* --- Color Palette --- */
:root {
	--primary-color: #007bff;
	/* Deep Blue - Main Brand Color */
	--secondary-color: #17a2b8;
	/* Cyan - Accent Color */
	--text-dark: #212529;
	--text-light: #f8f9fa;
	--background-light: #f8f9fa;
	/* Near White */
	--background-primary-light: #e9f7fe;
	/* Very Light Blue */
	--success-color: #28a745;
}

/* --- Typography and General Styles --- */
body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	padding: 0px 0 0 0;
	/* account for fixed header */
	line-height: 1.7;
	color: var(--text-dark);
	background-color: var(--background-light);
}

@media (max-width: 768px) {
	body {
		padding-top: 0px;
	}
}

.container {
	width: 90%;
	max-width: 1100px;
	margin: auto;
}

h1,
h2,
h3 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

/* --- Section Headings --- */
.section-title {
	color: var(--primary-color);
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
	font-size: 2.2em;
}

.section-title::after {
	content: '';
	display: block;
	width: 80px;
	height: 4px;
	background: var(--secondary-color);
	margin: 15px auto 0;
	border-radius: 2px;
}

.section-sub-heading {
	color: var(--primary-color);
	font-size: 1.4em;
	margin-bottom: 1rem;
}

p.subtitle {
	text-align: center;
	font-size: 1.1em;
	color: #6c757d;
	margin: 0 auto 3rem;
	max-width: 700px;
}

.content-section {
	padding: 4rem 0;
	background-color: #fff;
	margin-bottom: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.primary-bg-light {
	background-color: var(--background-primary-light);
}

.secondary-bg-dark {
	background-color: var(--secondary-color);
	color: white;
}

.text-white {
	color: white !important;
}

.secondary-bg-dark .section-sub-heading {
	color: #ffc107;
}

.secondary-bg-dark .section-title::after {
	background: #ffc107;
}

/* --- Main Header / Hero Section --- */
.main-header {
	background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
	color: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content {
	text-align: center;
	padding: 4rem 0;
}

.hero-title {
	font-size: 3.5em;
	margin: 0 0 10px;
}

.hero-tagline {
	font-size: 1.4em;
	margin-top: 0;
	opacity: 0.95;
	font-weight: 600;
}

/* --- Sticky Navbar --- */
#sticky-navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	background-color: transparent;
	transition: all 0.3s ease;
	width: 100%;
}

.logo {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.5em;
	font-weight: 700;
	color: white;
	text-decoration: none;
	transition: font-size 0.3s ease;
}

.nav-links a {
	color: white;
	text-decoration: none;
	margin-left: 25px;
	font-weight: 600;
	transition: color 0.3s, font-size 0.3s;
}

.nav-links a:hover {
	color: #ffc107;
}

.nav-cta {
	background-color: var(--success-color);
	padding: 8px 15px;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.nav-cta:hover {
	background-color: #1e7e34;
}

#sticky-navbar.sticky {
	position: fixed;
	top: 0;
	left: 10;
	right: 0;
	z-index: 1000;
	background-color: #004085;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	padding: 10px;
}

#sticky-navbar.sticky .logo {
	font-size: 1.2em;
	margin-left: 0;
	/* ensures no extra left shift */
	transition: font-size 0.3s, margin-left 0.3s;
}

#sticky-navbar.sticky {
	padding-left: 100%;
	/* aligns with original container spacing */
	padding-right: 0%;
}

#sticky-navbar.sticky .nav-links a {
	font-size: 0.95em;
}

/* --- Mobile Navigation --- */
@media (max-width: 768px) {
	#sticky-navbar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 10px 5%;
	}

	.nav-links {
		display: none;
	}

	#sticky-navbar.sticky .nav-links {
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	#sticky-navbar.sticky .nav-links a:not(.nav-cta) {
		display: none;
	}

	.hero-title {
		font-size: 2.5em;
	}

	.hero-tagline {
		font-size: 1.1em;
	}

	.section-title {
		font-size: 1.8em;
	}
}

/* --- Call to Action --- */
.cta-button {
	display: table;
	margin: 2rem auto 0;
	background-color: var(--success-color);
	color: white;
	padding: 15px 35px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background-color 0.3s, transform 0.3s;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
	background-color: #1e7e34;
	transform: translateY(-3px);
}

.cta-button i {
	margin-left: 10px;
}

/* --- Feature Grid --- */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.feature-card {
	background: #fff;
	padding: 1.5rem;
	border-radius: 10px;
	text-align: center;
	border: 1px solid #e0e0e0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border-color: var(--primary-color);
}

.feature-card i {
	font-size: 3em;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.feature-card h3 {
	font-size: 1.2em;
	color: var(--text-dark);
}

/* --- Content Columns --- */
.content-columns {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 2rem;
}

.column {
	flex: 1 1 45%;
	min-width: 300px;
}

@media (max-width: 768px) {
	.column {
		flex: 1 1 100%;
		min-width: unset;
	}
}

/* --- Checklists --- */
.check-list {
	list-style: none;
	padding: 0;
}

.check-list li {
	padding: 10px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	font-size: 1.05em;
}

.check-list li i {
	margin-right: 15px;
	color: #ffc107;
	font-size: 1.2em;
}

/* --- Tables --- */
.table-responsive {
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 2rem;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

th,
td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #f1f1f1;
}

th {
	background-color: var(--primary-color);
	color: white;
	text-transform: uppercase;
	font-size: 0.9em;
}

tr:nth-child(even) {
	background-color: #f7f7f7;
}

.access-link {
	color: var(--secondary-color);
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s;
}

.access-link:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

/* --- Case Studies --- */
.case-studies-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.case-study-card {
	background: #fff;
	padding: 1.5rem;
	border-radius: 10px;
	border-top: 4px solid var(--primary-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s;
}

.case-study-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.case-study-card h3 {
	margin-top: 0;
	color: var(--primary-color);
	font-size: 1.25em;
}

.case-study-card h3 i {
	margin-right: 10px;
	color: var(--secondary-color);
}

/* --- FAQ Accordion --- */
.faq-accordion {
	margin-top: 2rem;
}

.faq-item {
	border: 1px solid #e0e0e0;
	margin-bottom: 12px;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s;
}

.faq-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
	background-color: #f8f9fa;
	padding: 15px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color 0.3s;
	position: relative;
	color: var(--text-dark);
	user-select: none;
}

.faq-question::after {
	content: '+';
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5em;
	color: var(--primary-color);
	transition: transform 0.3s;
}

.faq-question.active {
	background-color: var(--background-primary-light);
	color: var(--primary-color);
}

.faq-question.active::after {
	content: '−';
}

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out;
	background-color: #fff;
}

.faq-answer p {
	padding: 15px 0 20px;
	border-top: 1px solid #eee;
	margin: 0;
	font-size: 1em;
}

/* --- Footer --- */
footer {
	text-align: center;
	padding: 2rem 0;
	background-color: var(--text-dark);
	color: var(--text-light);
	font-size: 0.9em;
}

footer a {
	color: var(--secondary-color);
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s;
}


/* --- Video Curriculum Slider --- */
.video-curriculum-slider {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #fff;
}

.curriculum-slide {
    display: none;
    text-align: center;
    padding: 1rem;
}

.curriculum-slide.active {
    display: block;
}

.curriculum-slide video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.slide-info h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 0.5rem;
}

.slide-info span {
    color: #555;
    font-weight: 600;
}

/* Navigation Buttons */
.video-curriculum-slider .prev,
.video-curriculum-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s;
}

.video-curriculum-slider .prev:hover,
.video-curriculum-slider .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.video-curriculum-slider .prev { left: 10px; }
.video-curriculum-slider .next { right: 10px; }

@media (max-width: 768px) {
    .video-curriculum-slider .prev,
    .video-curriculum-slider .next {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
}
