Programs
/* — SECTION CONTAINER — */
.cl-program-selector {
text-align: center;
margin: 60px auto;
padding: 40px 20px;
background: #fdfdfd; /* Subtle off-white to separate from program grids */
border-radius: 30px;
max-width: 900px;
}
.cl-program-heading {
font-size: 1.8rem;
font-weight: 800;
margin-bottom: 15px;
color: #0c4a6e; /* Brand deep blue */
line-height: 1.2;
}
.cl-program-subheading {
font-size: 1rem;
color: #64748b;
margin-bottom: 30px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
/* — THE TOGGLE BUTTON — */
.cl-selector-wrapper { position: relative; display: inline-block; }
.cl-selector-btn {
position: relative;
overflow: hidden;
border-radius: 50px;
padding: 16px 32px;
display: flex;
align-items: center;
gap: 15px;
font-weight: 800;
font-size: 1.1rem;
color: #fff;
border: none;
cursor: pointer;
background: linear-gradient(135deg, #6B1AB7 0%, #0096A3 50%, #f97316 100%);
box-shadow: 0 10px 25px rgba(107, 26, 183, 0.25);
transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cl-selector-btn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 35px rgba(107, 26, 183, 0.35);
}
/* — SHINE EFFECT — */
.cl-selector-btn::after {
content: “”; position: absolute; top: 0; left: -100%;
width: 60%; height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
transform: skewX(-25deg); transition: left .75s ease;
}
.cl-selector-btn:hover::after { left: 150%; }
/* — ATTENTION PULSE — */
@keyframes clPulseAttention {
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(107, 26, 183, 0.4); }
70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(107, 26, 183, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(107, 26, 183, 0); }
}
.cl-selector-btn.attention { animation: clPulseAttention 2.5s infinite; }
/* — DROPDOWN MENU — */
.cl-selector-menu {
position: absolute; top: 110%; left: 50%;
transform: translateX(-50%) translateY(-10px);
background: #fff; border-radius: 20px; min-width: 260px;
padding: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.12);
z-index: 9999; display: flex; flex-direction: column; gap: 10px;
opacity: 0; pointer-events: none;
transition: all .3s ease;
border: 1px solid #f1f5f9;
}
.cl-selector-menu.open { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cl-country-item {
display: flex; align-items: center; gap: 15px;
padding: 12px 18px; border-radius: 12px; cursor: pointer;
font-weight: 700; color: #1e293b; border: none;
background: #f8fafc; text-align: left;
transition: all .2s ease;
}
.cl-country-item:hover {
background: #6B1AB7; color: #fff;
transform: scale(1.02);
}
.cl-country-item img {
width: 28px; height: 20px;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.cl-arrow { font-size: 0.8rem; transition: transform .3s ease; }
.cl-selector-btn.open .cl-arrow { transform: rotate(180deg); }
Ready to Start Your Journey?
Our curricula are precision-aligned to your region’s specific academic pathways (ICAS, NAPLAN, OC, and more).
(function() {
const toggle = document.getElementById(‘cl-toggle’);
const menu = document.getElementById(‘cl-menu’);
toggle.addEventListener(‘click’, e => {
e.stopPropagation();
menu.classList.toggle(‘open’);
toggle.classList.toggle(‘open’);
});
menu.addEventListener(‘click’, e => {
const btn = e.target.closest(‘.cl-country-item’);
if (!btn) return;
toggle.classList.remove(“attention”);
localStorage.setItem(“preferredCountry”, btn.dataset.url);
window.location.href = btn.dataset.url;
});
document.addEventListener(‘click’, e => {
if (!menu.contains(e.target) && !toggle.contains(e.target)) {
menu.classList.remove(‘open’);
toggle.classList.remove(‘open’);
}
});
// Auto-detect only if no manual selection has been stored
function autoDetect() {
if (localStorage.getItem(“preferredCountry”)) return;
fetch(“https://ipapi.co/json/”)
.then(res => res.json())
.then(data => {
const code = data.country_code;
const currentUrl = window.location.href;
// Optimized redirects using your production URLs
if (code === “AU” && !currentUrl.includes(“/australia/”)) {
window.location.href = “https://curiouslearneracademy.com/australia/”;
} else if (code === “NZ” && !currentUrl.includes(“/newzealand/”)) {
window.location.href = “https://curiouslearneracademy.com/newzealand/”;
}
})
.catch(err => console.warn(“GeoIP lookup failed”, err));
}
// Uncomment the line below to enable auto-detection
// autoDetect();
})();
:root {
–sidebar-width: 25%;
–classroom-width: 75%;
–brand-blue: #007BFF;
–brand-yellow: #FFD700;
–bg-gray: #f4f7f6;
}
body, html {
margin: 0;
padding: 0;
height: 100%;
font-family: ‘Inter’, sans-serif;
background-color: var(–bg-gray);
}
/* Main Container */
.dashboard-wrapper {
display: flex;
height: 100vh;
width: 100vw;
overflow: hidden;
}
/* Left Sidebar (25%) */
.sidebar {
width: var(–sidebar-width);
background: white;
border-right: 1px solid #e0e0e0;
display: flex;
flex-direction: column;
padding: 20px;
box-sizing: border-box;
z-index: 10;
}
/* Right Classroom Viewport (75%) */
.classroom-viewport {
width: var(–classroom-width);
height: 100%;
background: #000; /* Video black background */
position: relative;
}
iframe {
width: 100%;
height: 100%;
border: none;
}
/* Sidebar Elements */
.class-details h2 { color: var(–brand-blue); margin-bottom: 5px; }
.status-badge {
background: #e8f5e9;
color: #2e7d32;
padding: 5px 10px;
border-radius: 4px;
font-size: 0.8rem;
font-weight: bold;
}
.teacher-controls {
margin-top: 30px;
flex-grow: 1;
}
.control-btn {
width: 100%;
padding: 12px;
margin-bottom: 10px;
border: 1px solid #ddd;
background: white;
border-radius: 8px;
cursor: pointer;
text-align: left;
transition: 0.3s;
}
.control-btn:hover {
background: var(–brand-blue);
color: white;
}
.cta-join {
background: var(–brand-yellow);
border: none;
font-weight: bold;
text-align: center;
}
Click “Join the Class Now” to start the session.
const joinBtn = document.getElementById(‘joinBtn’);
const classroomArea = document.getElementById(‘classroomArea’);
joinBtn.addEventListener(‘click’, () => {
// Replace with your Google Meet or Zoom Web URL
const meetingUrl = “https://meet.google.com/your-meeting-id”;
classroomArea.innerHTML = `
`;
joinBtn.innerText = “SESSION IN PROGRESS”;
joinBtn.style.background = “#ccc”;
joinBtn.disabled = true;
});
