html{scroll-behavior: smooth;}
#learning-hub-page .text-primary {
	color: #00589c !important;
	padding:0;
}

#learning-hub-page .learning-hub-section {
	background:#788990 url('https://static.hydroottawa.com/pages/ora/hub/images/ora-hub-hero.jpg') no-repeat center center;
	background-size: auto 100%;
	box-shadow:0px 3px 5px rgb(0,0,0,0.5);
}
#learning-hub-page .learning-hub-overlay {
	background: rgba(0, 44, 80, 0.6);
}
#learning-hub-page.healthcare-page .learning-hub-section{
	background-image:url('https://static.hydroottawa.com/pages/ora/hub/images/ora-healthcare-hero.jpg');
	background-color:#788990;
}
#learning-hub-page.k12-schools-page .learning-hub-section{
	background-image:url('https://static.hydroottawa.com/pages/ora/hub/images/ora-schools-hero.jpg');
	background-color:#e1e6ea;
}
#learning-hub-page.office-buildings-page .learning-hub-section{
	background-image:url('https://static.hydroottawa.com/pages/ora/hub/images/ora-officebuilding-hero.jpg');
	background-color:#304d5d;
}
#learning-hub-page.retail-buildings-page .learning-hub-section{
	background-image:url('https://static.hydroottawa.com/pages/ora/hub/images/ora-retailbuildings-hero.jpg');
	background-color:#92847b;
}
#learning-hub-page.multiunit-residential-page .learning-hub-section{
	background-image:url('https://static.hydroottawa.com/pages/ora/hub/images/ora-multires-hero.jpg');
	background-color:#f9f9f9;
}
#learning-hub-page .learning-hub-overlay .container{
	min-height: 450px;
	height:450px;
	display:flex;
	align-items:center;
}
#learning-hub-page .learning-hub-content h1 {
	font-size: 48px;
	font-weight: 700;
	color: white;
	font-family:Gotham,"Lato",sans-serif;
}

#learning-hub-page h2, #learning-hub-page h3, #learning-hub-page h4, #learning-hub-page h5, #learning-hub-page h6 {
	font-family:Gotham,"Lato",sans-serif;
	margin:0;
	padding:0;
}

#learning-hub-page .learning-hub-content h2 {
	font-size: 1.4rem;
	color: white;
	max-width: 600px;
	font-weight:400;
}
#learning-hub-page h3 {
	margin-bottom:16px;
}
#learning-hub-page h6 {
	font-size: 1.2rem;
}
/*section 2 css */
/* Resource Strategy Section */

#learning-hub-page .resource-section .position-relative {
	z-index: 9999;
	/*
	margin-top: -100px;
	background-color: white;
	padding-top: 60px;
	padding-left: 60px;
	*/
	
}
#learning-hub-page .resource-section .position-relative:before{
	content:" ";
	display:block;
	width:111%;
	height:90px;
	background-color:#fff;
	position:absolute;
	top:-90px;
	left:-60px;	
}

#learning-hub-page .resource-section {
	background-color: white;
}

#learning-hub-page .resource-heading {
	font-size: 1.3rem;
	line-height:1.8rem;
	font-weight: 400;
	color: #333;
	position: relative;
	padding-left: 23px;
	border-left: 7px solid #f89c1c;
	margin:0;
}

#learning-hub-page .highlight {
	border-left: 2px solid #f89c1c;
	padding-left: 16px;
}

#learning-hub-page .highlight-bar {
	width: 4px;
	height: 100px;


	position: absolute;
	left: 0;
	top: 8px;
}

#learning-hub-page .resource-description {
	font-size: 1rem;
	color: #333;
	line-height: 1.6;
}

/* Learn Your Way Section */
#learning-hub-page .learn-section {
	background-color: #e8f0f6;
	position: relative;
	padding-bottom: 120px;
}

#learning-hub-page .learn-section .white-box {
	background: white;
	padding: 40px;
	margin-top: -100px;
}

#learning-hub-page .pill-btn {
	background-color: #f89c1c;
	border: 2px solid #f89c1c !important;
	border: none;
	border-radius: 30px;
	padding: 10px 20px;
	font-weight: bold;
	color: #333;
	font-size: 1rem;
	transition: background-color 0.3s ease;
}

#learning-hub-page .pill-btn:hover {
	border: 2px solid #e88a0a;
	color: #00589c;
	background: transparent;
}

#learning-hub-page .text-purple {
	color: #3A3268 !important;
}

/* section 2 css ends here */
/*section 3 starts here*/

#learning-hub-page .learn-section-btn .mb-3 {
	margin-top: 1em;

}
#learning-hub-page .step-circle {
	width: 70px;
	height: 70px;
	background-color: #ffefdc;
	color: #005B97;
	font-weight: bold;
	font-size: 24px;
}

#learning-hub-page .faq-number {
	background-color: #fdebdc;
	color: #000;
	font-weight: bold;
	font-size: 18px;
	border-radius: 50%;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#learning-hub-page .faq-toggle {
	width: 100%;
	padding: 1rem 0 0 0;
	border: none;
	border-top: 2px solid #00589c;
	background-color: transparent;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
	cursor: pointer;
}

#learning-hub-page .faq-toggle:focus {
	outline: none;
}

#learning-hub-page .faq-icon::before {
	content: "+";
	font-size: 24px;
	color: #00589c;
	transition: all 0.3s ease;
}

#learning-hub-page .faq-item.open .faq-icon::before {
	content: "−";
	color: #00589c;
}

#learning-hub-page .faq-answer {
	display: none;
	padding-bottom: 1rem;
	color: #333;
	font-size: 16px;
	line-height: 1.5;
}

#learning-hub-page .faq-item.open .faq-answer {
	display: block;
}

#learning-hub-page .faq-item.open .faq-question {
	color: #00589c;
}


/*section 3 ends here */
/*section 4 starts*/
#learning-hub-page .key-number {
	background-color: #fdebdc;
	color: #000;
	font-weight: bold;
	font-size: 18px;
	border-radius: 50%;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/*section 4 ends here*/
/*section 5 css starts here*/
#learning-hub-page #listening .listen-block{
	height: fit-content;
    align-items: center;
}
#learning-hub-page .listening-guide-section {
	background-color: #005a97;
	/* matches the blue in your image */
}

#learning-hub-page .listening-guide-section .text-white-link {
	color: #ffffff !important;
	/* Makes the link text white */
	text-decoration: underline;
	/* Ensures it is underlined */
}
#learning-hub-page .listen-btns{
	position:relative;
	margin:0;
	display:inline-block;
	border-radius:12px;
}
#learning-hub-page .listen-btns:hover{
	background:rgb(25,51,69,0.2);
}
#learning-hub-page .listen-btns.active{
	background:rgb(25,51,69,0.4);
}
#learning-hub-page .listen-btns .play-btn{
	display:flex;
	padding:6px 14px;
	gap:10px;
    align-items: center;
    justify-content: space-between;
}
#learning-hub-page .play-icon{
	border:4px solid white;
	min-width:40px;
	min-height:40px;
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:50%;
}
#learning-hub-page .play-icon:after{
	content:" ";
	border-top: 7px solid transparent;
	border-left: 10px solid #fff;
	border-bottom: 7px solid transparent;
}

#learning-hub-page .badge-circle-white {
	width: 126px;
	height: 126px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 18px;
	color: #3a3a3a;
	margin-bottom: 20px;
	background:#fff;
}

#learning-hub-page .badge-circle-light {
	width: 56px;
	height: 56px;
	background-color: #fdebdc;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 18px;
	color: #3a3a3a;
}

#learning-hub-page .faq-question {
	text-align: left;
	padding-right:20px;
	color:#000;
}

#learning-hub-page .vertical-divider {
	width: 2px;
	height: 80px;
	background-color: #f89c1c;
}

#learning-hub-page .text-underline {
	text-decoration: underline;
}

#learning-hub-page .faq-toggle-bottom {
	border-bottom: 0px !important;
}

/* section 5 css ends here*/
/*section 6 css starts here */
#learning-hub-page .badge-circle-light {
	width: 56px;
	height: 56px;
	background-color: #fdebdc;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 18px;
	color: #3a3a3a;
}

#learning-hub-page .deep-dive-section .text-underline {
	text-decoration: underline;
}

#learning-hub-page .bg-lightblue {
	background-color: #eaf1f7;
}

#learning-hub-page .highlight-bar {
	display: inline-block;
	height: 20px;
	width: 3px;
	background-color: #f89c1c;
	margin-right: 8px;
	vertical-align: middle;
}

#learning-hub-page .deep-dive-box {
	border-radius: 0px;
	margin-top:45px;
	height:100%;
}

#learning-hub-page .deep-dive-box .bg-lightblue{
	height:94%;
	padding-top:1px;
}

#learning-hub-page .deep-dive-box .white-block {
	padding:30px;
	max-width:94%;
	background:#fff;
	border:1px solid #f3f7fb;
	box-shadow:4px 4px 10px rgb(0,0,0,0.08);
	margin:-50px 0 10px 0;
	gap:35px;
}
#learning-hub-page .deep-dive-padding{
	padding:20px 30px;
}
#learning-hub-page .deep-dive-box .white-block h6{
	border-left:3px solid #f7941d;
	padding:0 0 0 20px;
}

/*section 6 css ends here */
/* =================================== */
/* STYLES FOR TOOLS AND LINKS SECTION  */
/* =================================== */
#learning-hub-page .tools-section {
	padding: 80px 0 60px;
	text-align: center;
	background-color: #eaf1f7;
	/* This was the missing background color */
}

#learning-hub-page .tools-title {
	color: #00589c;
	font-weight: 700;
}

#learning-hub-page .tools-subtitle {
	color: #333;
	margin-bottom: 40px;
}

#learning-hub-page .tool-box {
	background-color: #f8f9fa;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: row;
	align-items:center;
    gap: 15px;
    text-align: left;
	transition: transform 0.2s ease;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

#learning-hub-page .tool-box:hover {
	transform: translateY(-4px);
}

#learning-hub-page .tool-box a {
	text-decoration: none !important;
	/*
	font-size: 1.2rem;
	font-weight: 700;
	color: #00589c;
	*/
}

#learning-hub-page .tools-section .d-flex{
	margin:10px 0;
}
#learning-hub-page .tool-label {
	font-size: 1.1rem;
	line-height: 1.3rem;
    font-weight: 700;
    color: #00589c;
    text-align: left;
}
#learning-hub-page .tool-description {
    font-size: 0.9rem;
    margin-top: 6px;
}
#learning-hub-page .boxed-link{
	height:100%;left:0;position:absolute;top:0;width:100%;z-index:10; cursor:pointer;
}
#learning-hub-page .boxed-link span{
	display:none;
}
#learning-hub-page .boxed-link:hover{
	text-decoration:none !important;
}
#learning-hub-page .bottom-btn {
    margin-top: 40px;
}
#learning-hub-page .tool-number {
	font-size: 1.2rem;
	width: 60px;
	height: 60px;
	background-color: #FDEAD2;
	border-radius: 50%;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #3a3a3a;
	flex-shrink: 0;
	/* Prevents the circle from shrinking */
}

#learning-hub-page .contact-btn {
	background-color: #f89c1c;
	color: #333 !important;
	font-weight: bold;
	padding: 14px 40px;
	border-radius: 30px;
	border: 2px solid #f89c1c !important;
	text-decoration:none;
}

#learning-hub-page .contact-btn:hover {
	border: 2px solid #e88a0a !important;
	color: #00589c !important;
	background: transparent;
	text-decoration:none;
}


@media (max-width: 768px) {
	
	#learning-hub-page .deep-dive-box .white-block{
		padding:20px;
		max-width: 86%;
		flex-direction: column;
		text-align:center;
		gap:6px;
	}
	
	#learning-hub-page .faq-section .justify-content-between{
		flex-direction: column;
        gap: 10px;
	}

	#learning-hub-page .listen-block {
		align-items: center !important;
		display: flex !important;
		width: 100% !important;
	}

	#learning-hub-page .learning-hub-content h1 {
		font-size: 32px;
	}

	#learning-hub-page .learning-hub-content p {
		font-size: 16px;
	}
}

@media (min-width: 992px) {
	#learning-hub-page .desktop-padded{
		padding-left:86px;
	}
	#learning-hub-page .resource-section .position-relative {
		padding-right:80px;
	}
	#learning-hub-page .faq-item-left-block {
		margin-left: 6%;
	}

	#learning-hub-page .margin-left-block {
		margin-left: 12%;
	}

	#learning-hub-page .mob-text {
		display: none;
	}

	#questionsanswers .faq-item {
		margin-left: 86px;
	}

	#learning-hub-page .desk-btn {
		text-align: right !important;
	}

	#learning-hub-page .col-lg-2 {
		flex: 0 0 24.666667% !important;
		max-width: 19.666667% !important;
	}
}


/* ===== Youtube Audio Player CSS ===== */

.audio-player {
	 background: #fff;
	 border-radius: 12px;
	 box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
	 padding: 1.5rem 2rem;
	 position: relative;
}
 .player-header {
	 display: flex;
	 align-items: center;
	 justify-content: space-between;
	 margin-bottom: 1rem;
}
 .player-title {
	 font-size: 1.25rem;
	 font-weight: 600;
	 color: #005eb8;
}
 .chapter-label {
	 font-size: 0.85rem;
	 color: #999;
	 text-align: right;
	 flex-shrink: 0;
}
 .controls {
	 display: flex;
	 align-items: center;
	 gap: 1rem;
}
 .play-button {
	 background-color: #005eb8;
	 border: none;
	 color: white;
	 padding: 0.6rem 1.2rem;
	 font-size: 1rem;
	 font-weight: bold;
	 border-radius: 100px;
	 cursor: pointer;
	 transition: background 0.2s ease-in-out;
}
 .play-button:hover {
	 background-color: #004a94;
}
 .progress-box {
	 flex: 1;
	 height: 10px;
	 background: #e0e0e0;
	 border-radius: 5px;
	 position: relative;
	 cursor: pointer;
}
 .progress-bar {
	 background: #005eb8;
	 height: 100%;
	 width: 0%;
	 border-radius: 5px;
	 transition: width 0.2s;
}
 .chapter-marker {
	 position: absolute;
	 top: 0;
	 height: 100%;
	 width: 3px;
	 background: #999;
	 cursor: pointer;
}
 .chapter-marker:hover::after {
	 content: attr(data-label);
	 position: absolute;
	 top: -35px;
	 left: 50%;
	 transform: translateX(-50%);
	 background: #005eb8;
	 color: white;
	 padding: 4px 8px;
	 font-size: 0.75rem;
	 border-radius: 4px;
	 white-space: nowrap;
	 z-index: 10;
	 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
 .timestamps {
	 display: flex;
	 justify-content: space-between;
	 font-size: 0.85rem;
	 color: #555;
	 margin-top: 0.4rem;
}
 .chapter-info {
	 margin-top: 0.5rem;
	 font-size: 0.8rem;
	 color: #666;
	 text-align: center;
}
 #videoPlayer{
	display: none;
 }
 #audioPlayer {	 
  margin-top:10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none; /* Still hidden at first */
}
#audioPlayer.visible {
  display: block;
  opacity: 1;
}
